From ed36047f6ce0b91dad25efc10c8a0e83dd533a68 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 20 三月 2026 17:15:37 +0800
Subject: [PATCH] change

---
 src/views/productionPlan/productionPlan/index.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/views/productionPlan/productionPlan/index.vue b/src/views/productionPlan/productionPlan/index.vue
index aec4eed..8dea0db 100644
--- a/src/views/productionPlan/productionPlan/index.vue
+++ b/src/views/productionPlan/productionPlan/index.vue
@@ -107,6 +107,12 @@
                 :selectable="isSelectable"
                 @selection-change="handleSelectionChange"
                 @pagination="pagination">
+        <template #quantity="{ row }">
+          {{ row.quantity || '-' }}<span style="color:rgb(63, 95, 211)"> 鍧�</span>
+        </template>
+        <template #volume="{ row }">
+          {{ row.volume || '-' }}<span style="color:rgba(12, 46, 40, 0.76)"> 鏂�</span>
+        </template>
       </PIMTable>
     </div>
     <!-- 鍚堝苟涓嬪彂寮圭獥 -->
@@ -456,14 +462,18 @@
     {
       label: "鍧楁暟",
       prop: "quantity",
-      formatData: cell => (cell ? `${cell}鍧梎 : ""),
+      align: "right",
+      dataType: "slot",
+      slot: "quantity",
     },
     {
       label: "鏂规暟",
       prop: "volume",
       width: "150px",
+      align: "right",
+      dataType: "slot",
+      slot: "volume",
       className: "volume-cell",
-      formatData: cell => (cell ? `${cell}鏂筦 : ""),
     },
     {
       label: "涓嬪彂鐘舵��",
@@ -1063,7 +1073,7 @@
         sum +
         (row.volume == null
           ? 0
-          : (Number(row.volume) - Number(row.assignedQuantity)).toFixed(4))
+          : Number(Number(row.volume) - Number(row.assignedQuantity).toFixed(4)))
       );
     }, 0);
     sumAssignedQuantity.value = totalAssignedQuantity;

--
Gitblit v1.9.3