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){