From e376c99d80df50257b80a0da99865e80cf6b55c5 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期六, 13 十二月 2025 11:09:54 +0800
Subject: [PATCH] no message

---
 pages/outbound/wavePickItem.vue |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/pages/outbound/wavePickItem.vue b/pages/outbound/wavePickItem.vue
index be72aea..4134459 100644
--- a/pages/outbound/wavePickItem.vue
+++ b/pages/outbound/wavePickItem.vue
@@ -97,6 +97,9 @@
 			})
 
 		},
+		onShow() {
+			this.search()
+		},
 		methods: {
 			//鐐瑰嚮浜嬩欢
 			clickTaskItem(index) {
@@ -125,9 +128,9 @@
 			async search() {
 				let that = this;
 				this.list = []
-				// if(this.barcode === '' || this.barcode ===null){
-				// 	return ;
-				// }
+				if (that.barcode == null || that.barcode.length < 1 ) {
+					return;
+				}
 				const {
 					code,
 					data,
@@ -165,13 +168,6 @@
 			},
 			async complete() {
 				let that = this
-				if (that.barcode === '' || that.barcode === null) {
-					uni.showToast({
-						title: "瀹瑰櫒鍙蜂负绌�",
-						icon: "error",
-					})
-					return;
-				}
 				if (that.list === [] || that.list.length === 0) {
 					uni.showToast({
 						title: "鎷h揣鏄庣粏涓虹┖",

--
Gitblit v1.9.1