123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <?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>
- <grnt>
- <grntlist1/>
- </grnt>
- <grnt1>
- <grntlist1>
- <count1/>
- <count2/>
- </grntlist1>
- </grnt1>
- <grnt2>
- <grntlist1>
- <instcd/>
- <sanctslipdd/>
- <sanctslipno/>
- </grntlist1>
- </grnt2>
- </main>
- <send>
- <paymonth>
- <paydd/>
- <sanctslipdd/>
- <instcd/>
- </paymonth>
- <paydedu>
- <instcd/>
- <sanctslipdd/>
- <sanctslipno/>
- </paydedu>
- </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" );
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- //addComboItem("cmb_instcd","--전체--","","above");
-
- //misfComboComCdListMulti("R0112","cmb_saldfrayflag");
- //opt_message.text = "작업 왕료여부는 결과보기를 클릭해서 조회 하십시요.";
- model.setValue("/root/send/paymonth/paydd", getCurrentDate());
- model.setValue("/root/send/paymonth/sanctslipdd", getCurrentDate());
-
- model.refresh();
- fProcessChk();
- model.setFocus("input1");
- ]]>
- </script>
- <submission id="TRRAD04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paymonth" resultref="/root/main/grnt1"/>
- <submission id="TRRAD04702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paymonth" resultref="/root/main/grnt2"/>
- <submission id="TRRAD03801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/main/grnt"/>
- <submission id="TXRAD04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paymonth" resultref="/root/hidden/temp"/>
- <submission id="TXRAD04702" 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"/>
- <script type="javascript">
- <![CDATA[
- function fProcessChk(){
- model.resetInstanceNode("/root/main/grnt1/grntlist1");
- if (submit("TRRAD04701")){
- var cnt = model.getValue("/root/main/grnt1/grntlist1/count1");
- if (cnt == "" || cnt == "0"){
- btn_save.disabled = false;
- btn_cncl.disabled = true;
- }else{
- btn_save.disabled = true;
- btn_cncl.disabled = false;
- }
- model.refresh();
- }
-
- }
- ]]>
- </script>
- </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:694px; ">
- <select1 id="cmb_instcd" ref="/root/send/paymonth/instcd" class="combo_default" navindex="1" 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[
- fProcessChk();
- ]]>
- </script>
- </select1>
- <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:118px; width:87px; height:21px; vertical-align:middle; ">기표일자</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:264px; y2:25px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:73px; width:87px; height:21px; vertical-align:middle; ">급여통계일자</caption>
- <input id="ipt_payym" ref="/root/send/paymonth/sanctslipdd" class="input_default" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:89px; top:119px; width:175px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fProcessChk();
- ]]>
- </script>
- </input>
- <button id="btn_save" class="btn4_letter2" navindex="4" style="left:150px; top:170px; width:56px; height:22px; ">
- <caption>실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = model.getValue("/root/main/grnt1/grntlist1/count2");
- if (cnt == "" || cnt == "0"){
- messageBox("처리할 건수가 없습니다.", "E999", "");
- return;
- }
- var cnt1 = model.getValue("/root/main/grnt1/grntlist1/count1");
- if (parseInt(cnt1) > 0){
- messageBox("이미 처리된 자료입니다.", "E999", "");
- return;
- }
- if (submit("TXRAD04701")){
- messageBox("정상적으로 처리되었습니다.", "E999", "");
- fProcessChk();
- }
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/send/paymonth/paydd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:89px; top:73px; width:175px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fProcessChk();
- ]]>
- </script>
- </input>
- <button id="btn_cncl" class="btn4_letter2" navindex="4" style="left:210px; top:170px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (submit("TXRAD04702")){
- messageBox("정상적으로 취소 처리되었습니다.", "E999", "");
- fProcessChk();
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" navindex="4" style="left:270px; top:170px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRAD04702");
- if (datagrid1.rows < 2){
- messageBox("출력할 자료가 없습니다.", "E999", "");
- return;
- }
- for (var i = 1; i < datagrid1.rows; i++){
- model.setValue("/root/send/paydedu/instcd", model.getValue("/root/main/grnt2/grntlist1[" + i + "]/instcd"));
- model.setValue("/root/send/paydedu/sanctslipdd", model.getValue("/root/main/grnt2/grntlist1[" + i + "]/sanctslipdd"));
- model.setValue("/root/send/paydedu/sanctslipno", model.getValue("/root/main/grnt2/grntlist1[" + i + "]/sanctslipno"));
- submit("TRRAD03801");
- exeReportPreview("RPRAD03801", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","","","","false");
- }
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/grnt2/grntlist1" visibility="hidden" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:580px; top:85px; width:350px; height:150px; ">
- <col ref="instcd"/>
- <col ref="sanctslipdd"/>
- <col ref="sanctslipno"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|