feat: adjust prefix display
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
This commit is contained in:
parent
9999a49fa0
commit
7d1a32efb4
2 changed files with 8 additions and 3 deletions
|
|
@ -4101,7 +4101,12 @@ const emptyCreateDialog = ref(false);
|
|||
customerFormData.customerType === 'CORP' &&
|
||||
customerFormData.customerBranch
|
||||
? customerFormData.customerBranch[0]?.registerName || '-'
|
||||
: customerNameInfo || '-'
|
||||
: (customerFormData.customerBranch[0]?.namePrefix
|
||||
? $t(
|
||||
'customer.form.prefix.' +
|
||||
customerFormData.customerBranch[0]?.namePrefix,
|
||||
) + ' '
|
||||
: '') + customerNameInfo || '-'
|
||||
"
|
||||
:badge-label="
|
||||
customerFormData.customerType === 'CORP'
|
||||
|
|
|
|||
|
|
@ -401,8 +401,8 @@ watch(
|
|||
label="Prefix"
|
||||
:model-value="
|
||||
readonly
|
||||
? capitalize(prefixName || '') || '-'
|
||||
: capitalize(prefixName || '')
|
||||
? prefixName.toUpperCase() || '-'
|
||||
: prefixName.toUpperCase() || ''
|
||||
"
|
||||
@update:model-value="
|
||||
(v) => (typeof v === 'string' ? (prefixName = v) : '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue