lilei 2 سال پیش
والد
کامیت
14f9e3fd5f
1فایلهای تغییر یافته به همراه9 افزوده شده و 1 حذف شده
  1. 9 1
      pages/queryByCode/confirmQh.vue

+ 9 - 1
pages/queryByCode/confirmQh.vue

@@ -87,7 +87,15 @@
 							 	title: '提示',
 							 	title: '提示',
 							 	content: res.data.remindMessage,
 							 	content: res.data.remindMessage,
 							 	confirmText: '知道了',
 							 	confirmText: '知道了',
-							 	showCancel: false
+							 	showCancel: false,
+								success(res) {
+									if(res.confirm){
+										uni.$emit("updateQueryByCodeList")
+										uni.redirectTo({
+											url: "/pages/digitalShelf/orderDetail?shelfOrderSn="+res.data.shelfOrderSn
+										})
+									}
+								}
 							 })
 							 })
 						 }else{
 						 }else{
 							 uni.showToast({
 							 uni.showToast({