From f9d543495a262082fd585aec29bed1fb8fc327fc Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 23 九月 2024 12:51:38 +0800
Subject: [PATCH] #

---
 pages/phyz/orderOut/orderCheck.vue        |   11 ++++++++---
 pages/phyz/orderOut/bcpOrderOutSelect.vue |    3 ++-
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/pages/phyz/orderOut/bcpOrderOutSelect.vue b/pages/phyz/orderOut/bcpOrderOutSelect.vue
index 87b45bb..be80909 100644
--- a/pages/phyz/orderOut/bcpOrderOutSelect.vue
+++ b/pages/phyz/orderOut/bcpOrderOutSelect.vue
@@ -194,11 +194,12 @@
 					return
 				}
 				let _this = this
+				item['orderType'] = 'bcp'
 				uni.navigateTo({
 					url: './orderCheck',
 					success(res) {
 						res.eventChannel.emit('item', {
-							item: item
+							item: item,
 						}),
 						res.eventChannel.emit('type', {
 							type: "bcp"
diff --git a/pages/phyz/orderOut/orderCheck.vue b/pages/phyz/orderOut/orderCheck.vue
index 87d356f..ffce221 100644
--- a/pages/phyz/orderOut/orderCheck.vue
+++ b/pages/phyz/orderOut/orderCheck.vue
@@ -92,7 +92,12 @@
 			// })
 			eventChannel.on('item', function(data) {
 				let ids = [data.item.id]
-				_this.getPakoutList(ids)
+				if (data.item.orderType == 'bcp') {
+					_this.getPakoutList(ids,'bcp')
+				} else {
+					_this.getPakoutList(ids,null)
+				}
+				
 			})
 			eventChannel.on('type', function(data) {
 				console.log(data);
@@ -116,10 +121,10 @@
 				item.agvStaNo = option
 			},
 			// 璁㈠崟鏄庣粏
-			getPakoutList(ids,locNo) {
+			getPakoutList(ids,bcp) {
 				let _this = this
 				uni.request({
-					url: `${_this.baseUrl}/out/pakout/preview/auth`,
+					url: `${_this.baseUrl}/bcp/out/pakout/preview/auth`,
 					header: {'token': uni.getStorageSync('token')},
 					data: ids,
 					method: 'POST',

--
Gitblit v1.9.1