From e40c2d5988a9ad1afa26421bf8cfdfffba1e0ff3 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期三, 30 八月 2023 18:01:28 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/inspectionManagement/commissionInspection/addCommision.vue | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/views/inspectionManagement/commissionInspection/addCommision.vue b/src/views/inspectionManagement/commissionInspection/addCommision.vue index cbb7408..00c25ea 100644 --- a/src/views/inspectionManagement/commissionInspection/addCommision.vue +++ b/src/views/inspectionManagement/commissionInspection/addCommision.vue @@ -22,7 +22,8 @@ <el-table-column type="index" label="搴忓彿" min-width="10%" /> <el-table-column prop="sampleNumber" label="鏍峰搧缂栧彿" min-width="8%" /> <el-table-column prop="sampleName" label="鏍峰搧鍚嶇О" min-width="10%" /> - <el-table-column prop="specificationsModels" label="瑙勬牸鍨嬪彿" min-width="10%" /> + <el-table-column prop="speName" label="瑙勬牸鍨嬪彿" min-width="10%" > + </el-table-column> <el-table-column prop="unit" label="鍗曚綅" min-width="8%" /> <el-table-column prop="samplesNumber" label="鏁伴噺" min-width="8%" /> <!-- <el-table-column prop="addway" label="娣诲姞鏂瑰紡" min-width="8%"> @@ -228,7 +229,8 @@ addInspection, isIfViewUUID, getProductList, - getContractsSampleInfo + getContractsSampleInfo, + getSpecificationsName } from '@/api/inspection/commisioninspection' export default { data() { @@ -342,7 +344,6 @@ let res = await getContractsSampleInfo({ viewId }) - console.log(res.data); }, async getSampleName() { const res = await getSampleName() @@ -384,7 +385,8 @@ samplesNumber: '', remarks: '', experiment: [], - addway: '' + addway: '', + speName: '' } }, async submitInspection() { @@ -406,7 +408,8 @@ reportNumber: parseInt(this.infoForm.num), sampleDeliveryMode: sampledeliveryway, sampleDeliveryPhone: this.infoForm.sendertel, - sampleSender: this.infoForm.sender + sampleSender: this.infoForm.sender, + speName: this.infoForm.speName }) this.infoForm.commisioncode = res.data if (res.data) { @@ -444,6 +447,11 @@ return item.name }) }) + this.model_sta_options.forEach(a=>{ + if(a.key == val){ + this.addPointerForm.speName = a.value + } + }) }, getContractsSampleInfo() { getContractsSampleInfo({ @@ -467,7 +475,7 @@ } this.detectionInfo = res.data.linkDetectionList }) - } + }, } } </script> -- Gitblit v1.9.3