From 664bba7725ee0dcdcb29bb218a81f78f3f7aefc4 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 24 四月 2026 14:09:28 +0800
Subject: [PATCH] 修改

---
 src/views/productionPlan/productionPlan/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/productionPlan/productionPlan/index.vue b/src/views/productionPlan/productionPlan/index.vue
index 9768093..289ecaf 100644
--- a/src/views/productionPlan/productionPlan/index.vue
+++ b/src/views/productionPlan/productionPlan/index.vue
@@ -343,7 +343,7 @@
     },
     {
       label: "宸蹭笅鍙戞暟閲�",
-      prop: "assignedQuantity",
+      prop: "quantityIssued",
       width: "120px",
       className: "spec-cell",
       // formatData: (cell, row) => (cell ? `${cell}${row.unit || "鏂�"}` : 0),
@@ -618,9 +618,9 @@
         };
       }
       summary[category].totalAssignedQuantity += Number(
-        (
-          Number(row.qtyRequired || 0) - Number(row.assignedQuantity || 0)
-        ).toFixed(4)
+        (Number(row.qtyRequired || 0) - Number(row.quantityIssued || 0)).toFixed(
+          4
+        )
       );
     });
 
@@ -668,7 +668,7 @@
   // 鍒ゆ柇琛屾槸鍚﹀彲閫夋嫨
   const isSelectable = row => {
     // 璁$畻鍓╀綑鏁伴噺
-    const remainingQty = (row.qtyRequired || 0) - (row.assignedQuantity || 0);
+    const remainingQty = (row.qtyRequired || 0) - (row.quantityIssued || 0);
     // 濡傛灉鍓╀綑鏁伴噺灏忎簬绛変簬0锛岀姝㈤�夋嫨
     if (remainingQty <= 0) {
       return false;

--
Gitblit v1.9.3