feat: i18n register name en
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s

This commit is contained in:
Aif 2025-10-14 14:57:58 +07:00
parent 2320883cb6
commit 72b0e89642

View file

@ -406,10 +406,12 @@ watch(
value:
item.row.quotation.customerBranch.customer
.customerType === 'CORP'
? item.row.quotation.customerBranch.registerName
? $i18n.locale === 'tha'
? item.row.quotation.customerBranch.registerName
: item.row.quotation.customerBranch.registerNameEN
: $i18n.locale === 'tha'
? `${item.row.quotation.customerBranch.firstName} ${item.row.quotation.customerBranch.lastName}`
: `${item.row.quotation.customerBranch.firstNameEN} ${item.row.quotation.customerBranch.lastNameEN}`,
? `${item.row.quotation.customerBranch.firstName || ''} ${item.row.quotation.customerBranch.lastName || ''}`
: `${item.row.quotation.customerBranch.firstNameEN || ''} ${item.row.quotation.customerBranch.lastNameEN || ''}`,
},
{
label: $t('requestList.quotationCode'),