From b57c42b20d5222d7071bb0e443aee1d911b6f6fd Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Tue, 25 Jun 2024 10:30:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=93=81=E5=85=A5=E5=BA=93--=E4=B8=8A?= =?UTF-8?q?=E6=8B=89=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/productPutaway/job/fgProductPutawayJob.vue | 4 +++- src/pages/productPutaway/job/productPutawayJob.vue | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/pages/productPutaway/job/fgProductPutawayJob.vue b/src/pages/productPutaway/job/fgProductPutawayJob.vue index fa9385a2..5c9f5759 100644 --- a/src/pages/productPutaway/job/fgProductPutawayJob.vue +++ b/src/pages/productPutaway/job/fgProductPutawayJob.vue @@ -16,7 +16,9 @@ }; }, - + onReachBottom() { + this.$refs.productPutawayJob.onReach(); + }, onShow() { if(this.$refs.productPutawayJob!=undefined){ this.$refs.productPutawayJob.refresh(); diff --git a/src/pages/productPutaway/job/productPutawayJob.vue b/src/pages/productPutaway/job/productPutawayJob.vue index 8bae64a0..ab1d4046 100644 --- a/src/pages/productPutaway/job/productPutawayJob.vue +++ b/src/pages/productPutaway/job/productPutawayJob.vue @@ -125,7 +125,14 @@ } }, - methods: { + methods: { + onReach() { + //避免多次触发 + if (this.loadingType == 'loading' || this.loadingType == 'nomore') { + return; + } + this.getList("more"); + }, toHome() { goHome() },