From 4fa0cbae96cde47e4878e16c87da294903a457ae Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 11 九月 2023 17:41:21 +0800
Subject: [PATCH] 同步素材库商品

---
 minipro_standard/pages/InOperation/InOperation.vue |   66 ++++++++++++++++++++------------
 1 files changed, 41 insertions(+), 25 deletions(-)

diff --git a/minipro_standard/pages/InOperation/InOperation.vue b/minipro_standard/pages/InOperation/InOperation.vue
index f3fd8fc..0a4b784 100644
--- a/minipro_standard/pages/InOperation/InOperation.vue
+++ b/minipro_standard/pages/InOperation/InOperation.vue
@@ -382,32 +382,45 @@
 					}).then(res => {
 						if (res.code === 200) {
 							this.$store.dispatch('getUpcomingNum')
-							uni.$u.toast('鎿嶄綔鎴愬姛')
-							// Toast.success({
-							// 	message: '鎿嶄綔鎴愬姛',
-							// 	forbidClick: true,
-							// 	duration: 2000
-							// })
+							uni.$u.toast('鎿嶄綔鎴愬姛')
+							if (this.type == '4') { // 璺宠浆瀹屽伐鍏ュ簱璇︽儏
+								// uni.navigateTo({
+								// 	url: 
+								// })
+								// router.push({
+								// 	name: 'completionDetails',
+								// 	query: {
+								// 		id: route.query.id,
+								// 		dbid: route.query.dbid,
+								// 		type: 7,
+								// 		isShow: 2
+								// 	}
+								// })
+								return
+							}
+							uni.redirectTo({
+								url: `/pages_adjust/pages/outboundDetails/outboundDetails?id=${this.id}`
+							})
 							
 							// setTimeout(() => {
-							// 	if (route.query.Type == '4') { // 璺宠浆瀹屽伐鍏ュ簱璇︽儏
-							// 		router.push({
-							// 			name: 'completionDetails',
-							// 			query: {
-							// 				id: route.query.id,
-							// 				dbid: route.query.dbid,
-							// 				type: 7,
-							// 				isShow: 2
-							// 			}
-							// 		})
-							// 		return
-							// 	}
-							// 	router.replace({
-							// 		name: 'wTransferDetail',
-							// 		query: {
-							// 			id: route.query.id
-							// 		}
-							// 	})
+								// if (route.query.Type == '4') { // 璺宠浆瀹屽伐鍏ュ簱璇︽儏
+								// 	router.push({
+								// 		name: 'completionDetails',
+								// 		query: {
+								// 			id: route.query.id,
+								// 			dbid: route.query.dbid,
+								// 			type: 7,
+								// 			isShow: 2
+								// 		}
+								// 	})
+								// 	return
+								// }
+								// router.replace({
+								// 	name: 'wTransferDetail',
+								// 	query: {
+								// 		id: route.query.id
+								// 	}
+								// })
 							// }, 2000)
 						}
 					})
@@ -419,7 +432,10 @@
 					}).then(res => {
 						if (res.code === 200) {
 							this.$store.dispatch('getUpcomingNum')
-							uni.$u.toast('鎿嶄綔鎴愬姛')
+							uni.$u.toast('鎿嶄綔鎴愬姛')
+							uni.redirectTo({
+								url: `/pages_adjust/pages/warehousingDetails1/warehousingDetails1?id=${this.id}`
+							})
 							// Toast.success({
 							// 	message: '鎿嶄綔鎴愬姛',
 							// 	forbidClick: true,

--
Gitblit v1.9.3