diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue index 6b15106f0..4f1ed41d5 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue @@ -566,8 +566,9 @@ function editForm(row: any) { educationData.duration = row.duration; educationData.durationYear = row.durationYear; educationData.note = row.note; - educationData.startYear = +row.startDate.slice(0, 4); - educationData.endYear = +row.endDate.slice(0, 4); + educationData.startYear = + row.isDate == "true" ? row.startDate.slice(0, 4) : ""; + educationData.endYear = row.isDate == "true" ? row.endDate.slice(0, 4) : ""; dialog.value = true; }