From b34c18c7622d6fa1163c6fe66404946be6daffce Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期六, 01 十一月 2025 01:45:07 +0800
Subject: [PATCH] 优化PDA
---
新建文件夹/PDA/pages/stash/outboundorderDetail.vue | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outboundorderDetail.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outboundorderDetail.vue"
index d2ca568..90cc3c7 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outboundorderDetail.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outboundorderDetail.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.outTask = uni.getStorageSync('outTask');
- if (this.outTask) {
- uni.removeStorageSync('outTask');
+ // this.outTask = uni.getStorageSync('outTask');
+ // if (this.outTask) {
+ // uni.removeStorageSync('outTask');
this.pageNo = 1;
this.allReceivingOrders = [];
// 浠庡叾浠栭〉闈㈣繑鍥炴椂鍒锋柊
this.getData();
- }
+ // }
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
@@ -125,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) {
@@ -150,26 +150,26 @@
this.status = 'noMore';
//this.allReceivingOrders = [];
this.loadVisible = true;
- // if (this.allReceivingOrders.length < 1) {
+ if (this.allReceivingOrders.length < 1) {
// uni.showModal({
// title: '鎻愮ず',
// content: '鍑哄簱宸插畬鎴愶紝鏄惁杩斿洖棣栭〉锛�',
// success: (res) => {
// if (res.confirm) {
- uni.getStorageSync('isout',true)
+ // uni.getStorageSync('isout',true)
// // 鐢ㄦ埛鐐瑰嚮纭畾
setTimeout(() => {
uni.navigateBack({
delta: 1
});
- }, 500);
+ }, 300);
// } else {
// // 鐢ㄦ埛鐐瑰嚮鍙栨秷锛屽彲浠ュ仠鐣欏湪褰撳墠椤甸潰
// // 鎴栬�呮墽琛屽叾浠栨搷浣�
// }
// }
// });
- // }
+ }
}
}
})
--
Gitblit v1.9.3