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