refactor: close dialog after submitting quotation in credit and debit note pages
This commit is contained in:
parent
f62463dc80
commit
a6a997e55f
2 changed files with 2 additions and 2 deletions
|
|
@ -111,6 +111,7 @@ function navigateTo(opts: {
|
||||||
|
|
||||||
async function submit() {
|
async function submit() {
|
||||||
navigateTo({ statusDialog: 'create', quotationId: pageState.quotationId });
|
navigateTo({ statusDialog: 'create', quotationId: pageState.quotationId });
|
||||||
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
function close() {
|
function close() {
|
||||||
|
|
@ -429,8 +430,6 @@ watch(
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
<nav class="col-4 row justify-end">
|
<nav class="col-4 row justify-end">
|
||||||
{{ pageState.quotationId }}
|
|
||||||
|
|
||||||
<PaginationComponent
|
<PaginationComponent
|
||||||
v-model:current-page="page"
|
v-model:current-page="page"
|
||||||
v-model:max-page="pageMax"
|
v-model:max-page="pageMax"
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,7 @@ function navigateTo(opts: {
|
||||||
|
|
||||||
async function submit() {
|
async function submit() {
|
||||||
navigateTo({ statusDialog: 'create', quotationId: pageState.quotationId });
|
navigateTo({ statusDialog: 'create', quotationId: pageState.quotationId });
|
||||||
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
function close() {
|
function close() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue