123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- <?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="">
- <send>
- <payitem>
- <appdd/>
- <paydeduflag/>
- <calcmthd/>
- <saldfrayflag/>
- <instcd/>
- </payitem>
- <save>
- <dutyyylist/>
- </save>
- <dutyyy>
- <payitemcd/>
- <appdd/>
- <saldfrayflag/>
- <instcd/>
- </dutyyy>
- </send>
- <main>
- <dutyyy>
- <dutyyylist/>
- </dutyyy>
- <payitem>
- <payitemlist/>
- </payitem>
- </main>
- <init/>
- <hiddeen>
- <temp/>
- </hiddeen>
- <temp>
- <target/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //btn_save. disabled = !checkAuth("X");
-
- misfGridInit(grd_payitemtitle);
- misfGridInit(grd_dutyyylist);
- misfMsterDetailSet(grd_payitemtitle,null, "TRRWC01002" ,"N");
- misfMsterDetailSet(grd_dutyyylist,grd_payitemtitle, "TRRWC01001" ,"Y");
-
- if(instance1.selectNodes("/root/temp/target/*").length > 0)
- {
- btn_close.visible = true;
- ipt_appdd.value = model.getValue("/root/temp/target/appdd");
- cmb_SalDfrayFlag.value = model.getValue("/root/temp/target/saldfrayflag");
- cmb_instcd.value = model.getValue("/root/temp/target/instcd");
- misfComboComCdListMulti("R0105,R0323","grd_dutyyylist.rate_amtflag,cmb_SalDfrayFlag");
- btn_search.dispatch("DOMActivate");
- }
- else {
- var curdate = getCurrentDate();
-
- model.setValue(ipt_appdd.attribute("ref") , curdate);
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- misfComboComCdListMulti("R0105,R0112","grd_dutyyylist.rate_amtflag,cmb_SalDfrayFlag");
- }
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
- ]]>
- </script>
- <submission id="TRRWC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutyyy" resultref="/root/main/dutyyy"/>
- <submission id="TRRWC01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitem" resultref="/root/main/payitem"/>
- <submission id="TXRWC01001" 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="../../../mis/miscommonweb/js/MIS.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; ">
- <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:1125px; 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","005");
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <caption id="caption3" class="search_name" style="left:9px; top:18px; width:86px; height:17px; ">적용일자 :</caption>
- <caption id="caption5" class="tit_2" style="left:5px; top:55px; width:186px; height:14px; ">근속년수 기준 지급 항목List</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:355px; y2:70px; "/>
- <datagrid id="grd_payitemtitle" nodeset="/root/main/payitem/payitemlist" caption="급여항목^급여항목코드명^계산기준^적용일자^지급구분^기관|급여항목^급여항목코드명^계산기준^적용일자^지급구분^기관" colsep="^" colwidth="107, 204, 36, 48, 43, 32" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:355px; 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="appdd" visibility="hidden"/>
- <col ref="saldfrayflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_dutyyylist" nodeset="/root/main/dutyyy/dutyyylist" caption="근속년수(From)^근속년수(To)^율_금액구분^율_금액^적용일자^기관코드^급여항목코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^지급구분|근속년수(From)^근속년수(To)^율_금액구분^율_금액^적용일자^기관코드^급여항목코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^지급구분" colsep="^" colwidth="140, 137, 212, 130, 152, 40, 41, 38, 61, 39, 45, 37" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:360px; top:75px; width:833px; height:660px; ">
- <col ref="dutyyno" type="input" format="999" style="text-align:center; vertical-align:middle; "/>
- <col ref="dutyynoto" type="input" format="999" style="text-align:center; vertical-align:middle; "/>
- <col id="rate_amtflag" ref="rate_amtflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="rate_amt" type="input" format="#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="appdd" type="inputdate" style="text-align:center; vertical-align:middle; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="payitemcd" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="saldfrayflag" visibility="hidden"/>
- </datagrid>
- <button id="btn_saveexcel" 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_dutyyylist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <input id="ipt_appdd" ref="/root/send/payitem/appdd" class="input_s_essential" inputtype="date" style="left:96px; top:17px; width:130px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_grddelpayitemtitle" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_dutyyylist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_grdaddpayitemtitle" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_dutyyylist, "A");
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:360px; y1:70px; x2:1193px; y2:70px; "/>
- <caption id="caption1" class="tit_2" style="left:360px; top:55px; width:186px; height:14px; ">근속년수별 지급 금액 List</caption>
- <caption id="caption2" class="search_name" style="left:485px; top:18px; width:86px; height:17px; ">급여종류:</caption>
- <select1 id="cmb_SalDfrayFlag" ref="/root/send/payitem/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:566px; top:17px; 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;
- }
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_instcd" ref="/root/send/payitem/instcd" class="combo_s_essential" appearance="minimal" style="left:325px; top:17px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:266px; top:18px; width:61px; height:17px; ">기관:</caption>
- </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:1071px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRWC01001");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1003px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_payitemtitle);
- misfGridInit(grd_dutyyylist);
- ]]>
- </script>
- </button>
- <line id="line1" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <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>
|