value
2023-08-30 552561c06c7e660b4602ae5fbbf59fba49b29da2
src/views/inspectionManagement/commissionInspection/addCommision.vue
@@ -22,7 +22,11 @@
                  <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="specificationsModels" label="规格型号" min-width="10%" >
                     <template slot-scope="scope">
                     </template>
                  </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%">
@@ -315,6 +319,7 @@
         this.viewId = this.$route.params.viewId
         this.$store.commit('settings/SAVE_LINK', this.viewId)
         this.getlink(this.$route.params.viewId)
         this.getContractsSampleInfo(this.$route.params.viewId)
      },
      mounted() {
         this.getSampleName()
@@ -335,6 +340,11 @@
               } else {
                  this.getContractsSampleInfo()
               }
            })
         },
         async getContractsSampleInfo(viewId) {
            let res = await getContractsSampleInfo({
               viewId
            })
         },
         async getSampleName() {
@@ -442,6 +452,7 @@
            getContractsSampleInfo({
               viewId: this.viewId
            }).then(res => {
               if (res.data == null) return
               this.infoForm = {
                  commisioncode: res.data.entrustCoding,
                  deadline: res.data.completionDeadline,
@@ -459,6 +470,9 @@
               }
               this.detectionInfo = res.data.linkDetectionList
            })
         },
         getSpeName(id){
            return name
         }
      }
   }