123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <count1/>
- <count2/>
- </grntlist1>
- </grnt>
- <grnt1>
- <grntlist1/>
- </grnt1>
- </main>
- <send>
- <paymonth>
- <saldfrayflag/>
- <paydd/>
- <instcd/>
- </paymonth>
- </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");
- addComboItem("cmb_instcd","--전체--","","above");
-
- //misfComboComCdListMulti("R0112","cmb_saldfrayflag");
- //opt_message.text = "작업 왕료여부는 결과보기를 클릭해서 조회 하십시요.";
- cmb_saldfrayflag.value = "1";
-
- model.refresh();
-
- model.setFocus("ipt_payym");
- ]]>
- </script>
- <submission id="TRRWP21401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paymonth" resultref="/root/main/grnt"/>
- <submission id="TRRWP21402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paymonth" resultref="/root/main/grnt1"/>
- <submission id="TXRWP21401" 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:694px; ">
- <select1 id="cmb_instcd" ref="/root/send/paymonth/instcd" class="combo_default" appearance="minimal" style="left:89px; top:31px; width:175px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </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; "/>
- <select1 id="cmb_saldfrayflag" ref="/root/send/paymonth/saldfrayflag" class="combo_default" appearance="minimal" style="left:89px; top:74px; width:175px; height:19px; ">
- <choices>
- <item>
- <label>급여/상여</label>
- <value>1</value>
- </item>
- <item>
- <label>상여금</label>
- <value>2</value>
- </item>
- <item>
- <label>소급분</label>
- <value>3</value>
- </item>
- <item>
- <label>추가지급</label>
- <value>A</value>
- </item>
- </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 == "5" ) {
- 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>
- <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/paydd" class="input_default" 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[
- submit("TRRWP21401");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_save1" class="btn4_letter4" style="left:185px; top:170px; width:80px; height:22px; ">
- <caption>미리보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var lsflag = "Y";
- var lcnt1 = parseInt(model.getValue("/root/main/grnt/grntlist1/count1"));
- var lcnt2 = parseInt(model.getValue("/root/main/grnt/grntlist1/count2"));
- if (lcnt1 > 0){
- if (lcnt2 > 0){
- messageBox("경리 데이타에서 확인 작업이 되었습니다. 생성된 데이타 조회만 됩니다", "E999", "");
- lsflag = "N";
- }else{
- if( messageBox("해당월 데이타가 만들어져 있습니다!! 다시 생성하시겠습니까?" , "Q99" ) == 6 ){
- lsflag = "Y";
- }else{
- lsflag = "N";
- }
- }
- }
- if (lsflag == "Y"){
- submit("TXRWP21401");
- }else{
- submit("TRRWP21402");
- // exeReportPreview("RPRWP21401", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","","","","false");
- exeReportPreview("RPRWP21401", "XMLSTR");
- }
- submit("TRRWP21401");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|