refactor: refs #8930 update amount column configuration
This commit is contained in:
parent
b2584c021b
commit
eb8e0d1334
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue