dengjunjie
2025-10-24 ea79f0278f9b17b6d17e054028d5e7175ec168dd
优化PDA出库处理
已修改3个文件
31 ■■■■ 文件已修改
新建文件夹/PDA/pages/stash/outFinish.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/outboundorder.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/outboundorderDetail.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/outFinish.vue
@@ -470,9 +470,15 @@
                            title: "鍑哄簱鎴愬姛",
                            type: "success"
                        })
                        this.Inqty=res.message;
                        // this.Inqty=res.message;
                        // this.order_Inqty="宸插嚭搴撴暟閲忥細"+this.Inqty;
                        this.barcode="";
                        uni.setStorageSync('outTask',true);
                        setTimeout(() => {
                            uni.navigateBack({
                                delta: 1
                            });
                        }, 600);
                        // this.materSn="";
                    } else {
                        this.$refs.uToast.show({
新建文件夹/PDA/pages/stash/outboundorder.vue
@@ -55,7 +55,7 @@
                pageNo: 1,
                scrollTop: 0,
                warehouseId: "",
                isLoaded:false
                isout:false
            }
        },
        onLoad(res) {
@@ -66,10 +66,12 @@
        onReachBottom() {
            this.pageNo += 1;
            this.getData();
            this.isLoaded=true;
            this.isout=true;
        },
        onShow() {
            if (this.isLoaded) {
            this.isout = uni.getStorageSync('isout');
            if (this.isout) {
                uni.removeStorageSync('isout');
                // 浠庡叾浠栭〉闈㈣繑鍥炴椂鍒锋柊
                this.getData();
            }
新建文件夹/PDA/pages/stash/outboundorderDetail.vue
@@ -40,6 +40,7 @@
                orderNo: "",
                pageNo: 1,
                scrollTop: 0,
                outTask:false,
                warehouseId: ""
            }
        },
@@ -53,6 +54,14 @@
        onReachBottom() {
            this.pageNo += 1;
            this.getData();
        },
        onShow() {
            this.outTask = uni.getStorageSync('outTask');
            if (this.outTask) {
                uni.removeStorageSync('outTask');
                // 浠庡叾浠栭〉闈㈣繑鍥炴椂鍒锋柊
                this.getData();
            }
        },
        onPageScroll(e) {
            this.scrollTop = e.scrollTop;
@@ -139,6 +148,12 @@
                                this.status = 'noMore';
                                //this.allReceivingOrders = [];
                                this.loadVisible = true;
                                uni.setStorageSync('isout',true);
                                setTimeout(() => {
                                    uni.navigateBack({
                                        delta: 1
                                    });
                                }, 600);
                            }
                        }
                    })