| | |
| | | code, |
| | | data, |
| | | msg |
| | | } = await request('/areas/receipt', {}, 'get') |
| | | } = await request('/areas/user/all', {}, 'get') |
| | | if (code === 200) { |
| | | this.range = data.map(item => ({ |
| | | value: item.id, |
| | |
| | | }) |
| | | return |
| | | } else { |
| | | const { code, data, msg } = await request('/orders/confirm', { |
| | | const { code, data, msg } = await request('/pda/confirm', { |
| | | receipts: newArr, |
| | | palletTypeId: this.palletTypeId |
| | | }) |
| | |
| | | }, |
| | | // 提交组托请求 |
| | | async submitConfirm(agvStation) { |
| | | this.repeatClick = true |
| | | this.repeatClick = true |
| | | try { |
| | | const newArr = this.list.map(item => { |
| | | |
| | |
| | | } |
| | | }, |
| | | async getRece() { |
| | | const { |
| | | code, |
| | | data, |
| | | msg |
| | | } = await request('/areas/receipt', {}, 'get') |
| | | if (code === 200) { |
| | | this.range = data.map(item => ({ |
| | | value: item.id, |
| | | text: item.warehouseId$ + "-- " + item.name |
| | | })); |
| | | } |
| | | }, |
| | | const { |
| | | code, |
| | | data, |
| | | msg |
| | | } = await request('/areas/user/all', {}, 'get') |
| | | if (code === 200) { |
| | | this.range = data.map(item => ({ |
| | | value: item.id, |
| | | text: item.warehouseId$ + "-- " + item.name |
| | | })); |
| | | } |
| | | }, |
| | | } |
| | | } |
| | | </script> |