|
@ -20,9 +20,6 @@ let itemBotanicalsForm = reactive({ itemFk: null });
|
|||
const entityId = computed(() => {
|
||||
return route.params.id;
|
||||
});
|
||||
async function handleItemBotanical(data) {
|
||||
itemBotanicalsForm = data;
|
||||
}
|
||||
</script>
|
||||
jsegarra marked this conversation as resolved
Outdated
|
||||
<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>
|
||||
carlossa marked this conversation as resolved
Outdated
alexm
commented
(data) => itemBotanicalsForm = data (data) => itemBotanicalsForm = data
|
||||
|
|
|
@ -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;
|
||||
carlossa marked this conversation as resolved
Outdated
alexm
commented
? ?
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Quitar?