123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- <?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="">
- <send>
- <paymonth>
- <saldfrayflag/>
- <idflag>I</idflag>
- <payym/>
- <paydd/>
- <dutdeptcd/>
- <deptnm/>
- <emplno/>
- <emplnm/>
- <instcd/>
- </paymonth>
- </send>
- <main/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- misfComboComCdListMulti("R0112","cmb_saldfrayflag");
-
- var curdate = getCurrentDate();
-
- model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(ipt_paydd.attribute("ref") , curdate.substr(0,6) + "25");
-
- //model.setValue(ipt_deptcd.attribute("ref") , getUserInfo("posdeptcd"));
- //model.setValue(ipt_deptnm.attribute("ref") , getUserInfo("posdeptnm"));
-
- //opt_message.text = "작업 완료여부는 결과보기를 클릭해서 조회 하십시요.";
- cmb_saldfrayflag.value = "1";
- model.refresh();
-
- model.setFocus("cmb_saldfrayflag");
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
- ]]>
- </script>
- <submission id="TXRWP00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paymonth" 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="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- </xhtml:head>
- <xhtml:body guideline="2,10;">
- <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:13px; width:1195px; height:764px; ">
- <caption id="caption278" class="tit_2" style="left:5px; top:10px; width:157px; height:13px; ">급여월차작업</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:121px; width:87px; height:21px; vertical-align:middle; ">부서</caption>
- <input id="ipt_payym" ref="/root/send/paymonth/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:89px; top:99px; width:175px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_paydd.value = ipt_payym.value + "25";
- ]]>
- </script>
- </input>
- <caption id="caption7" class="cell_1" style="left:0px; top:98px; width:87px; height:21px; vertical-align:middle; ">작업년월</caption>
- <select1 id="rdo_idflag" ref="/root/send/paymonth/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:89px; top:76px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>생성</label>
- <value>I</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <caption id="caption17" class="cell_1" style="left:0px; top:144px; width:87px; height:21px; vertical-align:middle; ">사번</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:75px; width:87px; height:21px; vertical-align:middle; ">작업구분</caption>
- <line id="line203" class="line_1" style="x1:0px; y1:25px; x2:264px; y2:25px; "/>
- <button id="btn_deptcd" class="icon_search" style="left:146px; top:121px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "dutdeptcd,deptnm";
- var instcd = cmb_instcd.value;
- rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/send/paymonth/dutdeptcd" class="input_default" style="left:89px; top:121px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_deptnm" ref="/root/send/paymonth/deptnm" class="input_default" style="left:165px; top:121px; width:99px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:146px; top:145px; 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();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/paymonth/emplno" class="input_default" style="left:89px; top:145px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplnm" ref="/root/send/paymonth/emplnm" class="input_default" style="left:165px; top:145px; width:99px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption1" class="cell_1" style="left:0px; top:30px; width:87px; height:21px; vertical-align:middle; ">지급구분</caption>
- <select1 id="cmb_saldfrayflag" ref="/root/send/paymonth/saldfrayflag" class="combo_default" appearance="minimal" style="left:89px; top:31px; width:175px; 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;
- }
-
- if ( cmb_saldfrayflag.value == "5" ) {
- caption2.visible = true;
- ipt_paydd.visible = true;
- }
- else {
- caption2.visible = false;
- ipt_paydd.visible = false;
- }
-
- if (cmb_saldfrayflag.value == "2") {
- addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
- model.setValue(cmb_instcd.attribute("ref"), "%");
- }
- else {
- misfComboComCdListMulti("R0112,Z0007","cmb_saldfrayflag,cmb_instcd");
-
- // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
- // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
-
- // var curdate = getCurrentDate();
-
- // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
- }
-
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="cell_1" visibility="hidden" style="left:0px; top:168px; width:87px; height:21px; vertical-align:middle; ">명절일자</caption>
- <input id="ipt_paydd" ref="/root/send/paymonth/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:89px; top:170px; width:175px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:52px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
- <select1 id="cmb_instcd" ref="/root/send/paymonth/instcd" class="combo_default" appearance="minimal" style="left:89px; top:53px; width:175px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_message" style="left:280px; top:135px; width:260px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:210px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:207px; top:3px; width:56px; height:22px; ">
- <caption>작업</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXRWP00201");
-
- var curdate = getCurrentDate()
- zsbfOpenBatchLogPopup("paybaseinfomgr.PayMonthCalcBatch", curdate, curdate);
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|