123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312 |
- <?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>
- <dutypayamt>
- <dutypayamtlist/>
- </dutypayamt>
- <dutysumpayamt>
- <dutysumpayamtlist/>
- </dutysumpayamt>
- </main>
- <send>
- <dutypayamt>
- <instcd/>
- <payym/>
- <deptcd/>
- <deptnm/>
- <emplno/>
- <emplnm/>
- <saldfrayflag>1</saldfrayflag>
- <paytotyn/>
- </dutypayamt>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_dutypayamtlist);
- misfGridInit(grd_dutysumpayamtlist);
-
-
- misfMsterDetailSet(grd_dutypayamtlist, null, "TRRWP02801" ,"N");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- //misfComboComCdListMulti("Z0007","cmb_instcd");
-
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
-
- model.refresh();
- model.setFocus("cmb_instcd");
- ]]>
- </script>
- <submission id="TRRWP02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutypayamt" resultref="/root/main/dutypayamt"/>
- <submission id="TRRWP02802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutypayamt" resultref="/root/main/dutysumpayamt"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.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; ">
- <datagrid id="grd_dutysumpayamtlist" nodeset="/root/main/dutysumpayamt/dutysumpayamtlist" visibility="hidden" caption="부서^인원^초연수당^야간수당^교연수당^당직수당^휴일(50%)^계|부서^인원^초연수당^야간수당^교연수당^당직수당^휴일(50%)^계" colsep="^" colwidth="229, 79, 138, 127, 140, 136, 133, 166" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
- <col ref="deptnm"/>
- <col ref="deptcnt" style="text-align:center; vertical-align:middle; "/>
- <col ref="extnpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="nigtpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="tranalwnamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="adminngdtpayamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="holidutamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="dutpaytotamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- </datagrid>
- <datagrid id="grd_dutypayamtlist" nodeset="/root/main/dutypayamt/dutypayamtlist" caption="부서^사번^성명^직위^직급^호봉^시급^연장^연장^연장^연장^초연수당^야간^야간^야간^야간수당^교대^교대^당직^당직^휴일(50%)^휴일(50%)^급여기관^근무지부서코드|부서^사번^성명^직위^직급^호봉^시급^특근^번표^착오^조출^초연수당^특근^번표^착오^야간수당^시간^수당^일수^수당^시간^수당^급여기관^근무지부서코드" colsep="^" colwidth="106, 72, 77, 68, 64, 51, 74, 43, 41, 42, 43, 82, 43, 38, 38, 75, 36, 87, 33, 83, 35, 82, 18, 28" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
- <col ref="deptnm"/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="jobposnm"/>
- <col ref="jobgradnm"/>
- <col ref="payclsnm"/>
- <col ref="timepayamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="ovtmworkextnbiztm" style="text-align:center; vertical-align:middle; "/>
- <col ref="holiduttm" style="text-align:center; vertical-align:middle; "/>
- <col ref="extnbfmmstktm" style="text-align:center; vertical-align:middle; "/>
- <col ref="earlyattdnctm" style="text-align:center; vertical-align:middle; "/>
- <col ref="extnpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="ovtmworknigtbiztm" style="text-align:center; vertical-align:middle; "/>
- <col ref="nigtlabrtm" style="text-align:center; vertical-align:middle; "/>
- <col ref="nigtbfmmstktm" style="text-align:center; vertical-align:middle; "/>
- <col ref="nigtpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="tranalwntm" style="text-align:center; vertical-align:middle; "/>
- <col ref="tranalwnamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="adminngdtnigtno" style="text-align:center; vertical-align:middle; "/>
- <col ref="adminngdtnigtamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="holiduttm2" style="text-align:center; vertical-align:middle; "/>
- <col ref="holidutamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="payinst" visibility="hidden"/>
- <col ref="dutplcedeptcd" visibility="hidden"/>
- </datagrid>
- <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
- <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; 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();
-
-
- if (chk_paytot.value == "Y") {
- grd_dutysumpayamtlist.subtotal("clear", 0, 0);
-
- grd_dutysumpayamtlist.subtotalPosition = "below";
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("deptcnt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("extnpayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("nigtpayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("oproompayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("tranalwnamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("earlyattdncamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("adminngdtpayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("holidutamt2"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("opnofhosppayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("dutpaytotamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- }
- ]]>
- </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/dutypayamt/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:155px; top:7px; width:75px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="cap_payym" class="search_name" style="left:86px; top:8px; width:70px; height:17px; ">지급월:</caption>
- <select1 id="cmb_instcd" ref="/root/send/dutypayamt/instcd" class="combo_s_essential" appearance="minimal" style="left:303px; top:7px; width:111px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:246px; top:8px; width:61px; height:17px; ">기관:</caption>
- <input id="ipt_deptnm" ref="/root/send/dutypayamt/deptnm" class="input_default" style="left:756px; top:7px; width:104px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd" class="icon_search" style="left:735px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "deptcd,deptnm";
- var instcd = cmb_instcd.value;
- rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/send/dutypayamt/deptcd" class="input_default" style="left:651px; top:7px; width:79px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:595px; top:8px; width:61px; height:17px; ">부서:</caption>
- <input id="ipt_emplnm" ref="/root/send/dutypayamt/emplnm" class="input_default" style="left:1029px; top:7px; width:76px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
- inputEnterKey("ipt_emplnm", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:1008px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
-
- model.refresh();
-
- if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/dutypayamt/emplno" class="input_default" style="left:934px; top:7px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:880px; top:8px; width:61px; height:17px; ">사번:</caption>
- <select id="chk_paytot" ref="/root/send/dutypayamt/paytotyn" overflow="visible" appearance="full" style="left:10px; top:7px; width:71px; height:20px; border-style:solid; ">
- <choices>
- <item>
- <label>집계조회</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfMsterDetailDel();
- if (chk_paytot.value == "Y") {
- ipt_deptcd.value = "";
- ipt_deptnm.value = "";
- ipt_emplno.value = "";
- ipt_emplnm.value = "";
-
- ipt_deptcd.disabled = true;
- btn_deptcd.disabled = true;
- ipt_deptnm.disabled = true;
- ipt_emplno.disabled = true;
- btn_emplno.disabled = true;
- ipt_emplnm.disabled = true;
-
- grd_dutypayamtlist.visible = false;
- grd_dutysumpayamtlist.visible = true;
-
- misfMsterDetailSet(grd_dutysumpayamtlist, null, "TRRWP02802" ,"N");
-
- }
- else {
- ipt_deptcd.disabled = false;
- btn_deptcd.disabled = false;
- ipt_deptnm.disabled = false;
- ipt_emplno.disabled = false;
- btn_emplno.disabled = false;
- ipt_emplnm.disabled = false;
-
- grd_dutysumpayamtlist.visible = false;
- grd_dutypayamtlist.visible = true;
-
- misfMsterDetailSet(grd_dutypayamtlist, null, "TRRWP02801" ,"N");
- }
- ]]>
- </script>
- </select>
- <select1 id="rdo_saldfrayflag" ref="/root/send/dutypayamt/saldfrayflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:430px; top:7px; width:155px; height:19px; border-style:solid; ">
- <choices>
- <item>
- <label>정기급여</label>
- <value>1</value>
- </item>
- <item>
- <label>정기급여2</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- </group>
- <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 != "")
- {
- if (chk_paytot.value == "Y") {
- grd_dutysumpayamtlist.saveExcel(fileName);
- }
- else {
- grd_dutypayamtlist.saveExcel(fileName);
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
- <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|