From b8c1b13f3b805241362d4ecd38930dd88c020f27 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 15 十一月 2024 16:42:47 +0800
Subject: [PATCH] #

---
 pages/pakin/leftovers.vue |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/pages/pakin/leftovers.vue b/pages/pakin/leftovers.vue
index 4744ca8..5d51539 100644
--- a/pages/pakin/leftovers.vue
+++ b/pages/pakin/leftovers.vue
@@ -191,7 +191,7 @@
 				// 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏�
 				setTimeout(() => {
 					var len = this.barcode.length
-					if (len != 8) {
+					if (len >= 9 && len <=8) {
 						uni.showToast({
 							title: '鎵樼洏鐮佹湁璇閲嶈瘯',
 							icon: "none",
@@ -208,15 +208,7 @@
 				// 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏�
 				setTimeout(() => {
 					var len = this.barcode2.length
-					if (len != 8) {
-						uni.showToast({
-							title: '鎵樼洏鐮佹湁璇閲嶈瘯',
-							icon: "none",
-							position: 'top'
-						});
-						this.barcodeFocuss()
-						return;
-					}
+					
 					// this.selectPakinDetlList()
 					// this.focuss()
 				}, 200)

--
Gitblit v1.9.1