From de7e6db13dd354b69a0e6540164545014f58b0f4 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 25 Oct 2024 17:14:30 +0700 Subject: [PATCH] refactor:handle show date expire --- src/pages/05_quotation/QuotationForm.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 55aa47d9..1fdb15a4 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -10,7 +10,7 @@ import { ProductTree, quotationProductTree } from './utils'; import { setLocale, dateFormat, calculateAge } from 'src/utils/datetime'; import { useEmployeeForm } from 'src/pages/03_customer-management/form'; import useProductServiceStore from 'stores/product-service'; -import { baseUrl, waitAll } from 'src/stores/utils'; +import { baseUrl, waitAll, calculateDaysUntilExpire } from 'src/stores/utils'; import useCustomerStore from 'stores/customer'; import useOptionStore from 'stores/options'; import { useQuotationForm } from './form'; @@ -722,7 +722,11 @@ const statusQuotationForm = ref< -
+
🞄