From d289be3b10e9b259625ca9128b54bc62950c4e48 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期一, 08 九月 2025 17:57:49 +0800
Subject: [PATCH] 出库状态改为生命周期 其他文档改为电子文档 电子文档新增指派设备结构树

---
 src/views/tms/modules/outBound/OutboundModal.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/tms/modules/outBound/OutboundModal.vue b/src/views/tms/modules/outBound/OutboundModal.vue
index 7c8b4ec..22ccb64 100644
--- a/src/views/tms/modules/outBound/OutboundModal.vue
+++ b/src/views/tms/modules/outBound/OutboundModal.vue
@@ -51,21 +51,21 @@
         <div :key="col.dataIndex">
           <a-input-number
             v-if="col.dataIndex === 'outboundQuantity'"
-            :disabled="record.quantity <= 1"
+            :disabled="record.accuracyClass === '1'"
             :value="text"
             @change="(e) => handleChange(e, record.key, col, index)"
             :min="1"
           />
           <a-input-number
             v-if="col.dataIndex === 'ratedLife'"
-            :disabled="record.quantity > 1"
+            :disabled="record.accuracyClass != '1'"
             :value="text"
             @change="(e) => handleChange(e, record.key, col, index)"
             :min="1"
           />
           <a-input-number
             v-if="col.dataIndex === 'useLife'"
-            :disabled="record.quantity > 1"
+            :disabled="record.accuracyClass != '1'"
             :value="text"
             @change="(e) => handleChange(e, record.key, col, index)"
             :min="1"
@@ -189,7 +189,7 @@
           scopedSlots: { customRender: 'useLife' },
         },
         // {
-        //   title:'鍑哄簱鐘舵��;1.鏈嚭搴擄紱2.閮ㄥ垎鍑哄簱锛�3.鍑哄簱瀹屾垚',
+        //   title:'鐢熷懡鍛ㄦ湡;1.鏈嚭搴擄紱2.閮ㄥ垎鍑哄簱锛�3.鍑哄簱瀹屾垚',
         //   align:"center",
         //   dataIndex: 'status'
         // },
@@ -234,7 +234,8 @@
           outboundQuantity: data[i].quantity,
           storageLocation: data[i].warehouseId,
           warehouseName: data[i].warehouseName,
-          outboundLocation: data[i].positionCode
+          outboundLocation: data[i].positionCode,
+          accuracyClass:data[i].accuracyClass
         })
       }
       this.ipagination.total = this.dataSource.length

--
Gitblit v1.9.3