From 1c8f0035e164e9780d8c35a32fc1524d67ff9d9d Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期六, 01 十一月 2025 17:24:25 +0800
Subject: [PATCH] 优化PDA入库
---
新建文件夹/PDA/pages/stash/CheckoutorderDetail.vue | 41 +++++++++++++++++++++--------------------
1 files changed, 21 insertions(+), 20 deletions(-)
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckoutorderDetail.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckoutorderDetail.vue"
index 2401959..7ee0aed 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckoutorderDetail.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckoutorderDetail.vue"
@@ -49,20 +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;
@@ -111,24 +112,24 @@
//this.allReceivingOrders = [];
this.loadVisible = true;
if (this.allReceivingOrders.length < 1) {
- uni.showModal({
- title: '鎻愮ず',
- content: '鐩樼偣宸插畬鎴愶紝鏄惁杩斿洖棣栭〉锛�',
- success: (res) => {
- uni.getStorageSync('isLoaded',true)
- if (res.confirm) {
- // 鐢ㄦ埛鐐瑰嚮纭畾
+ // uni.showModal({
+ // title: '鎻愮ず',
+ // content: '鐩樼偣宸插畬鎴愶紝鏄惁杩斿洖棣栭〉锛�',
+ // success: (res) => {
+ // uni.getStorageSync('ischeck',true)
+ // if (res.confirm) {
+ // // 鐢ㄦ埛鐐瑰嚮纭畾
setTimeout(() => {
uni.navigateBack({
- delta: 2
+ delta: 1
});
- }, 500);
- } else {
- // 鐢ㄦ埛鐐瑰嚮鍙栨秷锛屽彲浠ュ仠鐣欏湪褰撳墠椤甸潰
- // 鎴栬�呮墽琛屽叾浠栨搷浣�
- }
- }
- });
+ }, 300);
+ // } else {
+ // // 鐢ㄦ埛鐐瑰嚮鍙栨秷锛屽彲浠ュ仠鐣欏湪褰撳墠椤甸潰
+ // // 鎴栬�呮墽琛屽叾浠栨搷浣�
+ // }
+ // }
+ // });
}
}
}
--
Gitblit v1.9.3