feat: refs #7039 country change column country - name
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
331484dbc7
commit
92e172fcaf
|
@ -26,7 +26,7 @@ const bankEntityFormData = reactive({
|
||||||
});
|
});
|
||||||
|
|
||||||
const countriesFilter = {
|
const countriesFilter = {
|
||||||
fields: ['id', 'country', 'code'],
|
fields: ['id', 'name', 'code'],
|
||||||
};
|
};
|
||||||
|
|
||||||
const countriesOptions = ref([]);
|
const countriesOptions = ref([]);
|
||||||
|
@ -83,7 +83,7 @@ onMounted(async () => {
|
||||||
v-model="data.countryFk"
|
v-model="data.countryFk"
|
||||||
:options="countriesOptions"
|
:options="countriesOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
option-label="country"
|
option-label="name"
|
||||||
hide-selected
|
hide-selected
|
||||||
:required="true"
|
:required="true"
|
||||||
:rules="validate('bankEntity.countryFk')"
|
:rules="validate('bankEntity.countryFk')"
|
||||||
|
|
|
@ -142,7 +142,7 @@ const onProvinceCreated = async ({ name }, formData) => {
|
||||||
:label="t('Country')"
|
:label="t('Country')"
|
||||||
:options="countriesOptions"
|
:options="countriesOptions"
|
||||||
hide-selected
|
hide-selected
|
||||||
option-label="country"
|
option-label="name"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
v-model="data.countryFk"
|
v-model="data.countryFk"
|
||||||
:rules="validate('postcode.countryFk')"
|
:rules="validate('postcode.countryFk')"
|
||||||
|
|
|
@ -90,7 +90,7 @@ function getTotal(type) {
|
||||||
url="Countries"
|
url="Countries"
|
||||||
auto-load
|
auto-load
|
||||||
@on-fetch="(data) => (countries = data)"
|
@on-fetch="(data) => (countries = data)"
|
||||||
sort-by="country"
|
sort-by="name"
|
||||||
/>
|
/>
|
||||||
<FetchData
|
<FetchData
|
||||||
url="Intrastats"
|
url="Intrastats"
|
||||||
|
|
|
@ -29,7 +29,7 @@ const countriesOptions = ref([]);
|
||||||
/>
|
/>
|
||||||
<FetchData
|
<FetchData
|
||||||
url="countries"
|
url="countries"
|
||||||
:filter="{ fields: ['id', 'country'], order: 'country ASC', limit: 30 }"
|
:filter="{ fields: ['id', 'name'], order: 'name ASC', limit: 30 }"
|
||||||
@on-fetch="(data) => (countriesOptions = data)"
|
@on-fetch="(data) => (countriesOptions = data)"
|
||||||
auto-load
|
auto-load
|
||||||
/>
|
/>
|
||||||
|
@ -92,7 +92,7 @@ const countriesOptions = ref([]);
|
||||||
@update:model-value="searchFn()"
|
@update:model-value="searchFn()"
|
||||||
:options="countriesOptions"
|
:options="countriesOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
option-label="country"
|
option-label="name"
|
||||||
hide-selected
|
hide-selected
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
|
|
|
@ -36,8 +36,8 @@ const workersFilter = {
|
||||||
limit: 30,
|
limit: 30,
|
||||||
};
|
};
|
||||||
const countriesFilter = {
|
const countriesFilter = {
|
||||||
fields: ['id', 'country', 'code'],
|
fields: ['id', 'name', 'code'],
|
||||||
order: 'country ASC',
|
order: 'name ASC',
|
||||||
limit: 30,
|
limit: 30,
|
||||||
};
|
};
|
||||||
const educationLevelsFilter = { fields: ['id', 'name'], order: 'name ASC', limit: 30 };
|
const educationLevelsFilter = { fields: ['id', 'name'], order: 'name ASC', limit: 30 };
|
||||||
|
@ -126,7 +126,7 @@ const maritalStatus = [
|
||||||
:label="t('Origin country')"
|
:label="t('Origin country')"
|
||||||
:options="countriesOptions"
|
:options="countriesOptions"
|
||||||
hide-selected
|
hide-selected
|
||||||
option-label="country"
|
option-label="name"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
v-model="data.originCountryFk"
|
v-model="data.originCountryFk"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue