feat: i18n registerName
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
c4f088c5cb
commit
d06c26c3c8
1 changed files with 7 additions and 2 deletions
|
|
@ -767,8 +767,13 @@ async function filterBySellerId() {
|
|||
:worker-count="item.row._count.worker"
|
||||
:worker-max="item.row.workerMax || item.row._count.worker"
|
||||
:customer-name="
|
||||
item.row.customerBranch.registerName ||
|
||||
`${item.row.customerBranch.firstName || '-'} ${item.row.customerBranch.lastName || ''}`
|
||||
item.row.customerBranch.customer.customerType === 'CORP'
|
||||
? $i18n.locale === 'tha'
|
||||
? item.row.customerBranch.registerName
|
||||
: item.row.customerBranch.registerNameEN
|
||||
: $i18n.locale === 'tha'
|
||||
? `${item.row.customerBranch.firstName || '-'} ${item.row.customerBranch.lastName || ''}`
|
||||
: `${item.row.customerBranch.firstNameEN || '-'} ${item.row.customerBranch.lastNameEN || ''}`
|
||||
"
|
||||
:reporter="
|
||||
$i18n.locale === 'eng'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue