From 1e40a94e41a811a30b49150b5feabe9b7797948a Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 14 五月 2024 08:23:06 +0800
Subject: [PATCH] #
---
 pages/tzsk/AGV/AGVPakinOn.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/pages/tzsk/AGV/AGVPakinOn.vue b/pages/tzsk/AGV/AGVPakinOn.vue
index 2e7ac99..f244269 100644
--- a/pages/tzsk/AGV/AGVPakinOn.vue
+++ b/pages/tzsk/AGV/AGVPakinOn.vue
@@ -306,7 +306,9 @@
 			},
 			barcodeInput() {
 				// 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏�
-				this.barcode = this.barcode.split('_')[1]
+				if (this.barcode.split('_')[1]) {
+					this.barcode = this.barcode.split('_')[1]
+				} 
 				setTimeout(() => {
 					var len = this.barcode.length
 					if (len != 10) {
@@ -381,6 +383,8 @@
 								// 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
 								events: {
 									matList: function(data) {
+										data.data['csocode'] = ''
+										data.data['isoseq'] = ''
 										that.checkMat(data.data)
 										that.focuss()
 									},
--
Gitblit v1.9.1