From 6050beb7c315bb0450e7c039a0455b96d4c1ce8f Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期三, 12 六月 2024 18:16:05 +0800 Subject: [PATCH] rfid扫码 --- pages/modal/3018_2.vue | 30 +++++++++++++++++------------- 1 files changed, 17 insertions(+), 13 deletions(-) diff --git a/pages/modal/3018_2.vue b/pages/modal/3018_2.vue index da59d18..5e6158a 100644 --- a/pages/modal/3018_2.vue +++ b/pages/modal/3018_2.vue @@ -572,6 +572,10 @@ } }, after_ok: {}, + activity: null, + receiver: null, + intentFilter: null, + content: '' }; }, onLoad(options) { @@ -585,10 +589,10 @@ console.log(this.$data.param); //鑾峰彇鏁版嵁绫荤殑鑷畾涔夎〃鍗曞弬鏁� this.Head_UIStyleGetInfo(this.param.DataCls.id, this.param.UI_Style.ID); - //椤甸潰鍒濆鍖栬幏鍙栫劍鐐� // this.focusMateria=true; }, + methods: { async Head_UIStyleGetInfo(class_id, style_id) { //鑾峰彇鑷畾涔夎〃鍗曟牱寮� var $this = this; @@ -774,7 +778,7 @@ if (col.fieldId == result[i].attr) { var dictItemList = []; for (var d in result[i] - .choice_list) { + .choice_list) { var val = result[i] .choice_list[d]; dictItemList.push({ @@ -854,15 +858,15 @@ } } else if (ele.name == 'Layout') { ele.setting.colList.forEach( - col => { - if (col) { - if (col.fieldId == - attr.attr) { - col.show = attr - .show; + col => { + if (col) { + if (col.fieldId == + attr.attr) { + col.show = attr + .show; + } } - } - }); + }); } }); }); @@ -942,7 +946,7 @@ // } // }) getApp().onScan((result) => { - //console.log(result.decodedata); + console.log(result); uni.hideKeyboard(); var $this = this; console.log(item); @@ -1596,7 +1600,7 @@ // console.log(param); console.log(data); var callback_eventid = param.button_callback - .trim(); + .trim(); var info = { eventid: callback_eventid, edtype: "0", @@ -1675,7 +1679,7 @@ // $this.$data.classAttrList[param.index].Attr[param.iindex].Value=data[0].Name; // $this.$data.classAttrList[param.index].Attr[param.iindex].ValID=data[0].ID+';'+data[0].Name; var callback_eventid = param.button_callback - .trim(); + .trim(); if (callback_eventid) { var info = { eventid: callback_eventid, -- Gitblit v1.9.1