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() },