From de83f5112fecda011bce0192dce152e66bb56f87 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 31 三月 2026 17:37:24 +0800
Subject: [PATCH] Merge branch 'dev_衡阳_鹏创电子' of http://114.132.189.42:9002/r/product-inventory-management into dev_衡阳_鹏创电子

---
 src/views/productionManagement/productionOrder/Detail/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/productionManagement/productionOrder/Detail/index.vue b/src/views/productionManagement/productionOrder/Detail/index.vue
index df96f47..60b1811 100644
--- a/src/views/productionManagement/productionOrder/Detail/index.vue
+++ b/src/views/productionManagement/productionOrder/Detail/index.vue
@@ -11,6 +11,7 @@
           <span class="mr12">鐢熶骇鎵瑰彿锛歿{ header.lotNo || "-" }}</span>
           <span class="mr12">浜у搧鍚嶇О锛歿{ header.productCategory || "-" }}</span>
           <span class="mr12">瑙勬牸锛歿{ header.specificationModel || "-" }}</span>
+          <span class="mr12">鏂欏彿锛歿{ header.materialCode || "-" }}</span>
         </div>
       </div>
     </el-card>
@@ -204,6 +205,7 @@
   lotNo: route.query.lotNo,
   productCategory: route.query.productCategory,
   specificationModel: route.query.specificationModel,
+  materialCode: route.query.materialCode,
 }));
 
 // 宸ュ簭鏁版嵁锛堟帴鍙f浛鎹級
@@ -238,7 +240,7 @@
 const normalizeProcess = (item) => {
   // 瀛楁浠ユ帴鍙g害瀹氫负鍑嗭紙浣犵粰鐨勬埅鍥惧瓧娈垫槧灏勶級
   // 宸ュ簭锛歝ompletionStatus/statusText/processNo/defectiveRate/planQuantity/completeQuantity/completeQty/scrapQty
-  const inputQty = Number(item?.planQuantity ?? item?.inputQty ?? 0);
+  const inputQty = Number(item?.inputQty ?? 0);
   const outputQty = Number(item?.totalQty ?? item?.outputQty ?? 0);
   const qualifiedQty = Number(item?.completeQty ?? item?.qualifiedQty ?? item?.goodQty ?? 0);
   const badQty = Number(item?.defectiveQuantity ?? item?.badQty ?? item?.defectQty ?? 0);

--
Gitblit v1.9.3