refactor: use work place for employer
This commit is contained in:
parent
488d87108a
commit
03560914ac
2 changed files with 5 additions and 2 deletions
|
|
@ -21,6 +21,8 @@ defineProps<{
|
|||
indexId?: number;
|
||||
prefixId: string;
|
||||
hideTitle?: boolean;
|
||||
|
||||
useWorkPlace?: boolean;
|
||||
}>();
|
||||
|
||||
const adrressStore = useAddressStore();
|
||||
|
|
@ -202,7 +204,7 @@ watch(districtId, fetchSubDistrict);
|
|||
{{ addressTitle || $t('formDialogTitleAddressPure') }}
|
||||
</div>
|
||||
<div class="col-12 row q-col-gutter-sm">
|
||||
<div class="row col-12">
|
||||
<div class="row col-12" v-if="useWorkPlace">
|
||||
<q-input
|
||||
outlined
|
||||
hide-bottom-space
|
||||
|
|
@ -390,7 +392,7 @@ watch(districtId, fetchSubDistrict);
|
|||
{{ addressTitleEN || $t('formDialogTitleAddressPureEN') }}
|
||||
</div>
|
||||
<div class="col-12 row q-col-gutter-sm">
|
||||
<div class="row col-12">
|
||||
<div class="row col-12" v-if="useWorkPlace">
|
||||
<q-input
|
||||
outlined
|
||||
hide-bottom-space
|
||||
|
|
|
|||
|
|
@ -2114,6 +2114,7 @@ const emptyCreateDialog = ref(false);
|
|||
class="q-mb-xl"
|
||||
/>
|
||||
<AddressForm
|
||||
use-work-place
|
||||
id="form-personal-address"
|
||||
prefix-id="form-employee"
|
||||
v-model:same-with-employer="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue