| | |
| | | :wrapperCol='wrapperCol' |
| | | > |
| | | <a-input |
| | | :disabled="disableSubmit" |
| | | :disabled="true" |
| | | placeholder='请输单据号' |
| | | v-decorator="['num', validatorRules.num]" |
| | | /> |
| | |
| | | dataIndex: 'warehouseLocationNum' |
| | | }, |
| | | { |
| | | title: '主单位', |
| | | title: '单位', |
| | | align: 'center', |
| | | dataIndex: 'mainUnitName' |
| | | }, |
| | |
| | | align: 'center', |
| | | dataIndex: 'outboundMainQuantity' |
| | | }, |
| | | { |
| | | /* { |
| | | title: '辅单位', |
| | | align: 'center', |
| | | dataIndex: 'auxiliaryUnitName' |
| | | }, |
| | | }, */ |
| | | { |
| | | title: '退库数量', |
| | | align: 'center', |
| | |
| | | url: { |
| | | add: '/spare/sparePartCancellingStocks/add', |
| | | getSysDeparts: "/eam/equipment/getSysDeparts", |
| | | getNum: '/eam/sysIdentity/getNumNew', |
| | | loadOptions: '/sys/sysDepart/loadDepartTreeOptions', |
| | | edit: '/spare/sparePartCancellingStocks/edit' |
| | | }, |
| | |
| | | model: data[i].model, |
| | | mainUnitId: data[i].mainUnitId, |
| | | mainUnitName: data[i].mainUnitName, |
| | | auxiliaryUnitId: data[i].auxiliaryUnitId, |
| | | auxiliaryUnitName: data[i].auxiliaryUnitName, |
| | | conversionRatio: data[i].conversionRatio, |
| | | /* auxiliaryUnitId: data[i].auxiliaryUnitId, |
| | | auxiliaryUnitName: data[i].auxiliaryUnitName, */ |
| | | /* conversionRatio: data[i].conversionRatio, */ |
| | | constructorId: data[i].constructorId, |
| | | constructorName: data[i].constructorName, |
| | | supplierId: data[i].supplierId, |
| | |
| | | this.codeDisable = true |
| | | } else { |
| | | this.codeDisable = false |
| | | this.$nextTick(() => { |
| | | getAction(this.url.getNum, { type: 'SparePart', length: '4' }).then((res) => { |
| | | if (res.success) { |
| | | this.form.setFieldsValue({ num: res.message }); |
| | | } |
| | | }) |
| | | }); |
| | | } |
| | | }, |
| | | |