From 0fb882b308896c590fcc9f66a1ded8fc0f97cd8d Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Mon, 28 Oct 2024 20:02:07 +0700 Subject: [PATCH] refactor: show namePrefix --- src/pages/03_customer-management/MainPage.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index 4a37ac35..19e79c72 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -1202,7 +1202,11 @@ const emptyCreateDialog = ref(false); {{ props.row.customerType === 'CORP' ? props.row.branch[0]?.registerName || '-' - : props.row.branch[0]?.firstName + + : optionStore.mapOption( + props.row.branch[0].namePrefix, + ) + + ' ' + + props.row.branch[0]?.firstName + ' ' + props.row.branch[0]?.lastName || '-' }}