fix: submit employee basic info

This commit is contained in:
puriphatt 2024-08-09 02:26:49 +00:00
parent 89ae3039b9
commit 3416c78b99
2 changed files with 10 additions and 3 deletions

View file

@ -2197,6 +2197,7 @@ watch(
<BasicInformation
id="form-information"
prefix-id="form-employee"
showBtnSave
employee
dense
outlined
@ -2207,6 +2208,12 @@ watch(
v-model:employee-id="employeeFormState.currentEmployeeCode"
v-model:nrc-no="currentFromDataEmployee.nrcNo"
v-model:code="currentFromDataEmployee.code"
@save="
async () => {
await employeeFormStore.submitPersonal();
await fetchListEmployee();
}
"
@filter-owner-branch="employeeFormStore.employeeFilterOwnerBranch"
/>
<FormPerson