From aad552e89fd12a2bfc9c6a43a5c2670f1520158b Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 12 Nov 2025 14:40:10 +0800 Subject: [PATCH] =?UTF-8?q?2025-11-12=20=E6=B5=8B=E8=AF=95=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=A2=9E=E5=8A=A0=E5=B7=A5=E5=8D=95=E5=8F=B7=E5=92=8C?= =?UTF-8?q?=E6=9D=90=E6=96=99=E6=80=BB=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/test/requestForTest.vue | 53 ++++++++++++++++++++--- 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index 4c15c60..cf9a911 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -1286,6 +1286,7 @@ export default { customerNoFlag: false, projectIdFlag: true, testPartNoFlag: false, + materialTotalAmount: 0, }, testDetailData: { technicalConsiderations: '', @@ -1405,8 +1406,9 @@ export default { sortLv: 0, status: true, fixed: '', - columnWidth: 80 - }, { + columnWidth: 60 + }, + { userId: this.$store.state.user.name, functionId: 103001, serialNumber: '103001Table1TestNo', @@ -1414,7 +1416,7 @@ export default { tableName: '测试信息表', columnProp: 'testNo', headerAlign: 'center', - align: 'center', + align: 'left', columnLabel: '测试单号', columnHidden: false, columnImage: false, @@ -1424,6 +1426,24 @@ export default { fixed: '', columnWidth: 120 }, + { + userId: this.$store.state.user.name, + functionId: 103001, + serialNumber: '103001Table1SoNumber', + tableId: '103001Table1', + tableName: '测试信息表', + columnProp: 'soNumber', + headerAlign: 'center', + align: 'left', + columnLabel: '工单号', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 120 + }, { userId: this.$store.state.user.name, functionId: 103001, @@ -1432,7 +1452,7 @@ export default { tableName: '测试信息表', columnProp: 'customerNo', headerAlign: 'center', - align: 'center', + align: 'left', columnLabel: '客户编码', columnHidden: false, columnImage: false, @@ -1512,7 +1532,7 @@ export default { sortLv: 0, status: true, fixed: '', - columnWidth: 140 + columnWidth: 120 }, { userId: this.$store.state.user.name, @@ -1530,7 +1550,7 @@ export default { sortLv: 0, status: true, fixed: '', - columnWidth: 140 + columnWidth: 120 }, { userId: this.$store.state.user.name, @@ -1548,6 +1568,24 @@ export default { sortLv: 0, status: true, fixed: '', + columnWidth: 200 + }, + { + userId: this.$store.state.user.name, + functionId: 103001, + serialNumber: '103001Table1MaterialTotalAmount', + tableId: '103001Table1', + tableName: '测试信息表', + columnProp: 'materialTotalAmount', + headerAlign: 'center', + align: 'right', + columnLabel: '材料总金额', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', columnWidth: 100 }, { @@ -2903,6 +2941,9 @@ export default { // return // } // this.confirmProjectPart(); + // 计算材料总金额 + this.modalData.materialTotalAmount = this.materialTotalAmount; + if (this.modalData.flag === '1') { this.testSoRoutingList = [] this.testSoBomList = []