| | |
| | | <a-input-number :disabled="disableSubmit" :value="text" v-if="col.dataIndex == 'practicalQuantity'" :min="0" |
| | | :max="99999" |
| | | @change="(e) => handleChange(e, record.key, col, index)" style="width: 100%;" /> |
| | | <a-input-number :value="text" v-if="col.dataIndex == 'differenceValue'" :min="0" :max="99999" |
| | | <a-input-number :value="text" v-if="col.dataIndex == 'differenceValue'" |
| | | :disabled="true" @change="(e) => handleChange(e, record.key, col, index)" |
| | | style="width: 100%;" /> |
| | | <j-dict-select-tag :value="text" v-if="col.dataIndex == 'surplusDeficit'" |
| | |
| | | }, |
| | | { |
| | | 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, |