This commit is contained in:
parent
2ee3ba5251
commit
b2e54e1f7f
|
@ -90,7 +90,7 @@ const getEntryRedirectionFilter = (entry) => {
|
|||
ref="entryDescriptorRef"
|
||||
module="Entry"
|
||||
:url="`Entries/${entityId}`"
|
||||
:filter="entryFilter"
|
||||
:userFilter="entryFilter"
|
||||
title="supplier.nickname"
|
||||
data-key="Entry"
|
||||
>
|
||||
|
|
|
@ -35,9 +35,9 @@ const openDialog = () => {
|
|||
};
|
||||
|
||||
const transferEntry = async () => {
|
||||
let response = await axios.post(`Entries/${route.params.id}/transfer`);
|
||||
const { data } = await axios.post(`Entries/${route.params.id}/transfer`);
|
||||
notify('globals.dataSaved', 'positive');
|
||||
const url = `#/entry/${response.data.newEntryFk[0].newEntryFk}/summary`;
|
||||
const url = `#/entry/${data.newEntryFk.newEntryFk}/summary`;
|
||||
window.open(url, '_blank');
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue