| | |
| | | } |
| | | _this.stations = res.data.records |
| | | } else { |
| | | console.log(123213); |
| | | for (let item of res.data.records) { |
| | | _this.station = item |
| | | if (item.barcode) { |
| | | _this.getWrkMast(item.barcode) |
| | | _this.getWaitPakin(item.barcode) |
| | | |
| | | if (item.locSts != 'O') { |
| | | item['style'] = 'station-wrk' |
| | | } else { |
| | | item['style'] = 'station-nowrk' |
| | | } |
| | | _this.station = item |
| | | _this.getOrderDetl(_this.station) |
| | | } |
| | | } |
| | | |
| | |
| | | // 通过eventChannel向被打开页面传送数据 向另外一个页面传递值的 |
| | | res.eventChannel.emit('item', { |
| | | item: item |
| | | }) |
| | | }), |
| | | _this.searchValue = '' |
| | | }, |
| | | events: { |
| | | // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据 另外一个页面传过来的 |