123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- <?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>
- <deduitem>
- <deduitemlist/>
- <instpaydedulist/>
- <appinstpaydedulist/>
- </deduitem>
- <deduitemamt>
- <deduitemamtlist/>
- </deduitemamt>
- <fixdeduitemamt>
- <fixdeduitemamtlist/>
- </fixdeduitemamt>
- <titlelist>
- <deduitemnm/>
- <dedumm/>
- </titlelist>
- </main>
- <send>
- <deduitem>
- <instcd/>
- <emplno/>
- <emplnm/>
- <dutym/>
- <dutunitcd/>
- <dutunitnm/>
- <conformyn/>
- <chkyn/>
- </deduitem>
- <deduitemamt>
- <instcd/>
- <emplno/>
- <dutym/>
- </deduitemamt>
- <save>
- <deduitemamtlist/>
- </save>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_deduitemlist);
-
- misfMsterDetailSet(grd_deduitemlist,null, "TRRPD12501" ,"Y");
-
- var curdate = getCurrentDate();
- model.setValue("/root/send/deduitem/dutym", curdate.substr(0, 6));
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- misfGetUserAuth();
-
- rpdfSetControlAuth();
- rpdfComboCdList(cmb_dutplce); // 권한별 근무부서 세팅
- rpdfSetDutUnitCombo();
- model.setValue("/root/send/deduitem/dutunitcd", DUT_UNIT_CD);
- model.setValue("/root/send/deduitem/dutunitnm", DUT_UNIT_NM);
- model.setValue("/root/send/deduitem/chkyn", "N");
- //misfComboComCdList("Z0007", cmb_instcd);
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- cmb_dutplce.visible = false;
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //개인별 공제 금액 출력물 기본 Data 설정.
- function fPrintDataSet()
- {
- //공제항목 title set
- model.setValue("/root/main/titlelist/deduitemnm", grd_deduitemlist.valueMatrix(grd_deduitemlist.row, grd_deduitemlist.colRef("deduitemnm")));
-
- //공제월 set
- model.setValue("/root/main/titlelist/dedumm", ipt_dedumm.value);
-
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRRPD12501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deduitem" resultref="/root/main/deduitem"/>
- <submission id="TXRPD12501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- </model>
- <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="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1196;">
- <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:38; 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; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- if (DUTY_PART_YN != "Y"){
- if (model.getValue("/root/send/deduitem/dutunitcd") == ""){
- messageBox("관리부서를 선택한 후 처리하시기 바랍니다.", "E999", "");
- return;
- }
- }
- */
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:55px; width:157px; height:14px; ">사원목록</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <datagrid id="grd_deduitemlist" nodeset="/root/main/deduitem/deduitemlist" caption="사원번호^성명^휴일갯수^잔여휴일수^부서^입사일^퇴사일^확정여부^caption1^caption2^caption3" colsep="^" colwidth="96, 93, 83, 91, 494, 95, 89, 112, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1195px; height:665px; ">
- <col disabled="true" ref="emplno"/>
- <col ref="emplnm" style="text-align:left; "/>
- <col ref="holicnt" type="input" format="99" style="text-align:center; "/>
- <col ref="jancnt" type="input" format="(-)99" style="text-align:center; "/>
- <col ref="dutplcedeptnm"/>
- <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="deprtmangrdutcnfmyn" type="checkbox"/>
- <col ref="dutym" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="oldholicnt" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_deduitemlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_deduitemlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="btn_emplno" class="icon_search" style="left:940px; top:17px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
-
- model.refresh();
-
- if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:815px; top:17px; width:63px; height:17px; ">사번 :</caption>
- <input id="ipt_emplnos" ref="/root/send/deduitem/emplno" class="input_essential" style="left:876px; top:17px; width:62px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
- inputEnterKey("ipt_emplnos", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
-
- if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_emplnms" ref="/root/send/deduitem/emplnm" class="input_default" style="left:957px; top:17px; width:106px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
- inputEnterKey("ipt_emplnms", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
-
- if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_instcd" ref="/root/send/deduitem/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:94px; top:17px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:35px; top:18px; width:61px; height:17px; ">기관:</caption>
- <input id="ipt_dutym" ref="/root/send/deduitem/dutym" class="input_search" inputtype="date" format="yyyy-mm" style="left:330px; top:17px; width:110px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_dutym.value) == "6" ) {
- // model.removeNodeset(cmb_instcd.attribute("ref"));
- // model.makeNode("/root/send/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_dutym.value+"31","","N");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- fDutYMValueChanged();
- */
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:243px; top:18px; width:91px; height:17px; ">근무년월 :</caption>
- <button id="btn_dutdept" class="icon_search" visibility="visible" style="left:643px; top:19px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_dutdeptcd,"","dutunitcd,dutunitnm", cmb_instcd.value + "," + ipt_dutym.value+"31", "instcd,basedd");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="ipt_dutdeptnm" ref="/root/send/deduitem/dutunitnm" class="input_search" navindex="3" visibility="visible" style="left:661px; top:17px; width:134px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.setValue("/root/send/deduitem/dutunitcd", cmb_dutplce.value);
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.setValue("/root/send/deduitem/dutunitcd", cmb_dutplce.value);
-
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dutdeptcd" ref="/root/send/deduitem/dutunitcd" class="input_s_essential" navindex="2" visibility="visible" maxlength="10" style="left:552px; top:17px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.setValue("/root/send/deduitem/dutunitcd", cmb_dutplce.value);
-
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:465px; top:18px; width:86px; height:17px; ">관리부서 :</caption>
- <select1 id="cmb_dutplce" ref="/root/send/deduitem/dutunitcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:345px; top:45px; width:243px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="radio1" ref="/root/send/deduitem/conformyn" appearance="full" cols="3" overflow="visible" style="left:675px; top:48px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>확정</label>
- <value>Y</value>
- </item>
- <item>
- <label>미확정</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn4_letter4" style="left:980px; top:47px; width:80px; height:22px; ">
- <caption>전체적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkyn = model.getValue("/root/send/deduitem/chkyn");
- for (var i = 1; i < grd_deduitemlist.rows; i++){
- model.setValue("/root/main/deduitem/deduitemlist[" + i + "]/deprtmangrdutcnfmyn", chkyn);
- grd_deduitemlist.rowStatus(i) = 2;
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <bool id="bool1" checkvalue="Y,N" ref="/root/send/deduitem/chkyn" style="left:946px; top:48px; width:30px; height:20px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1134px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (misfSave("TXRPD12501")){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|