From 9845b95de25a280ecdf048af87d08163d3e8fabc Mon Sep 17 00:00:00 2001 From: puriphatt Date: Fri, 11 Oct 2024 12:07:15 +0700 Subject: [PATCH] refactor: urgent quotation card --- src/components/05_quotation/QuotationCard.vue | 17 ++++++++++++++++- src/pages/05_quotation/MainPage.vue | 1 + 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/components/05_quotation/QuotationCard.vue b/src/components/05_quotation/QuotationCard.vue index a9e4ef40..47153e5e 100644 --- a/src/components/05_quotation/QuotationCard.vue +++ b/src/components/05_quotation/QuotationCard.vue @@ -17,6 +17,7 @@ defineProps<{ customerName?: string; reporter?: string; totalPrice?: number; + urgent?: boolean; }>(); defineEmits<{ @@ -44,8 +45,18 @@ defineEmits<{ {{ $t('general.itemNo', { msg: $t('quotation.title') }) }} - + {{ code }} + @@ -152,4 +163,8 @@ span { line-height: 12px; height: 12px; } + +.urgent { + color: hsl(var(--red-6-hsl)); +} diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index 6ccab236..71c19878 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -525,6 +525,7 @@ watch(() => pageState.currentTab, fetchQuotationList);