pang.jiabao
2025-03-07 99eb82d94843caa48ca38582bca2d7275c59809c
pages/pakin/pakin.vue
@@ -14,10 +14,10 @@
               <text style="text-align: right;color: #409EFF;" @click="findMat()">提取+</text>
               <uni-icons type="right" color="#c1c1c1"></uni-icons>
            </view>
         </view>
         </view>
         <uni-section title="商品列表" type="line" class="mat-list-title"></uni-section>
      </view>
      <view class="mat-list-title">
         <div>商品列表</div>
      <view class="list-view">
         <scroll-view>
            <view class="list" v-for="(item,i) in dataList" :key="i">
               <view class="list-left">
@@ -175,15 +175,15 @@
            // 不设置定时器 会出现扫入的字符串不全
            setTimeout(() => {
               var len = this.barcode.length
               if (len != 8) {
                  uni.showToast({
                     title: '托盘码有误请重试',
                     icon: "none",
                     position: 'top'
                  });
                  // this.barcodeFocuss()
                  return;
               }
               // if (len != 8) {
               //    uni.showToast({
               //       title: '托盘码有误请重试',
               //       icon: "none",
               //       position: 'top'
               //    });
               //    // this.barcodeFocuss()
               //    return;
               // }
               // this.focuss()
            }, 200)
         },
@@ -396,6 +396,7 @@
         resst() {
            this.dataList = []
            this.barcode = ''
            this.matnr = ''
            this.barcodeFocuss()
         },
      }
@@ -403,17 +404,30 @@
</script>
<style>
   @import url('../../static/css/wms.css/wms.css');
   @import url('../../static/css/wms.css/wms.css');
   .uni-section {
      margin-top: 0rpx;
      .uni-section__content-title {
         font-size: 16px !important;
      }
   }
   .list {
      border-radius: unset;
      margin: auto;
      margin-top: 20rpx;
      padding: 10rpx;
   }
   .list-view {
      width: 100%;
      position: relative;
   }
   .list:first-child {
      margin-top: 20rpx;
      margin-top: 320rpx;
   }
   .code {
      width: 100%;
@@ -457,11 +471,8 @@
      line-height: 80rpx;
      width: 100%;
      background-color: white;
      position: fixed;
      margin-top: 200rpx;
      position: relative;
      font-weight: 500;
      z-index: 9;
      /* border-top: 1px solid #DCDFE6; */
      text-align: center;
      /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); */
   }
</style>