From c05b81c7f50df80ab247a05f9f92af2d799e77cd Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 10 四月 2026 15:59:04 +0800
Subject: [PATCH] feat:1.销售添加是否生产 2.生产订单添加备注
---
src/views/productionManagement/productionOrder/Detail/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/productionManagement/productionOrder/Detail/index.vue b/src/views/productionManagement/productionOrder/Detail/index.vue
index df96f47..ebf227f 100644
--- a/src/views/productionManagement/productionOrder/Detail/index.vue
+++ b/src/views/productionManagement/productionOrder/Detail/index.vue
@@ -8,9 +8,10 @@
<div class="title">鍩虹淇℃伅</div>
<div class="sub">
<span class="mr12">鐢熶骇璁㈠崟鍙凤細{{ header.npsNo || "-" }}</span>
- <span class="mr12">鐢熶骇鎵瑰彿锛歿{ header.lotNo || "-" }}</span>
+ <span class="mr12">鐢熶骇鎵瑰彿锛歿{ header.batchNo || "-" }}</span>
<span class="mr12">浜у搧鍚嶇О锛歿{ header.productCategory || "-" }}</span>
<span class="mr12">瑙勬牸锛歿{ header.specificationModel || "-" }}</span>
+ <span class="mr12">鏂欏彿锛歿{ header.materialCode || "-" }}</span>
</div>
</div>
</el-card>
@@ -201,9 +202,10 @@
const header = computed(() => ({
orderId: route.query.orderId,
npsNo: route.query.npsNo,
- lotNo: route.query.lotNo,
+ batchNo: route.query.batchNo,
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