123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807 |
- <?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>
- <paycalc/>
- </main>
- <send>
- <paycalc>
- <saldfrayflag/>
- <idflag>I</idflag>
- <payym/>
- <paydd/>
- <dutdeptcd/>
- <deptnm/>
- <emplno/>
- <emplnm/>
- <instcd/>
- <holyordflag/>
- </paycalc>
- <paymonth>
- <saldfrayflag/>
- <idflag>I</idflag>
- <payym/>
- <paydd/>
- <dutdeptcd/>
- <deptnm/>
- <emplno/>
- <emplnm/>
- <instcd/>
- <holyordflag/>
- </paymonth>
- <endsave>
- <instcd/>
- <saldfrayflag/>
- <payym/>
- <paydd/>
- <endyn/>
- <holyordflag/>
- </endsave>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- 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_payym1.attribute("ref") , curdate.substr(0,6));
- model.setValue(cmb_instcd1.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(ipt_paydd1.attribute("ref") , curdate.substr(0,6) + "25" );
-
- model.setValue(ipt_payym2.attribute("ref") , curdate.substr(0,6));
- model.setValue(cmb_instcd2.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(ipt_paydd2.attribute("ref") , curdate.substr(0,6) + "25" );
-
- var dutdeptcd = getUserInfo("dutplcecd");
- var userid = getUserInfo("userid");
-
- model.setValue("/root/send/paymonth/holyordflag", "1");
- model.setValue("/root/send/paycalc/holyordflag", "1");
- model.toggle("case2");
-
- if (dutdeptcd == "4020334000" || dutdeptcd == "4020300000" || dutdeptcd == "4030100000" || userid == "MIS" || userid == "mis") {
- btn_end.visible = true;
- }
- else {
- btn_end.visible = false;
- }
-
- misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
-
- misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
- //opt_message.text = "작업 왕료여부는 결과보기를 클릭해서 조회 하십시요.";
- cmb_saldfrayflag.value = "1";
-
- cmb_saldfrayflag1.value = "1";
-
- cmb_saldfrayflag2.value = "1";
- model.refresh();
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- cmb_instcd1.disabled = false;
- cmb_instcd2.disabled = false;
- cmb_instcd3.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- cmb_instcd1.disabled = true;
- cmb_instcd2.disabled = true;
- cmb_instcd3.disabled = true;
- }
-
- model.setFocus("cmb_saldfrayflag");
- ]]>
- </script>
- <submission id="TXRWP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paycalc" resultref="/root/hidden/temp"/>
- <submission id="TXRWP00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paymonth" resultref="/root/hidden/temp"/>
- <submission id="TXRWP00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paycalc" resultref="/root/hidden/temp"/>
- <submission id="TXRWP00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/endsave" resultref="/root/hidden/temp"/>
- <submission id="TXRWP00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/endsave" 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:429px; ">
- <switch id="switch1" style="left:0px; top:45px; width:1195px; height:327px; ">
- <case id="case1">
- <caption id="caption278" class="tit_2" style="left:5px; top:9px; width:157px; height:13px; ">급여계산</caption>
- <select1 id="rdo_idflag" ref="/root/send/paycalc/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:95px; top:77px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>생성</label>
- <value>I</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_instcd" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:95px; top:55px; width:185px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_payym" ref="/root/send/paycalc/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:95px; top:102px; width:185px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_paydd.value = ipt_payym.value + "25";
- ]]>
- </script>
- </input>
- <output id="opt_message" style="left:290px; top:151px; width:284px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:5px; top:29px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
- <caption id="caption2" class="cell_1" visibility="hidden" style="left:5px; top:172px; width:87px; height:26px; vertical-align:middle; ">명절일자</caption>
- <caption id="caption11" class="cell_1" style="left:5px; top:150px; width:87px; height:23px; vertical-align:middle; ">부서</caption>
- <caption id="caption3" class="cell_1" style="left:5px; top:54px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
- <select1 id="cmb_saldfrayflag" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:95px; top:30px; width:185px; 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") {
- misfComboComCdListMulti("R0112,Z0007","cmb_saldfrayflag,cmb_instcd");
-
- addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
- model.setValue(cmb_instcd.attribute("ref"), "%");
- }
- else {
- misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
-
- misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
-
- // 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>
- <input id="ipt_emplnm" ref="/root/send/paycalc/emplnm" class="input_default" style="left:174px; top:175px; width:106px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_deptnm" ref="/root/send/paycalc/deptnm" class="input_default" style="left:174px; top:150px; width:106px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplno" ref="/root/send/paycalc/emplno" class="input_default" style="left:94px; top:175px; 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>
- <button id="btn_emplno" class="icon_search" style="left:153px; top:176px; 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_deptcd" ref="/root/send/paycalc/dutdeptcd" class="input_default" style="left:94px; top:150px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd" class="icon_search" style="left:153px; top:151px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "dutdeptcd,deptnm";
- rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:5px; top:100px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
- <caption id="caption8" class="cell_1" style="left:5px; top:76px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
- <caption id="caption17" class="cell_1" style="left:5px; top:174px; width:87px; height:23px; vertical-align:middle; ">사번</caption>
- <input id="ipt_paydd" ref="/root/send/paycalc/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:175px; width:185px; height:19px; "/>
- <line id="line203" class="line_1" style="x1:5px; y1:24px; x2:285px; y2:24px; "/>
- <group id="group3" scroll="auto" style="left:0px; top:220px; width:1175px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:110px; top:3px; width:56px; height:22px; ">
- <caption>작업</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXRWP00601");
-
- var curdate = getCurrentDate()
- zsbfOpenBatchLogPopup("paybnusmgr.PayCalcBatch", curdate, curdate);
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter7" style="left:170px; top:3px; width:116px; height:22px; ">
- <caption>공제초과자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMRWP02600","","","","","", "" );
- ]]>
- </script>
- </button>
- </group>
- <select1 id="combo2" ref="/root/send/paycalc/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:95px; top:127px; width:185px; height:19px; ">
- <choices>
- <item>
- <label>직원</label>
- <value>1</value>
- </item>
- <item>
- <label>의사</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption33" class="cell_1" visibility="hidden" style="left:5px; top:127px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
- </case>
- <case id="case2" selected="true">
- <caption id="caption4" class="tit_2" style="left:5px; top:10px; width:157px; height:13px; ">급여월차작업</caption>
- <select1 id="rdo_idflag1" 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>
- <select1 id="cmb_instcd1" 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>
- <input id="ipt_payym1" 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_paydd1.value = ipt_payym1.value + "25";
- model.setValue("/root/send/paycalc/payym", model.getValue("/root/send/paymonth/payym"));
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_message1" style="left:280px; top:159px; width:260px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:30px; width:87px; height:21px; vertical-align:middle; ">지급구분</caption>
- <caption id="caption9" class="cell_1" visibility="hidden" style="left:0px; top:121px; width:87px; height:21px; vertical-align:middle; ">작업일자</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:145px; width:87px; height:21px; vertical-align:middle; ">부서</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:52px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
- <select1 id="cmb_saldfrayflag1" 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_saldfrayflag1.value == "2") {
- cmb_instcd1.disabled = false;
- }
- else {
- cmb_instcd1.disabled = true;
- }
-
- if ( cmb_saldfrayflag1.value == "A" ) {
- caption9.visible = true;
- ipt_paydd1.visible = true;
- }
- else {
- caption9.visible = false;
- ipt_paydd1.visible = false;
- }
- /*
- if (cmb_saldfrayflag1.value == "2") {
- misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag1,cmb_instcd1,cmb_saldfrayflag2,cmb_instcd2");
- addComboItem( "cmb_instcd1", "[-- 전체 --]", "%", "above");
- model.setValue(cmb_instcd1.attribute("ref"), "%");
- }
- else {
- */
- misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
-
- misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
-
- // misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag1,cmb_instcd1,cmb_saldfrayflag2,cmb_instcd2");
-
- // 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_instcd1.attribute("ref") , getUserInfo("dutplceinstcd"));
- // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
- //}
- model.setValue("/root/send/paycalc/saldfrayflag", model.getValue("/root/send/paymonth/saldfrayflag"));
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <input id="ipt_emplnm1" ref="/root/send/paymonth/emplnm" class="input_default" style="left:165px; top:169px; 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>
- <input id="ipt_deptnm1" ref="/root/send/paymonth/deptnm" class="input_default" style="left:165px; top:145px; width:99px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplno1" ref="/root/send/paymonth/emplno" class="input_default" style="left:89px; top:169px; 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>
- <button id="btn_emplno1" class="icon_search" style="left:146px; top:169px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno1, recv_list,"","N");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd1" ref="/root/send/paymonth/dutdeptcd" class="input_default" style="left:89px; top:145px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd1" class="icon_search" style="left:146px; top:145px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "dutdeptcd,deptnm";
- var instcd = cmb_instcd1.value;
- rpbfOpenDeptCdHelp(ipt_deptcd1,recv_list,instcd,"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption13" class="cell_1" style="left:0px; top:98px; width:87px; height:21px; vertical-align:middle; ">작업년월</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:75px; width:87px; height:21px; vertical-align:middle; ">작업구분</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:170px; width:87px; height:21px; vertical-align:middle; ">사번</caption>
- <input id="ipt_paydd1" ref="/root/send/paymonth/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:90px; top:122px; width:175px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:264px; y2:25px; "/>
- <group id="grp_btn" scroll="auto" style="left:0px; top:200px; width:1180px; height:27px; ">
- <button id="btn_save1" 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>
- <select1 id="cmb_holyordflag" ref="/root/send/paymonth/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:374px; top:105px; width:175px; height:19px; ">
- <choices>
- <item>
- <label>직원</label>
- <value>1</value>
- </item>
- <item>
- <label>의사</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/paycalc/holyordflag", model.getValue("/root/send/paymonth/holyordflag"));
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption28" class="cell_1" visibility="hidden" style="left:285px; top:105px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
- </case>
- <case id="case3">
- <caption id="caption16" class="tit_2" style="left:10px; top:10px; width:157px; height:14px; ">근태자료계산</caption>
- <select1 id="rdo_idflag2" ref="/root/send/paycalc/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:100px; top:78px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>생성</label>
- <value>I</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_instcd2" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:99px; top:55px; width:185px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_payym2" ref="/root/send/paycalc/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:100px; top:103px; width:185px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_paydd2.value = ipt_payym2.value + "25";
- ]]>
- </script>
- </input>
- <output id="output1" style="left:320px; top:100px; width:310px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:10px; top:30px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
- <caption id="caption19" class="cell_1" visibility="hidden" style="left:320px; top:152px; width:87px; height:26px; vertical-align:middle; ">지급일자</caption>
- <caption id="caption20" class="cell_1" style="left:10px; top:151px; width:87px; height:23px; vertical-align:middle; ">부서</caption>
- <caption id="caption21" class="cell_1" style="left:10px; top:55px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
- <select1 id="cmb_saldfrayflag2" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:100px; top:32px; width:185px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag2.value == "2") {
- cmb_instcd2.disabled = false;
- }
- else {
- cmb_instcd2.disabled = true;
- }
-
- if (cmb_saldfrayflag2.value == "2") {
- misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag2,cmb_instcd2,cmb_saldfrayflag1,cmb_instcd1");
-
- addComboItem( "cmb_instcd2", "[-- 전체 --]", "%", "above");
- model.setValue(cmb_instcd2.attribute("ref"), "%");
- }
- else {
- misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
- misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
-
- // 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_instcd2.attribute("ref") , getUserInfo("dutplceinstcd"));
- // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_emplnm2" ref="/root/send/paycalc/emplnm" class="input_default" style="left:179px; top:176px; width:106px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_deptnm2" ref="/root/send/paycalc/deptnm" class="input_default" style="left:179px; top:151px; width:106px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line2" class="line_3" style="x1:10px; y1:201px; x2:290px; y2:201px; "/>
- <input id="ipt_emplno2" ref="/root/send/paycalc/emplno" class="input_default" style="left:99px; top:176px; 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>
- <button id="btn_emplno2" class="icon_search" style="left:158px; top:177px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno2, recv_list,"","N");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd2" ref="/root/send/paycalc/dutdeptcd" class="input_default" style="left:99px; top:151px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd2" class="icon_search" style="left:158px; top:152px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "dutdeptcd,deptnm";
- rpbfOpenDeptCdHelp(ipt_deptcd2,recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption22" class="cell_1" style="left:10px; top:101px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
- <caption id="caption23" class="cell_1" style="left:10px; top:77px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
- <caption id="caption24" class="cell_1" style="left:10px; top:175px; width:87px; height:23px; vertical-align:middle; ">사번</caption>
- <input id="ipt_paydd2" ref="/root/send/paycalc/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:410px; top:154px; width:185px; height:19px; "/>
- <line id="line3" class="line_1" style="x1:10px; y1:25px; x2:290px; y2:25px; "/>
- <group id="group4" scroll="auto" style="left:0px; top:220px; width:1180px; height:27px; ">
- <button id="button2" class="btn4_letter2" style="left:233px; top:3px; width:56px; height:22px; ">
- <caption>작업</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXRWP00701");
-
- var curdate = getCurrentDate();
- zsbfOpenBatchLogPopup("paybnusmgr.PayDutCalcBatch", curdate, curdate);
- ]]>
- </script>
- </button>
- </group>
- <select1 id="combo1" ref="/root/send/paycalc/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:99px; top:128px; width:185px; height:19px; ">
- <choices>
- <item>
- <label>직원</label>
- <value>1</value>
- </item>
- <item>
- <label>의사</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption31" class="cell_1" visibility="hidden" style="left:10px; top:128px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
- </case>
- <case id="case4">
- <caption id="caption25" class="tit_2" style="left:5px; top:9px; width:157px; height:14px; ">급여마감</caption>
- <select1 id="rdo_idflag3" ref="/root/send/paycalc/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:95px; top:77px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>생성</label>
- <value>I</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_instcd3" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:95px; top:55px; width:185px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_payym3" ref="/root/send/paycalc/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:95px; top:102px; width:185px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_paydd.value = ipt_payym.value + "25";
- ]]>
- </script>
- </input>
- <output id="output2" style="left:290px; top:150px; width:284px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:5px; top:29px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
- <group id="group5" scroll="auto" style="left:0px; top:195px; width:1175px; height:27px; ">
- <button id="btn_save3" class="btn4_letter2" style="left:225px; top:3px; width:56px; height:22px; ">
- <caption>마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/endsave/saldfrayflag", cmb_saldfrayflag3.value);
- model.setValue("/root/send/endsave/instcd", cmb_instcd3.value);
- model.setValue("/root/send/endsave/payym", ipt_payym3.value);
- model.setValue("/root/send/endsave/paydd", ipt_paydd3.value);
- model.setValue("/root/send/endsave/holyordflag", combo3.value);
-
- if (rdo_idflag3.value == "I") {
- model.setValue("/root/send/endsave/endyn", "Y");
- }
- else {
- model.setValue("/root/send/endsave/endyn", "N");
- }
- submit("TXRWP00801");
- ]]>
- </script>
- </button>
- <button id="btn_appacnt" class="btn4_letter2" style="left:165px; top:3px; width:56px; height:22px; ">
- <caption>분개</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/endsave/saldfrayflag", cmb_saldfrayflag3.value);
- model.setValue("/root/send/endsave/instcd", cmb_instcd3.value);
- model.setValue("/root/send/endsave/payym", ipt_payym3.value);
- model.setValue("/root/send/endsave/paydd", ipt_paydd3.value);
- model.setValue("/root/send/endsave/holyordflag", model.getValue("/root/send/paycalc/holyordflag"));
- if (rdo_idflag3.value == "I") {
- model.setValue("/root/send/endsave/endyn", "Y");
- }
- else {
- model.setValue("/root/send/endsave/endyn", "N");
- }
- submit("TXRWP00802");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption27" class="cell_1" visibility="visible" style="left:5px; top:149px; width:87px; height:26px; vertical-align:middle; ">발의일자</caption>
- <select1 id="cmb_saldfrayflag3" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:95px; top:30px; width:185px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag3.value == "2") {
- cmb_instcd3.disabled = false;
- }
- else {
- cmb_instcd3.disabled = true;
- }
-
- if (cmb_saldfrayflag3.value == "2") {
- misfComboComCdListMulti("R0112,Z0007","cmb_saldfrayflag3,cmb_instcd3");
-
-
-
- addComboItem( "cmb_instcd3", "[-- 전체 --]", "%", "above");
- model.setValue(cmb_instcd3.attribute("ref"), "%");
- }
- else {
- misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
-
- misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
-
- model.setValue(cmb_instcd3.attribute("ref") , getUserInfo("dutplceinstcd"));
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption29" class="cell_1" style="left:5px; top:54px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
- <caption id="caption30" class="cell_1" style="left:5px; top:100px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
- <caption id="caption32" class="cell_1" style="left:5px; top:76px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
- <input id="ipt_paydd3" ref="/root/send/paycalc/paydd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:152px; width:185px; height:19px; "/>
- <line id="line4" class="line_1" style="x1:5px; y1:24px; x2:285px; y2:24px; "/>
- <caption id="caption34" class="cell_1" visibility="hidden" style="left:5px; top:127px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
- <select1 id="combo3" ref="/root/send/paycalc/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:95px; top:127px; width:185px; height:19px; ">
- <choices>
- <item>
- <label>직원</label>
- <value>1</value>
- </item>
- <item>
- <label>의사</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </case>
- </switch>
- <button id="button5" class="btn_sw" group="tab" selected="false" style="left:250px; top:20px; width:123px; height:22px; ">
- <caption>급여계산</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="button3" class="btn_sw" group="tab" selected="true" style="left:0px; top:20px; width:123px; height:22px; ">
- <caption>급여월차작업</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="button4" class="btn_sw" group="tab" selected="false" style="left:125px; top:20px; width:123px; height:22px; ">
- <caption>근태자료계산</caption>
- <toggle case="case3" ev:event="onclick"/>
- </button>
- <button id="btn_end" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:375px; top:20px; width:123px; height:22px; ">
- <caption>급여마감</caption>
- <toggle case="case4" ev:event="onclick"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|