dengjunjie
6 天以前 b34c18c7622d6fa1163c6fe66404946be6daffce
优化PDA
已修改6个文件
58 ■■■■ 文件已修改
新建文件夹/PDA/pages/stash/CheckFinish.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/Checkoutorder.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/CheckoutorderDetail.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/outFinish.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/outboundorder.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/outboundorderDetail.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
н¨Îļþ¼Ð/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({
н¨Îļþ¼Ð/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;
н¨Îļþ¼Ð/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 {
                                //             // ç”¨æˆ·ç‚¹å‡»å–消,可以停留在当前页面
                                //             // æˆ–者执行其他操作
н¨Îļþ¼Ð/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({
н¨Îļþ¼Ð/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;
н¨Îļþ¼Ð/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 {
                            //                 // ç”¨æˆ·ç‚¹å‡»å–消,可以停留在当前页面
                            //                 // æˆ–者执行其他操作
                            //             }
                            //         }
                            //     });
                            // }
                            }
                        }
                    }
                })