From 994197568320ff2f98592eae2543dafdd8f9bce0 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 12 Sep 2024 08:07:53 +0000 Subject: [PATCH 1/4] fix: infiniteScroll --- src/components/ui/VnPaginate.vue | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/components/ui/VnPaginate.vue b/src/components/ui/VnPaginate.vue index 441a8ff48..eb9828bc7 100644 --- a/src/components/ui/VnPaginate.vue +++ b/src/components/ui/VnPaginate.vue @@ -224,20 +224,27 @@ defineExpose({ fetch, addFilter, paginate }); v-bind="$attrs" > -
+
From 3892df250cc87c166eb6b4dd71d0b05b2bcb1527 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 12 Sep 2024 08:53:46 +0000 Subject: [PATCH 2/4] fix: #5938 grouped filter --- src/pages/Ticket/TicketFutureFilter.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Ticket/TicketFutureFilter.vue b/src/pages/Ticket/TicketFutureFilter.vue index bb597a525..6345f62b3 100644 --- a/src/pages/Ticket/TicketFutureFilter.vue +++ b/src/pages/Ticket/TicketFutureFilter.vue @@ -153,7 +153,7 @@ onMounted(async () => { :label="t('params.state')" v-model="params.state" :options="stateOptions" - option-value="code" + option-value="id" option-label="name" @update:model-value="searchFn()" dense @@ -169,7 +169,7 @@ onMounted(async () => { :label="t('params.futureState')" v-model="params.futureState" :options="stateOptions" - option-value="code" + option-value="id" option-label="name" @update:model-value="searchFn()" dense From c7adb919121d785ba8f5b1a25b82eedad4421db7 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 12 Sep 2024 09:56:37 +0000 Subject: [PATCH 3/4] feat: use disableInifiniteScroll property --- src/pages/Customer/components/CustomerSummaryTable.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/Customer/components/CustomerSummaryTable.vue b/src/pages/Customer/components/CustomerSummaryTable.vue index 87e4cffa7..374769a57 100644 --- a/src/pages/Customer/components/CustomerSummaryTable.vue +++ b/src/pages/Customer/components/CustomerSummaryTable.vue @@ -151,6 +151,7 @@ const setShippedColor = (date) => { :disable-option="{ card: true, table: true }" limit="5" class="full-width" + :disable-infinite-scroll="true" >