From 4596b3e4e5caf8b33a2b90cd57bc2904b839e2a9 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 22 Jan 2025 15:58:40 +0700 Subject: [PATCH] feat: 05 => update TableQuotation to display '-' for empty --- src/components/05_quotation/TableQuotation.vue | 4 ++-- src/pages/05_quotation/MainPage.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/05_quotation/TableQuotation.vue b/src/components/05_quotation/TableQuotation.vue index 102558d6..d24b0448 100644 --- a/src/components/05_quotation/TableQuotation.vue +++ b/src/components/05_quotation/TableQuotation.vue @@ -69,7 +69,7 @@ defineEmits<{
-
{{ props.row.workName }}
+
{{ props.row.workName || '-' }}
{{ props.row.code }}
@@ -83,7 +83,7 @@ defineEmits<{ - {{ props.row.contactName }} + {{ props.row.contactName || '-' }} diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index 64b1b7c2..30b4b081 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -80,7 +80,7 @@ const pageState = reactive({ hideStat: false, inputSearch: '', fieldSelected: [''], - gridView: true, + gridView: false, total: 0, currentTab: 'Issued',