diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index aebd3531..cddde6ae 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -848,7 +848,10 @@ onMounted(async () => { if (locale.value === 'tha') optionStore.globalOption = rawOption.tha; await fetchStatus(); - await getAttachment(); + + if (quotationFormState.value.mode === 'edit') { + await getAttachment(); + } pageState.isLoaded = true; }); @@ -1369,6 +1372,7 @@ const view = ref(View.Quotation);