From c950662909f935ac6d1edabb6c70b35976a4264b Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Tue, 2 Jul 2024 09:32:50 +0900 Subject: [PATCH] refactor: source cleansing --- src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp | 2 -- .../WEB-INF/jsp/adds/nims/dsuseMgtMapping-info.jsp | 12 ++---------- .../WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp | 2 -- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp index 03c825c..06cbd8f 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp @@ -203,8 +203,6 @@ **************************************************************************/ $P.fnSearchList = (dbSkipYn) => { - // 검색조건 - // FIXME: 업체명 또는 식별번호중 하나는 필수 $P.control.query = { ... $P.formFields.get(), bc: $P.formFields.get().schBsshCd, 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 38bb2eb..0d78a97 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 @@ -394,12 +394,10 @@ // 저장 $P.control.save = () => { - // FIXME: 확인 - //alert("저장 row : "+JSON.stringify($P.mappingControl.dataset.getCurrent())); - if(!$P.mappingControl.dataset.getCurrent().usrRptIdNo){ + if(!$P.mappingControl.dataset.getCurrent().usrRptIdNo){ dialog.alert("선택된 NIMS 폐기 보고 데이타가 없습니다"); return false; - } + } ajax.post({ @@ -514,13 +512,7 @@ // 저장 $P.fnSave = () => { let checkData = $("input[name='maapingCheck']:checked").parent().parent().data().key; - //alert('checkData : ' + checkData); - - // FIXME: 확인 $P.mappingControl.setCurrent(checkData); - const row = $P.mappingControl.getCurrent(); - // FIXME: 확인 - //alert('row data : ' + JSON.stringify(row)); dialog.alert({ content: "현재 선택에 체크 된 폐기 보고 확인 정보를 저장하시겠습니까?" diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp index 6f4f35b..6fa83ea 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp @@ -506,8 +506,6 @@ const data = {...$P.productFormFields.get(), keyCnt : ""+prdRowKey++}; console.log(data); $P.productList.append([data]); - // FIXME: 상품필드 초기화 코드 추가 - // } $P.fnDel = () => {