From fe10cf437b17a2ea0ef63373cae2e5790ebc3930 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期四, 31 七月 2025 18:22:52 +0800
Subject: [PATCH] action 处理

---
 pages/modal/5602.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/pages/modal/5602.vue b/pages/modal/5602.vue
index 2214147..0b0223a 100644
--- a/pages/modal/5602.vue
+++ b/pages/modal/5602.vue
@@ -573,8 +573,8 @@
 				// var $ele = e;
 				this.focusOldFieldId = item.fieldId
 				getApp().onScan((result) => {
-					console.log(result.decodedata);
-					item.value = result.decodedata;
+					console.log(result);
+					item.value = result;
 					//uni.hideKeyboard();
 					var $this = this;
 
@@ -844,6 +844,8 @@
 							} else {
 								var tip = result.info ? typeof result.info == 'string' ? result.info :
 									result.info.join('<br/>') : '';
+								tip = tip || result.err_info
+	
 								if (tip) uni.showModal({
 									title: this.translateSys("tip"),
 									content: tip,
@@ -2515,6 +2517,7 @@
 					} else {
 						var tip = result.info ? typeof result.info == 'string' ? result.info : result.info
 							.join('<br/>') : '';
+								tip = tip || result.err_info
 						if (tip) uni.showModal({
 							title: this.translateSys("tip"),
 							content: tip,

--
Gitblit v1.9.1