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