|
@@ -27,19 +27,22 @@
|
|
success: (res) => {
|
|
success: (res) => {
|
|
console.log('扫描二维码成功,结果:' + res.result);
|
|
console.log('扫描二维码成功,结果:' + res.result);
|
|
|
|
|
|
- this.$api.post('/api/merchant/food/scenic/merchant/order/verifyOrderQrCode?writeOffCode',res.result)
|
|
|
|
- .then(res => {
|
|
|
|
- if (res.data.code == 0) {
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: "/pagesHouse/Verification/detailsewm?list=" + JSON.stringify({
|
|
|
|
- ...res.result
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "/pagesHouse/Verification/detailsewm?list=" + res.result
|
|
|
|
+ })
|
|
|
|
+ // this.$api.post('/api/merchant/food/scenic/merchant/order/verifyOrderQrCode?writeOffCode',res.result)
|
|
|
|
+ // .then(res => {
|
|
|
|
+ // if (res.data.code == 0) {
|
|
|
|
+ // uni.navigateTo({
|
|
|
|
+ // url: "/pagesHouse/Verification/detailsewm?list=" + JSON.stringify({
|
|
|
|
+ // ...res.result
|
|
|
|
+ // })
|
|
|
|
+ // })
|
|
|
|
|
|
- } else {
|
|
|
|
- this.$showToast(res.data.msg)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ // } else {
|
|
|
|
+ // this.$showToast(res.data.msg)
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
},
|
|
},
|
|
error: (res) => {
|
|
error: (res) => {
|
|
console.log('扫描二维码出现错误')
|
|
console.log('扫描二维码出现错误')
|