refactor: change i18n
This commit is contained in:
parent
da6a7b00f1
commit
fd9e3905ea
1 changed files with 11 additions and 2 deletions
|
|
@ -1678,13 +1678,18 @@ watch(currentHq, () => {
|
||||||
:dense="true"
|
:dense="true"
|
||||||
:outlined="true"
|
:outlined="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<AddressForm
|
<AddressForm
|
||||||
id="form-address"
|
id="form-address"
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
separator
|
separator
|
||||||
prefix-id="default"
|
prefix-id="default"
|
||||||
:title="$t('formDialogTitleAddress')"
|
:title="
|
||||||
|
$t(
|
||||||
|
`${!formData.codeHeadOffice ? 'formDialogTitleAddress' : 'branchLabelAddress'}`,
|
||||||
|
)
|
||||||
|
"
|
||||||
v-model:address="formData.address"
|
v-model:address="formData.address"
|
||||||
v-model:addressEN="formData.addressEN"
|
v-model:addressEN="formData.addressEN"
|
||||||
v-model:province-id="formData.provinceId"
|
v-model:province-id="formData.provinceId"
|
||||||
|
|
@ -1870,7 +1875,11 @@ watch(currentHq, () => {
|
||||||
outlined
|
outlined
|
||||||
separator
|
separator
|
||||||
prefix-id="default"
|
prefix-id="default"
|
||||||
:title="$t('formDialogTitleAddress')"
|
:title="
|
||||||
|
$t(
|
||||||
|
`${!formData.headOfficeId ? 'formDialogTitleAddress' : 'branchLabelAddress'}`,
|
||||||
|
)
|
||||||
|
"
|
||||||
:readonly="formType === 'view'"
|
:readonly="formType === 'view'"
|
||||||
v-model:address="formData.address"
|
v-model:address="formData.address"
|
||||||
v-model:addressEN="formData.addressEN"
|
v-model:addressEN="formData.addressEN"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue