refactor: edit show name

This commit is contained in:
Net 2024-08-21 16:22:07 +07:00
parent 577d4a64ea
commit 3af10d2539

View file

@ -1263,8 +1263,8 @@ const emptyCreateDialog = ref(false);
code: props.row.code,
name:
$i18n.locale === 'en-US'
? `${props.row.customerName} `.trim()
: `${props.row.customerNameEN} `.trim(),
? `${props.row.firstName} ${props.row.lastName} `.trim()
: `${props.row.firstNameEN} ${props.row.lastNameEN} `.trim(),
img:
props.row.imageUrl ||
'/images/customer-' +