diff --git a/src/modules/05_placement/components/probation/MainProbation.vue b/src/modules/05_placement/components/probation/MainProbation.vue index d8a3e52c3..f142c4207 100644 --- a/src/modules/05_placement/components/probation/MainProbation.vue +++ b/src/modules/05_placement/components/probation/MainProbation.vue @@ -347,10 +347,10 @@ function addPersonalData(data: ResProfileProbation) { child3: data.orgChild3, child4: data.orgChild4, rootDna: data.rootDna, - orgChild1Dna: data.orgChild1Dna, - orgChild2Dna: data.orgChild2Dna, - orgChild3Dna: data.orgChild3Dna, - orgChild4Dna: data.orgChild4Dna, + // orgChild1Dna: data.orgChild1Dna, + // orgChild2Dna: data.orgChild2Dna, + // orgChild3Dna: data.orgChild3Dna, + // orgChild4Dna: data.orgChild4Dna, }); // ถ้าการเพิ่มข้อมูลสำเร็จ, อัปเดตสถานะของข้อมูล diff --git a/src/modules/05_placement/interface/response/Probation.ts b/src/modules/05_placement/interface/response/Probation.ts index 52b0e3c8b..0206db521 100644 --- a/src/modules/05_placement/interface/response/Probation.ts +++ b/src/modules/05_placement/interface/response/Probation.ts @@ -44,10 +44,10 @@ interface ResProfileProbation { commandNo?: string; root: string; rootDna: string; - orgChild1Dna: string; - orgChild2Dna: string; - orgChild3Dna: string; - orgChild4Dna: string; + orgChild1Dna?: string; + orgChild2Dna?: string; + orgChild3Dna?: string; + orgChild4Dna?: string; } export type { ResListProbation, ResProfileProbation };