feat: i18n registerNameEN
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
This commit is contained in:
parent
5c867a496d
commit
0e6bee7b62
1 changed files with 5 additions and 3 deletions
|
|
@ -425,10 +425,12 @@ watch(
|
||||||
label: $t('quotation.customer'),
|
label: $t('quotation.customer'),
|
||||||
value:
|
value:
|
||||||
item.row.customerBranch.customer.customerType === 'CORP'
|
item.row.customerBranch.customer.customerType === 'CORP'
|
||||||
? item.row.customerBranch.registerName
|
? $i18n.locale === 'tha'
|
||||||
|
? item.row.customerBranch.registerName
|
||||||
|
: item.row.customerBranch.registerNameEN
|
||||||
: $i18n.locale === 'tha'
|
: $i18n.locale === 'tha'
|
||||||
? `${item.row.customerBranch.firstName} ${item.row.customerBranch.lastName}`
|
? `${item.row.customerBranch.firstName || ''} ${item.row.customerBranch.lastName || ''}`
|
||||||
: `${item.row.customerBranch.firstNameEN} ${item.row.customerBranch.lastNameEN}`,
|
: `${item.row.customerBranch.firstNameEN || ''} ${item.row.customerBranch.lastNameEN || ''}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: $t('requestList.quotationCode'),
|
label: $t('requestList.quotationCode'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue