feat: refs #8388 add InvoiceInVehicle route and component
This commit is contained in:
parent
d698275ba2
commit
ac8a203fc4
|
@ -0,0 +1,28 @@
|
|||
<script setup>
|
||||
import VnTable from 'src/components/VnTable/VnTable.vue';
|
||||
import { computed } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
const { t } = useI18n();
|
||||
const columns = computed(() => [
|
||||
{
|
||||
name: 'vehicleFk',
|
||||
label: t('vehicle.numberPlate'),
|
||||
},
|
||||
{
|
||||
name: 'amount',
|
||||
label: t('globals.amount'),
|
||||
},
|
||||
]);
|
||||
</script>
|
||||
<template>
|
||||
<VnTable
|
||||
data-key="VehicleInvoiceIns"
|
||||
url="VehicleInvoiceIns"
|
||||
:filter="{ where: { invoiceInFk: $route.params.id } }"
|
||||
:columns
|
||||
:right-search="false"
|
||||
:is-editable="true"
|
||||
save-url="VehicleInvoiceIns/crud"
|
||||
/>
|
||||
</template>
|
Loading…
Reference in New Issue