From 2ddc101b8977dae749515a6592e23fe16ffd4873 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 20 Dec 2024 15:54:39 +0700 Subject: [PATCH] refactor: edit type --- src/pages/05_quotation/form.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/05_quotation/form.ts b/src/pages/05_quotation/form.ts index 398375e8..47ba3750 100644 --- a/src/pages/05_quotation/form.ts +++ b/src/pages/05_quotation/form.ts @@ -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,