diff --git a/src/components/03_customer-management/FormEmployeeHealthCheck.vue b/src/components/03_customer-management/FormEmployeeHealthCheck.vue
index a4bbb55d..1eb0ab13 100644
--- a/src/components/03_customer-management/FormEmployeeHealthCheck.vue
+++ b/src/components/03_customer-management/FormEmployeeHealthCheck.vue
@@ -40,16 +40,21 @@ const insuranceCompanyOption = defineModel<{ label: string; value: string }[]>(
const tab = ref();
-defineProps<{
- title?: string;
- dense?: boolean;
- outlined?: boolean;
- readonly?: boolean;
- separator?: boolean;
- typeCustomer?: string;
- prefixId: string;
-}>();
-
+withDefaults(
+ defineProps<{
+ title?: string;
+ dense?: boolean;
+ outlined?: boolean;
+ readonly?: boolean;
+ separator?: boolean;
+ typeCustomer?: string;
+ prefixId: string;
+ showBtnSave?: boolean;
+ }>(),
+ {
+ showBtnSave: false,
+ },
+);
async function fetchProvince() {
const result = await adrressStore.fetchProvince();
@@ -483,6 +488,19 @@ const insuranceCompanyFilter = selectFilterOptionRefMod(
+
+
+
+
import { EmployeeOtherCreate } from 'stores/employee/types';
-defineProps<{
- dense?: boolean;
- outlined?: boolean;
- readonly?: boolean;
- separator?: boolean;
- employee?: boolean;
- prefixId: string;
-}>();
+withDefaults(
+ defineProps<{
+ dense?: boolean;
+ outlined?: boolean;
+ readonly?: boolean;
+ separator?: boolean;
+ employee?: boolean;
+ prefixId: string;
+ showBtnSave: boolean;
+ }>(),
+ {
+ showBtnSave: false,
+ },
+);
const employeeOther = defineModel('employeeOther');
@@ -159,6 +165,19 @@ const employeeOther = defineModel('employeeOther');
v-model="employeeOther.motherBirthPlace"
/>
+
+
+
+
(
{ required: true },
);
-defineProps<{
- title?: string;
- dense?: boolean;
- outlined?: boolean;
- readonly?: boolean;
- separator?: boolean;
- typeCustomer?: string;
- prefixId: string;
-}>();
+withDefaults(
+ defineProps<{
+ title?: string;
+ dense?: boolean;
+ outlined?: boolean;
+ readonly?: boolean;
+ separator?: boolean;
+ typeCustomer?: string;
+ prefixId: string;
+ showBtnSave: boolean;
+ }>(),
+ {
+ showBtnSave: false,
+ },
+);
async function fetchProvince() {
const result = await adrressStore.fetchProvince();
@@ -423,6 +429,19 @@ const visaTypeFilter = selectFilterOptionRefMod(
+
+
+
+
(
const tab = ref();
-defineProps<{
- title?: string;
- dense?: boolean;
- outlined?: boolean;
- readonly?: boolean;
- separator?: boolean;
- prefixId: string;
-}>();
+withDefaults(
+ defineProps<{
+ title?: string;
+ dense?: boolean;
+ outlined?: boolean;
+ readonly?: boolean;
+ separator?: boolean;
+ prefixId: string;
+ showBtnSave: boolean;
+ }>(),
+ {
+ showBtnSave: false,
+ },
+);
function addData() {
const canAdd = checkTabBeforeAdd(employeeWork.value || []);
@@ -470,6 +476,19 @@ const workplaceFilter = selectFilterOptionRefMod(
+
+
+
+
{
formDataEmployeeTab === 'healthCheck' &&
formDataEmployee.employeeCheckup
"
+ show-btn-save
dense
outlined
v-model:employee-checkup="formDataEmployee.employeeCheckup"
@@ -3412,6 +3413,7 @@ watch(isMainPage, () => {
v-model:position-name-option="optionStore.globalOption.position"
v-model:job-type-option="optionStore.globalOption.businessType"
v-model:workplace-option="optionStore.globalOption.area"
+ show-btn-save
/>
{
dense
outlined
v-model:employee-other="formDataEmployee.employeeOtherInfo"
+ show-btn-save
/>
@@ -3460,6 +3463,7 @@ watch(isMainPage, () => {
v-model:tm6-number="formDataEmployee.tm6Number"
v-model:entry-date="formDataEmployee.entryDate"
v-model:visa-type-option="optionStore.globalOption.nationality"
+ show-btn-save
/>