|  |  |  | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <view class="square-content"> | 
|---|
|  |  |  | <view class="content-input"> | 
|---|
|  |  |  | <input type="text" placeholder="扫码 / 输入"> | 
|---|
|  |  |  | <input type="text" v-model="yyds" placeholder="扫码 / 输入" @input="find" :focus="focus"> | 
|---|
|  |  |  | <uni-icons type="closeempty" size="20" color="#dadada"></uni-icons> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <checkbox-group > | 
|---|
|  |  |  | <view v-for="(item,index) in staNoList" :key="index" class="data-list " > | 
|---|
|  |  |  | <view class="data-list-left"> | 
|---|
|  |  |  | <view class="matnr">{{item}}</view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </checkbox-group> | 
|---|
|  |  |  | <view class="square-2"> | 
|---|
|  |  |  | <view class="square-title"> | 
|---|
|  |  |  | <view class="title-sign"><view class="sign"></view></view> | 
|---|
|  |  |  | 
|---|
|  |  |  | <view class="square-1"> | 
|---|
|  |  |  | <view class="square-title"> | 
|---|
|  |  |  | <view class="title-sign"><view class="sign"></view></view> | 
|---|
|  |  |  | <view class="title-text"><text>托盘条码</text></view> | 
|---|
|  |  |  | <view class="title-text"><text>商品列表</text></view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | <input type="text" placeholder="请输入..."> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <!-- 搜索框 --> | 
|---|
|  |  |  | <view class="square-1"> | 
|---|
|  |  |  | <view class="searchBox"> | 
|---|
|  |  |  | <view class="searchIcon"><uni-icons type="search" size="20" color="#dadada"></uni-icons></view> | 
|---|
|  |  |  | <view class="searchArea"><input type="text" placeholder=" 请输入"></view> | 
|---|
|  |  |  | <view class="closeIcon"><uni-icons type="closeempty" size="20" color="#dadada"></uni-icons></view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | staNoList:[], | 
|---|
|  |  |  | staNo:'', | 
|---|
|  |  |  | yyds:'', | 
|---|
|  |  |  | focus:'' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | onLoad() { | 
|---|
|  |  |  | // #ifdef APP | 
|---|
|  |  |  | setInterval(()=>{ | 
|---|
|  |  |  | uni.hideKeyboard() | 
|---|
|  |  |  | },20) | 
|---|
|  |  |  | // #endif | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods:{ | 
|---|
|  |  |  | find(){ | 
|---|
|  |  |  | this.staNoList.push(this.yyds); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | this.focus = false; | 
|---|
|  |  |  | setTimeout(()=>{ | 
|---|
|  |  |  | this.yyds =''; | 
|---|
|  |  |  | this.focus = true; | 
|---|
|  |  |  | console.log(this.yyds ,'1') | 
|---|
|  |  |  | }, 50); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <style> | 
|---|