fix: employee type

This commit is contained in:
puriphatt 2024-06-11 02:18:00 +00:00
parent 2b56c26e1b
commit 43d0caca67
2 changed files with 40 additions and 23 deletions

View file

@ -34,7 +34,7 @@ import {
CustomerBranch,
CustomerBranchCreate,
} from 'stores/customer/types';
import { EmployeeCreate } from 'stores/employee/types';
import { EmployeeCreate, Employee } from 'stores/employee/types';
import { onMounted } from 'vue';
import FormPerson from 'src/components/02_personnel-management/FormPerson.vue';
@ -825,7 +825,7 @@ watch(locale, () => {
<div>
<PersonCard
:list="
listEmployee.map((v) => ({
listEmployee.map((v: Employee) => ({
id: v.id,
name:
$i18n.locale === 'en-US'