value
2023-08-31 5a15331883386cb2206acd081ee54b873a08858b
src/views/inspectionManagement/commissionInspection/addCommision.vue
@@ -262,19 +262,7 @@
               experiment: [],
               addway: ''
            },
            experList: [{
               key: '1',
               label: '外观检查'
            }, {
               key: '2',
               label: '动作电压试验'
            }, {
               key: '3',
               label: '电阻管泄漏电流试验'
            }, {
               key: '4',
               label: '绝缘部分交流耐压试验'
            }],
            experList: [],
            sampleoptions: [],
            samplecodeoptions: [],
            model_spe_options: [],
@@ -369,12 +357,16 @@
         },
         addInspection() {
            let exper = this.addPointerForm.experiment[0]
            this.addPointerForm.addway = 1
            for (let i = 1; i < this.addPointerForm.experiment.length; i++) {
               exper += ',' + this.addPointerForm.experiment[i]
            }
            this.addPointerForm.experiment = exper
            let tmp = this.addPointerForm
            this.sampleoptions.forEach(a => {
               if (a.key == tmp.sampleName) tmp.sampleName = a.value
            })
            tmp.speName = tmp.addway + '-' + tmp.speName
            tmp.addway = 1
            this.detectionInfo.push(tmp)
            this.dialogueFormVisible = false
            this.addPointerForm = {