cuiqian2004
2024-11-04 de0f1b7995ee559f19e27ea07da0091d4ae189d5
pages/modal/3037_2.vue
@@ -78,7 +78,8 @@
               <!-- 左右布局 -->
               <p class="tx_title2">{{param.Scan_Code.Name}}:</p>
               <input type="text" class="attr_field" :value="scanCodeVal" @focus="scan_ontap" @blur="scan_onevent"
                  :style="param.Scan_Code.Have_Select_Button==true?'width: '+(100-(param.Scan_Code.Name.length * 5)-14)+'%;':'width: '+(100-(param.Scan_Code.Name.length * 5)-5)+'%;'" :maxlength="-1">
                  :style="param.Scan_Code.Have_Select_Button==true?'width: '+(100-(param.Scan_Code.Name.length * 5)-14)+'%;':'width: '+(100-(param.Scan_Code.Name.length * 5)-5)+'%;'"
                  :maxlength="-1">
               <div class="text-right2" v-if="param.Scan_Code.Have_Select_Button==true">
                  <a @tap="scan_classAttr_extButton()"><i class="ace-icon fa"
                        :class="param.Scan_Code.Img?param.Scan_Code.Img:'fa-plus-circle'"></i></a>
@@ -173,7 +174,8 @@
                                 v-model="cols.value" :disabled="cols.disabled"
                                 :placeholder="cols.placeholder"
                                 :style="{'width':cols.setting.prefix && cols.setting.suffix?'78%':cols.setting.prefix || cols.setting.suffix?'87%':'96%'}"
                                 :focus="focusMateria" @focus="ontap(cols)" @blur="onevent(cols)"  :maxlength="-1"/>
                                 :focus="focusMateria" @focus="ontap(cols)" @blur="onevent(cols)"
                                 :maxlength="-1" />
                              <text v-if="cols.setting.suffix" class="uni-icon" :class="[cols.setting.suffix]"
                                 @click="onchange(cols)">&#xe568;</text>
                           </view>
@@ -1395,17 +1397,8 @@
                           // console.log($this.$data.head_styledef);
                        } else if (action.action_type == 'set_global_attr') {
                           $this.$data.global_attr = action.value || [];
                        } else {
                           uni.showModal({
                              title: this.translateSys("tip"),
                              content: this.translateSys("quotation_mark_left") + action
                                 .action_type + this.translateSys(
                                    "quotation_mark_right") + this.translate(
                                    "tip_action_unprocessed"),
                              showCancel: false,
                              confirmText: this.translateSys("cancel")
                           });
                        }
                     }
                  }