From 08e38ede28f7cf8c971f84bff3a03102882a8a4b Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 01 四月 2026 11:32:13 +0800
Subject: [PATCH] 增加料号显示

---
 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