123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <?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>
- <payspectret>
- <payspectretlist1/>
- <payspectretlist2/>
- </payspectret>
- </main>
- <send>
- <payspectret>
- <emplno/>
- <emplnm/>
- <saldfrayflag/>
- <payym/>
- <spcltretflag/>
- </payspectret>
- <save>
- <payspectretlist1/>
- <payspectretlist2/>
- </save>
- </send>
- </root>
- </instance>
- <submission id="TRRWP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payspectret" resultref="/root/main/payspectret"/>
- <submission id="TXRWP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_payspectretlist1);
- misfGridInit(grd_payspectretlist2);
-
- misfMsterDetailSet(grd_payspectretlist1, null, "TRRWP00401" ,"Y");
- misfMsterDetailSet(grd_payspectretlist2, null, "TRRWP00401" ,"Y");
-
- var curdate = getCurrentDate();
-
- //model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
- model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6) + "17");
- model.setValue(cmb_SalDfrayFlag.attribute("ref") , "1");
-
- misfComboComCdListMulti("R0112","cmb_SalDfrayFlag");
-
- cmb_spcltretflag.value = "1";
-
- model.setFocus("ipt_emplnos");
- ]]>
- </script>
- </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"/>
- </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:62px; x2:590px; y2:62px; "/>
- <caption id="caption34" class="tit_2" style="left:6px; top:48px; width:144px; height:13px; ">지급항목</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; "/>
- <input id="ipt_payym" ref="/root/send/payspectret/payym" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:634px; top:6px; width:124px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption2" class="search_name" style="left:5px; top:6px; width:63px; height:17px; ">사번 :</caption>
- <caption id="caption10" class="search_name" style="left:330px; top:6px; width:86px; height:17px; ">급여종류:</caption>
- <caption id="caption30" class="search_name" style="left:550px; top:6px; width:81px; height:17px; ">지급일자:</caption>
- <button id="btn_emplno" class="icon_search" style="left:158px; top:6px; 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/payspectret/emplno" class="input_default" style="left:66px; top:6px; 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/payspectret/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:411px; top:6px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_emplnms" ref="/root/send/payspectret/emplnm" class="input_default" style="left:177px; top:6px; 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>
- <caption id="caption7" class="search_name" visibility="hidden" style="left:775px; top:6px; width:58px; height:17px; ">구분:</caption>
- <select1 id="cmb_spcltretflag" ref="/root/send/payspectret/spcltretflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:831px; top:6px; width:125px; height:19px; ">
- <choices>
- <item>
- <label>특별처리</label>
- <value>1</value>
- </item>
- <item>
- <label>전월착오분</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_payspectretlist1" nodeset="/root/main/payspectret/payspectretlist1" caption="급여항목^급여항목명^금액^비고^사원번호^지급공제구분^급여종류^지급년월^구분" colsep="^" colwidth="83, 139, 87, 237, 35, 42, 35, 27, 33" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:67px; width:590px; height:670px; ">
- <col ref="payitemcd"/>
- <col ref="payitemnm"/>
- <col ref="payitemamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="cmt" type="input"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="paydeduflag" visibility="hidden"/>
- <col ref="saldfrayflag" visibility="hidden"/>
- <col ref="payym" visibility="hidden"/>
- <col ref="paydd" visibility="hidden"/>
- <col ref="spcltretflag" visibility="hidden"/>
- <col ref="oldpayym" visibility="hidden"/>
- <col ref="oldpaydd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_payspectretlist1.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:600px; y1:62px; x2:1190px; y2:62px; "/>
- <datagrid id="grd_payspectretlist2" nodeset="/root/main/payspectret/payspectretlist2" caption="급여항목^급여항목명^금액^비고^사원번호^지급공제구분^급여종류^지급년월^구분" colsep="^" colwidth="73, 131, 115, 228, 35, 42, 35, 27, 33" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:600px; top:67px; width:590px; height:670px; ">
- <col ref="payitemcd"/>
- <col ref="payitemnm"/>
- <col ref="payitemamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="cmt" type="input"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="paydeduflag" visibility="hidden"/>
- <col ref="saldfrayflag" visibility="hidden"/>
- <col ref="payym" visibility="hidden"/>
- <col ref="paydd" visibility="hidden"/>
- <col ref="spcltretflag" visibility="hidden"/>
- <col ref="oldpayym" visibility="hidden"/>
- <col ref="oldpaydd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_payspectretlist2.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:606px; top:48px; width:144px; height:14px; ">공제항목</caption>
- <line id="line3" class="line_3" style="x1:600px; y1:740px; x2:1190px; y2:740px; "/>
- </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("TXRWP00401");
- ]]>
- </script>
- </button>
- <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- <button id="btn_inputexcel" class="btn2_letter6" style="left:1010px; top:55px; width:76px; height:19px; ">
- <caption>전체 0원적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = 1; i < grd_payspectretlist1.rows; i ++){
- grd_payspectretlist1.rowStatus(i) = 2;
- model.setValue("/root/main/payspectret/payspectretlist1[" + i + "]/payitemamt", "0");
- }
- for (var i = 1; i < grd_payspectretlist2.rows; i ++){
- grd_payspectretlist2.rowStatus(i) = 2;
- model.setValue("/root/main/payspectret/payspectretlist2[" + i + "]/payitemamt", "0");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|