From 54c4920b7ec3ef90bdc1980dc5ca2f36bd5192e5 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Fri, 27 Sep 2024 16:31:16 +0800 Subject: [PATCH] =?UTF-8?q?plm=20=E5=B7=A5=E5=85=B7=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com_technical-add-or-update.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/views/modules/sampleManagement/com_technical-add-or-update.vue b/src/views/modules/sampleManagement/com_technical-add-or-update.vue index 3ab06c4..beedfa0 100644 --- a/src/views/modules/sampleManagement/com_technical-add-or-update.vue +++ b/src/views/modules/sampleManagement/com_technical-add-or-update.vue @@ -639,6 +639,23 @@ this.dataForm.projectId=row.projectId this.dataForm.testPartNo=row.testPartNo this.dataForm.partDesc=row.partDesc + let inData={ + site:this.$store.state.user.site, + testPartNo: row.testPartNo + } + getTestPartChangeData(inData).then(({data}) => { + if (data && data.code === 0) { + if(data.row!=null){ + this.dataForm.projectId=data.row.projectId + this.dataForm.partDesc=data.row.partDesc + this.dataForm.finalPartNo=data.row.finalPartNo + }else { + this.dataForm.projectId='' + this.dataForm.partDesc='' + } + + } + }) this.proofingModelFlag=false }, changeProofingNo(row){