dengjunjie
6 天以前 1c8f0035e164e9780d8c35a32fc1524d67ff9d9d
н¨Îļþ¼Ð/PDA/pages/stash/raworderboxing.vue
@@ -137,6 +137,7 @@
            matInfos: [],
            orderNo: "",
            batchNo: "",
            materielCode: "",
            orderqty: 0,
            Inqty: 0,
            goods_no: "",
@@ -160,6 +161,7 @@
            matInfo: [],
            value2: "",
            matTotals: [],
            id: "",
            warehouseId: "",
            Test: false,
            Testlabel: "",
@@ -173,11 +175,13 @@
      onShow() {},
      onLoad(res) {
         this.focus = false;
         this.id = res.id;
         this.addressFocus = false;
         this.orderNo = res.orderNo;
         this.Inqty = res.order_Inqty;
         this.orderqty = res.order_qty;
         this.batchNo = res.batchNo;
         this.materielCode = res.goods_no;
         this.warehouseId = res.warehouseId;
         this.label = "单据编号:" + this.orderNo;
         this.batch_num = "批次号:" + res.batchNo;
@@ -458,8 +462,10 @@
            this.$u.post('/api/CabinOrder/FeedbackIn', {
               MainData: {
                  "LocationCode": this.barcode,
                  "id":this.id,
                  "warehouseCode": this.warehouseId,
                  "orderNo": this.orderNo,
                  "materielCode": this.materielCode,
                  "Inqty": this.materSn,
                  "batchNo": this.batchNo,
               },
@@ -477,7 +483,7 @@
                  this.barcode = "";
                  this.materSn = "";
                  if (this.Inqty == this.orderqty) {
                     uni.setStorageSync('isLoaded', true);
                     uni.setStorageSync('isIn', true);
                     this.handleInboundComplete();
                  }
               } else {
@@ -520,18 +526,18 @@
            // æˆ–者直接跳转(不询问用户)
            setTimeout(() => {
            // æ–¹å¼2:跳转到指定页面
            // uni.redirectTo({
            //     url: '/pages/order/list' // æ›¿æ¢ä¸ºä½ çš„目标页面路径
            // });
            // æ–¹å¼3:跳转到首页
            // uni.switchTab({
            //     url: '/pages/index/index'
            // });
            // æ–¹å¼1:使用uni.navigateBack返回上一页
                uni.navigateBack({
                    delta: 2
                });
               // æ–¹å¼2:跳转到指定页面
               // uni.redirectTo({
               //     url: '/pages/order/list' // æ›¿æ¢ä¸ºä½ çš„目标页面路径
               // });
               // æ–¹å¼3:跳转到首页
               // uni.switchTab({
               //     url: '/pages/index/index'
               // });
               // æ–¹å¼1:使用uni.navigateBack返回上一页
               uni.navigateBack({
                  delta: 1
               });
            }, 600);
         }
      }