fix: submit employee basic info
This commit is contained in:
parent
89ae3039b9
commit
3416c78b99
2 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue