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