From 441e73cbc890127b60853a7c80a7f3d600c0b02f Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 15 一月 2025 15:43:46 +0800
Subject: [PATCH] 1
---
代码管理/淮安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