Commit f4d63a66 by LJM

bug

parent 5f784286
Showing with 7 additions and 1 deletions
......@@ -97,7 +97,7 @@
</view>
<view class="form-input">
<view class="input-title"><text class="input-title-t1">库位:</text></view>
<view class="input-box"><input focus :class="{ 'error-style': !is_submit }" type="text" class="uni-input" placeholder-style="color:#919399" placeholder="请输入库位编码" v-model="formParams.position_code" @input="inputPositionCodeChange()" /></view>
<view class="input-box"><input :focus="isInputFocus" :class="{ 'error-style': !is_submit }" type="text" class="uni-input" placeholder-style="color:#919399" placeholder="请输入库位编码" v-model="formParams.position_code" @input="inputPositionCodeChange()" /></view>
</view>
<view class="bor"></view>
<view class="tip-box row verCenter" v-if="workingRule">
......@@ -142,6 +142,7 @@ import debounce from 'lodash/debounce';
export default {
data() {
return {
isInputFocus: false,
is_submit: true,
input_flag: false,
index: 0,
......@@ -166,6 +167,11 @@ export default {
onShow() {
this.getData();
},
mounted() {
setTimeout(() => {
this.isInputFocus = true;
}, 2000);
},
methods: {
/**
* 单号搜索
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment