#
Your Name
2022-08-16 0cdc24ed926ec628d932027fd4aa7af8d0e5ae86
pages/basics/stockCheck.vue
@@ -13,11 +13,24 @@
               </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">
@@ -79,8 +92,9 @@
   export default {
      data() {
         return {
            matList:[{matnr:'LSH90152025',maktx:'尼龙头',batch:'',anfme:'10'}],
            matList:[],
            staNoList:[],
            barcode: '',
            staNo:'',
            matnr:'',
            enableQty:'',
@@ -266,6 +280,9 @@
                  }
               },
            });
         },
         removeBarcode() {
            this.barcode = ''
         }
      } // methods
   } // exprot