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.customerType === 'CORP' &&
|
||||||
customerFormData.customerBranch
|
customerFormData.customerBranch
|
||||||
? customerFormData.customerBranch[0]?.registerName || '-'
|
? customerFormData.customerBranch[0]?.registerName || '-'
|
||||||
: customerNameInfo || '-'
|
: (customerFormData.customerBranch[0]?.namePrefix
|
||||||
|
? $t(
|
||||||
|
'customer.form.prefix.' +
|
||||||
|
customerFormData.customerBranch[0]?.namePrefix,
|
||||||
|
) + ' '
|
||||||
|
: '') + customerNameInfo || '-'
|
||||||
"
|
"
|
||||||
:badge-label="
|
:badge-label="
|
||||||
customerFormData.customerType === 'CORP'
|
customerFormData.customerType === 'CORP'
|
||||||
|
|
|
||||||
|
|
@ -401,8 +401,8 @@ watch(
|
||||||
label="Prefix"
|
label="Prefix"
|
||||||
:model-value="
|
:model-value="
|
||||||
readonly
|
readonly
|
||||||
? capitalize(prefixName || '') || '-'
|
? prefixName.toUpperCase() || '-'
|
||||||
: capitalize(prefixName || '')
|
: prefixName.toUpperCase() || ''
|
||||||
"
|
"
|
||||||
@update:model-value="
|
@update:model-value="
|
||||||
(v) => (typeof v === 'string' ? (prefixName = v) : '')
|
(v) => (typeof v === 'string' ? (prefixName = v) : '')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue