123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- <?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>
- <list>
- <temp/>
- </list>
- <cardlist>
- <carddata>
- <instcd/>
- <addtaxyy/>
- <addtaxpnt/>
- <taxcrcard/>
- <taxrcpt/>
- <noncrcard/>
- <nonrcpt/>
- <svccrcard/>
- <svcrcpt/>
- <taxiss/>
- <stmntiss/>
- <chk/>
- </carddata>
- </cardlist>
- </main>
- <send>
- <instcd/>
- <addtaxyy/>
- <addtaxpnt/>
- <save>
- <carddata/>
- </save>
- <yyyy/>
- <reptkind/>
- </send>
- <target/>
- <init>
- <addtaxpnt>
- <item>
- <label>1기예정</label>
- <value>1</value>
- </item>
- <item>
- <label>1기확정</label>
- <value>2</value>
- </item>
- <item>
- <label>2기예정</label>
- <value>3</value>
- </item>
- <item>
- <label>2기확정</label>
- <value>4</value>
- </item>
- </addtaxpnt>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fCheckAuth();
- fInitialize();
- ]]>
- </script>
- <submission id="TRRAT01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cardlist"/>
- <submission id="TXRAT01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/carddata" resultref="/root/main/list/temp"/>
- <submission id="TRRAT01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //초기화
- //========================================================================================
- function fInitialize() {
- var sToday = getCurrentDate().toString();
-
-
- model.refresh();
-
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/addtaxyy", model.getValue("/root/target/yyyy"));
- model.setValue("/root/init/addtaxpnt", model.getValue("/root/target/reptkind"));
-
- model.setValue("/root/send/addtaxpnt", model.getValue("/root/target/reptkind"));
- model.refresh();
- fRetrieve();
- }
-
- //========================================================================================
- //화면 권한 체크
- //========================================================================================
- function fCheckAuth() {
- //btn_search.disabled = !checkAuth("R") ;
- //btn_aprv.disabled = !checkAuth("X") ;
- //btn_delete.disabled = !checkAuth("X") ;
- //btn_prt.disabled = !checkAuth("P") ;
- }
-
- //========================================================================================
- //각종 코드 Help Open
- //========================================================================================
- function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
- {
- misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
- model.refresh();
- }
-
- //========================================================================================
- //코드 Validation Check
- //========================================================================================
- function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName)
- {
- if(event.keyCode == 13 || event.name == "xforms-value-changed")
- {
- document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
- misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName);
- model.refresh();
-
- model.setFocus(pNextIndex);
- }
- }
- //========================================================================================
- // 조회
- //========================================================================================
- function fRetrieve()
- {
- // model.reset("/root/main/ndedlist/data1");
- // model.reset("/root/main/ndedlist/data2");
- model.reset("/root/main/cardlist/carddata");
- model.refresh();
- submit("TRRAT01301");
-
- // 등록된 데이타가 없는 경우 처리
- var rowcnt = datagrid1.rows;
-
- if ( rowcnt == 1 ) {
- misfGridIUD(datagrid1, "A");
- model.setValue("/root/main/cardlist/carddata/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/main/cardlist/carddata/addtaxyy", model.getValue("/root/target/yyyy"));
- model.setValue("/root/main/cardlist/carddata/addtaxpnt", model.getValue("/root/target/reptkind"));
- }
-
- }
- //========================================================================================
- // 저장
- //========================================================================================
- function fSave( pram )
- {
- model.reset("/root/main/list/temp");
- model.reset("/root/send/save/carddata");
-
- var tmpstatus = model.getValue("/root/main/cardlist/carddata/chk");
-
- if ( tmpstatus == "s" && pram != "d") {
- datagrid1.rowStatus(1) = 2 ;
- }
-
- model.setValue("/root/send/save/carddata", datagrid1.getUpdateData());
-
- model.refresh();
- misfSave("TXRAT01302");
-
- fRetrieve();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="620" pageheight="430" guideline="1,1213;1,211;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:605px; height:385px; ">
- <group id="group4" style="left:10px; top:50px; width:585px; height:85px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:575px; height:75px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line10" class="line_4" style="x1:500px; y1:5px; x2:500px; y2:78px; "/>
- <caption id="caption3" class="search_name" style="left:10px; top:20px; width:101px; height:20px; ">년 도 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:515px; top:20px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:10px; top:50px; width:106px; height:17px; ">신고 유형 :</caption>
- <input id="ipt_yyyy" ref="/root/send/addtaxyy" class="input_s_essential" navindex="5" maxlength="4" style="left:120px; top:20px; width:135px; height:19px; text-align:center; "/>
- <select1 id="rdo_reptkind" ref="/root/send/addtaxpnt" class="radio_search" navindex="6" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:120px; top:50px; width:370px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/addtaxpnt/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_4" scroll="auto" style="left:0px; top:10px; width:595px; height:35px; ">
- <line id="line3" class="line_6" style="x1:0px; y1:30px; x2:575px; y2:30px; "/>
- <button id="btn_print" class="btn6_letter2" navindex="1" style="left:10px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/yyyy", model.getValue("/root/send/addtaxyy"));
- model.setValue("/root/send/reptkind", model.getValue("/root/send/addtaxpnt"));
-
- submit("TRRAT01303");
- exeReportPreview("RPRAT01301", "XMLSTR");
-
- ]]>
- </script>
- </button>
- <button id="button39" class="btn4_letter2" navindex="2" style="left:405px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //fInsAactcdprtlist();
- fSave("s");
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" navindex="3" style="left:465px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(datagrid1, "D");
- model.refresh();
- fSave("d");
-
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" navindex="4" style="left:525px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <line id="line2" class="line_6" style="x1:10px; y1:375px; x2:585px; y2:375px; "/>
- <input id="input7" ref="/root/main/cardlist/carddata/nonrcpt" class="input_default" disabled="false" navindex="11" editable="true" format="#,###" style="left:295px; top:235px; width:151px; height:19px; text-align:right; "/>
- <input id="input8" ref="/root/main/cardlist/carddata/noncrcard" class="input_default" disabled="false" navindex="10" editable="true" format="#,###" style="left:135px; top:235px; width:151px; height:19px; text-align:right; "/>
- <input id="input9" ref="/root/main/cardlist/carddata/svcrcpt" class="input_default" disabled="false" navindex="13" editable="true" format="#,###" style="left:295px; top:260px; width:151px; height:19px; text-align:right; "/>
- <caption id="caption20" class="cell_1" style="left:295px; top:345px; width:119px; height:19px; text-align:center; vertical-align:middle; ">계산서 교부금액</caption>
- <input id="input10" ref="/root/main/cardlist/carddata/svccrcard" class="input_default" disabled="false" navindex="12" editable="true" format="#,###" style="left:135px; top:260px; width:151px; height:19px; text-align:right; "/>
- <input id="input12" ref="/root/main/cardlist/carddata/taxiss" class="input_default" disabled="false" navindex="14" editable="true" format="#,###" style="left:135px; top:345px; width:151px; height:19px; text-align:right; "/>
- <caption id="caption11" class="cell_1" style="left:10px; top:210px; width:119px; height:19px; text-align:center; vertical-align:middle; ">과세 매출분</caption>
- <input id="input13" ref="/root/main/cardlist/carddata/stmntiss" class="input_default" disabled="false" navindex="15" editable="true" format="#,###" style="left:420px; top:345px; width:151px; height:19px; text-align:right; "/>
- <caption id="caption12" class="cell_1" style="left:10px; top:235px; width:119px; height:19px; text-align:center; vertical-align:middle; ">면세 매출분</caption>
- <caption id="caption13" class="cell_1" style="left:10px; top:260px; width:119px; height:19px; text-align:center; vertical-align:middle; ">봉 사 료</caption>
- <caption id="caption2" class="tit_2" style="left:15px; top:151px; width:227px; height:13px; ">신용카드매출전표 등 발행금액 현황</caption>
- <caption id="caption14" class="cell_1" style="left:10px; top:185px; width:119px; height:19px; text-align:center; vertical-align:middle; ">구 분</caption>
- <line id="line4" class="line_1" style="x1:5px; y1:170px; x2:580px; y2:169px; "/>
- <caption id="caption16" class="tit_2" style="left:15px; top:321px; width:397px; height:13px; ">신용카드매출전표 등 발행금액 중 세금계산서(계산서) 교부 내역</caption>
- <caption id="caption7" class="cell_1" style="left:135px; top:185px; width:151px; height:19px; text-align:center; vertical-align:middle; ">신용 직불 기명식 선불카드</caption>
- <line id="line5" class="line_1" style="x1:10px; y1:340px; x2:585px; y2:339px; "/>
- <caption id="caption8" class="cell_1" style="left:295px; top:185px; width:151px; height:19px; text-align:center; vertical-align:middle; ">현금 영수증</caption>
- <caption id="caption18" class="cell_1" style="left:10px; top:345px; width:119px; height:19px; text-align:center; vertical-align:middle; ">세금계산서 교부금액</caption>
- <input id="input4" ref="/root/main/cardlist/carddata/taxrcpt" class="input_default" disabled="false" navindex="9" editable="true" format="#,###" style="left:295px; top:210px; width:151px; height:19px; text-align:right; "/>
- <input id="input5" ref="/root/main/cardlist/carddata/taxcrcard" class="input_default" disabled="false" navindex="8" editable="true" format="#,###" style="left:135px; top:210px; width:151px; height:19px; text-align:right; "/>
- </group>
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:255px; height:14px; vertical-align:middle; ">신용카드매출전표등발행금액집계표관리</caption>
- <datagrid id="datagrid1" nodeset="/root/main/cardlist/carddata" visibility="hidden" caption="1^2^3^4^5^6^7^8^9^10^11" colsep="^" colwidth="20,20,20,20,20,20,20,20,20,20,20" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:420px; top:280px; width:175px; height:40px; ">
- <col ref="instcd"/>
- <col ref="addtaxyy"/>
- <col ref="addtaxpnt"/>
- <col ref="taxcrcard"/>
- <col ref="taxrcpt"/>
- <col ref="noncrcard"/>
- <col ref="nonrcpt"/>
- <col ref="svccrcard"/>
- <col ref="svcrcpt"/>
- <col ref="taxiss"/>
- <col ref="stmntiss"/>
- <col ref="chk"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|