From 4b720d9b674497c112dd64dd3e357b76eece5451 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 9 Jul 2024 19:33:02 +0000 Subject: [PATCH 1/4] warmfix: ticketList add imports --- src/pages/Ticket/TicketList.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/Ticket/TicketList.vue b/src/pages/Ticket/TicketList.vue index ae635fb4e..bf78177da 100644 --- a/src/pages/Ticket/TicketList.vue +++ b/src/pages/Ticket/TicketList.vue @@ -3,6 +3,8 @@ import { onMounted, onUnmounted } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRouter } from 'vue-router'; import { useStateStore } from 'stores/useStateStore'; +import { toDate, toCurrency } from 'src/filters/index'; + import VnPaginate from 'src/components/ui/VnPaginate.vue'; import TicketSummary from './Card/TicketSummary.vue'; import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; From 93076f459c65783bc3283b78b81fb414fc16b4b4 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 9 Jul 2024 19:33:48 +0000 Subject: [PATCH 2/4] Actualizar src/pages/Ticket/TicketList.vue --- src/pages/Ticket/TicketList.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/Ticket/TicketList.vue b/src/pages/Ticket/TicketList.vue index bf78177da..6090bdbef 100644 --- a/src/pages/Ticket/TicketList.vue +++ b/src/pages/Ticket/TicketList.vue @@ -4,7 +4,6 @@ import { useI18n } from 'vue-i18n'; import { useRouter } from 'vue-router'; import { useStateStore } from 'stores/useStateStore'; import { toDate, toCurrency } from 'src/filters/index'; - import VnPaginate from 'src/components/ui/VnPaginate.vue'; import TicketSummary from './Card/TicketSummary.vue'; import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; From b1e6e725cf1cb43922cb563e5255dff5185a9571 Mon Sep 17 00:00:00 2001 From: guillermo Date: Thu, 11 Jul 2024 08:50:10 +0200 Subject: [PATCH 3/4] feat: refs #7704 Deleted minQuantity label --- src/pages/Item/Card/ItemSummary.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pages/Item/Card/ItemSummary.vue b/src/pages/Item/Card/ItemSummary.vue index 103b3af59..7af3e0fa0 100644 --- a/src/pages/Item/Card/ItemSummary.vue +++ b/src/pages/Item/Card/ItemSummary.vue @@ -135,10 +135,6 @@ const isAdministrative = computed(() => { :label="t('item.summary.nonRecycledPlastic')" :value="item.nonRecycledPlastic" /> - Date: Fri, 12 Jul 2024 09:08:37 +0200 Subject: [PATCH 4/4] fix(VnTable): check column skipped only onMounted --- src/components/VnTable/VnTable.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index d48151228..954da29fd 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -98,6 +98,7 @@ const orders = ref(parseOrder(routeQuery.filter?.order)); const CrudModelRef = ref({}); const showForm = ref(false); const splittedColumns = ref({ columns: [] }); +const columnsVisibilitySkiped = ref(); const tableModes = [ { icon: 'view_column', @@ -117,6 +118,12 @@ onMounted(() => { mode.value = quasar.platform.is.mobile ? DEFAULT_MODE : $props.defaultMode; stateStore.rightDrawer = true; setUserParams(route.query[$props.searchUrl]); + columnsVisibilitySkiped.value = [ + ...splittedColumns.value.columns + .filter((c) => c.visible == false) + .map((c) => c.name), + ...['tableActions'], + ]; }); watch( @@ -137,10 +144,6 @@ const rowClickFunction = computed(() => { }); const isTableMode = computed(() => mode.value == TABLE_MODE); -const columnsVisibilitySkiped = computed(() => [ - ...splittedColumns.value.columns.filter((c) => c.visible == false).map((c) => c.name), - ...['tableActions'], -]); function setUserParams(watchedParams) { if (!watchedParams) return;