feat: refs #7119 remove delivery point references from VehicleFilter and VehicleList
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2025-01-23 18:04:34 +01:00
parent 834f686475
commit 01dd584028
1 changed files with 0 additions and 12 deletions

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>