From 2b5bf2b63f6b8718a396f16f02c682f635744425 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期五, 18 十月 2024 10:56:17 +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