refactor: add BusinessRegistration and FormTm6
This commit is contained in:
parent
b308d07430
commit
a3f923d857
2 changed files with 23 additions and 14 deletions
|
|
@ -48,7 +48,7 @@ import SideMenu from 'components/SideMenu.vue';
|
|||
import { AddButton } from 'components/button';
|
||||
import TableEmpoloyee from 'src/components/03_customer-management/TableEmpoloyee.vue';
|
||||
import { calculateAge, toISOStringWithTimezone } from 'src/utils/datetime';
|
||||
import { UploadFileGroup } from 'components/upload-file';
|
||||
import { UploadFileGroup, FormTm6 } from 'components/upload-file';
|
||||
|
||||
import {
|
||||
columnsCustomer,
|
||||
|
|
@ -3867,18 +3867,6 @@ const emptyCreateDialog = ref(false);
|
|||
"
|
||||
>
|
||||
<template #form="{ mode, meta, isEdit }">
|
||||
<FormCitizen
|
||||
v-if="mode === 'citizen' && meta"
|
||||
orc
|
||||
:readonly="!isEdit"
|
||||
v-model:citizen-id="meta.citizenId"
|
||||
v-model:birth-date="meta.birthDate"
|
||||
v-model:first-name="meta.firstName"
|
||||
v-model:first-name-en="meta.firstNameEN"
|
||||
v-model:last-name="meta.lastName"
|
||||
v-model:last-name-en="meta.lastNameEN"
|
||||
v-model:address="meta.address"
|
||||
/>
|
||||
<FormEmployeePassport
|
||||
v-if="mode === 'passport' && meta"
|
||||
prefix-id="drawer-info-employee"
|
||||
|
|
@ -3911,6 +3899,7 @@ const emptyCreateDialog = ref(false);
|
|||
v-model:visa-expiry-date="meta.expireDate"
|
||||
v-model:visa-issuing-place="meta.issuePlace"
|
||||
/>
|
||||
<FormTm6 v-if="mode === 'tm6' && meta" />
|
||||
</template>
|
||||
</UploadFileGroup>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue