0
0
Fork 0

perf: width SalesTicketsTable

This commit is contained in:
Javier Segarra 2024-07-10 12:25:30 +02:00
parent 5ad317df65
commit 9077c1651b
2 changed files with 3 additions and 8 deletions

View File

@ -69,7 +69,9 @@ onUnmounted(() => (stateStore.leftDrawer = true));
<span class="text-body1"
>{{ t('salesMonitor.ticketsMonitor') }}
</span>
<QCardSection class="col"><SalesTicketsTable /> </QCardSection>
<QCardSection class="col" style="padding-inline: 0"
><SalesTicketsTable />
</QCardSection>
</QItemLabel>
</QItem>
</QCard>

View File

@ -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: {