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(() => {
return route.params.id;
});
async function handleItemBotanical(data) {
itemBotanicalsForm = data;
}
</script>
<template>
<FetchData
@ -41,7 +38,7 @@ async function handleItemBotanical(data) {
:filter="{
where: { itemFk: entityId },
}"
@on-fetch="handleItemBotanical"
@on-fetch="(data) => (itemBotanicalsForm = data)"
>
<template #form="{ data }">
<VnRow>

View File

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