剩余模块:生产入库,销售出库
This commit is contained in:
@@ -10,8 +10,9 @@
|
||||
<!-- 根据uni-app的input组件文档,H5和APP中只要声明了password参数(无论true还是false),type均失效,此时
|
||||
为了防止type=number时,又存在password属性,type无效,此时需要设置password为undefined
|
||||
-->
|
||||
<input ref="input-native" class="u-input__content__field-wrapper__field" :style="[inputStyle]"
|
||||
:type="type" :focus="focus" :cursor="cursor" :value="innerValue" :auto-blur="autoBlur"
|
||||
<input ref="input-native" id="myFocusKeeperInput" :inputmode="inputmode"
|
||||
class="u-input__content__field-wrapper__field upinputRef" :style="[inputStyle]" :type="type"
|
||||
:focus="focus" :cursor="cursor" :value="innerValue" :auto-blur="autoBlur"
|
||||
:disabled="disabled || readonly" :maxlength="maxlength" :placeholder="placeholder"
|
||||
:placeholder-style="placeholderStyle" :placeholder-class="placeholderClass"
|
||||
:confirm-type="confirmType" :confirm-hold="confirmHold" :hold-keyboard="holdKeyboard"
|
||||
@@ -55,6 +56,7 @@
|
||||
sleep,
|
||||
os
|
||||
} from '../../libs/function/index';
|
||||
// const barcodePlugins = uni.requireNativePlugin('BarcodePlugins')
|
||||
/**
|
||||
* Input 输入框
|
||||
* @description 此组件为一个输入框,默认没有边框和样式,是专门为配合表单组件u-form而设计的,利用它可以快速实现表单验证,输入内容,下拉选择等功能。
|
||||
@@ -121,6 +123,9 @@
|
||||
if (this.formatter) {
|
||||
this.innerFormatter = this.formatter;
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
watch: {
|
||||
modelValue: {
|
||||
@@ -251,11 +256,11 @@
|
||||
console.log('=========================================>>>>');
|
||||
this.focused = true
|
||||
uni.createSelectorQuery()
|
||||
.select('.u-input__content__field-wrapper__field')
|
||||
.node(res => {
|
||||
if (res?.node?.focus) res.node.focus();
|
||||
})
|
||||
.exec();
|
||||
.select('.u-input__content__field-wrapper__field')
|
||||
.node(res => {
|
||||
if (res?.node?.focus) res.node.focus();
|
||||
})
|
||||
.exec();
|
||||
},
|
||||
doBlur() {
|
||||
this.$refs['input-native'].blur();
|
||||
|
||||
Reference in New Issue
Block a user