refactor: handlevirtualname
This commit is contained in:
parent
995debe69c
commit
519b0d7e94
4 changed files with 12 additions and 3 deletions
|
|
@ -124,7 +124,9 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
:label="
|
||||
typeBranch === 'headOffice'
|
||||
? $t('branch.form.headofficeName')
|
||||
: $t('branch.form.branchName')
|
||||
: virtual === true
|
||||
? $t('branch.form.servicePointName')
|
||||
: $t('branch.form.branchName')
|
||||
"
|
||||
v-model="name"
|
||||
:rules="[
|
||||
|
|
@ -145,7 +147,9 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
:label="
|
||||
typeBranch === 'headOffice'
|
||||
? $t('branch.form.headofficeNameEN')
|
||||
: $t('branch.form.branchNameEN')
|
||||
: virtual === true
|
||||
? $t('branch.form.servicePointNameEN')
|
||||
: $t('branch.form.branchNameEN')
|
||||
"
|
||||
:rules="[
|
||||
(val) => !!val || $t('form.error.required'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue