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