| | |
| | | |
| | | |
| | | { |
| | | title: '刀具编号', |
| | | dataIndex: 'toolCode', |
| | | title: '刀具编码', |
| | | dataIndex: 'toolId', |
| | | align: 'center' |
| | | }, |
| | | { |
| | |
| | | { |
| | | title: '工具编码', |
| | | align: 'center', |
| | | dataIndex: 'toolCode' |
| | | dataIndex: 'toolId', |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '中文名称', |
| | | align: 'center', |
| | | dataIndex: 'chineseName' |
| | | dataIndex: 'chineseName', |
| | | width: 150 |
| | | }, |
| | | { |
| | | title: '型号/图号', |
| | | align: 'center', |
| | | dataIndex: 'toolModel' |
| | | dataIndex: 'toolModel', |
| | | width: 150 |
| | | } |
| | | ], |
| | | selectedRowKeys: [], |
| | |
| | | }, |
| | | { |
| | | title: '刀具编号', |
| | | dataIndex: 'toolCode', |
| | | dataIndex: 'toolId', |
| | | align: 'center', |
| | | width: 150 |
| | | width: 180 |
| | | }, |
| | | |
| | | { |
| | | title: '工具类型', |
| | | dataIndex: 'applicationType', |
| | | dataIndex: 'applicationType_dictText', |
| | | align: 'center', |
| | | width: 150 |
| | | }, |
| | |
| | | this.$bus.$on('selectionRows', (data) => { |
| | | for (let i = 0; i < data.length; i++) { |
| | | this.dataSource.push({ |
| | | toolId: data[i].id, |
| | | toolId: data[i].toolId, |
| | | toolCode: data[i].toolCode, |
| | | classifyId: data[i].classifyId, |
| | | applicationType: data[i].applicationType_dictText, |
| | | applicationType_dictText: data[i].applicationType_dictText, |
| | | chineseName: data[i].chineseName, |
| | | availableQuantity:data[i].availableCount, |
| | | toolModel: data[i].toolModel, |
| | | material: data[i].material, |
| | | toolMaterial: data[i].toolMaterial, |