From eb6164f0a3f7fc5d46f590dd3689b0bfe632416f Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Tue, 5 Nov 2024 16:52:58 +0700 Subject: [PATCH] refactor: handle dialog add quotation reset value after --- src/pages/05_quotation/MainPage.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index a4159e2f..7ac05789 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -680,6 +680,13 @@ async function storeDataLocal(id: string) { quotationFormData.customerBranchId = ''; } " + :beforeClose=" + () => { + agentPrice = false; + special = false; + return false; + } + " >