From 30df2b23344c2d975dc853c7831df80bff673dad Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 26 Nov 2025 13:15:17 +0800 Subject: [PATCH] =?UTF-8?q?2025-11-26=20=E6=B5=8B=E8=AF=95=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=88=97=E8=A1=A8=E5=A2=9E=E5=8A=A0=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/test/requestForTest.vue | 24 ++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index 6703f7e..be17c60 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -1570,6 +1570,24 @@ export default { fixed: '', columnWidth: 200 }, + { + userId: this.$store.state.user.name, + functionId: 103001, + serialNumber: '103001Table1ProductName', + tableId: '103001Table1', + tableName: '测试信息表', + columnProp: 'productName', + headerAlign: 'center', + align: 'left', + columnLabel: '标签名称', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 150 + }, { userId: this.$store.state.user.name, functionId: 103001, @@ -3996,18 +4014,18 @@ export default { if (!testNo) { return } - + // 更新dataList中的对应行 const currentRow = this.dataList.find(item => item.testNo === testNo) if (currentRow) { currentRow.materialTotalAmount = this.materialTotalAmount } - + // 如果在对话框模式,更新modalData if (this.modalData && this.modalData.testNo === testNo) { this.modalData.materialTotalAmount = this.materialTotalAmount } - + // 如果在主页面模式,更新testCurrentRow和testDetailData if (this.testCurrentRow && this.testCurrentRow.testNo === testNo) { this.testCurrentRow.materialTotalAmount = this.materialTotalAmount