| | |
| | | // _this.dataList = data.item.data |
| | | // }) |
| | | eventChannel.on('baseInfo', function(data) { |
| | | console.log(data); |
| | | _this.getLocDetl(data.info.locNo,data.info.barcode) |
| | | _this.locNo = data.info.locNo |
| | | _this.barcode = data.info.barcode |
| | |
| | | method: 'POST', |
| | | success(res) { |
| | | res = res.data |
| | | console.log(res); |
| | | if (res.code === 200) { |
| | | if (_this.type == 'con') { |
| | | _this.dataList = res.data.containerCode |
| | | } else { |
| | | _this.dataList = res.data.locNo |
| | | } |
| | | |
| | | // for (let k of _this.dataList) { |
| | | // k['count'] = k.anfme |
| | | // } |
| | | } else if (res.code == 403) { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); |