From 9077c1651bd0f2fe77d2455f2b771f6517f2122d Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 10 Jul 2024 12:25:30 +0200 Subject: [PATCH] perf: width SalesTicketsTable --- src/pages/Monitor/MonitorList.vue | 4 +++- src/pages/Monitor/SalesTicketsTable.vue | 7 ------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/pages/Monitor/MonitorList.vue b/src/pages/Monitor/MonitorList.vue index 3fd3d35ef..4906247e8 100644 --- a/src/pages/Monitor/MonitorList.vue +++ b/src/pages/Monitor/MonitorList.vue @@ -69,7 +69,9 @@ onUnmounted(() => (stateStore.leftDrawer = true)); {{ t('salesMonitor.ticketsMonitor') }} - + + diff --git a/src/pages/Monitor/SalesTicketsTable.vue b/src/pages/Monitor/SalesTicketsTable.vue index 4610b7921..1ca68240b 100644 --- a/src/pages/Monitor/SalesTicketsTable.vue +++ b/src/pages/Monitor/SalesTicketsTable.vue @@ -104,7 +104,6 @@ const columns = computed(() => [ align: 'left', sortable: true, columnFilter: false, - style: { 'max-width': '75px' }, attrs: { dense: true, }, @@ -115,7 +114,6 @@ const columns = computed(() => [ field: 'id', align: 'left', sortable: true, - style: { 'max-width': '75px' }, columnFilter: { component: 'input', @@ -143,7 +141,6 @@ const columns = computed(() => [ label: t('salesTicketsTable.salesPerson'), name: 'salesPerson', field: 'userName', - style: { 'max-width': '125px' }, align: 'left', sortable: true, columnFilter: { @@ -175,7 +172,6 @@ const columns = computed(() => [ label: t('salesTicketsTable.theoretical'), name: 'theoretical', field: 'zoneLanding', - style: { 'max-width': '75px' }, align: 'left', sortable: true, format: (val) => toTimeFormat(val), @@ -192,7 +188,6 @@ const columns = computed(() => [ name: 'practical', field: 'practicalHour', align: 'left', - style: { 'max-width': '75px' }, sortable: true, columnFilter: { component: 'input', @@ -207,7 +202,6 @@ const columns = computed(() => [ name: 'preparation', field: 'shipped', align: 'left', - style: { 'max-width': '75px' }, sortable: true, format: (val) => toTimeFormat(val), columnFilter: { @@ -258,7 +252,6 @@ const columns = computed(() => [ label: t('salesTicketsTable.isFragile'), name: 'isFragile', field: 'isFragile', - style: { 'max-width': '75px' }, align: 'left', sortable: true, columnFilter: {