From 25f21cd15847b4d2bf5359cff0270bc19c6cb5f0 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 8 Nov 2024 11:22:56 +0700 Subject: [PATCH] refactor: usr format nuber deciml --- src/components/05_quotation/TableQuotation.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/05_quotation/TableQuotation.vue b/src/components/05_quotation/TableQuotation.vue index 2d561348..cf63b0b5 100644 --- a/src/components/05_quotation/TableQuotation.vue +++ b/src/components/05_quotation/TableQuotation.vue @@ -2,6 +2,7 @@ import { QTableProps } from 'quasar'; import { dateFormat } from 'src/utils/datetime'; +import { formatNumberDecimal, commaInput } from 'stores/utils'; import BadgeComponent from 'components/BadgeComponent.vue'; import KebabAction from 'components/shared/KebabAction.vue'; @@ -105,7 +106,7 @@ defineEmits<{ - {{ props.row.finalPrice }} + {{ formatNumberDecimal(props.row.finalPrice, 2) }}