Close popup after sending massstore
This commit is contained in:
parent
380c18a70e
commit
e37d98f168
|
@ -59,7 +59,8 @@ const props = defineProps(indexProps);
|
||||||
var { axios, meta, data, reloadPage } = useIndex(props.data, 'invoice');
|
var { axios, meta, data, reloadPage } = useIndex(props.data, 'invoice');
|
||||||
const massstore = ref(null);
|
const massstore = ref(null);
|
||||||
|
|
||||||
function sendMassstore() {
|
async function sendMassstore() {
|
||||||
axios.post(meta.value.links['mass-store'], massstore.value);
|
await axios.post(meta.value.links['mass-store'], massstore.value);
|
||||||
|
massstore.value = null;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue