|
@@ -198,14 +198,15 @@ this.hexiaodata=JSON.parse(option.list);
|
|
this.$api.post('/api/merchant/food/scenic/merchant/order/verifyOrderQrCode?writeOffCode',this.hexiaodata)
|
|
this.$api.post('/api/merchant/food/scenic/merchant/order/verifyOrderQrCode?writeOffCode',this.hexiaodata)
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.data.code == 0) {
|
|
if (res.data.code == 0) {
|
|
- uni.showToast({
|
|
|
|
- title:'核销成功',
|
|
|
|
- icon:'none',
|
|
|
|
- duration:1500
|
|
|
|
- })
|
|
|
|
- uni.navigateBack({
|
|
|
|
- delta: 1
|
|
|
|
- });
|
|
|
|
|
|
+ this.$showToast('核销成功');
|
|
|
|
+ setTimeout(()=>{
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pagesHouse/Mine/ordersList/outcome'
|
|
|
|
+ })
|
|
|
|
+ },1500)
|
|
|
|
+ // uni.navigateBack({
|
|
|
|
+ // delta: 1
|
|
|
|
+ // });
|
|
} else {
|
|
} else {
|
|
this.$showToast(res.data.msg)
|
|
this.$showToast(res.data.msg)
|
|
}
|
|
}
|