| | |
| | | } |
| | | }) |
| | | |
| | | this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()] |
| | | |
| | | this.$nextTick(() => { |
| | | this.dialogForm.qualityinsptcode = row.code |
| | | this.dialogForm.qualityinsptname = row.name |
| | |
| | | descr: i.descr |
| | | }) |
| | | }) |
| | | this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()] |
| | | this.CheckItemSelectAllArr = JSON.parse(JSON.stringify(this.CheckItemSelectArr)) |
| | | }, |
| | | // 数值判定 |
| | |
| | | this.isCancel = true |
| | | this.checkitem = [] |
| | | this.CheckItemSelectArr = JSON.parse(JSON.stringify(this.CheckItemSelectAllArr)) |
| | | this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()] |
| | | this.$refs.dialogForm.clearValidate() |
| | | }, |
| | | // 对话框取消 |