1
dengjunjie
8 天以前 a770206c91e495b802b3e9371e06834586ad7715
н¨Îļþ¼Ð/PDA/pages/stash/outboundorderDetail.vue
@@ -60,6 +60,7 @@
         if (this.outTask) {
            uni.removeStorageSync('outTask');
            this.pageNo = 1;
            this.allReceivingOrders = [];
            // ä»Žå…¶ä»–页面返回时刷新
            this.getData();
         }
@@ -124,7 +125,7 @@
                  isCheck: false,
               },
            }
            if (this.pageNo == 1) this.allReceivingOrders = [];
            // if (this.pageNo == 1) this.allReceivingOrders = [];
            this.$u.post('/api/DeliveryOrder/GetCheckOutTasks', postData).then((
               res) => {
               if (res.status) {
@@ -149,25 +150,26 @@
                     this.status = 'noMore';
                     //this.allReceivingOrders = [];
                     this.loadVisible = true;
                     if (this.allReceivingOrders.length < 1) {
                        uni.showModal({
                           title: '提示',
                           content: '出库已完成,是否返回首页?',
                           success: (res) => {
                              if (res.confirm) {
                                 // ç”¨æˆ·ç‚¹å‡»ç¡®å®š
                     // if (this.allReceivingOrders.length < 1) {
                     //    uni.showModal({
                     //       title: '提示',
                     //       content: '出库已完成,是否返回首页?',
                     //       success: (res) => {
                     //          if (res.confirm) {
                                 uni.getStorageSync('isout',true)
                     //             // ç”¨æˆ·ç‚¹å‡»ç¡®å®š
                                 setTimeout(() => {
                                    uni.navigateBack({
                                       delta: 2
                                       delta: 1
                                    });
                                 }, 500);
                              } else {
                                 // ç”¨æˆ·ç‚¹å‡»å–消,可以停留在当前页面
                                 // æˆ–者执行其他操作
                              }
                           }
                        });
                     }
                     //          } else {
                     //             // ç”¨æˆ·ç‚¹å‡»å–消,可以停留在当前页面
                     //             // æˆ–者执行其他操作
                     //          }
                     //       }
                     //    });
                     // }
                  }
               }
            })