refactor: show namePrefix

This commit is contained in:
Thanaphon Frappet 2024-10-28 20:02:07 +07:00
parent 7ffb259320
commit 0fb882b308

View file

@ -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 || '-'
}}