| | |
| | | } |
| | | }, |
| | | created () { |
| | | //获取当前执行任务 |
| | | this.getWaves() |
| | | //获取当前播种墙库位信息 |
| | | this.getSeedLoc() |
| | | //获取所有发货暂存区 |
| | | this.getAllPlatforms() |
| | | this.fetch() |
| | | }, |
| | | |
| | | computed: { |
| | | getLightStatus() { |
| | | return (item)=> { |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | fetch() { |
| | | //获取当前执行任务 |
| | | this.getWaves() |
| | | //获取当前播种墙库位信息 |
| | | this.getSeedLoc() |
| | | //获取所有发货暂存区 |
| | | this.getAllPlatforms() |
| | | }, |
| | | printPage() { |
| | | // let element = document.querySelector('#datav'); |
| | | // let el = this.$refs.datav |
| | |
| | | // eslint-disable-next-line no-undef |
| | | $ajax.post('/api/bind/shipping/platform', {orderId: order.id, waveId: order.waveId, platformId: plat.id}).then(response => { |
| | | if (response.code === 200) { |
| | | that.fetch() |
| | | //隐藏发货区,执行打印 |
| | | } else { |
| | | this.$message.error(response.msg) |