forked from verdnatura/salix-front
Handle request orders
This commit is contained in:
parent
6e49982531
commit
6c374061d0
|
@ -17,7 +17,6 @@ const route = useRoute();
|
|||
const ZoneWarehouseFormData = reactive({
|
||||
warehouseFk: null,
|
||||
});
|
||||
const closeButton = ref(null);
|
||||
|
||||
const warehousesOptions = ref([]);
|
||||
|
||||
|
@ -28,11 +27,6 @@ const createZoneWarehouse = () => {
|
|||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
closeForm();
|
||||
};
|
||||
|
||||
const closeForm = () => {
|
||||
if (closeButton.value) closeButton.value.click();
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
const fetchWarehouses = async () => await paginateRef.value.fetch();
|
||||
const fetchWarehouses = () => paginateRef.value.fetch();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Reference in New Issue