| | |
| | | JYSelectedArr: [], // 已选检验项目数组 |
| | | multipleSelection: [], // 表格多选框 |
| | | tabClickIndex: null, // 点击的单元格 |
| | | tabClickLabel: '' // 当前点击的列名 |
| | | tabClickLabel: '', // 当前点击的列名 |
| | | isCancel: false// 是否点击取消按钮 |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | // 检验标准下拉值改变 |
| | | async changeCheckStandard(val) { |
| | | this.isCancel = false |
| | | this.JYSelectedArr = [] |
| | | const { data: res } = await MesOrderStepCheckItemList({ checkstandcode: val }) |
| | | this.JYTableData = res |
| | |
| | | this.checkResult = 'OK' |
| | | } else { |
| | | this.checkResult = 'NG' |
| | | } |
| | | if (this.isCancel) { |
| | | this.checkResult = '' |
| | | } |
| | | }, |
| | | // 检验项目编码(名称) |
| | |
| | | clearContent() { |
| | | this.JYTableData = [] |
| | | this.multipleSelection = [] |
| | | this.JYSelectedArr = [] |
| | | this.checkdescr = '' |
| | | this.checkUser = '' |
| | | this.checkResult = '' |
| | |
| | | this.form.partspec = '' |
| | | this.form.stepcode = '' |
| | | this.form.stepname = '' |
| | | |
| | | this.isCancel = true |
| | | }, |
| | | |
| | | // 单元格被点击时 |