#7119 add VehicleList page and routing configuration #1129

Merged
jorgep merged 71 commits from 7119-createVehicle into dev 2025-02-06 09:24:16 +00:00
1 changed files with 0 additions and 12 deletions
Showing only changes of commit 01dd584028 - Show all commits

View File

@ -16,7 +16,6 @@ const companies = ref([]);
const countries = ref([]); const countries = ref([]);
const vehicleStates = ref([]); const vehicleStates = ref([]);
const vehicleTypes = ref([]); const vehicleTypes = ref([]);
const deliveryPoints = ref([]);
const columns = computed(() => [ const columns = computed(() => [
{ {
@ -153,12 +152,6 @@ const columns = computed(() => [
@on-fetch="(data) => (vehicleTypes = data)" @on-fetch="(data) => (vehicleTypes = data)"
auto-load auto-load
/> />
<FetchData
url="DeliveryPoints"
:filter="{ fields: ['id', 'name'] }"
@on-fetch="(data) => (deliveryPoints = data)"
auto-load
/>
<VehicleSearchbar /> <VehicleSearchbar />
<VnTable <VnTable
ref="tableRef" ref="tableRef"
@ -206,11 +199,6 @@ const columns = computed(() => [
:options="countries" :options="countries"
/> />
<VnInput v-model="data.description" :label="$t('globals.description')" /> <VnInput v-model="data.description" :label="$t('globals.description')" />
<VnSelect
v-model="data.deliveryPointFk"
:label="$t('globals.deliveryPoint')"
:options="deliveryPoints"
/>
<QCheckbox to v-model="data.isActive" :label="$t('globals.active')" /> <QCheckbox to v-model="data.isActive" :label="$t('globals.active')" />
</template> </template>
</VnTable> </VnTable>