| | |
| | | url: { |
| | | add: '/tms/baseTools/add', |
| | | edit: '/tms/baseTools/edit', |
| | | queryParaByToolCode: '/tms/baseTools/queryByToolCode', |
| | | }, |
| | | locationCodeOptions: [], |
| | | chineseNameChange1:'', |
| | |
| | | edit(record) { |
| | | this.editable = true |
| | | this.model = Object.assign({}, record) |
| | | this.chineseNameChange1 = record.chineseName |
| | | this.toolModelChange1 = '-'+record.toolModel |
| | | this.bladeShapeChange1 = '-'+record.bladeShape |
| | | this.bladeLengthChange1 = '-'+record.bladeLength |
| | | this.cuttingEdgeCountChange1 = '-'+record.cuttingEdgeCount |
| | | this.noseAngleRChange1 = '-'+record.noseAngleR |
| | | //通过id查询管理参数和参数数据 |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | | paraTypeFlag: record.paraTypeFlag, |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign({}, res.result) |
| | | } |
| | | }) |
| | | this.visible = true |
| | | }, |
| | | close() { |