| | |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input readonly="value" v-model="locNo" type="text" placeholder="扫码 / 输入" > |
| | | <input readonly="value" v-model="locNo" type="text" placeholder="扫码 / 输入" |
| | | :focus="locNoFocus" > |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="remove('locNo')"></uni-icons> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input v-model="userId" type="text" placeholder="扫码 / 输入"> |
| | | <input v-model="userId" type="text" placeholder="扫码 / 输入" |
| | | :focus="userIdFocus"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="remove('userId')"></uni-icons> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input v-model="barcode" type="text" placeholder="扫码 / 输入"> |
| | | <input v-model="barcode" type="text" placeholder="扫码 / 输入" |
| | | :focus="barcodeFocus"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="remove('barcode')"></uni-icons> |
| | | </view> |
| | | </view> |
| | |
| | | msgType: 'success', |
| | | messageText: '这是一条成功提示', |
| | | staNoList:[1,2,3,4,5,6], |
| | | staNo:'' |
| | | staNo:'', |
| | | locNoFocus:true, |
| | | userIdFocus:false, |
| | | barcodeFocus:false |
| | | } |
| | | }, |
| | | mounted(){ |
| | |
| | | getUrl() { |
| | | this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl |
| | | }, |
| | | locNoFocuss() { |
| | | // #ifdef APP |
| | | let that = this; |
| | | that.locNoFocus = false; |
| | | setTimeout(()=>{ |
| | | that.remove('locNo') |
| | | that.locNoFocus = true; |
| | | }, 100); |
| | | // #endif |
| | | |
| | | }, |
| | | |
| | | // 清空input |
| | | remove(e) { |
| | | this[e] = '' |