|  |  | 
 |  |  |                </view> | 
 |  |  |             </view> | 
 |  |  |          </view> | 
 |  |  | 			 | 
 |  |  |          <view class="square-2"> | 
 |  |  |             <view class="square-title"> | 
 |  |  |                <view class="title-sign"><view class="sign"></view></view> | 
 |  |  |                <view class="title-text"><text>托盘条码</text></view> | 
 |  |  |             </view> | 
 |  |  |             <view class="square-content"> | 
 |  |  |                <view class="content-input"> | 
 |  |  |                   <input v-model="barcode" type="text" placeholder="扫码 / 输入" maxlength="8"placeholder-style="line-height:  85rpx;"> | 
 |  |  |                   <uni-icons type="closeempty" size="20" color="#dadada" @click="removeBarcode" ></uni-icons> | 
 |  |  |                </view> | 
 |  |  |             </view> | 
 |  |  |          </view> | 
 |  |  |          <view class="pak-data-box"> | 
 |  |  |             <view class="box-top"> | 
 |  |  |                <view class="color-block-blue"></view> | 
 |  |  |                <text class="title">商品列表</text> | 
 |  |  |                <button class="cu-btn bg-blue" @click="selectMat()">+ 添加</button> | 
 |  |  |                <!-- <button class="cu-btn bg-blue" @click="selectMat()">+ 添加</button> --> | 
 |  |  |             </view> | 
 |  |  |          </view> | 
 |  |  |          <view class="pak-data-box"  v-show="matList.length === 0"> | 
 |  |  | 
 |  |  |    export default { | 
 |  |  |       data() { | 
 |  |  |          return { | 
 |  |  |             matList:[{matnr:'LSH90152025',maktx:'尼龙头',batch:'',anfme:'10'}], | 
 |  |  |             matList:[], | 
 |  |  |             staNoList:[], | 
 |  |  |             barcode: '', | 
 |  |  |             staNo:'', | 
 |  |  |             matnr:'', | 
 |  |  |             enableQty:'', | 
 |  |  | 
 |  |  |                   } | 
 |  |  |                }, | 
 |  |  |             }); | 
 |  |  |          }, | 
 |  |  |          removeBarcode() { | 
 |  |  |             this.barcode = '' | 
 |  |  |          } | 
 |  |  |       } // methods | 
 |  |  |    } // exprot |