| | |
| | | > |
| | | <a-input |
| | | v-model="model.num" |
| | | placeholder="请输入单据号" |
| | | placeholder="将由系统自动生成" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | url: { |
| | | add: '/eam/equipmentScrap/add', |
| | | edit: '/eam/equipmentScrap/edit', |
| | | getNum: '/eam/sysIdentity/getNumNew', |
| | | equipmentChange: { |
| | | list: '/eam/equipmentScrap/queryById' |
| | | }, |
| | |
| | | }) |
| | | }, |
| | | created() { |
| | | this.initNum() |
| | | }, |
| | | methods: { |
| | | |
| | | initNum() { |
| | | getAction(this.url.getNum, { type: 'EquipmentScrap', length: '4' }).then((res) => { |
| | | if (res.success) { |
| | | this.model.num = res.message |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | //选择设备 |
| | | selectEquipmentList() { |
| | | let ids = [] |