dengjunjie
10 天以前 5e186bb00d635525699a4c1dc5a4b84dd25568ec
优化PDA
已修改2个文件
7 ■■■■■ 文件已修改
新建文件夹/PDA/pages/stash/inboundorder.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
新建文件夹/PDA/pages/stash/inboundorderDetail.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
н¨Îļþ¼Ð/PDA/pages/stash/inboundorder.vue
@@ -80,6 +80,7 @@
            if (this.isLoaded) {
                uni.removeStorageSync('isLoaded');
                this.pageNo = 1;
                this.allReceivingOrders = [];
                // ä»Žå…¶ä»–页面返回时刷新
                this.getData();
            }
@@ -102,7 +103,7 @@
                        pageNo: this.pageNo
                    },
                }
                if (this.pageNo == 1) this.allReceivingOrders = [];
                // if (this.pageNo == 1) this.allReceivingOrders = [];
                this.$u.post('/api/CabinOrder/GetCabinOrders', postData).then((res) => {
                    if (res.status) {
                        if (res.data.length > 0) {
н¨Îļþ¼Ð/PDA/pages/stash/inboundorderDetail.vue
@@ -110,14 +110,14 @@
                                if (this.allReceivingOrders.length < 1) {
                                    uni.showModal({
                                        title: '提示',
                                        content: '入库已完成,是否返回首页?',
                                        content: '入库已完成,是否返回入库单?',
                                        success: (res) => {
                                            if (res.confirm) {
                                                uni.setStorageSync('isLoaded', true);
                                                // ç”¨æˆ·ç‚¹å‡»ç¡®å®š
                                                setTimeout(() => {
                                                    uni.navigateBack({
                                                        delta: 2
                                                        delta: 1
                                                    });
                                                }, 500);
                                            } else {