This commit is contained in:
parent
d2da1e3544
commit
d8b80cfa6d
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue