value
2023-08-30 d54e75b9b61dbf7a3b15e001f60bd72520a58217
src/views/inspectionManagement/commissionInspection/addCommision.vue
@@ -22,10 +22,7 @@
                  <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%" >
                     <template slot-scope="scope">
                     </template>
                  <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%" />
@@ -232,7 +229,8 @@
      addInspection,
      isIfViewUUID,
      getProductList,
      getContractsSampleInfo
      getContractsSampleInfo,
      getSpecificationsName
   } from '@/api/inspection/commisioninspection'
   export default {
      data() {
@@ -387,7 +385,8 @@
               samplesNumber: '',
               remarks: '',
               experiment: [],
               addway: ''
               addway: '',
               speName: ''
            }
         },
         async submitInspection() {
@@ -409,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) {
@@ -447,6 +447,11 @@
                  return item.name
               })
            })
            this.model_sta_options.forEach(a=>{
               if(a.key == val){
                  this.addPointerForm.speName = a.value
               }
            })
         },
         getContractsSampleInfo() {
            getContractsSampleInfo({
@@ -471,9 +476,6 @@
               this.detectionInfo = res.data.linkDetectionList
            })
         },
         getSpeName(id){
            return name
         }
      }
   }
</script>