123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- <?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>
- <unsllist>
- <instcd/>
- <selchk/>
- <slipdt/>
- <slipno/>
- <unslwrit/>
- <usernm/>
- <unsldt/>
- <unslno/>
- <slipflag/>
- <slipkind/>
- <slipdeptcd/>
- <slipdeptnm/>
- <etcnotefact/>
- </unsllist>
- <apsllist>
- <instcd/>
- <slipdt/>
- <slipno/>
- <unslwrit/>
- <usernm/>
- <unsldt/>
- <unslno/>
- <slipflag/>
- <slipkind/>
- <slipdeptcd/>
- <slipdeptnm/>
- <etcnotefact/>
- </apsllist>
- <unsllistinfo>
- <slipseqno/>
- <acntcd/>
- <acntnm/>
- <custnm/>
- <etcnotefact/>
- <dramt/>
- <cramt/>
- <amt/>
- <drcrflag/>
- <suppitemcd/>
- <custflag/>
- <custcd/>
- <notefactspec1/>
- <notefactspec2/>
- <notefactspec3/>
- <notefactspec4/>
- <notefactspec5/>
- <notefactspec6/>
- <slipdt/>
- <slipno/>
- <instcd/>
- <slipdd/>
- <profflag/>
- <custbalyn/>
- <defrayreqdd/>
- </unsllistinfo>
- <apsllistinfo>
- <slipseqno/>
- <acntcd/>
- <acntnm/>
- <custnm/>
- <etcnotefact/>
- <dramt/>
- <cramt/>
- <amt/>
- <drcrflag/>
- <suppitemcd/>
- <custflag/>
- <custcd/>
- <notefactspec1/>
- <notefactspec2/>
- <notefactspec3/>
- <notefactspec4/>
- <notefactspec5/>
- <notefactspec6/>
- <slipdt/>
- <slipno/>
- <instcd/>
- <profflag/>
- <custbalyn/>
- <defrayreqdd/>
- </apsllistinfo>
- </main>
- <send>
- <data1>
- <instcd/>
- <ddkind/>
- <slipfr/>
- <slipto/>
- <slipkind/>
- <slipdeptcd/>
- <slipgubn/>
- <framt/>
- <toamt/>
- </data1>
- <data2>
- <instcd/>
- <slipdt/>
- <slipno/>
- </data2>
- <data3>
- <instcd/>
- <unsldd/>
- <unslno/>
- <sanctyn/>
- <refreshyn/>
- </data3>
- <unsllistinfo/>
- <apsllistinfo/>
- </send>
- <hidden>
- <condition>
- <ddkind>wd</ddkind>
- <slipfr/>
- <slipto/>
- <slipgubn>U</slipgubn>
- <slipkind>%</slipkind>
- <slipdeptcd/>
- <slipdeptnm/>
- <slipdt/>
- <instcd/>
- <framt/>
- <toamt/>
- </condition>
- <unsl>
- <drsum/>
- <crsum/>
- </unsl>
- <apsl>
- <drsum/>
- <crsum/>
- </apsl>
- </hidden>
- <temp/>
- </root>
- </instance>
- <submission id="TRRAD00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/unsllist"/>
- <submission id="TRRAD00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/apsllist"/>
- <submission id="TRRAD00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/unsllistinfo"/>
- <submission id="TRRAD00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/apsllistinfo"/>
- <submission id="TXRAD00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/unsllistinfo" resultref="/root/temp"/>
- <submission id="TXRAD00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/apsllistinfo" resultref="/root/temp"/>
- <submission id="TXRAD00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/temp"/>
- <bind id="bind_cpt_apdrsum" ref="/root/hidden/apsl/drsum" calculate="sum(/root/main/apsllistinfo/dramt)"/>
- <bind id="bind_cpt_apcrsum" ref="/root/hidden/apsl/crsum" calculate="sum(/root/main/apsllistinfo/cramt)"/>
- <bind id="bind_cpt_undrsum" ref="/root/hidden/unsl/drsum" calculate="sum(/root/main/unsllistinfo/dramt)"/>
- <bind id="bind_cpt_uncrsum" ref="/root/hidden/unsl/crsum" calculate="sum(/root/main/unsllistinfo/cramt)"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fCheckAuth();
- fInitialize();
- ]]>
- </script>
- </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.removenode("/root/main/unsllist");
- model.removenode("/root/main/unsllistinfo");
- model.removenode("/root/main/apsllist");
- model.removenode("/root/main/apsllistinfo");
- model.refresh();
-
- model.setValue("/root/hidden/condition/slipfr", sToday);
- model.setValue("/root/hidden/condition/slipto", sToday);
- model.setValue("/root/hidden/condition/slipdt", sToday);
- model.setValue("/root/hidden/condition/instcd", getUserInfo("dutplceinstcd"));
- model.refresh();
- }
-
- //========================================================================================
- //화면 권한 체크
- //========================================================================================
- 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);
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1193;" 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:264px; height:14px; ">신용카드매출전표 등 발행금액 집계표관리</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:10px; y1:147px; x2:580px; y2:146px; "/>
- <group id="group4" style="left:0px; top:45px; width:1193px; height:70px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:-2px; width:1192px; height:67px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_todate" ref="/root/send/todate" class="input_s_essential" editable="false" inputtype="date" style="left:952px; top:9px; width:95px; height:19px; "/>
- <input id="ipt_frdate" ref="/root/send/frdate" class="input_s_essential" editable="false" inputtype="date" style="left:840px; top:9px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <line id="line10" class="line_4" style="x1:1105px; y1:5px; x2:1105px; y2:68px; "/>
- <caption id="caption1" class="search_name" style="left:750px; top:10px; width:86px; height:17px; ">작성일자 :</caption>
- <caption id="caption2" class="search_name" style="left:661px; top:36px; width:99px; height:17px; ">사업자번호 :</caption>
- <caption id="caption3" class="search_name" style="left:10px; top:9px; width:101px; height:17px; ">년 도 :</caption>
- <input id="ipt_regnm" ref="/root/send/custnm" navindex="6" imemode="hangul" style="left:889px; top:36px; width:160px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfCustValidCheck("entrregno,custnm", "name");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfCustValidCheck("entrregno,custnm", "name");
- ]]>
- </script>
- </input>
- <button id="btn_entregnohelp" class="icon_search" style="left:869px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("14", ipt_regno, "", "entrregno,custnm");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_regno" ref="/root/send/entrregno" navindex="5" format="999-99-99999" style="left:765px; top:36px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfCustValidCheck("entrregno,custnm", "code");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfCustValidCheck("entrregno,custnm", "code");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1125px; top:21px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- //alert(model.getValue("/root/send/entrregno"));
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:295px; top:9px; width:106px; height:17px; ">신고 유형 :</caption>
- <input id="ipt_yyyy" ref="/root/send/retrparam/yyyy" class="input_s_essential" navindex="1" maxlength="4" style="left:115px; top:9px; width:135px; height:19px; text-align:center; "/>
- <select1 id="rdo_reptkind" ref="/root/send/retrparam/reptkind" class="radio_search" navindex="2" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:400px; top:10px; width:320px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/init_reptkind/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fSetDate();
-
- fRetrieve();
-
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption35" class="tit_2" style="left:15px; top:131px; width:227px; height:13px; ">신용카드매출전표 등 발행금액 현황</caption>
- <group id="grp_4" scroll="auto" style="left:0px; top:18px; width:1195px; height:27px; ">
- <line id="line3" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/retrparam/reptkind",rdo_reptkind.label);
- model.setValue("/root/send/retrparam/frdate",model.getValue("/root/send/frdate").substr(0,4) + "-" + model.getValue("/root/send/frdate").substr(4,2) + "-" + model.getValue("/root/send/frdate").substr(6,2));
- model.setValue("/root/send/retrparam/todate",model.getValue("/root/send/todate").substr(0,4) + "-" + model.getValue("/root/send/todate").substr(4,2) + "-" + model.getValue("/root/send/todate").substr(6,2));
-
- if(swt_1.selectedIndex == 0)//세금계산서
- {
- alert(instance1.selectNodes("/root/main/list/addtexlist").length);
-
- if(grd_addtexlist.rows == grd_addtexlist.fixedRows)
- {
- messageBox("출력할 내용이" ,"I004");
- return;
- }
-
- if(rdo_billflag.value == '1')//매출처별
- {
- model.setValue("/root/send/retrparam/title", " 매출처별 세금계산서 명세서 ");
- }
- else//매입처별
- {
- model.setValue("/root/send/retrparam/title", " 매입처별 세금계산서 명세서 ");
- }
- exeReportPreview("RPRAT01101", "XMLSTR", "/root/send/retrparam");
- }
- else//계산서
- {
- if(grd_texlist.rows == grd_texlist.fixedRows)
- {
- messageBox("출력할 내용이" ,"I004");
- return;
- }
-
- if(rdo_billflag.value == '1')//매출처별
- {
- model.setValue("/root/send/retrparam/title", " 매출처별 계산서 명세서 ");
- }
- else//매입처별
- {
- model.setValue("/root/send/retrparam/title", " 매입처별 계산서 명세서 ");
- }
-
- exeReportPreview("RPRAT01102", "XMLSTR", "/root/send/retrparam");
- }
- ]]>
- </script>
- </button>
- <button id="button39" class="btn4_letter2" style="left:1137px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fInsAactcdprtlist();
-
- ]]>
- </script>
- </button>
- </group>
- <button id="button2" class="btn2_letter3" style="left:1040px; top:124px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfGridIUD(grd_acntcdprntlist, "A");
-
- grd_acntcdprntlist.valueMatrix(grd_acntcdprntlist.rows-1, grd_acntcdprntlist.colRef("prntkind")) = cmb_prntkind.value;
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter3" style="left:1094px; top:124px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_acntcdprntlist, "D");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_posspsnnm" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:120px; top:185px; width:151px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:120px; top:160px; width:151px; height:19px; text-align:center; vertical-align:middle; ">합 계</caption>
- <caption id="caption5" class="cell_1" style="left:5px; top:185px; width:110px; height:19px; text-align:center; vertical-align:middle; ">합 계</caption>
- <caption id="caption7" class="cell_1" style="left:275px; top:160px; width:151px; height:19px; text-align:center; vertical-align:middle; ">신용 직불 기명식 선불카드</caption>
- <caption id="caption8" class="cell_1" style="left:430px; top:160px; width:151px; height:19px; text-align:center; vertical-align:middle; ">현금 영수증</caption>
- <input id="input1" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:185px; width:151px; height:19px; "/>
- <input id="input2" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:275px; top:185px; width:151px; height:19px; "/>
- <input id="input3" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:120px; top:210px; width:151px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:5px; top:210px; width:110px; height:19px; text-align:center; vertical-align:middle; ">과세 매출분</caption>
- <input id="input4" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:210px; width:151px; height:19px; "/>
- <input id="input5" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:275px; top:210px; width:151px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:5px; top:235px; width:110px; height:19px; text-align:center; vertical-align:middle; ">면세 매출분</caption>
- <input id="input6" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:120px; top:235px; width:151px; height:19px; "/>
- <input id="input7" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:235px; width:151px; height:19px; "/>
- <input id="input8" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:275px; top:235px; width:151px; height:19px; "/>
- <input id="input9" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:260px; width:151px; height:19px; "/>
- <input id="input10" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:275px; top:260px; width:151px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:5px; top:260px; width:110px; height:19px; text-align:center; vertical-align:middle; ">봉 사 료</caption>
- <input id="input11" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:120px; top:260px; width:151px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:5px; top:160px; width:110px; height:19px; text-align:center; vertical-align:middle; ">구 분</caption>
- <input id="input12" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:125px; top:320px; width:151px; height:19px; "/>
- <caption id="caption16" class="tit_2" style="left:15px; top:296px; width:397px; height:14px; ">신용카드매출전표 등 발행금액 중 세금계산서(계산서) 교부 내역</caption>
- <caption id="caption18" class="cell_1" style="left:10px; top:320px; width:119px; height:19px; text-align:center; vertical-align:middle; ">세금계산서 교부금액</caption>
- <line id="line4" class="line_1" style="x1:10px; y1:312px; x2:580px; y2:311px; "/>
- <input id="input13" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:320px; width:151px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:310px; top:320px; width:119px; height:19px; text-align:center; vertical-align:middle; ">계산서 교부금액</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:765px; width:1195px; height:32px; ">
- <line id="line2" class="line_6" style="x1:0px; y1:10px; x2:1194px; y2:10px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|