Ver código fonte

批量质检bug修复

jingshuyong 11 meses atrás
pai
commit
4f5d3eb2a4

+ 1 - 1
src/views/inspectionClassify/components/user-search.vue

@@ -3,7 +3,7 @@
   <el-form label-width="80px" class="ele-form-search" @keyup.enter.native="search" @submit.native.prevent>
     <el-row :gutter="24">
       <el-col v-bind="styleResponsive ? { lg: 6, md: 12 } : { span: 6 }">
-        <el-form-item label="质检名称:">
+        <el-form-item label="参数名称:">
           <el-input clearable v-model="where.name" placeholder="请输入" />
         </el-form-item>
       </el-col>

+ 2 - 1
src/views/inspectionWork/edit.vue

@@ -1296,7 +1296,8 @@
         if (index != null) {
           this.$set(this.sampleList, index, list[0]);
         } else {
-          this.$set(this.sampleList, null, list);
+          // this.$set(this.sampleList, null, list);
+          this.sampleList = list;
         }
         this.activeName = '2';
         // *** 选完批量质检调用