From 059bfb279d7bb7a45b1a9d3d5e26db238e939a7f Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 15 一月 2025 13:37:47 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn

---
 代码管理/淮安PDA/pages/stash/boxing.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/boxing.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/boxing.vue"
index 82d6dc8..4a56381 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/boxing.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/boxing.vue"
@@ -383,22 +383,26 @@
 			},
 			snInput() {
 				this.$nextTick(() => {
-					if (this.warehouseId == 6 || this.warehouseId == 2) {
+					if (this.warehouseId == 6 || this.warehouseId == 2 || this.warehouseId == 3) {
 						if (this.sns.length > 0) {
 							this.sns = [];
 						}
 					}
 					if (this.materSn != "") {
 						this.focus = false;
-						var matSn = this.materSn;
-						setTimeout(() => {
+						if(this.materSn.split(',').length != 6){
 							this.materSn = "";
-						}, 10);
+							return;
+						}
+						var matSn = this.materSn;
+						//setTimeout(() => {
+							this.materSn = "";
+						//}, 10);
 						this.$u.post('/api/MaterielInfo/CodeAnalysis?serNum=' + matSn, {}).then((res) => {
 							this.Testcheck = false;
 							if (res.status) {
 								this.sns.push(res.data.serialNumber);
-								if (this.warehouseId == 6 || this.warehouseId == 2) {
+								if (this.warehouseId == 6 || this.warehouseId == 2 || this.warehouseId == 3) {
 									if (this.matInfos.length > 0) {
 										this.matInfos = [];
 									}

--
Gitblit v1.9.3