From 2afaa48c25062c4ec728677b7ae1f0aee6290c47 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 3 Dec 2024 10:25:33 +0100 Subject: [PATCH 1/8] fix: fix invoiceOut filter --- src/pages/InvoiceOut/InvoiceOutList.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index f5a4f7d80..389807344 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -37,7 +37,7 @@ const columns = computed(() => [ }, isId: true, columnFilter: { - name: 'search', + name: 'id', }, }, { @@ -74,7 +74,9 @@ const columns = computed(() => [ component: 'select', attrs: { url: 'Clients', - fields: ['id', 'name'], + fields: ['id', 'socialName'], + optionLabel: 'socialName', + optionValue: 'id', }, columnField: { component: null, From 6b28f39720cdfbee3e4bc037348410d92ebbfe12 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 4 Dec 2024 11:32:19 +0100 Subject: [PATCH 2/8] fix(CustomerWebAccess): hotFix use .account to save --- src/pages/Customer/Card/CustomerWebAccess.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Customer/Card/CustomerWebAccess.vue b/src/pages/Customer/Card/CustomerWebAccess.vue index ea901c65a..3c4106846 100644 --- a/src/pages/Customer/Card/CustomerWebAccess.vue +++ b/src/pages/Customer/Card/CustomerWebAccess.vue @@ -29,7 +29,8 @@ async function hasCustomerRole() { :filter="filter" model="customer" :mapper=" - ({ active, name, email }) => { + ({ account }) => { + const { name, email, active } = account; return { active, name, From 17751323b352af9f99a1f5fa007e0b372eb2bc49 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 4 Dec 2024 10:53:46 +0000 Subject: [PATCH 3/8] fix: vnLocation change value --- src/components/common/VnLocation.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue index 6de402a26..cab4f98e9 100644 --- a/src/components/common/VnLocation.vue +++ b/src/components/common/VnLocation.vue @@ -2,7 +2,7 @@ import CreateNewPostcode from 'src/components/CreateNewPostcodeForm.vue'; import VnSelectDialog from 'components/common/VnSelectDialog.vue'; import { useI18n } from 'vue-i18n'; -import { ref } from 'vue'; +import { computed } from 'vue'; import { useAttrs } from 'vue'; import { useRequired } from 'src/composables/useRequired'; const { t } = useI18n(); @@ -43,7 +43,7 @@ const formatLocation = (obj, properties) => { return filteredParts.join(', '); }; -const modelValue = ref( +const modelValue = computed(() => props.location ? formatLocation(props.location, locationProperties) : null ); From 4c9b8a339e6dbb42a782f38940f3512730c79572 Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 4 Dec 2024 12:12:01 +0100 Subject: [PATCH 4/8] fix: refs #6238 enhance ui --- src/pages/Travel/ExtraCommunity.vue | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/pages/Travel/ExtraCommunity.vue b/src/pages/Travel/ExtraCommunity.vue index 9286f5e3e..bb637b211 100644 --- a/src/pages/Travel/ExtraCommunity.vue +++ b/src/pages/Travel/ExtraCommunity.vue @@ -57,7 +57,7 @@ const travelKgPercentages = ref([]); const tableColumnComponents = { id: { component: QBtn, - attrs: { flat: true, color: 'primary' }, + attrs: { flat: true, color: 'primary', dense: true }, }, cargoSupplierNickname: { component: QBtn, @@ -178,6 +178,7 @@ const columns = computed(() => [ align: 'left', showValue: false, sortable: true, + style: 'min-width: 170px;', }, { label: t('globals.packages'), @@ -237,7 +238,7 @@ const columns = computed(() => [ format: (value) => toDate(value), }, { - label: t('globals.wareHhuseIn'), + label: t('globals.warehouseIn'), field: 'warehouseInName', name: 'warehouseInName', align: 'left', @@ -506,7 +507,7 @@ const getColor = (percentage) => { :key="col.name" :props="props" @click="stopEventPropagation($event, col)" - auto-width + :style="col.style" > { }" > - {{ entry.id }} + {{ entry.id }} @@ -637,6 +638,18 @@ const getColor = (percentage) => { :deep(.q-table) { border-collapse: collapse; + + th { + padding: 0; + } + tbody tr td { + &:nth-child(1) { + max-width: 65px !important; + } + &:nth-child(4) { + padding: 0; + } + } } .q-td :deep(input) { @@ -684,7 +697,6 @@ const getColor = (percentage) => { width: max-content; } - en: searchExtraCommunity: Search for extra community shipping From 26b6157f653003fb4c55998b50b9e7ffd0d12449 Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 4 Dec 2024 12:18:31 +0100 Subject: [PATCH 5/8] fix: refs #6238 drop important --- src/pages/Travel/ExtraCommunity.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Travel/ExtraCommunity.vue b/src/pages/Travel/ExtraCommunity.vue index bb637b211..675a44979 100644 --- a/src/pages/Travel/ExtraCommunity.vue +++ b/src/pages/Travel/ExtraCommunity.vue @@ -644,7 +644,7 @@ const getColor = (percentage) => { } tbody tr td { &:nth-child(1) { - max-width: 65px !important; + max-width: 65px; } &:nth-child(4) { padding: 0; From ad176f3f953960aa52c20aaadc34c7dce51f6648 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 4 Dec 2024 13:45:12 +0000 Subject: [PATCH 6/8] fix: use right variable instead item.name --- src/pages/Ticket/Card/TicketSale.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Ticket/Card/TicketSale.vue b/src/pages/Ticket/Card/TicketSale.vue index 95ef3118e..ff428c72c 100644 --- a/src/pages/Ticket/Card/TicketSale.vue +++ b/src/pages/Ticket/Card/TicketSale.vue @@ -760,7 +760,7 @@ watch(