diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 45414cf6..aee23b3b 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -213,7 +213,11 @@ const productServiceList = ref< >([]); function closeTab() { - window.close(); + if (quotationFormState.value.mode === 'edit') { + quotationForm.resetForm(); + } else { + window.close(); + } } async function assignToProductServiceList() { @@ -902,7 +906,12 @@ function storeDataLocal() { {{ $t('general.view', { msg: $t('general.example') }) }}
- + +