From 6b928d76c2f3b74e67a5380309e7f58006710bfb Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Wed, 10 Jul 2024 12:42:57 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20NIMS=20=ED=8F=90=EA=B8=B0=EB=B3=B4?= =?UTF-8?q?=EA=B3=A0=20=ED=99=95=EC=9D=B8=20=EB=93=B1=EB=A1=9D=EC=8B=9C=20?= =?UTF-8?q?=EB=B3=B4=EA=B3=A0=20=EB=8D=B0=EC=9D=B4=ED=83=80=20=EB=AF=B8?= =?UTF-8?q?=EC=84=A0=ED=83=9D=ED=9B=84=20=20=20=20=20=20'=EC=A0=80?= =?UTF-8?q?=EC=9E=A5'=EC=8B=9C=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20?= =?UTF-8?q?=EC=97=90=EB=9F=AC=20fix=20=20=20=20=20=20-=20dialog=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC=20=20=20=20=20=20-=20=EC=A0=80=EC=9E=A5?= =?UTF-8?q?=EC=8B=9C=20=EB=A9=94=EC=84=B8=EC=A7=80=20=EC=9E=AC=EC=A0=95?= =?UTF-8?q?=EC=9D=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/adds/nims/dsuseMgtMapping-info.jsp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-info.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-info.jsp index 0d78a97..f8f940a 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-info.jsp @@ -511,11 +511,20 @@ **************************************************************************/ // 저장 $P.fnSave = () => { - let checkData = $("input[name='maapingCheck']:checked").parent().parent().data().key; + debugger + let checkData = $("input[name='maapingCheck']:checked").parent().parent().data()?.key; + if(!checkData){ + dialog.alert({ + content: "선택한 NIMS 폐기보고 데이타가 없습니다." + , init: () => { setDialogZindex(); } + , onOK: () => {} + }); + return false; + } $P.mappingControl.setCurrent(checkData); dialog.alert({ - content: "현재 선택에 체크 된 폐기 보고 확인 정보를 저장하시겠습니까?" + content: "확인 선택한 NIMS 폐기보고 정보를 저장 하시겠습니까?" , init: () => { setDialogZindex(); } , onOK: () => { $P.control.save(); // formFields