refactor: refs #8930 update amount column configuration

This commit is contained in:
Jose Antonio Tubau 2025-04-29 09:43:29 +02:00
parent b2584c021b
commit eb8e0d1334
1 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,8 @@ const columns = computed(() => [
align: 'left', align: 'left',
name: 'amount', name: 'amount',
label: t('invoiceIn.list.amount'), label: t('invoiceIn.list.amount'),
component: 'number',
create: true,
format: (row) => toCurrency(row.amount), format: (row) => toCurrency(row.amount),
cardVisible: true, cardVisible: true,
}, },
@ -101,12 +103,12 @@ async function unassignVehicle(id) {
<VehicleDescriptorProxy :id="row?.vehicleFk" /> <VehicleDescriptorProxy :id="row?.vehicleFk" />
</span> </span>
</template> </template>
<template #more-create-dialog="{ data }"> <!-- <template #more-create-dialog="{ data }">
<VnInputNumber <VnInputNumber
:label="t('invoiceIn.list.amount')" :label="t('invoiceIn.list.amount')"
v-model="data.amount" v-model="data.amount"
required required
/> />
</template> </template> -->
</VnTable> </VnTable>
</template> </template>