123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- <?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>
- <bnusinfo>
- <bnusinfolist/>
- </bnusinfo>
- <bnusitem>
- <bnusitemlist/>
- </bnusitem>
- <payitem>
- <payitemlist/>
- </payitem>
- </main>
- <send>
- <bnusinfo>
- <saldfrayflag/>
- <appdd/>
- <prfshipflag/>
- <payitemcd/>
- <instcd/>
- <payclsprfshipflag/>
- </bnusinfo>
- <save>
- <bnusinfolist/>
- <bnusitemlist/>
- </save>
- <payitem>
- <appdd/>
- <paydeduflag/>
- <calcmthd/>
- <saldfrayflag/>
- <prfshipflag/>
- <instcd/>
- <payclsprfshipflag/>
- <payitemcd/>
- <year/>
- </payitem>
- <bnusitem>
- <saldfrayflag/>
- <basedd/>
- <prfshipflag/>
- <payitemcd/>
- <bnusflag/>
- <paymm/>
- <instcd/>
- <payclsprfshipflag/>
- </bnusitem>
- </send>
- <init/>
- <hidden>
- <temp/>
- </hidden>
- <temp>
- <target/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_payitemtitle);
- misfGridInit(grd_bnusinfolist);
- misfMsterDetailSet(grd_payitemtitle,null, "TRRWC00405" ,"N");
- misfMsterDetailSet(grd_bnusinfolist,grd_payitemtitle, "TRRWC00404" ,"Y");
- model.setValue("/root/send/payitem/year", getCurrentDate().substr(0, 4));
- //misfComboComCdListMulti("R0061","grd_bnusinfolist.jobkindcd");
- //model.setValue(ipt_appdd.attribute("ref") , curdate);
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
- ]]>
- </script>
- <submission id="TXRWC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TRRWC00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitem" resultref="/root/main/payitem"/>
- <submission id="TRRWC00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitem" resultref="/root/main/bnusinfo"/>
- <submission id="TRRWC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bnusitem" resultref="/root/main/bnusitem"/>
- </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/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- </xhtml:head>
- <xhtml:body>
- <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; "/>
- <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
- <caption id="caption3" class="search_name" visibility="hidden" style="left:863px; top:21px; width:86px; height:17px; ">적용일자 :</caption>
- <caption id="caption5" class="tit_2" style="left:275px; top:55px; width:157px; height:13px; ">상여지급율</caption>
- <line id="line2" class="line_1" style="x1:273px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption4" class="search_name" visibility="hidden" style="left:657px; top:19px; width:112px; height:17px; ">호봉구분 :</caption>
- <select1 id="cmb_payclsprfshipflag" ref="/root/send/payitem/payclsprfshipflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:744px; top:18px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_appdd" ref="/root/send/payitem/appdd" class="input_s_essential" visibility="hidden" inputtype="date" style="left:950px; top:20px; width:100px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1124px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/payitem/paydeduflag","%");
- model.setValue("/root/send/payitem/calcmthd","006");
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <datagrid id="grd_bnusinfolist" nodeset="/root/main/bnusinfo/bnusinfolist" caption="지급일자^근속년수^근속년수^지급율^지급금액^지급기간^지급기간^직종코드^직종명^비고^기관코드^급여항목코드" colsep="^" colwidth="108, 45, 41, 79, 92, 102, 98, 66, 103, 143, 40, 35" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:273px; top:75px; width:921px; height:660px; ">
- <col disabled="true" ref="yymmdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
- <col disabled="true" ref="gunsokfrom" type="input" style="text-align:center; "/>
- <col ref="gunsokto" type="input" style="text-align:center; "/>
- <col ref="rate" type="input" format="#,###.00" style="text-align:right; vertical-align:middle; "/>
- <col ref="amt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="jigubfrom" type="inputdate" style="text-align:center; vertical-align:middle; "/>
- <col ref="jigubto" type="inputdate" style="text-align:center; vertical-align:middle; "/>
- <col disabled="true" ref="jobkindcd" type="inputbutton"/>
- <col ref="jobkindnm"/>
- <col ref="remark" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="payitemcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_bnusinfolist.colAttribute(grd_bnusinfolist.col,"ref") == "jobkindcd" ) { //직종
- var recv_list = "jobkindcd,jobkindnm";
- rpbfOpenComCdHelp(grd_bnusinfolist,"R0061", recv_list);
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_savegrdbnusinfoexcel" class="btn2_letter4" style="left:1130px; top:49px; 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_bnusinfolist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="btn_grdaddbnusinfo" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_bnusinfolist, "A");
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:186px; height:14px; ">상여 지급 항목List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:270px; y2:70px; "/>
- <datagrid id="grd_payitemtitle" nodeset="/root/main/payitem/payitemlist" caption="급여항목^급여항목코드명^계산기준^기관^caption1" colsep="^" colwidth="81, 151, 36, 31, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:270px; height:660px; ">
- <col ref="payitemcd" type="output" style="text-align:center; vertical-align:middle; "/>
- <col ref="prntnm" type="output"/>
- <col ref="calcbase" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="year" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- //model.setValue("/root/send/payitem/payitemcd", model.getValue("/root/main/payitem/payitemlist[" + grd_payitemtitle.row + "]/payitemcd"));
- //submit("TRRWC00404");
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </datagrid>
- <caption id="caption7" class="search_name" visibility="hidden" style="left:425px; top:19px; width:86px; height:17px; ">급여종류:</caption>
- <select1 id="cmb_SalDfrayFlag" ref="/root/send/payitem/saldfrayflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:506px; top:18px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <button id="btn_grddelbnusinfo" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_bnusinfolist, "D");
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/payitem/instcd" class="combo_s_essential" appearance="minimal" style="left:84px; top:18px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:25px; top:19px; width:61px; height:17px; ">기관:</caption>
- <caption id="caption9" class="search_name" style="left:255px; top:19px; width:86px; height:17px; ">적용년도:</caption>
- <input id="input1" ref="/root/send/payitem/year" maxlength="4" format="9999" style="left:340px; top:18px; width:70px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_payitemtitle);
- misfGridInit(grd_bnusinfolist);
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1074px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRWC00402");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1004px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- <button id="btn_close" class="btn4_letter2" visibility="hidden" style="left:1135px; top:3px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|