0
0
Fork 0

warmFix: replace VnSelectFilter to VnSelect

This commit is contained in:
Alex Moreno 2024-04-26 09:37:02 +02:00
parent c84555b0a3
commit 8f064e3338
3 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ import FormModel from 'components/FormModel.vue';
import FetchData from 'src/components/FetchData.vue'; import FetchData from 'src/components/FetchData.vue';
import VnRow from 'components/ui/VnRow.vue'; import VnRow from 'components/ui/VnRow.vue';
import VnInput from 'src/components/common/VnInput.vue'; import VnInput from 'src/components/common/VnInput.vue';
import VnSelectFilter from 'src/components/common/VnSelectFilter.vue'; import VnSelect from 'src/components/common/VnSelect.vue';
const { t } = useI18n(); const { t } = useI18n();
const route = useRoute(); const route = useRoute();
@ -27,7 +27,7 @@ const warehouses = ref([]);
<VnInput v-model="data.name" :label="t('globals.name')" /> <VnInput v-model="data.name" :label="t('globals.name')" />
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelectFilter <VnSelect
v-model="data.warehouseFk" v-model="data.warehouseFk"
option-value="id" option-value="id"
option-label="name" option-label="name"

View File

@ -7,7 +7,7 @@ import FetchData from 'src/components/FetchData.vue';
import CardSummary from 'components/ui/CardSummary.vue'; import CardSummary from 'components/ui/CardSummary.vue';
import VnLv from 'components/ui/VnLv.vue'; import VnLv from 'components/ui/VnLv.vue';
import VnTitle from 'src/components/common/VnTitle.vue'; import VnTitle from 'src/components/common/VnTitle.vue';
import VnSelectFilter from 'src/components/common/VnSelectFilter.vue'; import VnSelect from 'src/components/common/VnSelect.vue';
const $props = defineProps({ const $props = defineProps({
id: { id: {

View File

@ -12,7 +12,7 @@ import VnPaginate from 'src/components/ui/VnPaginate.vue';
import VnLv from 'src/components/ui/VnLv.vue'; import VnLv from 'src/components/ui/VnLv.vue';
import VnRow from 'components/ui/VnRow.vue'; import VnRow from 'components/ui/VnRow.vue';
import VnSelectFilter from 'src/components/common/VnSelectFilter.vue'; import VnSelect from 'src/components/common/VnSelect.vue';
const { t } = useI18n(); const { t } = useI18n();
const route = useRoute(); const route = useRoute();
@ -99,7 +99,7 @@ async function deleteWorCenter(id) {
> >
<template #form-inputs="{ data }"> <template #form-inputs="{ data }">
<VnRow class="row q-gutter-md q-mb-md"> <VnRow class="row q-gutter-md q-mb-md">
<VnSelectFilter <VnSelect
v-model="data.workCenterFk" v-model="data.workCenterFk"
option-value="id" option-value="id"
option-label="name" option-label="name"