123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>근무지 이동 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <dutpempl>
- <dutplceempllist>
- <emplno/>
- <emplnm/>
- <dutplceinstnm/>
- <dutunitcd/>
- <dutunitnm/>
- <predutplcedeptnm/>
- <predutplcedeptcd/>
- <dutplceinst/>
- <dutplcedeptcd/>
- </dutplceempllist>
- </dutpempl>
- <dutplcemoveform>
- <dutplcemovelist>
- <dutplceinstnm/>
- <dutunitcd/>
- <dutunitnm/>
- <dutplcedeptcd/>
- <dutplcedeptnm/>
- <dutdeptupdtdd/>
- <predutplcedeptnm/>
- <cmt/>
- <dutplceinst/>
- <emplno/>
- <seqno/>
- <predutplcedeptcd/>
- <predutdeptupdtdd/>
- <prfshipflag/>
- <jobkindcd/>
- <jobposcd/>
- <jobrespcd/>
- </dutplcemovelist>
- </dutplcemoveform>
- </main>
- <send>
- <search>
- <dutplceinst/>
- <dutunitcd/>
- <dutunitnm/>
- <dutplcedeptcd/>
- <dutplcedeptnm/>
- <emplno/>
- <emplnm/>
- <instcd/>
- <unitcd/>
- </search>
- <dutpempl>
- <dutinstcd/>
- <emplno/>
- <dutunitcd/>
- <dutplcedeptcd/>
- </dutpempl>
- <savelist>
- <dutplcemovelist/>
- </savelist>
- </send>
- <init/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- misfGridInit(grd_dutplceempllist);
- misfGridInit(grd_dutplcemovelist);
- misfMsterDetailSet(grd_dutplceempllist, null, "TRRPB03101" ,"N");
- misfMsterDetailSet(grd_dutplcemovelist, grd_dutplceempllist, "TRRPB03102" ,"Y");
-
- misfComboComCdListMulti("Z0007,Z0007", "cmb_dutplceinst,grd_dutplcemovelist.dutplceinst");
- var dutplceinst = getUserInfo("dutplceinstcd");
- cmb_dutplceinst.value=dutplceinst;
- var dutunitcd = getUserInfo("dutplcecd");
- var dutunitnm = getUserInfo("dutplcenm");
- ipt_dutunitcd.value=dutunitcd;
- ipt_dutunitnm.value=dutunitnm;
-
- //btn_search.dispatch("DOMActivate");
- //화면 권한 설정
- btn_save.disabled = !(checkAuth("X"));
- ]]>
- </script>
- <submission id="TRRPB03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/dutpempl"/>
- <submission id="TRRPB03102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutpempl" resultref="/root/main/dutplcemoveform"/>
- <submission id="TXRPB03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/dutpempl/dutplceempllist");
- model.removeNodeset("/root/main/dutplcemoveform/dutplcemovelist");
- model.resetInstanceNode("/root/send");
- model.refresh();
- }
- function fUpdateValue(){
- var cur_row=grd_dutplcemovelist.rows
- for(var i=1; i< cur_row ; i++){
- var status=grd_dutplcemovelist.rowStatus(i);
- if(status=="2"){
- if(cur_row >2){
- var predutdeptupdtdd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+(i-1)+"]/dutdeptupdtdd");
- }else{
- var predutdeptupdtdd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+ i+"]/dutdeptupdtdd");
- }
- model.setValue("/root/main/dutplcemoveform/dutplcemovelist["+i+"]/predutdeptupdtdd",predutdeptupdtdd);
- }else if(status=="4"){
- grd_dutplcemovelist.addStatus((i-1),"update");
- if(cur_row >3){
- var predutdeptupdtdd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+(i-2)+"]/dutdeptupdtdd");
- }else{
- var predutdeptupdtdd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+ (i-1)+"]/dutdeptupdtdd");
- }
- model.setValue("/root/main/dutplcemoveform/dutplcemovelist["+(i-1)+"]/predutdeptupdtdd",predutdeptupdtdd);
- }
- }
-
- }
- function fsaveCheckValue(){
- var iInsCnt = 0;
- var iDupCnt = 0;
- var bDel = false;
- var icolidx= grd_dutplcemovelist.colRef("emplno");
- var icolidx1=grd_dutplcemovelist.colRef("dutplceinst");
- var icolidx2=grd_dutplcemovelist.colRef("dutunitcd");
- var icolidx3=grd_dutplcemovelist.colRef("dutplcedeptcd");
- var icolidx4=grd_dutplcemovelist.colRef("dutdeptupdtdd");
-
- for(var i=0; i<grd_dutplcemovelist.rows; i++)
- {
- if(grd_dutplcemovelist.rowStatus(i) == 1 || grd_dutplcemovelist.rowStatus(i) == 3)
- {
- iInsCnt = i;
- break;
- }
- }
- for(var i=iInsCnt; i<grd_dutplcemovelist.rows; i++)
- {
- for(var j=1; j<i; j++)
- {
- if(grd_dutplcemovelist.valueMatrix(i, icolidx) == grd_dutplcemovelist.valueMatrix(j, icolidx) && grd_dutplcemovelist.valueMatrix(i, icolidx1) == grd_dutplcemovelist.valueMatrix(j, icolidx1) && grd_dutplcemovelist.valueMatrix(i, icolidx2) == grd_dutplcemovelist.valueMatrix(j, icolidx2)
- && grd_dutplcemovelist.valueMatrix(i, icolidx3) == grd_dutplcemovelist.valueMatrix(j, icolidx3)&& grd_dutplcemovelist.valueMatrix(i, icolidx4) == grd_dutplcemovelist.valueMatrix(j, icolidx4))
- {
- if(grd_dutplcemovelist.rowStatus(i) == 1 || grd_dutplcemovelist.rowStatus(i) == 3)
- { var ret= messageBox("중복된 행을 삭제", "Q001");
- if (ret != 6) { // not OK
- bDel = false;
- return false;
- }else{
- grd_dutplcemovelist.deleteItem(i);
- iDupCnt++;
- bDel = true;
- }
- }
- }
- }
-
- if(bDel)
- {
- bDel = false;
- i--;
- }
- }
-
- if(iDupCnt > 0)
- {
- messageBox("중복된 행이 삭제", "I001");
- }
-
- return true;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">근무지 이동등록</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_dutplceinst" class="search_name" style="left:15px; top:19; width:86px; height:17px; ">기 관 :</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:68px; x2:360px; y2:68px; "/>
- <datagrid id="grd_dutplceempllist" nodeset="/root/main/dutpempl/dutplceempllist" caption="사원번호^성명^입사일^직위^기관^부서^부서^이전근무지명^이전근무지^기관^근무지^근무지명^변경일" colsep="^" colwidth="74, 69, 84, 95, 27, 31" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:73px; width:360px; height:661px; ">
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="entcodd" format="yyyy-mm-dd"/>
- <col ref="jobposnm"/>
- <col ref="dutinstcd" visibility="hidden"/>
- <col ref="dutunitcd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- // var nowdate=getCurrentDate();
- // for(i=1; i<grd_dutplcemovelist.rows; i++){
- // var lastupdtdt=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+i+"]/lastupdtdt");
- // if(lastupdtdt !=nowdate){
- // misfSetReadOnlyCol(grd_dutplcemovelist, "dutplcedeptcd", true, i);
- // misfSetReadOnlyCol(grd_dutplcemovelist, "dutdeptupdtdd", true, i);
- // }
- // }
- ]]>
- </script>
- </datagrid>
- <caption id="cap_dutunitcd" class="search_name" style="left:260px; top:19; width:85px; height:17px; ">부 서 :</caption>
- <input id="ipt_dutunitcd" ref="/root/send/search/dutunitcd" class="input_search" style="left:345px; top:18; width:70px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:17px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("cmb_dutplceinst","ipt_dutunitcd"))return;
- misfMsterDetailRetrieve();
-
- var nowdate=getCurrentDate();
- for(i=1; i<grd_dutplcemovelist.rows; i++){
- var lastupdtdt=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+i+"]/lastupdtdt");
- if(lastupdtdt !=nowdate){
- misfSetReadOnlyCol(grd_dutplcemovelist, "dutplcedeptcd", true, i);
- misfSetReadOnlyCol(grd_dutplcemovelist, "dutdeptupdtdd", true, i);
- }
- }
- ]]>
- </script>
- </button>
- <caption id="cap_emplno" class="search_name" style="left:613px; top:19; width:99px; height:17px; ">사원번호 :</caption>
- <datagrid id="grd_dutplcemovelist" nodeset="/root/main/dutplcemoveform/dutplcemovelist" caption="근무지기관^근무지부서^근무지부서^적용일자^종료일자^주근무지^사유^등록일^사원번호^기관^부서^발령번호" colsep="^" colwidth="135, 155, 19, 102, 100, 63, 212, 34, 29, 28, 35, 33, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:365px; top:73px; width:830px; height:661px; ">
- <col id="dutplceinst" disabled="true" ref="dutplceinst" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dutplcedeptnm" style="text-align:center; "/>
- <col ref="dutplcedeptcd" type="inputbutton" style="text-align:center; "/>
- <col ref="dutdeptupdtdd" type="inputdate" style="text-align:center; "/>
- <col ref="dutdeptenddd" type="inputdate"/>
- <col checkvalue="Y,N" ref="maindutyn" type="checkbox" _key="true" style="text-align:center; "/>
- <col ref="cmt" type="input"/>
- <col ref="lastupdtdt" visibility="hidden" style="text-align:center; "/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="dutinstcd" visibility="hidden" style="text-align:center; "/>
- <col ref="dutunitcd" visibility="hidden"/>
- <col ref="gvnoffcordno" visibility="hidden"/>
- <col ref="olddutplceinst" visibility="hidden"/>
- <col ref="olddutplcedeptcd" visibility="hidden"/>
- <col ref="olddutdeptupdtdd" visibility="hidden"/>
- <col ref="prfshipflag" visibility="hidden"/>
- <col ref="jobkindcd" visibility="hidden"/>
- <col ref="jobposcd" visibility="hidden"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var cur_row = grd_dutplcemovelist.row;
- if(grd_dutplcemovelist.col == grd_dutplcemovelist.colRef("dutplcedeptcd") ){
- var instcd= grd_dutplcemovelist.valueMatrix(grd_dutplcemovelist.row,grd_dutplcemovelist.colRef("dutinstcd"));
- var unitcd= grd_dutplcemovelist.valueMatrix(grd_dutplcemovelist.row,grd_dutplcemovelist.colRef("dutunitcd"));
- ipt_instcd.value=instcd;
- ipt_unitcd.value=unitcd;
-
- misfOpenPopUpList("28", grd_dutplcemovelist, "", "dutplceinst,dutplcedeptcd,dutplcedeptnm");
- }
- model.refresh();
- ipt_instcd.value="";
- ipt_unitcd.value="";
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cur_row = grd_dutplcemovelist.row;
-
- if(grd_dutplcemovelist.col == 6){
- var predutdeptupdtdd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+cur_row+"]/predutdeptupdtdd");
- var dutdeptupdtdd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+cur_row+"]/dutdeptupdtdd");
- if(dutdeptupdtdd < predutdeptupdtdd){
- messageBox("적용일자는 이전 적용일자 ","E012");
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("dutdeptupdtdd")) ="";
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:365px; y1:68px; x2:1195px; y2:68px; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:39px; "/>
- <select1 id="cmb_dutplceinst" ref="/root/send/search/dutplceinst" class="combo_s_essential" appearance="minimal" style="left:100; top:18; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_dutunitnm" ref="/root/send/search/dutunitnm" class="input_search" style="left:437px; top:18; width:150px; height:19px; "/>
- <button id="btn_deptcdhelp" class="icon_search" style="left:419px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var precv_list = "dutunitcd" + "," + "dutunitnm";
- misfOpenPopUpList("02", ipt_dutunitcd, "", precv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" style="left:1075px; top:47px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nowdate=getCurrentDate();
- var cur_row=grd_dutplcemovelist.rows;
- var row = grd_dutplcemovelist.row;
- var lastupdtdt=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+row+"]/lastupdtdt");
- if(cur_row ==2 || lastupdtdt != nowdate){
- messageBox("근무지이동 내역을 삭제","E001");
- return;
- }
- misfGridIUD(grd_dutplcemovelist,"D");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1019px; top:47px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nowdate=getCurrentDate();
- var rows=grd_dutplcemovelist.rows;
- for(i=1; i<grd_dutplcemovelist.rows; i++){
- var lastupdtdt=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+i+"]/lastupdtdt");
- if(lastupdtdt==nowdate){
- messageBox(nowdate+"(일) 근무지 이동내역이 이미","I001");
- return;
- }
- }
- misfGridIUD(grd_dutplcemovelist, "A");
- var cur_row=grd_dutplcemovelist.row;
- var row=grd_dutplceempllist.row;
- var dutplceinst=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/dutplceinst");
- var dutunitcd=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/dutunitcd");
- var emplnm=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/emplnm");
- var dutunitnm=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/dutunitnm");
- var prfshipflag=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/prfshipflag");
- var jobkindcd=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/jobkindcd");
- var jobposcd=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/jobposcd");
- var jobrespcd=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/jobrespcd");
- if(rows ==1){
- var dutplcedeptnm="";
- var dutplcedeptcd ="";
- var predutdeptupdtdd ="";
- // var dutplcedeptnm=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/dutplcedeptnm");
- // var dutplcedeptcd=model.getValue("/root/main/dutpempl/dutplceempllist["+row+"]/dutplcedeptcd");
- // var predutdeptupdtdd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+ cur_row+"]/dutdeptupdtdd");
- }else{
- var dutplcedeptnm=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+(cur_row-1)+"]/dutplcedeptnm");
- var dutplcedeptcd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+(cur_row-1)+"]/dutplcedeptcd");
- var predutdeptupdtdd=model.getValue("/root/main/dutplcemoveform/dutplcemovelist["+ (cur_row-1)+"]/dutdeptupdtdd");
- }
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("dutplcedeptcd")) ="";
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("dutplceinst")) =dutplceinst;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("dutunitnm")) =dutunitnm;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("dutunitcd")) =dutunitcd;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("predutplcedeptnm")) =dutplcedeptnm;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("predutplcedeptcd")) =dutplcedeptcd;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("predutdeptupdtdd")) =predutdeptupdtdd;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("prfshipflag")) =prfshipflag;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("jobkindcd")) =jobkindcd;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("jobposcd")) =jobposcd;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("jobrespcd")) =jobrespcd;
- grd_dutplcemovelist.valueMatrix(cur_row, grd_dutplcemovelist.colRef("emplnm")) =emplnm;
- model.setValue("/root/main/dutplcemoveform/dutplcemovelist["+cur_row+"]/lastupdtdt",nowdate);
-
- ]]>
- </script>
- </button>
- <input id="ipt_instcd" ref="/root/send/search/instcd" class="input_search" visibility="hidden" style="left:471px; top:47px; width:106px; height:19px; "/>
- <input id="ipt_unitcd" ref="/root/send/search/unitcd" class="input_search" visibility="hidden" style="left:370px; top:47px; width:80px; height:19px; "/>
- <input id="ipt_emplnm" ref="/root/send/search/emplnm" class="input_default" navindex="21" style="left:792px; top:18; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNM", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplno" ref="/root/send/search/emplno" class="input_default" navindex="20" style="left:700px; top:18; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" style="left:774px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1131px; top:47px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_dutplcemovelist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_dutplcemovelist);
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
- if(!checkKeyColumn("grd_dutplcemovelist"))return;
- //if(!fsaveCheckValue())return;
- //fUpdateValue();
- misfSave("TXRPB03101");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1069px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_dutplcemovelist);
- if (updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|