forked from verdnatura/salix-front
perf: refs #7010 customer summary packaging type field
This commit is contained in:
parent
0b76d0d556
commit
8ee4edc5d5
|
@ -101,6 +101,7 @@ const columns = computed(() => [
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'itemPackingTypeFk',
|
name: 'itemPackingTypeFk',
|
||||||
label: t('ticketSale.packaging'),
|
label: t('ticketSale.packaging'),
|
||||||
|
format: (row) => getItemPackagingType(row),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'right',
|
align: 'right',
|
||||||
|
@ -228,11 +229,6 @@ const getItemPackagingType = (row) => {
|
||||||
</QBadge>
|
</QBadge>
|
||||||
<span v-else> {{ toDateFormat(row.shipped) }}</span>
|
<span v-else> {{ toDateFormat(row.shipped) }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template #column-itemPackingTypeFk="{ row }">
|
|
||||||
<span>
|
|
||||||
{{ getItemPackagingType(row) }}
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue