#7010 added packing type field #762

Merged
jon merged 12 commits from 7010-AddPackingField into dev 2024-10-18 07:40:38 +00:00
1 changed files with 1 additions and 5 deletions
Showing only changes of commit 8ee4edc5d5 - Show all commits

View File

@ -101,6 +101,7 @@ const columns = computed(() => [
align: 'left',
name: 'itemPackingTypeFk',
label: t('ticketSale.packaging'),
format: (row) => getItemPackagingType(row),
},
{
align: 'right',
@ -228,11 +229,6 @@ const getItemPackagingType = (row) => {
</QBadge>
<span v-else> {{ toDateFormat(row.shipped) }}</span>
</template>

Mmm...en la configuracion de columns podemos ejecutar esta funcion, no?
En format creo

Mmm...en la configuracion de columns podemos ejecutar esta funcion, no? En format creo
<template #column-itemPackingTypeFk="{ row }">
<span>
{{ getItemPackagingType(row) }}
</span>
</template>
</VnTable>
</template>