From e8373fe5604e5fe741d1195942c3cda130956d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Tue, 3 Feb 2026 11:12:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(mes/qc/history):=20=E5=9C=A8=E6=A3=80?= =?UTF-8?q?=E9=AA=8C=E5=8E=86=E5=8F=B2=E5=88=97=E8=A1=A8=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=92=A2=E5=8D=B7=E5=8F=B7=E5=88=97=E5=B9=B6=E5=AE=8C?= =?UTF-8?q?=E5=96=84=E6=95=B0=E6=8D=AE=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加钢卷号列以显示当前钢卷信息,同时修改数据映射逻辑以解析verifyTarget字段并补充钢卷相关数据 --- klp-ui/src/views/mes/qc/history/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/klp-ui/src/views/mes/qc/history/index.vue b/klp-ui/src/views/mes/qc/history/index.vue index 63089d3f..de04f731 100644 --- a/klp-ui/src/views/mes/qc/history/index.vue +++ b/klp-ui/src/views/mes/qc/history/index.vue @@ -33,6 +33,7 @@
检验历史列表
+ @@ -144,7 +145,13 @@ export default { getList() { this.loading = true listHistoryCheckTask(this.queryParams).then(response => { - this.checkTaskList = response.rows + this.checkTaskList = response.rows.map(item => ({ + ...item, + verifyTarget: JSON.parse(item.verifyTarget), + entryCoilNo: item.coilList?.[0]?.entryCoilNo || '', + currentCoilNo: item.coilList?.[0]?.currentCoilNo || '', + weight: item.coilList?.[0]?.netWeight || 0, + })) this.total = response.total this.loading = false })