fix: employee customerBranch display (registerName)
This commit is contained in:
parent
2abdc093a1
commit
55a443521f
1 changed files with 6 additions and 2 deletions
|
|
@ -162,7 +162,9 @@ defineEmits<{
|
||||||
</span>
|
</span>
|
||||||
{{
|
{{
|
||||||
scope.opt.customer.customerType === 'CORP'
|
scope.opt.customer.customerType === 'CORP'
|
||||||
? scope.opt.customerName
|
? $i18n.locale === 'eng'
|
||||||
|
? scope.opt.registerNameEN
|
||||||
|
: scope.opt.registerName
|
||||||
: $i18n.locale === 'eng'
|
: $i18n.locale === 'eng'
|
||||||
? `${scope.opt.firstNameEN} ${scope.opt.lastNameEN}` ||
|
? `${scope.opt.firstNameEN} ${scope.opt.lastNameEN}` ||
|
||||||
'-'
|
'-'
|
||||||
|
|
@ -217,7 +219,9 @@ defineEmits<{
|
||||||
</span>
|
</span>
|
||||||
{{
|
{{
|
||||||
scope.opt.customer.customerType === 'CORP'
|
scope.opt.customer.customerType === 'CORP'
|
||||||
? scope.opt.customerName
|
? $i18n.locale === 'eng'
|
||||||
|
? scope.opt.registerNameEN
|
||||||
|
: scope.opt.registerName
|
||||||
: $i18n.locale === 'eng'
|
: $i18n.locale === 'eng'
|
||||||
? `${scope.opt.firstNameEN} ${scope.opt.lastNameEN}` || '-'
|
? `${scope.opt.firstNameEN} ${scope.opt.lastNameEN}` || '-'
|
||||||
: `${scope.opt.firstName} ${scope.opt.lastName}` || '-'
|
: `${scope.opt.firstName} ${scope.opt.lastName}` || '-'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue