zhang
2025-05-30 0de302f651e3184f9999b9798359064dc39a0600
pages/phyz/orderOut/orderCheck_2.vue
@@ -129,10 +129,19 @@
               if (k == item) flag = true 
            }
            if(!flag) {
               uni.showToast({ title: '当前站点无法使用,已复位', icon: "error", position: 'top' })
               setTimeout(() => {
                  this.dataList[index].agvStaNo = ''
               }, 100);
               var lev0 = this.dataList[index].locNo.substring(this.dataList[index].locNo.length-2);
               var lev00 = item.substring(item.length-2);
               if(lev0 != lev00){
                  uni.showToast({ title: '扫描的站点和库位不在同一楼层,请检查数据', icon: "error", position: 'top' })
                  setTimeout(() => {
                     this.dataList[index].agvStaNo = ''
                  }, 100);
               }else{
                  uni.showToast({ title: '当前站点无法使用,已复位', icon: "error", position: 'top' })
                  setTimeout(() => {
                     this.dataList[index].agvStaNo = ''
                  }, 100);
               }
            }
         },
         // 订单明细
@@ -152,14 +161,15 @@
                           k['count'] = k.anfme
                           k.agvStaNo = ''
                           k.anfme = 0
                           if (_this.orderType == 'bcp') {
                              if (k.locNo.substring(k.locNo.length - 1, k.locNo.length) == 1) {
                                 continue
                              }
                           }
                           // if (_this.orderType == 'bcp') {
                           //    if (k.locNo.substring(k.locNo.length - 1, k.locNo.length) == 1) {
                           //       continue
                           //    }
                           // }
                           _this.dataList.push(k)
                        }
                     }
                     console.log(_this.dataList);
                  } else if (res.code == 403) {
                     uni.showToast({ title: res.msg, icon: "error", position: 'top' })
                     setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);