From 9a23101dfaffdd138b877a14dfbdfcfa2d743a76 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期五, 11 九月 2026 11:29:42 +0800
Subject: [PATCH] fix: 修改生产追溯的报工时间和质检时间取值
---
src/views/productionManagement/productionTraceability/index.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/productionManagement/productionTraceability/index.vue b/src/views/productionManagement/productionTraceability/index.vue
index 39db220..681df11 100644
--- a/src/views/productionManagement/productionTraceability/index.vue
+++ b/src/views/productionManagement/productionTraceability/index.vue
@@ -242,10 +242,10 @@
:key="record.id"
class="quality-record-block">
<div class="detail-section">
- <h3 class="section-title">妫�娴嬭褰� {{ index + 1 }} - {{ parseDate(record.createTime) }}</h3>
+ <h3 class="section-title">妫�娴嬭褰� {{ index + 1 }} - {{ parseDate(record.checkTime) }}</h3>
<el-descriptions :column="3"
border>
- <el-descriptions-item label="妫�娴嬫棩鏈�">{{ parseDate(record.createTime) || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="妫�娴嬫棩鏈�">{{ parseDate(record.checkTime) || '-' }}</el-descriptions-item>
<el-descriptions-item label="鎶ュ伐鍗曞彿">{{ record.reportNo || '-' }}</el-descriptions-item>
<el-descriptions-item label="妫�楠屽憳">{{ record.userName || '-' }}</el-descriptions-item>
<el-descriptions-item label="浜у搧鍚嶇О">{{ record.productName || '-' }}</el-descriptions-item>
@@ -448,8 +448,9 @@
detailData.value = {
workOrder: row.workOrder || {},
reports: (row.reportList || []).map(r => ({
- ...r.reportMain,
+ // 浜у嚭鏁版嵁鍏堝睍寮�锛屾姤宸ュ崟鏁版嵁鍚庡睍寮�锛屼繚璇佸垱寤烘椂闂寸敤鎶ュ伐鍗曠殑
...(r.reportOutputList[0] || {}),
+ ...r.reportMain,
productionOperationParamList: r.reportParamList || [],
})),
};
--
Gitblit v1.9.3