From a6a997e55f55231b35e2696113d80f0a1362e07d Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 20 Feb 2025 11:19:43 +0700 Subject: [PATCH] refactor: close dialog after submitting quotation in credit and debit note pages --- src/pages/11_credit-note/MainPage.vue | 3 +-- src/pages/12_debit-note/MainPage.vue | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/11_credit-note/MainPage.vue b/src/pages/11_credit-note/MainPage.vue index 782f2d12..7dcb7a36 100644 --- a/src/pages/11_credit-note/MainPage.vue +++ b/src/pages/11_credit-note/MainPage.vue @@ -111,6 +111,7 @@ function navigateTo(opts: { async function submit() { navigateTo({ statusDialog: 'create', quotationId: pageState.quotationId }); + close(); } function close() { @@ -429,8 +430,6 @@ watch( }}