From fa73abee6209cd6f7c62c61c271826f7d413035d Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 01 八月 2025 11:32:17 +0800
Subject: [PATCH] event result_type

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

diff --git a/pages/modal/5602.vue b/pages/modal/5602.vue
index d045b65..0b0223a 100644
--- a/pages/modal/5602.vue
+++ b/pages/modal/5602.vue
@@ -1,5 +1,5 @@
 <template>
-	<view class="uni-page-modal-5602">
+	<view class="uni-page-modal-5602" :class="largeMode?'large-mode':''">
 		<!-- 琛ㄥご鏍峰紡 -->
 		<view class="view-header">
 			<view class="v-headStyle" v-for="(item,index) in head_styledef.form.items">
@@ -214,6 +214,7 @@
 	export default {
 		data() {
 			return {
+					largeMode: getApp().globalData.largeMode || false,
 				title: this.translateSys("sorting"),
 				ClsID: "Distribution_CNTR_Detail",
 				ClsID2: "Picking_Result",
@@ -572,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;
 
@@ -843,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,
@@ -2514,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