Browse Source

核销成功跳转成功页

htc 7 tháng trước cách đây
mục cha
commit
6b3d679e7c
1 tập tin đã thay đổi với 9 bổ sung8 xóa
  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)
 						}