| | |
| | | style="padding: 3px 0;margin-right:10px;" |
| | | type="text" |
| | | size="medium" |
| | | @click="refresh" |
| | | >刷新 |
| | | </el-button> |
| | | <el-button |
| | | style="padding: 3px 0;margin-right:10px;" |
| | | type="text" |
| | | size="medium" |
| | | @click="addOrderOperation" |
| | | >添加 |
| | | </el-button> |
| | |
| | | } |
| | | } |
| | | }, |
| | | refresh() { |
| | | getMoRoutingOption(this.dataForm.id).then((response) => { |
| | | if (response.data.code === 0) { |
| | | this.operations = response.data.data |
| | | this.operationIndex += 1 |
| | | } else { |
| | | this.operations = [] |
| | | } |
| | | }) |
| | | }, |
| | | // 删除当前工序 |
| | | deleteOrderOperation(row) { |
| | | this.$confirm('是否确认删除?', '提示', { |