From d066a9659f793dee40ac7fa0bc399ebd30664b4a Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期四, 14 八月 2025 10:01:10 +0800
Subject: [PATCH] 3202加列表按钮跳转功能点
---
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 2214147..17903b6 100644
--- a/pages/modal/5602.vue
+++ b/pages/modal/5602.vue
@@ -259,7 +259,8 @@
this.title = options.titlename;
this.param = JSON.parse(options.param);
// console.log(this.param);
- this.loadData(options.paramValue)
+ const paramValue = options.paramValue ?JSON.parse(options.paramValue) :undefined
+ this.loadData(paramValue)
},
methods: {
setData: function(obj) {
@@ -573,8 +574,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 +845,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 +2518,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