From b5b5d4f02be28a52e583ac931a9375fe7d25ba27 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 18 Oct 2024 14:33:27 +0700 Subject: [PATCH] fix: reset not actually reset --- src/pages/05_quotation/QuotationForm.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 27b29c1e..2674d1b5 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -212,9 +212,10 @@ const productServiceList = ref< Required[] >([]); -function closeTab() { +async function closeTab() { if (quotationFormState.value.mode === 'edit') { quotationForm.resetForm(); + await assignToProductServiceList(); } else { dialogWarningClose(t, { message: t('dialog.message.close'),