From 9c9cc98a37b0c05f413403d98ba9f784d77002a9 Mon Sep 17 00:00:00 2001 From: jiwoo Date: Thu, 26 Oct 2023 17:47:06 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9A=B0=20-=20=EC=84=B1?= =?UTF-8?q?=EC=9D=B8=20=EA=B5=90=EC=9C=A1=20=EB=93=B1=EB=A1=9D=20=EC=9E=84?= =?UTF-8?q?=EC=8B=9C=EC=A0=80=EC=9E=A5=20=EB=B6=88=EB=9F=AC=EC=98=A4?= =?UTF-8?q?=EA=B8=B0=20=EC=9E=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp index 66670b5f..c3e861c5 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp @@ -430,8 +430,10 @@ console.log("+++++++++++++++++++++++++++++++++"); var tr = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr').eq(idx); //tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt, 'date')); - tr.find('input[name=eduHopeDt0]').val(dateFormat(value.eduHopeDt.replace(/\./g, ""), 'date')); - tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt.replace(/\./g, ""), 'date')); + if(isNotEmpty(info.eduHopeDt)){ + tr.find('input[name=eduHopeDt0]').val(dateFormat(value.eduHopeDt.replace(/\./g, ""), 'date')); + tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt.replace(/\./g, ""), 'date')); + } tr.find('input[name=strtTm]').val(timeFomat(value.strtTm)); tr.find('input[name=endTm]').val(timeFomat(value.endTm)); tr.find('input[name=lrnTm]').val(value.lrnTm);