#
zjj
2025-04-09 c2d0b458af0174d84b03d574d8326d67d5ffeee7
pages/order/orderPakin2.vue
@@ -13,7 +13,7 @@
            <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus"
               @input="barcodeInput()">
         </view>
         <view class="item">
         <!-- <view class="item">
            <view class="code-decs">物料码:</view>
            <input type="text" placeholder=" 扫码 / 输入" v-model="matnr" :focus="matFocus" @input="findMat()">
            <!-- <view class="item-right">
@@ -21,7 +21,7 @@
               <text style="text-align: right;color: #409EFF;" @click="selectMat()">提取+</text>
               <uni-icons type="right" color="#c1c1c1"></uni-icons>
            </view> -->
         </view>
         <!-- </view> --> -->
      </view>
      <view class="mat-list-title">
         商品列表
@@ -104,7 +104,7 @@
               <view class="popup-item">
                  <view class="popup-item-left">数量:</view>
                  <view class="popup-item-right" style="border: none;justify-content: center;">
                     <uni-number-box :value="count" :step='0.01' :max="9999999" color="#747474" @change="changeValue" />
                     <uni-number-box :value="count" :step='0.001' :max="9999999" color="#747474" @change="changeValue" />
                  </view>
               </view>
               <view class="btn">
@@ -210,16 +210,7 @@
         barcodeInput() {
            // 不设置定时器 会出现扫入的字符串不全
            setTimeout(() => {
               var len = this.barcode.length
               if (len >= 9 && len <=8) {
                  uni.showToast({
                     title: '托盘码有误请重试',
                     icon: "none",
                     position: 'top'
                  });
                  this.barcodeFocuss()
                  return;
               }
               var len = this.barcode.length
               this.focuss()
            }, 200)
         },
@@ -435,11 +426,11 @@
               return;
            }
            for (var i = 0; i < that.dataList.length; i++) {
               if (that.dataList[i].review !== "已复核" ) {
                  this.messageText = that.dataList[i].matnr + '未复核'
                  this.messageToggle('error')
                  return;
               }
               // if (that.dataList[i].review !== "已复核" ) {
               //    this.messageText = that.dataList[i].matnr + '未复核'
               //    this.messageToggle('error')
               //    return;
               // }
               if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') {
                  this.messageText = that.dataList[i].matnr + '组托数量不能为0'
                  this.messageToggle('error')