123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316 |
- <?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>
- <preststatbase>
- <preststatbaselist/>
- </preststatbase>
- </main>
- <send>
- <preststatbase>
- <appdd/>
- <instcd/>
- <saldfrayflag/>
- <gvnoffcordflag/>
- <gvnoffcorddetlflag/>
- </preststatbase>
- <save>
- <preststatbaselist/>
- </save>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_preststatbaselist);
- misfMsterDetailSet(grd_preststatbaselist,null, "TRRWC01501" ,"Y");
- var curdate = getCurrentDate();
-
- model.setValue(ipt_paydeduym.attribute("ref") , curdate);
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- //model.setValue(ipt_deptcd.attribute("ref") , getUserInfo("posdeptcd"));
- //model.setValue(ipt_deptnm.attribute("ref") , getUserInfo("posdeptnm"));
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- misfComboComCdListMulti("R0112,R0097,R0222,R0232,R0225,R0091,R0090,R0227",
- "cmb_SalDfrayFlag,grd_preststatbaselist.payclsprfshipflag,grd_preststatbaselist.mmflag,grd_preststatbaselist.fromtermflag,grd_preststatbaselist.amtratedaynoflag,cmb_gvnoffcordflag,grd_preststatbaselist.pregvnoffcordcd,grd_preststatbaselist.daynocalcflag");
-
- //misfComboComCdListMulti("Z0007,R0112,R0097,R0222,R0231,R0232,R0225,R0091,R0090,R0227","cmb_instcd,cmb_SalDfrayFlag,grd_preststatbaselist.payclsprfshipflag,grd_preststatbaselist.mmflag,grd_preststatbaselist.ddtermflag,grd_preststatbaselist.fromtermflag,grd_preststatbaselist.amtratedaynoflag,cmb_gvnoffcordflag,grd_preststatbaselist.pregvnoffcordcd,grd_preststatbaselist.daynocalcflag");
- misfComboCopyItemSet(grd_preststatbaselist, "fromtermflag", grd_preststatbaselist, "totermflag");
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
- ]]>
- </script>
- <submission id="TRRWC01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/preststatbase" resultref="/root/main/preststatbase"/>
- <submission id="TXRWC01501" 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"/>
- <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; "/>
- <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[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:55px; width:198px; height:14px; ">근무 상태별 계산 기준 List</caption>
- <button id="btn_grdaddpreststatbaselist" class="btn2_letter3" style="left:1016px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_preststatbaselist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_inputexcel" class="btn2_letter4" style="left:1128px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_preststatbaselist.saveExcel(fileName, "SheetName", true, true, "", "", selectValue1);
- }
- ]]>
- </script>
- </button>
- <button id="btn_grddelpreststatbaselist" class="btn2_letter3" style="left:1072px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_preststatbaselist, "D");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:15px; top:19px; width:94px; height:17px; ">적용일자 :</caption>
- <input id="ipt_paydeduym" ref="/root/send/preststatbase/appdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:104px; top:18px; width:100px; height:19px; "/>
- <select1 id="cmb_instcd" ref="/root/send/preststatbase/instcd" class="combo_s_essential" appearance="minimal" style="left:299px; top:17px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:240px; top:18px; width:61px; height:17px; ">기관:</caption>
- <datagrid id="grd_preststatbaselist" nodeset="/root/main/preststatbase/preststatbaselist" caption="호봉교직구분^급여항목코드^급여항목명^적용일자^이전발령^월구분^일자기간구분^기간^기간^기간^기간^기간^금액율일할구분^금액/율/일수^일할계산구분^분리계산^rate amt^기관코드^급여지급구분^현상태코드^최초등록자ID^최초등록일시^최종수정자ID^호봉교직구분OLD^발령구분^발령세부구분^oldpayitemcd^oldpregvnoffcordcd^oldmmflag^oldddtermflag^oldfromterm^oldfromtermflag^oldappdd^최종수정일시|호봉교직구분^급여항목코드^급여항목명^적용일자^이전발령^월구분^일자기간구분^시작기간^시작기간^종료기간^종료기간^종료기간^금액율일할구분^금액/율/일수^일할계산구분^분리계산^rate amt^기관코드^급여지급구분^현상태코드^최초등록자ID^최초등록일시^최종수정자ID^호봉교직구분OLD^발령구분^발령세부구분^oldpayitemcd^oldpregvnoffcordcd^oldmmflag^oldddtermflag^oldfromterm^oldfromtermflag^oldappdd^최종수정일시" colsep="^" colwidth="177, 109, 713, 159, 73, 61, 41, 69, 41, 60, 0, 104, 85, 61, 36, 87, 0, 30, 29, 32, 18, 26, 24, 40, 33, 32, 31, 33, 28, 27, 29, 30, 29" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1195px; height:665px; ">
- <col ref="payclsprfshipflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="payitemcd" type="inputbutton" style="text-align:center; vertical-align:middle; "/>
- <col ref="payitemnm"/>
- <col ref="appdd" type="inputdate" style="text-align:center; vertical-align:middle; "/>
- <col ref="pregvnoffcordcd" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="mmflag" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="ddtermflag" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>일자기준</label>
- <value>1</value>
- </item>
- <item>
- <label>기간기준</label>
- <value>2</value>
- </item>
- <item>
- <label>말일기준</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="fromterm" type="input" visibility="hidden" style="text-align:center; vertical-align:middle; "/>
- <col ref="fromtermflag" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="toterm" type="input" visibility="hidden" style="text-align:center; vertical-align:middle; "/>
- <col disabled="true" ref="totermflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col visibility="hidden"/>
- <col ref="amtratedaynoflag" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="rate_amt" type="input" visibility="hidden" format="#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="daynocalcflag" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="divcalcyn" type="checkbox" visibility="hidden"/>
- <col ref="instcd"/>
- <col ref="saldfrayflag" visibility="hidden"/>
- <col ref="preststatcd" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="oldpayclsprfshipflag" visibility="hidden"/>
- <col ref="gvnoffcordflag" visibility="hidden"/>
- <col ref="gvnoffcorddetlflag" visibility="hidden"/>
- <col ref="oldpayitemcd" visibility="hidden"/>
- <col ref="oldpregvnoffcordcd" visibility="hidden"/>
- <col ref="oldmmflag" visibility="hidden"/>
- <col ref="oldddtermflag" visibility="hidden"/>
- <col ref="oldfromterm" visibility="hidden"/>
- <col ref="oldfromtermflag" visibility="hidden"/>
- <col ref="oldappdd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_preststatbaselist.colAttribute(grd_preststatbaselist.col,"ref") == "payitemcd" ) { //급여항목코드
- var recv_list = "payitemcd,payitemnm";
- misfOpenPopUpList("13", grd_preststatbaselist,"", recv_list,"cmb_SalDfrayFlag") ;
- model.refresh();
- }
-
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_preststatbaselist.colAttribute(grd_preststatbaselist.col,"ref") == "fromtermflag" ) { //급여항목코드
- grd_preststatbaselist.valueMatrix(grd_preststatbaselist.row, grd_preststatbaselist.colRef("totermflag")) = grd_preststatbaselist.valueMatrix(grd_preststatbaselist.row, grd_preststatbaselist.colRef("fromtermflag"));
- model.refresh();
- }
-
- if (grd_preststatbaselist.colAttribute(grd_preststatbaselist.col,"ref") == "payitemcd" ) { //급여항목코드
- if (grd_preststatbaselist.valueMatrix(grd_preststatbaselist.row, grd_preststatbaselist.colRef("payitemcd")) == "%") {
- grd_preststatbaselist.valueMatrix(grd_preststatbaselist.row, grd_preststatbaselist.colRef("payitemnm")) = "전체";
- }
- else {
- var recv_list = "payitemcd,payitemnm";
- var saldfrayflag = grd_preststatbaselist.valueMatrix(grd_preststatbaselist.row, grd_preststatbaselist.colRef("saldfrayflag"));
- var paydeduflag = "1";
- rwcfValidationCheck("PAYITEM",saldfrayflag, paydeduflag, recv_list)
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="search_name" style="left:460px; top:18px; width:86px; height:17px; ">급여종류:</caption>
- <select1 id="cmb_SalDfrayFlag" ref="/root/send/preststatbase/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:541px; 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;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_gvnoffcorddetlflag" ref="/root/send/preststatbase/gvnoffcorddetlflag" class="combo_default" navindex="4" appearance="minimal" style="left:858px; top:17px; width:130px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_gvnoffcordflag" ref="/root/send/preststatbase/gvnoffcordflag" class="combo_s_essential" navindex="3" appearance="minimal" style="left:778px; top:17px; width:78px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* 발령구분 선택시 발령 세부구분 자료를 Setting,한다 */
- var gvnoffcordflag = model.getValue(cmb_gvnoffcordflag.attribute("ref"));
- rpbfComboGvnoffOrddetl(gvnoffcordflag, "cmb_gvnoffcorddetlflag");
-
- ]]>
- </script>
- </select1>
- <caption id="caption46" class="search_name" style="left:690px; top:18px; width:86px; height:17px; ">발령구분 :</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button36" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRWC01501");
- ]]>
- </script>
- </button>
- <button id="button35" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|