loulijun2021
2022-07-22 4bcf7f5cbc8185b10e773feda6bee90fe3f32137
src/views/zlgl/gxjy.vue
@@ -294,7 +294,8 @@
      JYSelectedArr: [], // 已选检验项目数组
      multipleSelection: [], // 表格多选框
      tabClickIndex: null, // 点击的单元格
      tabClickLabel: '' // 当前点击的列名
      tabClickLabel: '', // 当前点击的列名
      isCancel: false// 是否点击取消按钮
    }
  },
  created() {
@@ -332,6 +333,7 @@
    },
    // 检验标准下拉值改变
    async changeCheckStandard(val) {
      this.isCancel = false
      this.JYSelectedArr = []
      const { data: res } = await MesOrderStepCheckItemList({ checkstandcode: val })
      this.JYTableData = res
@@ -371,6 +373,9 @@
        this.checkResult = 'OK'
      } else {
        this.checkResult = 'NG'
      }
      if (this.isCancel) {
        this.checkResult = ''
      }
    },
    // 检验项目编码(名称)
@@ -525,6 +530,7 @@
    clearContent() {
      this.JYTableData = []
      this.multipleSelection = []
      this.JYSelectedArr = []
      this.checkdescr = ''
      this.checkUser = ''
      this.checkResult = ''
@@ -536,6 +542,8 @@
      this.form.partspec = ''
      this.form.stepcode = ''
      this.form.stepname = ''
      this.isCancel = true
    },
    // 单元格被点击时