diff --git a/src/pages/03_customer-management/components/employer/EmployerFormBusiness.vue b/src/pages/03_customer-management/components/employer/EmployerFormBusiness.vue index c99ef26c..5f3ab63f 100644 --- a/src/pages/03_customer-management/components/employer/EmployerFormBusiness.vue +++ b/src/pages/03_customer-management/components/employer/EmployerFormBusiness.vue @@ -71,7 +71,7 @@ watch( (newValue) => { if (newValue !== undefined && typeof newValue === 'string') { const numericValue = newValue.replace(/,/g, ''); - wageRateText.value = ThaiBahtText(numericValue); + wageRateText.value = ThaiBahtText(numericValue) || 'ศูนย์บาทถ้วน'; wageRate.value = parseFloat(numericValue); } }, diff --git a/src/pages/05_quotation/preview/ViewForm.vue b/src/pages/05_quotation/preview/ViewForm.vue index bdb3899c..cc80d367 100644 --- a/src/pages/05_quotation/preview/ViewForm.vue +++ b/src/pages/05_quotation/preview/ViewForm.vue @@ -448,7 +448,7 @@ function print() { class="column set-width bg-color full-height" style="padding: 12px" > - ({{ ThaiBahtText(summaryPrice.finalPrice) }}) + ({{ ThaiBahtText(summaryPrice.finalPrice) || 'ศูนย์บาทถ้วน' }})