| | |
| | | return; |
| | | } |
| | | } |
| | | console.log(that.dataList); |
| | | console.log(that.barcode); |
| | | console.log(that.orderNo); |
| | | // return |
| | | uni.request({ |
| | | url: that.baseUrl + '/agvMobile/comb/auth', |
| | | data: JSON.stringify({ |
| | |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | that.dataList = [] |
| | | that.findOrder() |
| | | // that.resst(); |
| | | that.barcode = '' |
| | | that.messageText = "组托成功" |
| | | that.messageToggle('success') |
| | | const innerAudioContext = uni.createInnerAudioContext(); |
| | | innerAudioContext.src = '/static/music/pakinOk.mp3'; |
| | | innerAudioContext.play() |
| | | uni.navigateBack({ |
| | | delta: 2 |
| | | }); |
| | | } else if (res.code == 403) { |
| | | that.messageText = res.msg |
| | | that.messageToggle('error') |