cuiqian2004
2025-08-14 d066a9659f793dee40ac7fa0bc399ebd30664b4a
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",
@@ -258,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) {
@@ -572,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;
@@ -843,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,
@@ -2514,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,