feat: refs #7119 remove delivery point references from VehicleFilter and VehicleList
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
834f686475
commit
01dd584028
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue