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/CheckFinish.vue | 4 ++--
新建文件夹/PDA/pages/stash/outboundorderDetail.vue | 18 +++++++++---------
新建文件夹/PDA/pages/stash/CheckoutorderDetail.vue | 14 +++++++-------
新建文件夹/PDA/pages/stash/outboundorder.vue | 10 +++++-----
新建文件夹/PDA/pages/stash/Checkoutorder.vue | 8 ++++----
新建文件夹/PDA/pages/stash/outFinish.vue | 4 ++--
6 files changed, 29 insertions(+), 29 deletions(-)
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckFinish.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckFinish.vue"
index 7422c9d..db66df7 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckFinish.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/CheckFinish.vue"
@@ -473,12 +473,12 @@
// this.Inqty=res.message;
// this.order_Inqty="宸插嚭搴撴暟閲忥細"+this.Inqty;
this.barcode="";
- uni.setStorageSync('checkTask',true);
+ // uni.setStorageSync('checkTask',true);
setTimeout(() => {
uni.navigateBack({
delta: 1
});
- }, 600);
+ }, 300);
// this.materSn="";
} else {
this.$refs.uToast.show({
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Checkoutorder.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Checkoutorder.vue"
index b8da3c9..5c50665 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Checkoutorder.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Checkoutorder.vue"
@@ -69,14 +69,14 @@
this.ischeck=true;
},
onShow() {
- this.ischeck = uni.getStorageSync('ischeck');
- if (this.ischeck) {
- uni.removeStorageSync('ischeck');
+ // this.ischeck = uni.getStorageSync('ischeck');
+ // if (this.ischeck) {
+ // uni.removeStorageSync('ischeck');
this.pageNo = 1;
this.allReceivingOrders = [];
// 浠庡叾浠栭〉闈㈣繑鍥炴椂鍒锋柊
this.getData();
- }
+ // }
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
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 08cc6ee..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,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.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;
@@ -116,14 +116,14 @@
// title: '鎻愮ず',
// content: '鐩樼偣宸插畬鎴愶紝鏄惁杩斿洖棣栭〉锛�',
// success: (res) => {
- uni.getStorageSync('ischeck',true)
+ // uni.getStorageSync('ischeck',true)
// if (res.confirm) {
// // 鐢ㄦ埛鐐瑰嚮纭畾
setTimeout(() => {
uni.navigateBack({
delta: 1
});
- }, 500);
+ }, 300);
// } else {
// // 鐢ㄦ埛鐐瑰嚮鍙栨秷锛屽彲浠ュ仠鐣欏湪褰撳墠椤甸潰
// // 鎴栬�呮墽琛屽叾浠栨搷浣�
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outFinish.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outFinish.vue"
index eab85c4..795e74a 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outFinish.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outFinish.vue"
@@ -473,12 +473,12 @@
// this.Inqty=res.message;
// this.order_Inqty="宸插嚭搴撴暟閲忥細"+this.Inqty;
this.barcode="";
- uni.setStorageSync('outTask',true);
+ // uni.setStorageSync('outTask',true);
setTimeout(() => {
uni.navigateBack({
delta: 1
});
- }, 600);
+ }, 300);
// this.materSn="";
} else {
this.$refs.uToast.show({
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outboundorder.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outboundorder.vue"
index 01bc1ca..b5b05e4 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outboundorder.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/outboundorder.vue"
@@ -61,7 +61,7 @@
onLoad(res) {
this.warehouseId = res.warehouseId;
this.page = this.page + "warehouseId=" + this.warehouseId + "&orderNo=";
- this.getData();
+ // this.getData();
},
onReachBottom() {
this.pageNo += 1;
@@ -69,14 +69,14 @@
this.isout=true;
},
onShow() {
- this.isout = uni.getStorageSync('isout');
- if (this.isout) {
- uni.removeStorageSync('isout');
+ // this.isout = uni.getStorageSync('isout');
+ // if (this.isout) {
+ // uni.removeStorageSync('isout');
this.pageNo = 1;
this.allReceivingOrders = [];
// 浠庡叾浠栭〉闈㈣繑鍥炴椂鍒锋柊
this.getData();
- }
+ // }
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
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 30785a2..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;
@@ -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