refactor: edit type

This commit is contained in:
Thanaphon Frappet 2024-12-20 15:54:39 +07:00
parent 152ea4d2df
commit 2ddc101b89

View file

@ -205,7 +205,7 @@ export const useQuotationForm = defineStore('form-quotation', () => {
function injectNewEmployee(
obj: {
data: Employee & {
data: EmployeeWorker & {
attachment?: {
name?: string;
group?: string;
@ -218,7 +218,7 @@ export const useQuotationForm = defineStore('form-quotation', () => {
callback?: () => void,
) {
newWorkerList.value.push({
// passportNo: obj.data.passportNo, wait api add
//passportNo: obj.data.passportNo,
//documentExpireDate: obj.data.documentExpireDate,
lastNameEN: obj.data.lastNameEN,
lastName: obj.data.lastName,