From 8854175ab048274e13351c3630c6597298c53f9a Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期日, 29 九月 2024 10:09:35 +0800
Subject: [PATCH] #
---
pages/phyz/orderOut/orderCheck.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/pages/phyz/orderOut/orderCheck.vue b/pages/phyz/orderOut/orderCheck.vue
index 3008a81..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',
@@ -179,7 +184,7 @@
data: combList,
method: 'POST',
success(res) {
- _this.combDis = true
+ _this.combDis = false
res = res.data
if (res.code === 200) {
uni.hideLoading({})
--
Gitblit v1.9.1