123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410 |
- <?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>
- <search>
- <entryy/>
- <fromdd/>
- <todd/>
- <acntflagcd1/>
- <acntflagcdnm1/>
- <toddmth/>
- <toddyear/>
- <itemexpendflagcd1/>
- </search>
- <cond>
- <condinfo>
- <incmexpsflagcd/>
- <incmexpsdd/>
- <acntflagcd/>
- <itemexpendflagcd/>
- <incmamt/>
- <appcnts/>
- <expsamt/>
- <seqno/>
- <instcd/>
- <acntflagcdnm/>
- <itemexpendflagcdnm/>
- <entryy/>
- <qurtyy/>
- <status/>
- <etcflag/>
- </condinfo>
- </cond>
- <grdlist>
- <itemlist>
- <incmexpsdd/>
- <acntflagcdnm/>
- <itemexpendflagcdnm/>
- <appcnts/>
- <incmamt/>
- <expsamt/>
- <acntflagcd/>
- <itemexpendflagcd/>
- <seqno/>
- <instcd/>
- <incmexpsflagcd/>
- <status/>
- <incdispmmdd/>
- </itemlist>
- <sumlist>
- <sumlistinfo>
- <incmamtlstmth/>
- <expsamtlstmth/>
- <minusamtlstmth/>
- <incmamtthismth/>
- <expsamtthismth/>
- <incmamtthisyear/>
- <expsamtthisyear/>
- <minusamtthisyear/>
- <incmamtlstyear/>
- </sumlistinfo>
- </sumlist>
- </grdlist>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <init>
- <comcd>
- <A0452>
- <cdid/>
- <cdnm/>
- </A0452>
- </comcd>
- </init>
- </hidden>
- <init>
- <brodcstflagcd>
- <A0452>
- <cdid/>
- <cdnm/>
- </A0452>
- </brodcstflagcd>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../ast/fthcnstweb/js/SMAYA02300.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- fReqIncmExpsAmt();
-
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00122" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXAYA02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- <submission id="TRAYA02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/search" resultref="/root/main/grdlist"/>
- <submission id="TRAYA02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cond"/>
- <submission id="TRAYA02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/search" resultref="/root/main/grdlist/sumlist"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:181px; height:14px; ">수입지출관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqIncmExpsAmt();
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:615px; top:10px; width:86px; height:17px; ">계정과목 :</caption>
- <caption id="caption5" class="search_no_b" style="left:445px; top:9px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/main/search/todd" class="input_search" navindex="3" inputtype="date" style="left:465px; top:9px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode==13)
- fReqIncmExpsAmt();
-
- ]]>
- </script>
- <script type="javascript" ev:event="ondayselect">
- <![CDATA[
- model.setFocus("cmb_acntflag");
- ]]>
- </script>
- </input>
- <input id="ipt_fromdd" ref="/root/main/search/fromdd" class="input_search" navindex="2" inputtype="date" style="left:345px; top:9px; width:95px; height:19px; ">
- <script type="javascript" ev:event="ondayselect">
- <![CDATA[
- model.setFocus("ipt_todd");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode==13)
- fReqIncmExpsAmt();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftdateselect();
- ]]>
- </script>
- </input>
- <caption id="caption12" class="search_name" style="left:250px; top:10px; width:91px; height:17px; ">조회기간 :</caption>
- <select1 id="cmb_acntflag" ref="/root/main/search/acntflagcd1" class="combo_search" navindex="4" appearance="minimal" style="left:705px; top:9px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/brodcstflagcd/A0451">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fAcntflagcdSelect2();
- fReqIncmExpsAmt();
-
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:25px; top:10px; width:91px; height:17px; ">사업년도 :</caption>
- <input id="ipt_entryy" ref="/root/main/search/entryy" class="input_s_essential" navindex="1" maxlength="4" format="yyyy" style="left:125px; top:9px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode==13)
- fReqIncmExpsAmt();
-
- ]]>
- </script>
- </input>
- <caption id="caption22" class="search_name" style="left:845px; top:10px; width:60px; height:17px; ">비목 :</caption>
- <select1 id="cmb_itemexpendflag" ref="/root/main/search/itemexpendflagcd1" class="combo_search" navindex="5" appearance="minimal" style="left:910px; top:9px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/brodcstflagcd/A0452">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode==13)
- fReqIncmExpsAmt();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fReqIncmExpsAmt();
-
- ]]>
- </script>
- </select1>
- </group>
- <datagrid id="grd_incmexpslist" nodeset="/root/main/grdlist/itemlist" scroll="auto" caption="일자^계정과목^비목^적요^수입금액^지출금액^" colsep="^" colwidth="118, 143, 151, 368, 191, 170,10" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:75px; width:1194px; height:510px; text-align:right; ">
- <col ref="incmexpsdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="acntflagcdnm" style="text-align:center; "/>
- <col ref="itemexpendflagcdnm" style="text-align:center; "/>
- <col ref="appcnts" style="text-align:left; "/>
- <col ref="incmamt" format="(-)#,###"/>
- <col ref="expsamt" format="(-)#,###"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_incmexpslist.isCell(event.target) && grd_incmexpslist.mouseRow >= grd_incmexpslist.fixedrows) // 01클릭하는 위치가 그리드 안에 있을 때만 함수 실행
- {
- fIncmExpsAmtInfo();
- model.setValue("/root/main/cond/condinfo/status","u");
- }
- else
- {
- return;
- }
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:5px; top:58px; width:139px; height:7px; ">수입지출 내역리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
- <group id="grp_incexpssavebox" disabled="false" visibility="visible" style="left:0px; top:594px; width:555px; height:141px; ">
- <caption id="caption4" class="cell_1" style="left:9px; top:59px; width:125px; height:23px; vertical-align:middle; ">계정과목</caption>
- <select1 id="rdo_incmexpsflagcd" ref="/root/main/cond/condinfo/incmexpsflagcd" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:137px; top:35px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>수입</label>
- <value>1</value>
- </item>
- <item>
- <label>지출</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption14" class="cell_1" style="left:9px; top:84px; width:125px; height:23px; vertical-align:middle; ">수입/지출금액</caption>
- <caption id="caption15" class="tit_2" style="left:10px; top:13px; width:133px; height:13px; ">수입/지출금액 등록</caption>
- <select1 id="cmb_acntflagcd" ref="/root/main/cond/condinfo/acntflagcd" class="combo_default" appearance="minimal" style="left:137px; top:60px; width:128px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0451">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAcntflagcdSelect();
-
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="cell_1" style="left:9px; top:33px; width:125px; height:23px; vertical-align:middle; ">구분</caption>
- <select1 id="cmb_itemexpendflagcd" ref="/root/main/cond/condinfo/itemexpendflagcd" class="combo_default" appearance="minimal" style="left:411px; top:60px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0452">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //var subcdid = model.getValue("/root/main/cond/condinfo/itemexpendflagcd");
- //if(subcdid=='')
- //{
- // model.setValue("/root/main/cond/condinfo/itemexpendflagcd","A8");
- // }
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_2" style="x1:9px; y1:56px; x2:544px; y2:56px; "/>
- <input id="ipt_appcnts" ref="/root/main/cond/condinfo/appcnts" class="input_default" maxlength="100" appearance="input" style="left:136px; top:111px; width:407px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode==13)
- {
- inputEnterKey("btn_incmexpssave", "DOMActivate"); //인풋에 Enter Key 입력시 controlID에 Dispatch 이벤트 호출
- }
-
- ]]>
- </script>
- </input>
- <line id="line4" class="line_1" style="x1:9px; y1:28px; x2:544px; y2:28px; "/>
- <caption id="caption17" style="left:267px; top:88px; width:20px; height:15px; vertical-align:middle; ">원</caption>
- <input id="ipt_incmexpsdd" ref="/root/main/cond/condinfo/incmexpsdd" class="input_default" inputtype="date" style="left:411px; top:34px; width:130px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // model.setFocus("cmb_acntflagcd");
-
- ]]>
- </script>
- </input>
- <caption id="caption9" class="cell_1" style="left:9px; top:109px; width:125px; height:23px; vertical-align:middle; ">적요</caption>
- <input id="ipt_incmamt" ref="/root/main/cond/condinfo/incmamt" class="input_default" maxlength="9" format="(-)#,###" appearance="input" style="left:136px; top:85px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode==13)
- model.setFocus("ipt_appcnts");
-
- ]]>
- </script>
- </input>
- <line id="line1" class="line_2" style="x1:5px; y1:83px; x2:540px; y2:83px; "/>
- <line id="line5" class="line_2" style="x1:9px; y1:107px; x2:544px; y2:107px; "/>
- <button id="btn_incmexpssave" class="btn5_letter2" style="left:395px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fIncmExpsSave();
-
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter2" style="left:442px; top:5px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelIncmExpsAmt();
-
- ]]>
- </script>
- </button>
- <button id="button15" class="btn5_letter3" style="left:489px; top:5px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fResetIncmExpsAmt();
-
- ]]>
- </script>
- </button>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:554px; height:140px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
- <col checkvalue="1,0" ref="chk" type="checkbox"/>
- <bool id="bool_etcflag" checkvalue="Y,N" ref="/root/main/cond/condinfo/etcflag" style="left:409px; top:86px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fIncmExpsAmtrsavechk();
- // rdo_incmexpsflagcd.value='1'; // 자동으로 수입 값이 셋팅
- /// rdo_incmexpsflagcd.disabled=true;
-
- ]]>
- </script>
- </bool>
- <caption id="caption23" class="cell_1" style="left:284px; top:33px; width:125px; height:23px; vertical-align:middle; ">일자</caption>
- <caption id="caption11" class="cell_1" style="left:284px; top:58px; width:125px; height:23px; vertical-align:middle; ">비목</caption>
- <caption id="caption16" class="cell_1" style="left:284px; top:84px; width:125px; height:23px; vertical-align:middle; ">전년도 이월금 여부</caption>
- </group>
- <button id="button99" class="btn6_letter8" style="left:1065px; top:52px; width:128px; height:22px; ">
- <caption>수입ㆍ지출내역서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPAYA02301", "XMLSTR"); //미리보기
-
- ]]>
- </script>
- </button>
- <group id="group7" style="left:575px; top:594px; width:619px; height:141px; ">
- <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:619px; height:140px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
- <output id="input31" ref="/root/main/grdlist/sumlist/sumlistinfo/incmamtlstmth" class="output_fix" format="(-)#,###" appearance="output" style="left:161px; top:58px; width:148px; height:19px; text-align:right; "/>
- <caption id="caption31" class="cell_2" style="left:5px; top:80px; width:150px; height:23px; vertical-align:middle; background-color:#ffff99; ">월 계</caption>
- <output id="output1" ref="/root/main/grdlist/sumlist/sumlistinfo/expsamtlstmth" class="output_fix" format="(-)#,###" appearance="output" style="left:311px; top:58px; width:148px; height:19px; text-align:right; "/>
- <output id="output2" ref="/root/main/grdlist/sumlist/sumlistinfo/minusamtlstmth" class="output_fix" format="(-)#,###" appearance="output" style="left:461px; top:58px; width:148px; height:19px; text-align:right; "/>
- <output id="output3" ref="/root/main/grdlist/sumlist/sumlistinfo/incmamtthismth" class="output_fix" format="(-)#,###" appearance="output" style="left:161px; top:83px; width:148px; height:19px; text-align:right; "/>
- <output id="output4" ref="/root/main/grdlist/sumlist/sumlistinfo/expsamtthismth" class="output_fix" format="(-)#,###" appearance="output" style="left:311px; top:83px; width:148px; height:19px; text-align:right; "/>
- <caption id="caption1" class="cell_2" style="left:5px; top:55px; width:150px; height:23px; vertical-align:middle; background-color:#feccfe; ">전 월</caption>
- <output id="output6" ref="/root/main/grdlist/sumlist/sumlistinfo/expsamtthisyear" class="output_fix" format="(-)#,###" appearance="output" style="left:311px; top:108px; width:148px; height:19px; text-align:right; "/>
- <output id="output7" ref="/root/main/grdlist/sumlist/sumlistinfo/minusamtthisyear" class="output_fix" format="(-)#,###" appearance="output" style="left:461px; top:108px; width:148px; height:19px; text-align:right; "/>
- <caption id="caption8" class="cell_2" style="left:5px; top:5px; width:150px; height:23px; vertical-align:middle; ">구분</caption>
- <output id="output8" ref="/root/main/grdlist/sumlist/sumlistinfo/incmamtthisyear" class="output_fix" format="(-)#,###" appearance="output" style="left:161px; top:108px; width:148px; height:19px; text-align:right; "/>
- <caption id="caption13" class="cell_2" style="left:161px; top:5px; width:148px; height:23px; vertical-align:middle; ">수입금액</caption>
- <caption id="caption18" class="cell_2" style="left:311px; top:5px; width:148px; height:23px; vertical-align:middle; ">지출금액</caption>
- <caption id="caption19" class="cell_2" style="left:461px; top:5px; width:148px; height:23px; vertical-align:middle; ">잔액</caption>
- <caption id="caption20" class="cell_1" style="left:5px; top:105px; width:150px; height:23px; text-align:center; vertical-align:middle; ">누 계</caption>
- <caption id="caption21" class="cell_1" style="left:5px; top:30px; width:150px; height:23px; text-align:center; vertical-align:middle; ">전년도 이월금</caption>
- <output id="output5" ref="/root/main/grdlist/sumlist/sumlistinfo/incmamtlstyear" class="output_fix" format="(-)#,###" appearance="output" style="left:161px; top:33px; width:148px; height:19px; text-align:right; "/>
- <output id="output9" class="output_fix" format="(-)#,###" appearance="output" style="left:311px; top:33px; width:148px; height:19px; text-align:right; "/>
- <output id="output10" class="output_fix" format="(-)#,###" appearance="output" style="left:461px; top:33px; width:148px; height:19px; text-align:right; "/>
- </group>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:755px; width:1195px; height:27px; ">
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|