From 3af32c3f5e5680debad21b246c48fabdc06b72db Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 09 九月 2024 17:15:40 +0800 Subject: [PATCH] # --- pages/phyz/orderOut/orderCheck.vue | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/pages/phyz/orderOut/orderCheck.vue b/pages/phyz/orderOut/orderCheck.vue index bd47f2c..87d356f 100644 --- a/pages/phyz/orderOut/orderCheck.vue +++ b/pages/phyz/orderOut/orderCheck.vue @@ -75,7 +75,8 @@ option: '', options: [], combDis: false, - maxCount: 0 + maxCount: 0, + orderType: '' } }, onShow() { @@ -92,6 +93,12 @@ eventChannel.on('item', function(data) { let ids = [data.item.id] _this.getPakoutList(ids) + }) + eventChannel.on('type', function(data) { + console.log(data); + if (data) { + _this.orderType = data.type + } }) }, methods: { @@ -124,6 +131,11 @@ k['isOpen'] = false k['count'] = k.anfme k.anfme = 0 + if (_this.orderType == 'bcp') { + if (k.locNo.substring(k.locNo.length - 1, k.locNo.length) == 1) { + continue + } + } _this.dataList.push(k) } } @@ -167,7 +179,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