From 82f3ac1948d1b9d3d0e3dcbcd9466eabc72cdcf8 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 04 九月 2024 15:16:47 +0800
Subject: [PATCH] #

---
 pages/phyz/orderOut/orderCheck.vue |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/pages/phyz/orderOut/orderCheck.vue b/pages/phyz/orderOut/orderCheck.vue
index 8691a34..87d356f 100644
--- a/pages/phyz/orderOut/orderCheck.vue
+++ b/pages/phyz/orderOut/orderCheck.vue
@@ -19,7 +19,7 @@
 				
 				<view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">鍑哄簱绔欙細
 					<view class="dropdown" @click="toggleDropdown(item)">
-						<view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view>
+						<!-- <view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view> -->
 						<input type="text" style="width: 270rpx;font-size: 20px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff">
 						<uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons>
 						<scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen">
@@ -75,7 +75,8 @@
 				option: '',
 				options: [],
 				combDis: false,
-				maxCount: 0
+				maxCount: 0,
+				orderType: ''
 			}
 		},
 		onShow() {
@@ -93,6 +94,12 @@
 				let ids = [data.item.id]
 				_this.getPakoutList(ids)
 			})
+			eventChannel.on('type', function(data) {
+				console.log(data);
+				if (data) {
+					_this.orderType = data.type
+				}
+			})
 		},
 		methods: {
 			max() {
@@ -102,10 +109,8 @@
 				this.options = []
 				item.isOpen = !item.isOpen;
 				for	(let k of item.agvStaNos) {
-					console.log(k);
 					this.options.push(k)
 				}
-				console.log(this.options);
 			},
 			selected(option,item) {
 				item.agvStaNo = option
@@ -126,10 +131,14 @@
 									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)
 								}
 							}
-							console.log(_this.dataList);
 						} else if (res.code == 403) {
 							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
 							setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);
@@ -170,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