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/bcpOrderOutSelect.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/pages/phyz/orderOut/bcpOrderOutSelect.vue b/pages/phyz/orderOut/bcpOrderOutSelect.vue
index b8d107e..be80909 100644
--- a/pages/phyz/orderOut/bcpOrderOutSelect.vue
+++ b/pages/phyz/orderOut/bcpOrderOutSelect.vue
@@ -32,14 +32,6 @@
 			- 宸茬粡鍒板簳浜� -
 		</view>
 		
-		<!-- <view class="buttom">
-			<view style="width: 150rpx;text-align: center;padding-left: 12rpx;">
-				鍚嶇О
-			</view>
-			<uni-search-bar v-model="searchValue2" style="width: 100%;"
-				maxlength="500" ancel="cancel" @confirm="searchValueInput2()" @clear="clear2" placeholder="杈撳叆 / 鎵弿 璁㈠崟鍙�">
-			</uni-search-bar>
-		</view> -->
 		<!-- 绛涢�夊脊绐� -->
 		<view>
 			<uni-popup ref="filter" type="dialog">
@@ -197,12 +189,20 @@
 				},300)
 			},
 			goToLocDetl(item) {
+				if (item.qty >= item.anfme) {
+					uni.showToast({ title: '宸插畬鎴愯鍗曚綔涓氭暟閲�', icon: "error", position: 'top' })
+					return
+				}
 				let _this = this
+				item['orderType'] = 'bcp'
 				uni.navigateTo({
-					url: './orderList',
+					url: './orderCheck',
 					success(res) {
 						res.eventChannel.emit('item', {
-							item: item
+							item: item,
+						}),
+						res.eventChannel.emit('type', {
+							type: "bcp"
 						})
 					},
 					events: {

--
Gitblit v1.9.1