licp
2024-05-14 ef48e4b7a4d34e63ffd2cb23c406f4da6eb72ed7
src/components/do/b1-ins-order/add.vue
@@ -287,7 +287,7 @@
          <template slot-scope="scope">
            <el-select v-model="scope.row.standardMethodListId" :disabled="scope.row.model==null||active>1"
              placeholder="检验标准" size="small" :loading="methodLoad" @change="(value)=>methodChange(value, scope.row)"
              @focus="methodFocus" :readonly="active>1">
              @focus="methodFocus" :readonly="active>1" style="width: 100%;">
              <el-option v-for="item in methods" :key="item.id" :label="item.code" :value="item.id">
              </el-option>
            </el-select>
@@ -872,8 +872,8 @@
      },
      activeStandardTree() {
        let trees = this.selectTree.split(" - ")
        if (trees.length < 4) {
          this.$message.error('未选择样品')
        if (trees.length < 5) {
          this.$message.error('未选择型号')
          return
        }
        this.addObj.factory = trees[0]