From cc4ba693a3aba5d8dcd7442345bad58090dddc6d Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 20 四月 2026 14:49:16 +0800
Subject: [PATCH] fix: 小数点保留四位,采购订单及产品入库状态展示

---
 src/views/productionManagement/workOrder/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index 162dd91..65acc32 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -596,7 +596,7 @@
 
   const showReportDialog = row => {
     currentReportRowData.value = row;
-    reportForm.planQuantity = row.planQuantity;
+		reportForm.planQuantity = row.planQuantity - row.completeQuantity;
     reportForm.quantity =
       row.quantity !== undefined && row.quantity !== null ? row.quantity : null;
     reportForm.productProcessRouteItemId = row.productProcessRouteItemId;

--
Gitblit v1.9.3