123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <payspectretterm>
- <payspectrettermlist/>
- </payspectretterm>
- <ymspectret>
- <ymspectretlist/>
- </ymspectret>
- </main>
- <send>
- <payspectretterm>
- <emplno/>
- <emplnm/>
- <saldfrayflag/>
- <spcltretflag>3</spcltretflag>
- </payspectretterm>
- <ymspectret>
- <emplno/>
- <saldfrayflag/>
- <spcltretflag/>
- <payitemcd/>
- </ymspectret>
- <save>
- <ymspectretlist/>
- </save>
- <dataterm>
- <fromym/>
- <toym/>
- <payitemamt/>
- <saldfrayflag/>
- <emplno/>
- <spcltretflag>3</spcltretflag>
- <payitemcd/>
- <dataflag/>
- </dataterm>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_payspectrettermlist);
- misfGridInit(grd_ymspectretlist);
-
- misfMsterDetailSet(grd_payspectrettermlist, null, "TRRWP00501" ,"N");
- misfMsterDetailSet(grd_ymspectretlist, grd_payspectrettermlist, "TRRWP00502" ,"Y");
-
- // var curdate = getCurrentDate();
- //
- // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
- model.setValue(cmb_SalDfrayFlag.attribute("ref") , "1");
- misfComboComCdListMulti("R0112","cmb_SalDfrayFlag");
-
- model.setFocus("cmb_SalDfrayFlag");
- ]]>
- </script>
- <submission id="TRRWP00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payspectretterm" resultref="/root/main/payspectretterm"/>
- <submission id="TRRWP00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ymspectret" resultref="/root/main/ymspectret"/>
- <submission id="TXRWP00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TXRWP00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dataterm" 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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- </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:38; width:1195px; height:744px; ">
- <line id="line1" class="line_3" style="x1:0px; y1:740px; x2:590px; y2:740px; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:72px; x2:400px; y2:72px; "/>
- <caption id="caption34" class="tit_2" style="left:6px; top:58px; width:144px; height:14px; ">지급항목 List</caption>
- <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:233px; top:10px; width:63px; height:17px; ">사번 :</caption>
- <caption id="caption10" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">급여종류:</caption>
- <button id="btn_emplno" class="icon_search" style="left:386px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","N");
-
- model.refresh();
-
- if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_emplnos" ref="/root/send/payspectretterm/emplno" class="input_default" style="left:294px; top:10px; width:87px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
- inputEnterKey("ipt_emplnos", "xforms-value-changed");
- }
- ]]>
- </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>
- <select1 id="cmb_SalDfrayFlag" ref="/root/send/payspectretterm/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:91px; top:10px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_emplnms" ref="/root/send/payspectretterm/emplnm" class="input_default" style="left:405px; top:10px; width:141px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
- inputEnterKey("ipt_emplnms", "xforms-value-changed");
- }
- ]]>
- </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>
- </group>
- <datagrid id="grd_payspectrettermlist" nodeset="/root/main/payspectretterm/payspectrettermlist" caption="급여항목^급여항목^사원번호^지급공제구분^급여종류^구분|급여항목^급여항목^사원번호^지급공제구분^급여종류^구분" colsep="^" colwidth="338, 20, 35, 42, 35, 33" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:80px; width:400px; height:659px; ">
- <col ref="payitemnm"/>
- <col ref="payitemcd" type="inputbutton"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="paydeduflag" visibility="hidden"/>
- <col ref="saldfrayflag" visibility="hidden"/>
- <col ref="spcltretflag" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_payspectrettermlist.colAttribute(grd_payspectrettermlist.col,"ref") == "payitemcd" ) {
- var recv_list = "payitemcd,payitemnm";
- var defaultvalue = "cmb_SalDfrayFlag";
-
- misfOpenPopUpList("13", grd_payspectrettermlist, "", recv_list, defaultvalue, "");
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:405px; y1:72px; x2:1190px; y2:72px; "/>
- <datagrid id="grd_ymspectretlist" nodeset="/root/main/ymspectret/ymspectretlist" caption="지급월^금액^비고^급여항목^사원번호^지급공제구분^급여종류^구분^지급월old|지급월^금액^비고^급여항목^사원번호^지급공제구분^급여종류^구분^지급월old" colsep="^" colwidth="100, 119, 521, 39, 35, 42, 35, 33, 28" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:405px; top:80px; width:785px; height:659px; ">
- <col ref="payym" type="inputdate" format="yyyy-mm"/>
- <col ref="payitemamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="cmt" type="input"/>
- <col ref="payitemcd" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="paydeduflag" visibility="hidden"/>
- <col ref="saldfrayflag" visibility="hidden"/>
- <col ref="spcltretflag" visibility="hidden"/>
- <col ref="oldpayym" visibility="hidden"/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:405px; top:58px; width:149px; height:14px; ">지급 항목 월별 리스트</caption>
- <line id="line3" class="line_3" style="x1:600px; y1:740px; x2:1190px; y2:740px; "/>
- <button id="btn_addgrdholipayexptlist" class="btn2_letter3" style="left:290px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_payspectrettermlist, "A");
-
- misfGridInit(grd_ymspectretlist);
- ]]>
- </script>
- </button>
- <button id="btn_delgrdholipayexptlist" class="btn2_letter3" style="left:346px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_payspectrettermlist, "D");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" style="left:1080px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_ymspectretlist, "A");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:1136px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_ymspectretlist, "D");
- ]]>
- </script>
- </button>
- <input id="ipt_fromym" ref="/root/send/dataterm/fromym" class="input_default" inputtype="date" format="yyyy-mm" style="left:624px; top:50px; width:79px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption30" class="search_name" style="left:570px; top:50px; width:60px; height:17px; ">기간:</caption>
- <input id="ipt_toym" ref="/root/send/dataterm/toym" class="input_default" inputtype="date" format="yyyy-mm" style="left:715px; top:50px; width:79px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption3" style="left:705px; top:50px; width:10px; height:20px; ">-</caption>
- <input id="ipt_payamt" ref="/root/send/dataterm/payitemamt" format="(-)#,###" style="left:800px; top:50px; width:100px; height:19px; text-align:right; vertical-align:middle; "/>
- <button id="btn_insdata" class="btn5_letter4" style="left:905px; top:50px; width:53px; height:19px; ">
- <caption>자료생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/dataterm/saldfrayflag", cmb_SalDfrayFlag.value);
- model.setValue("/root/send/dataterm/emplno", ipt_emplnos.value);
- model.setValue("/root/send/dataterm/payitemcd", grd_payspectrettermlist.valueMatrix(grd_payspectrettermlist.row, grd_payspectrettermlist.colRef("payitemcd")));
- model.setValue("/root/send/dataterm/dataflag","i");
- model.refresh();
-
- submit("TXRWP00502");
-
- grd_payspectrettermlist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <button id="btn_deldata" class="btn5_letter4" style="left:970px; top:50px; width:64px; height:19px; ">
- <caption>자료삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/dataterm/saldfrayflag", cmb_SalDfrayFlag.value);
- model.setValue("/root/send/dataterm/emplno", ipt_emplnos.value);
- model.setValue("/root/send/dataterm/payitemcd", grd_payspectrettermlist.valueMatrix(grd_payspectrettermlist.row, grd_payspectrettermlist.colRef("payitemcd")));
- model.setValue("/root/send/dataterm/dataflag","d");
- model.refresh();
-
- submit("TXRWP00502");
-
- grd_payspectrettermlist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRWP00501");
-
- grd_payspectrettermlist.clearStatus();
- ]]>
- </script>
- </button>
- <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|