|  |  | 
 |  |  |          <view class="item"> | 
 |  |  |             <view class="code-decs">库位码:</view> | 
 |  |  |             <input type="text" placeholder=" 扫码 / 输入" v-model="locNo" :focus="barcodeFocus" | 
 |  |  |                > | 
 |  |  |             @input="barcodeInput()"   > | 
 |  |  |          </view> | 
 |  |  |          <view class="item"> | 
 |  |  |             <view class="code-decs">物料码:</view> | 
 |  |  | 
 |  |  |          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) | 
 |  |  |          }, | 
 |  |  | 
 |  |  |                this.messageToggle('error') | 
 |  |  |                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].anfme == 0 || that.dataList[i].anfme == '') { | 
 |  |  |             //       this.messageText = that.dataList[i].matnr + '组托数量不能为0' | 
 |  |  |             //       this.messageToggle('error') | 
 |  |  |             //       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].anfme == 0 || that.dataList[i].anfme == '') { | 
 |  |  |                   this.messageText = that.dataList[i].matnr + '组托数量不能为0' | 
 |  |  |                   this.messageToggle('error') | 
 |  |  |                   return; | 
 |  |  |                }				 | 
 |  |  |                 | 
 |  |  |             // } | 
 |  |  |             } | 
 |  |  |             uni.request({ | 
 |  |  |                url: that.baseUrl + '/mobile/pingKu/Shelves/auth', | 
 |  |  |                data: JSON.stringify({ |