yanjinhui
6 天以前 5b8bf171b9afda52fa366a72e54eedbd9e6d4d17
н¨Îļþ¼Ð/PDA/pages/stash/CheckoutorderDetail.vue
@@ -49,21 +49,21 @@
         this.orderNo = res.orderNo;
         this.allReceivingOrders = res.detail;
         this.page = this.page + "orderNo=" + this.orderNo + "&warehouseId=" + this.warehouseId + "&locationCode=";
         this.getData();
         // this.getData();
      },
      onReachBottom() {
         this.pageNo += 1;
         this.getData();
      },
      onShow() {
         this.checkTask = uni.getStorageSync('checkTask');
         if (this.checkTask) {
            uni.removeStorageSync('checkTask');
         // this.checkTask = uni.getStorageSync('checkTask');
         // if (this.checkTask) {
         //    uni.removeStorageSync('checkTask');
            this.pageNo = 1;
            this.allReceivingOrders = [];
            // ä»Žå…¶ä»–页面返回时刷新
            this.getData();
         }
         // }
      },
      onPageScroll(e) {
         this.scrollTop = e.scrollTop;
@@ -86,7 +86,7 @@
                  isCheck: true,
               },
            }
            // if (this.pageNo == 1) this.allReceivingOrders = [];
            if (this.pageNo == 1) this.allReceivingOrders = [];
            this.$u.post('/api/DeliveryOrder/GetCheckOutTasks', postData).then((
               res) => {
               if (res.status) {
@@ -116,14 +116,14 @@
                        //    title: '提示',
                        //    content: '盘点已完成,是否返回首页?',
                        //    success: (res) => {
                              uni.getStorageSync('ischeck',true)
                              // uni.getStorageSync('ischeck',true)
                        //       if (res.confirm) {
                        //          // ç”¨æˆ·ç‚¹å‡»ç¡®å®š
                                 setTimeout(() => {
                                    uni.navigateBack({
                                       delta: 1
                                    });
                                 }, 500);
                                 }, 300);
                        //       } else {
                        //          // ç”¨æˆ·ç‚¹å‡»å–消,可以停留在当前页面
                        //          // æˆ–者执行其他操作