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" <span class="text-body1"
>{{ t('salesMonitor.ticketsMonitor') }} >{{ t('salesMonitor.ticketsMonitor') }}
</span> </span>
<QCardSection class="col"><SalesTicketsTable /> </QCardSection> <QCardSection class="col" style="padding-inline: 0"
><SalesTicketsTable />
</QCardSection>
</QItemLabel> </QItemLabel>
</QItem> </QItem>
</QCard> </QCard>

View File

@ -104,7 +104,6 @@ const columns = computed(() => [
align: 'left', align: 'left',
sortable: true, sortable: true,
columnFilter: false, columnFilter: false,
style: { 'max-width': '75px' },
attrs: { attrs: {
dense: true, dense: true,
}, },
@ -115,7 +114,6 @@ const columns = computed(() => [
field: 'id', field: 'id',
align: 'left', align: 'left',
sortable: true, sortable: true,
style: { 'max-width': '75px' },
columnFilter: { columnFilter: {
component: 'input', component: 'input',
@ -143,7 +141,6 @@ const columns = computed(() => [
label: t('salesTicketsTable.salesPerson'), label: t('salesTicketsTable.salesPerson'),
name: 'salesPerson', name: 'salesPerson',
field: 'userName', field: 'userName',
style: { 'max-width': '125px' },
align: 'left', align: 'left',
sortable: true, sortable: true,
columnFilter: { columnFilter: {
@ -175,7 +172,6 @@ const columns = computed(() => [
label: t('salesTicketsTable.theoretical'), label: t('salesTicketsTable.theoretical'),
name: 'theoretical', name: 'theoretical',
field: 'zoneLanding', field: 'zoneLanding',
style: { 'max-width': '75px' },
align: 'left', align: 'left',
sortable: true, sortable: true,
format: (val) => toTimeFormat(val), format: (val) => toTimeFormat(val),
@ -192,7 +188,6 @@ const columns = computed(() => [
name: 'practical', name: 'practical',
field: 'practicalHour', field: 'practicalHour',
align: 'left', align: 'left',
style: { 'max-width': '75px' },
sortable: true, sortable: true,
columnFilter: { columnFilter: {
component: 'input', component: 'input',
@ -207,7 +202,6 @@ const columns = computed(() => [
name: 'preparation', name: 'preparation',
field: 'shipped', field: 'shipped',
align: 'left', align: 'left',
style: { 'max-width': '75px' },
sortable: true, sortable: true,
format: (val) => toTimeFormat(val), format: (val) => toTimeFormat(val),
columnFilter: { columnFilter: {
@ -258,7 +252,6 @@ const columns = computed(() => [
label: t('salesTicketsTable.isFragile'), label: t('salesTicketsTable.isFragile'),
name: 'isFragile', name: 'isFragile',
field: 'isFragile', field: 'isFragile',
style: { 'max-width': '75px' },
align: 'left', align: 'left',
sortable: true, sortable: true,
columnFilter: { columnFilter: {