Browse Source

核销成功跳转成功页

htc 8 months ago
parent
commit
6b3d679e7c
1 changed files with 9 additions and 8 deletions
  1. 9 8
      pagesHouse/Verification/detailsewm.vue

+ 9 - 8
pagesHouse/Verification/detailsewm.vue

@@ -198,14 +198,15 @@ this.hexiaodata=JSON.parse(option.list);
 				this.$api.post('/api/merchant/food/scenic/merchant/order/verifyOrderQrCode?writeOffCode',this.hexiaodata)
 					.then(res => {
 						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 {
 							this.$showToast(res.data.msg)
 						}