From 7756e22327b49a0aa2b103bc8ff285291f6f54cb Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 04 十一月 2024 16:26:21 +0800
Subject: [PATCH] #
---
pages/phyz/orderOut/orderCheck.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
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