From a770206c91e495b802b3e9371e06834586ad7715 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 30 十月 2025 20:17:30 +0800
Subject: [PATCH] 1
---
新建文件夹/PDA/pages/stash/inboundorderDetail.vue | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/inboundorderDetail.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/inboundorderDetail.vue"
index a44312f..a8fe2fd 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/inboundorderDetail.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/inboundorderDetail.vue"
@@ -33,6 +33,7 @@
return {
page: "/pages/stash/raworderboxing?",
loadVisible: false,
+ isIn:false,
searchValue: "",
status: "more",
allReceivingOrders: [],
@@ -48,6 +49,15 @@
this.allReceivingOrders=res.detail;
this.page = this.page + "orderNo=" + this.orderNo +"&warehouseId=" + this.warehouseId + "&batchNo=";
this.getData();
+ },
+ onShow() {
+ this.isIn = uni.getStorageSync('isIn');
+ if (this.isIn) {
+ uni.removeStorageSync('isIn');
+ this.pageNo = 1;
+ // 浠庡叾浠栭〉闈㈣繑鍥炴椂鍒锋柊
+ this.getData();
+ }
},
onReachBottom() {
this.pageNo += 1;
@@ -97,6 +107,26 @@
this.status = 'noMore';
//this.allReceivingOrders = [];
this.loadVisible = true;
+ if (this.allReceivingOrders.length < 1) {
+ // uni.showModal({
+ // title: '鎻愮ず',
+ // content: '鍏ュ簱宸插畬鎴愶紝鏄惁杩斿洖鍏ュ簱鍗曪紵',
+ // success: (res) => {
+ // if (res.confirm) {
+ uni.setStorageSync('isLoaded', true);
+ // // 鐢ㄦ埛鐐瑰嚮纭畾
+ setTimeout(() => {
+ uni.navigateBack({
+ delta:1
+ });
+ }, 500);
+ // } else {
+ // // 鐢ㄦ埛鐐瑰嚮鍙栨秷锛屽彲浠ュ仠鐣欏湪褰撳墠椤甸潰
+ // // 鎴栬�呮墽琛屽叾浠栨搷浣�
+ // }
+ // }
+ // });
+ }
}
}
})
--
Gitblit v1.9.3