| | |
| | | }, |
| | | success(res) { |
| | | res = res.data |
| | | console.log(res); |
| | | if (res.code === 200) { |
| | | if(res.data && res.data[0].combMats) { |
| | | for (let i = 0; i < res.data[0].combMats.length; i++) { |
| | |
| | | that.barcodeFocus = true |
| | | }, 10); |
| | | } else { |
| | | uni.showToast({ |
| | | title: that.orderNo + '请检查订单号是否正确', |
| | | icon: "none", |
| | | position: 'top' |
| | | }) |
| | | // uni.showToast({ |
| | | // title: that.orderNo + '请检查订单号是否正确', |
| | | // icon: "none", |
| | | // position: 'top' |
| | | // }) |
| | | } |
| | | } else if (res.code == 403) { |
| | | uni.showToast({ |
| | |
| | | success(result) { |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | that.resst(); |
| | | that.dataList = [] |
| | | that.findOrder() |
| | | // that.resst(); |
| | | that.barcode = '' |
| | | that.messageText = "组托成功" |
| | | that.messageToggle('success') |
| | | const innerAudioContext = uni.createInnerAudioContext(); |