From ac6d98cd36691ee748ca41b365e9cf25a4280ad1 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 20 Sep 2024 11:22:51 +0200 Subject: [PATCH 01/13] fix: refs #7353 horizontal scroll --- src/components/VnTable/VnTable.vue | 20 +++-- src/components/VnTable/VnVisibleColumn.vue | 2 +- src/pages/Monitor/MonitorClients.vue | 7 +- src/pages/Monitor/Ticket/MonitorTickets.vue | 92 +++++++++------------ 4 files changed, 59 insertions(+), 62 deletions(-) diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 5b39265fb..2c9526ec0 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -415,7 +415,7 @@ function handleOnDataSaved(_, res) { @@ -502,8 +502,9 @@ function handleOnDataSaved(_, res) { :key="index" :title="btn.title" :icon="btn.icon" - class="q-px-sm" + class="q-pa-xs" flat + dense :class=" btn.isPrimary ? 'text-primary-light' : 'color-vn-text ' " @@ -745,10 +746,16 @@ es: } } -.q-table th { - padding: 0; -} +.q-table { + th { + padding: 0; + } + &__top { + padding: 12px 0px; + top: 0; + } +} .vnTable { thead tr th { position: sticky; @@ -757,9 +764,6 @@ es: thead tr:first-child th { top: 0; } - .q-table__top { - top: 0; - } tbody { .q-checkbox { display: flex; diff --git a/src/components/VnTable/VnVisibleColumn.vue b/src/components/VnTable/VnVisibleColumn.vue index 36f5ed7de..f5c3458cd 100644 --- a/src/components/VnTable/VnVisibleColumn.vue +++ b/src/components/VnTable/VnVisibleColumn.vue @@ -135,7 +135,7 @@ onMounted(async () => { }); diff --git a/src/pages/Monitor/Ticket/MonitorTickets.vue b/src/pages/Monitor/Ticket/MonitorTickets.vue index 258b5022f..29bf42915 100644 --- a/src/pages/Monitor/Ticket/MonitorTickets.vue +++ b/src/pages/Monitor/Ticket/MonitorTickets.vue @@ -54,7 +54,7 @@ const columns = computed(() => [ label: t('salesTicketsTable.problems'), name: 'totalProblems', align: 'left', - + columnClass: 'no-padding', columnFilter: false, attrs: { dense: true, @@ -65,7 +65,6 @@ const columns = computed(() => [ name: 'id', field: 'id', align: 'left', - columnFilter: { component: 'number', name: 'id', @@ -110,7 +109,6 @@ const columns = computed(() => [ name: 'shippedDate', style: { 'max-width': '100px' }, align: 'left', - columnFilter: { component: 'date', name: 'shippedDate', @@ -164,7 +162,6 @@ const columns = computed(() => [ label: t('salesTicketsTable.state'), name: 'state', align: 'left', - style: { 'max-width': '100px' }, columnFilter: { component: 'select', name: 'stateFk', @@ -193,7 +190,6 @@ const columns = computed(() => [ label: t('salesTicketsTable.zone'), name: 'zoneFk', align: 'left', - columnFilter: { component: 'select', name: 'zoneFk', @@ -210,8 +206,7 @@ const columns = computed(() => [ name: 'totalWithVat', field: 'totalWithVat', align: 'left', - style: { 'max-width': '75px' }, - + style: 'max-width: 75px', columnFilter: { component: 'number', name: 'totalWithVat', @@ -370,7 +365,7 @@ const openTab = (id) => + From e1f3589110f55936bb916ed20cc915fc8e0242fa Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 20 Sep 2024 12:17:10 +0200 Subject: [PATCH 02/13] fix: refs #7353 horizontal scroll --- src/pages/Monitor/Ticket/MonitorTickets.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/Monitor/Ticket/MonitorTickets.vue b/src/pages/Monitor/Ticket/MonitorTickets.vue index 29bf42915..4c6daca87 100644 --- a/src/pages/Monitor/Ticket/MonitorTickets.vue +++ b/src/pages/Monitor/Ticket/MonitorTickets.vue @@ -54,7 +54,6 @@ const columns = computed(() => [ label: t('salesTicketsTable.problems'), name: 'totalProblems', align: 'left', - columnClass: 'no-padding', columnFilter: false, attrs: { dense: true, From 87efc2f355d5bcc4dacc44ac6f90b2ca07698297 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 20 Sep 2024 13:00:34 +0200 Subject: [PATCH 03/13] fix: refs #7353 responsive filters --- src/pages/Monitor/MonitorClients.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Monitor/MonitorClients.vue b/src/pages/Monitor/MonitorClients.vue index 68b24b400..e98e11c6d 100644 --- a/src/pages/Monitor/MonitorClients.vue +++ b/src/pages/Monitor/MonitorClients.vue @@ -141,8 +141,9 @@ const columns = computed(() => [ From 3e101242f64b72cd6ab727e93fd4a9ddabd99b34 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 20 Sep 2024 13:20:40 +0200 Subject: [PATCH 04/13] chore: refs #7353 drop useless code --- src/pages/Monitor/Ticket/MonitorTickets.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/Monitor/Ticket/MonitorTickets.vue b/src/pages/Monitor/Ticket/MonitorTickets.vue index 4c6daca87..f6e9848cf 100644 --- a/src/pages/Monitor/Ticket/MonitorTickets.vue +++ b/src/pages/Monitor/Ticket/MonitorTickets.vue @@ -205,7 +205,6 @@ const columns = computed(() => [ name: 'totalWithVat', field: 'totalWithVat', align: 'left', - style: 'max-width: 75px', columnFilter: { component: 'number', name: 'totalWithVat', From 7a253d314c6940c25100c3c78aa7dd79cf1126bd Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 20 Sep 2024 13:22:15 +0200 Subject: [PATCH 05/13] chore: refs #7353 drop useless code --- src/pages/Monitor/Ticket/MonitorTickets.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/Monitor/Ticket/MonitorTickets.vue b/src/pages/Monitor/Ticket/MonitorTickets.vue index f6e9848cf..16d5abffb 100644 --- a/src/pages/Monitor/Ticket/MonitorTickets.vue +++ b/src/pages/Monitor/Ticket/MonitorTickets.vue @@ -106,7 +106,6 @@ const columns = computed(() => [ { label: t('salesTicketsTable.date'), name: 'shippedDate', - style: { 'max-width': '100px' }, align: 'left', columnFilter: { component: 'date', From df56eefe2f0ab236f475fd177ec22e0e9c435e14 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 20 Sep 2024 15:46:54 +0200 Subject: [PATCH 06/13] fix: refs #7353 fine tunning ui --- src/pages/Monitor/MonitorClients.vue | 2 +- src/pages/Monitor/MonitorOrders.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/Monitor/MonitorClients.vue b/src/pages/Monitor/MonitorClients.vue index e98e11c6d..c1958cdcb 100644 --- a/src/pages/Monitor/MonitorClients.vue +++ b/src/pages/Monitor/MonitorClients.vue @@ -143,7 +143,7 @@ const columns = computed(() => [ margin-bottom: 0; flex-direction: row; > * { - max-width: 105px; + max-width: 125px; } } diff --git a/src/pages/Monitor/MonitorOrders.vue b/src/pages/Monitor/MonitorOrders.vue index eb455a239..52d442d0a 100644 --- a/src/pages/Monitor/MonitorOrders.vue +++ b/src/pages/Monitor/MonitorOrders.vue @@ -132,7 +132,6 @@ const openTab = (id) => :table="{ 'row-key': 'id', selection: 'multiple', - 'hide-bottom': true, }" default-mode="table" :row-click="({ id }) => openTab(id)" From 1ae20202ccd84c09428572fb14c3764dd11ccf1c Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 23 Sep 2024 11:56:20 +0200 Subject: [PATCH 07/13] feat: refs #8000 add column into zoneBasicData --- src/pages/Zone/Card/ZoneBasicData.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/pages/Zone/Card/ZoneBasicData.vue b/src/pages/Zone/Card/ZoneBasicData.vue index 512d07636..c60a4c77b 100644 --- a/src/pages/Zone/Card/ZoneBasicData.vue +++ b/src/pages/Zone/Card/ZoneBasicData.vue @@ -64,6 +64,15 @@ const agencyOptions = ref([]); type="number" min="0" /> + + @@ -128,4 +137,5 @@ es: Bonus: Bonificación Inflation: Inflación Volumetric: Volumétrico + Max length m³: Medidad máxima tumbado From 5ebbb1cf737aa405717efe4b8851601287898333 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 23 Sep 2024 12:24:19 +0200 Subject: [PATCH 08/13] feat: refs #8000 fix --- src/pages/Zone/Card/ZoneBasicData.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Zone/Card/ZoneBasicData.vue b/src/pages/Zone/Card/ZoneBasicData.vue index c60a4c77b..535f2393d 100644 --- a/src/pages/Zone/Card/ZoneBasicData.vue +++ b/src/pages/Zone/Card/ZoneBasicData.vue @@ -137,5 +137,5 @@ es: Bonus: Bonificación Inflation: Inflación Volumetric: Volumétrico - Max length m³: Medidad máxima tumbado + Max length m³: Medida máxima tumbado From 77ad96a58b3f29e47b23caebf1ff05cf075f4dac Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 25 Sep 2024 11:30:18 +0200 Subject: [PATCH 09/13] fix: itemfixedPrice inputs --- src/pages/Item/ItemFixedPrice.vue | 110 ++++++++++++------------------ 1 file changed, 44 insertions(+), 66 deletions(-) diff --git a/src/pages/Item/ItemFixedPrice.vue b/src/pages/Item/ItemFixedPrice.vue index d91b5189e..bd8c4b78c 100644 --- a/src/pages/Item/ItemFixedPrice.vue +++ b/src/pages/Item/ItemFixedPrice.vue @@ -76,16 +76,8 @@ const columns = computed(() => [ name: 'rate2', ...defaultColumnAttrs, cardVisible: true, - columnField: { - class: 'expand', - component: 'input', - type: 'number', - }, - columnFilter: { - class: 'expand', - component: 'input', - type: 'number', - }, + component: 'input', + type: 'number', }, { label: t('item.fixedPrice.packingPrice'), @@ -93,35 +85,18 @@ const columns = computed(() => [ name: 'rate3', ...defaultColumnAttrs, cardVisible: true, - columnField: { - class: 'expand', - component: 'input', - type: 'number', - }, - columnFilter: { - class: 'expand', - component: 'input', - type: 'number', - }, + component: 'input', + type: 'number', }, { label: t('item.fixedPrice.minPrice'), field: 'minPrice', - columnClass: 'shrink', name: 'minPrice', ...defaultColumnAttrs, cardVisible: true, - columnField: { - class: 'expand', - component: 'input', - type: 'number', - }, - columnFilter: { - class: 'expand', - component: 'input', - type: 'number', - }, + component: 'input', + type: 'number', }, { label: t('item.fixedPrice.started'), @@ -162,16 +137,9 @@ const columns = computed(() => [ name: 'warehouseFk', ...defaultColumnAttrs, columnClass: 'shrink', - columnFilter: { - component: 'select', - }, - columnField: { - component: 'select', - class: 'expand', - }, - attrs: { - options: warehousesOptions, - }, + component: 'select', + + options: warehousesOptions, }, { align: 'right', @@ -518,29 +486,35 @@ function handleOnDataSave({ CrudModelRef }) { {{ row.subName }} - + -