From e09511d3c58737410105229599f3531194dd77c6 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 18 Oct 2024 14:10:03 +0700 Subject: [PATCH] refactor: handle null --- src/pages/05_quotation/QuotationForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index eabd16b0..27b29c1e 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -324,7 +324,7 @@ async function convertDataToFormSubmit() { _count: quotationFormData.value._count, status: quotationFormData.value.status, discount: quotationFormData.value.discount, - remark: quotationFormData.value.remark, + remark: quotationFormData.value.remark || '', }; const res = await quotationForm.submitQuotation();