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