fix: refs #7283 fix pr
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-10-23 12:30:04 +02:00
parent d2da1e3544
commit d8b80cfa6d
2 changed files with 1 additions and 6 deletions

View File

@ -20,9 +20,6 @@ let itemBotanicalsForm = reactive({ itemFk: null });
const entityId = computed(() => { const entityId = computed(() => {
return route.params.id; return route.params.id;
}); });
async function handleItemBotanical(data) {
itemBotanicalsForm = data;
}
</script> </script>
<template> <template>
<FetchData <FetchData
@ -41,7 +38,7 @@ async function handleItemBotanical(data) {
:filter="{ :filter="{
where: { itemFk: entityId }, where: { itemFk: entityId },
}" }"
@on-fetch="handleItemBotanical" @on-fetch="(data) => (itemBotanicalsForm = data)"
> >
<template #form="{ data }"> <template #form="{ data }">
<VnRow> <VnRow>

View File

@ -50,7 +50,6 @@ const entityId = computed(() => {
}); });
const regularizeStockFormDialog = ref(null); const regularizeStockFormDialog = ref(null);
const salixUrl = ref();
const mounted = ref(); const mounted = ref();
const arrayDataStock = useArrayData('descriptorStock', { const arrayDataStock = useArrayData('descriptorStock', {
@ -58,7 +57,6 @@ const arrayDataStock = useArrayData('descriptorStock', {
}); });
onMounted(async () => { onMounted(async () => {
salixUrl.value = await getUrl('getVisibleAvailable');
await getItemConfigs(); await getItemConfigs();
mounted.value = true; mounted.value = true;
}); });