|
@@ -131,7 +131,7 @@
|
|
|
scwin.sysCd = $p.getParameter("sysCd"); //시스템코드 필수
|
|
|
scwin.sysAuth = WebSquare.session.getAttribute( scwin.sysCd ); //시스템권한 필수
|
|
|
scwin.prgAuth = commLib.getPrgAuthCode(scwin.prgId,scwin.userId,scwin.sysCd); //프로그램권한 필수
|
|
|
- scwin.focusRow = -1; //포커스된 행
|
|
|
+ scwin.focusRow = 0; //포커스된 행
|
|
|
scwin.newRow = 0; //새 행
|
|
|
scwin.close = "N" //마감 체크
|
|
|
|
|
@@ -167,7 +167,7 @@
|
|
|
* 기 능 : 조회버튼 클릭 이벤트
|
|
|
**************************************************************************/
|
|
|
scwin.btnSearch_onclick = function() {
|
|
|
- scwin.focusRow = -1;
|
|
|
+ scwin.focusRow = 0;
|
|
|
scwin.checkModified();
|
|
|
};
|
|
|
|
|
@@ -340,7 +340,7 @@
|
|
|
* 기 능 : 조회조건 체인지 이벤트
|
|
|
**************************************************************************/
|
|
|
scwin.search_onviewchange = function(info) {
|
|
|
- scwin.focusRow = -1;
|
|
|
+ scwin.focusRow = 0;
|
|
|
scwin.checkModified();
|
|
|
};
|
|
|
|
|
@@ -746,10 +746,10 @@
|
|
|
mode : "synchronous",
|
|
|
requestData : strLib.serialize(dcsearchMap1.getJSON({DB : true})),
|
|
|
callback : function(result, e) {
|
|
|
- grdData1.mergeClear();
|
|
|
dcdataList1.setJSON(result);
|
|
|
dcdataList2.setJSON([]);
|
|
|
listCount1.setValue(dcdataList1.getRowCount());
|
|
|
+ grdData1.setFocusedCell( scwin.focusRow , 0 , false );
|
|
|
scwin.checkClose();
|
|
|
scwin.grdSearch2(scwin.focusRow);
|
|
|
}
|
|
@@ -767,7 +767,7 @@
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- dcsearchMap1.set("cmpnCd", scwin.cmpnCd);
|
|
|
+ dcsearchMap1.set("cmpnCd", scwin.cmpnCd);
|
|
|
dcsearchMap1.set("pyear", udcYm.getValue().slice(0, 4));
|
|
|
dcsearchMap1.set("pmonth", udcYm.getValue().slice(4));
|
|
|
dcsearchMap1.set("loanNo", dcdataList1.getCellData( row , "loanNo" ));
|
|
@@ -779,7 +779,6 @@
|
|
|
callback : function(result, e) {
|
|
|
dcdataList2.setJSON(result);
|
|
|
listCount2.setValue(dcdataList2.getRowCount());
|
|
|
- grdData2.setFocusedCell( 0 , 0 , false );
|
|
|
}
|
|
|
});
|
|
|
};
|