| | |
| | | editStepName: '', // 编辑时加工工序名称 |
| | | operation: '', |
| | | dialogFormRules: {}, |
| | | radioChangeTempValue: '', |
| | | |
| | | title_value: '数据导入 / 节拍工价', |
| | | code: '24', |
| | |
| | | const { data: res } = await RouteSelectStep({ routecode: val }) |
| | | this.stepDialogArr = res |
| | | this.eqpDialogArr = [] |
| | | this.radioChangeTempValue = '' |
| | | }, |
| | | radioChange(val) { |
| | | this.isEqpTableEdit = true |
| | | |
| | | this.radioChangeTempValue = val |
| | | // this.dialogForm.stepcode = this.stepDialogArr.find(item => item.name === val).code |
| | | this.getEqpTable(val) |
| | | }, |
| | |
| | | if (res.code === '200') { |
| | | this.isEqpTableEdit = true |
| | | this.$message.success('保存成功!') |
| | | await this.getEqpTable() |
| | | this.radioChange(this.radioChangeTempValue) |
| | | } |
| | | }, |
| | | // 取消行 |
| | |
| | | const res = await SaveBeatRate(newData) |
| | | if (res.code === '200') { |
| | | this.$message.success('复制成功!') |
| | | await this.getEqpTable() |
| | | this.radioChange(this.radioChangeTempValue) |
| | | this.isEqpTableEdit = true |
| | | } |
| | | }, |