cuiqian2004
2025-06-19 619b47962e41f506baf7ce2b535b2de1fecc719e
pages/modal/3018.vue
@@ -1002,12 +1002,9 @@
            //console.log(e.target)
            getApp().onScan((result) => {
               console.log(result);
               this.classAttrList[e.target.dataset['index']].Attr[e.target.dataset[
                     'iindex']]
                  .Value =
                  result.decodedata;
               this.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value =result;
               uni.hideKeyboard();
               this.onevent($ele, result.decodedata);
               this.onevent($ele, result);
            })
         },
         onarrow(index, open) {
@@ -1137,14 +1134,14 @@
         },
         onevent(e, decodedata) {
         onevent(e, value) {
            // console.log(e.target);
            var data_attr = this.classAttrList[e.target.dataset['index']].Attr[e.target.dataset[
               'iindex']];
            // console.log(decodedata);
            // console.log(value);
            if (e.detail.value != data_attr.Value) {
               this.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value =
                  decodedata ? decodedata : e.detail.value;
                  value ? value : e.detail.value;
               var eventid = this.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].action;
               if (eventid) {
                  // self.event_no_sub = 1;