This commit is contained in:
parent
aaf776639d
commit
2afb5ea7e9
2 changed files with 14 additions and 0 deletions
|
|
@ -134,6 +134,11 @@ onMounted(async () => {
|
||||||
|
|
||||||
creditNote.getCreditNoteStats().then((res) => res && (stats.value = res));
|
creditNote.getCreditNoteStats().then((res) => res && (stats.value = res));
|
||||||
getList();
|
getList();
|
||||||
|
|
||||||
|
window.addEventListener('focus', () => {
|
||||||
|
creditNote.getCreditNoteStats().then((res) => res && (stats.value = res));
|
||||||
|
getList();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
|
|
||||||
|
|
@ -143,6 +143,15 @@ onMounted(async () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
getList();
|
getList();
|
||||||
|
|
||||||
|
window.addEventListener('focus', () => {
|
||||||
|
debitNote.getDebitNoteStats().then((res) => {
|
||||||
|
if (res) {
|
||||||
|
stats.value = res;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
getList();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue