123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711 |
- <?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>
- <slipinfolist/>
- <textlist/>
- </list>
- </main>
- <send>
- <condition>
- <instcd/>
- <costcntrdeptcd/>
- <costcntrdeptnm/>
- <slipdeptcd/>
- <slipdeptnm/>
- <emplno/>
- <emplnm/>
- <fracntcd/>
- <fracntnm/>
- <toacntcd/>
- <toacntnm/>
- <acntflag/>
- <slipflag>%</slipflag>
- <ddkind>od</ddkind>
- <frdd/>
- <todd/>
- <framt/>
- <toamt/>
- <slipkind>%</slipkind>
- <autoslipflag>%</autoslipflag>
- <acntclsflag>0</acntclsflag>
- </condition>
- </send>
- <init>
- <R0008list>
- <R0008>
- <cdnm/>
- <cdid/>
- </R0008>
- </R0008list>
- </init>
- <temp/>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fCheckAuth();//화면 권한체크
- fOpenForm();
-
-
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth()
- {
- btn_search.disabled = !checkAuth("R") ;
- }
-
- //========================================================================================
- //화면 로드시 초기화 함수
- //========================================================================================
- function fOpenForm()
- {
- misfComboComCdList("Z0007", cmb_instcd, "Y");
- zbcfGetCodeList(new Array("R0008"), new Array("/root/init/R0008list"));
-
- var sToday = getCurrentDate().toString();
-
- model.setValue("/root/send/condition/frdd", sToday);
- model.setValue("/root/send/condition/todd", sToday);
-
- model.setValue("/root/send/condition/instcd", getUserInfo("dutplceinstcd"));
-
- model.removenode("/root/main/list/slipinfolist");
- 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);
- }
- }
-
- //========================================================================================
- //각종 코드 Help Open
- //========================================================================================
- function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
- {
- misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRRAI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRRAI00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
- <submission id="TRRAI00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
- <submission id="TRRAI00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" 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:293px; 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:40; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195; height:107px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195; height:107px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line5" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:100px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1123px; top:43px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/list/slipinfolist");
- model.refresh();
- submit("TRRAI00101");
- ]]>
- </script>
- </button>
- <input id="ipt_costcntrdeptnm" ref="/root/send/condition/costcntrdeptnm" class="input_essential" navindex="7" style="left:209px; top:32px; width:181px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("02", "costcntrdeptcd,costcntrdeptnm", "", "btn_search");
- ]]>
- </script>
- </input>
- <input id="ipt_costcntrdeptcd" ref="/root/send/condition/costcntrdeptcd" class="input_essential" navindex="6" style="left:105px; top:32px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("02", "costcntrdeptcd,costcntrdeptnm", "", "btn_search");
- ]]>
- </script>
- </input>
- <caption id="caption37" class="search_name" style="left:16px; top:33px; width:91px; height:17px; ">귀속부서 :</caption>
- <button id="btn_costcntrdeptcd" class="icon_search" style="left:189px; top:33px; width:16px; height:21px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupHelp("02", ipt_slipdeptcd, "costcntrdeptcd,costcntrdeptnm", "");
- model.setFocus("rdo_profflag");
- ]]>
- </script>
- </button>
- <input id="ipt_slipdeptnm" ref="/root/send/condition/slipdeptnm" class="input_essential" navindex="7" style="left:209px; top:55px; width:181px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("02", "slipdeptcd,slipdeptnm", "", "btn_search");
- ]]>
- </script>
- </input>
- <input id="ipt_slipdeptcd" ref="/root/send/condition/slipdeptcd" class="input_essential" navindex="6" style="left:105px; top:55px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("02", "slipdeptcd,slipdeptnm", "", "btn_search");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:16px; top:56px; width:91px; height:17px; ">발의부서 :</caption>
- <button id="btn_slipdeptcd" class="icon_search" style="left:189px; top:56px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupHelp("02", ipt_slipdeptcd, "slipdeptcd,slipdeptnm", "");
- model.setFocus("rdo_profflag");
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/condition/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:105px; top:9px; width:285px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/condition/fracntcd", "");
- model.setValue("/root/send/condition/fracntnm", "");
- model.setValue("/root/send/condition/toacntcd", "");
- model.setValue("/root/send/condition/toacntnm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:16px; top:10px; width:90px; height:17px; ">기관코드 :</caption>
- <button id="btn_toacnthelp2" class="icon_search" style="left:576px; top:33px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("05", ipt_fracntcd, "", "toacntcd,toacntnm", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_toacntnm" ref="/root/send/condition/toacntnm" class="input_s_essential" navindex="7" style="left:594px; top:33px; width:176px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
- ]]>
- </script>
- </input>
- <input id="ipt_fracntnm" ref="/root/send/condition/fracntnm" class="input_s_essential" navindex="5" style="left:594px; top:10px; width:176px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
- ]]>
- </script>
- </input>
- <input id="ipt_toacntcd" ref="/root/send/condition/toacntcd" class="input_s_essential" navindex="6" style="left:497px; top:33px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
- ]]>
- </script>
- </input>
- <button id="btn_fracnthelp2" class="icon_search" style="left:576px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("05", ipt_fracntcd, "", "fracntcd,fracntnm", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_fracntcd" ref="/root/send/condition/fracntcd" class="input_s_essential" navindex="4" style="left:497px; top:10px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
- ]]>
- </script>
- </input>
- <caption id="caption28" class="search_name" style="left:405px; top:10px; width:90px; height:17px; ">계정과목 :</caption>
- <select1 id="cmb_ddkind" ref="/root/send/condition/ddkind" disabled="true" appearance="minimal" style="left:800px; top:10px; width:75px; height:19px; font-family:굴림체; font-size:8pt; font-weight:bold; ">
- <choices>
- <item>
- <label>발의일자</label>
- <value>wd</value>
- </item>
- <item>
- <label>출금일자</label>
- <value>od</value>
- </item>
- </choices>
- </select1>
- <caption id="caption38" style="left:980px; top:10px; width:15px; height:20px; ">~</caption>
- <input id="input3" ref="/root/send/condition/todd" class="input_s_essential" inputtype="date" style="left:995px; top:10px; width:100px; height:19px; "/>
- <input id="input6" ref="/root/send/condition/frdd" class="input_s_essential" inputtype="date" style="left:875px; top:10px; width:100px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:786px; top:32px; width:91px; height:17px; ">전표금액 :</caption>
- <caption id="caption3" style="left:980px; top:30px; width:15px; height:20px; ">~</caption>
- <input id="input4" ref="/root/send/condition/framt" class="input_essential" navindex="6" format="(-)#,###" style="left:875px; top:32px; width:100px; height:19px; text-align:right; "/>
- <input id="input5" ref="/root/send/condition/toamt" class="input_essential" navindex="6" format="(-)#,###" style="left:995px; top:32px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption22" class="search_name" style="left:405px; top:78px; width:91px; height:17px; ">전표구분 :</caption>
- <select1 id="cmb_slipflag" ref="/root/send/condition/slipflag" class="combo_default" appearance="minimal" style="left:497px; top:78px; width:274px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0008list/R0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_slipkind" ref="/root/send/condition/slipkind" class="radio_search" overflow="visible" appearance="full" cellspacing="0" cols="5" style="left:876px; top:55px; width:259px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>%</value>
- </item>
- <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>4</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:786px; top:55px; width:91px; height:17px; ">전표유형 :</caption>
- <select1 id="radio1" ref="/root/send/condition/autoslipflag" class="radio_search" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:876px; top:78px; width:211px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>%</value>
- </item>
- <item>
- <label>일반전표</label>
- <value>N</value>
- </item>
- <item>
- <label>자동분개</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:786px; top:78px; width:91px; height:17px; ">전표종류 :</caption>
- <input id="ipt_name" ref="/root/send/condition/emplnm" class="input_default" navindex="2" style="left:209px; top:78px; width:181px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:189px; top:79px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/condition/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:105px; top:78px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption9" class="search_name" style="left:16px; top:78px; width:91px; height:17px; ">발 의 자 :</caption>
- <caption id="caption10" class="search_name" style="left:405px; top:56px; width:86px; height:17px; ">계정구분 :</caption>
- <select1 id="cmb_acntflag" ref="/root/send/condition/acntflag" class="combo_s_essential" navindex="1" appearance="minimal" style="left:497px; top:55px; width:274px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <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>4</value>
- </item>
- <item>
- <label>비용</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_acntclsflag" ref="/root/send/condition/acntclsflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:432px; top:34px; width:63px; height:19px; text-align:center; vertical-align:middle; ">
- <choices>
- <item>
- <label>대분류</label>
- <value>4</value>
- </item>
- <item>
- <label>관</label>
- <value>3</value>
- </item>
- <item>
- <label>항</label>
- <value>2</value>
- </item>
- <item>
- <label>목</label>
- <value>1</value>
- </item>
- <item>
- <label>세목</label>
- <value>0</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/dept/fracntcd", "");
- model.setValue("/root/main/dept/fracntnm", "");
- model.setValue("/root/main/dept/toacntcd", "");
- model.setValue("/root/main/dept/toacntnm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <line id="line3" class="line_1" style="x1:0px; y1:142px; x2:1194px; y2:142px; "/>
- <caption id="caption21" class="tit_2" style="left:5px; top:126px; width:131px; height:13px; ">전표정보</caption>
- <datagrid id="grd_slipinfolist" nodeset="/root/main/list/slipinfolist" caption="기관코드^기관명^대분류코드^대분류명^관코드^관명^항코드^항명^목코드^목명^세목코드^세목명^기표부서코드^기표부서명^귀속부서코드^귀속부서명^실사용부서코드^실사용부서명^발의자사번^발의자명^미결전표일자^미결전표번호^미결전표일련번호^승인전표일자^승인번표번호^승인전표일련번호^상대처구분코드^상대처구분^상대처코드^상대처명^전표적요^전표세부적요^차변금액^대변금액^자동분개구분" colsep="^" colwidth="80, 150, 80, 120, 80, 120, 80, 120, 80, 120, 80, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" style="left:0px; top:147px; width:1194px; height:591px; ">
- <col class="text_center" ref="instcd"/>
- <col ref="instnm" style="padding-left:10; "/>
- <col ref="acntcd1" style="padding-left:10; "/>
- <col ref="acntnm1" style="padding-left:10; "/>
- <col ref="acntcd2" style="padding-left:10; "/>
- <col ref="acntnm2" style="padding-left:10; "/>
- <col ref="acntcd3" style="padding-left:10; "/>
- <col ref="acntnm3" style="padding-left:10; "/>
- <col ref="acntcd4" style="padding-left:10; "/>
- <col ref="acntnm4" style="padding-left:10; "/>
- <col ref="acntcd5" style="padding-left:10; "/>
- <col ref="acntnm5" style="padding-left:10; "/>
- <col class="text_center" ref="slipdeptcd"/>
- <col ref="slipdeptnm" style="padding-left:10; "/>
- <col class="text_center" ref="costcntrdeptcd"/>
- <col ref="costcntrdeptnm" style="padding-left:10; "/>
- <col ref="costbelongdeptcd" style="padding-left:10; "/>
- <col ref="costbelongdeptnm" style="padding-left:10; "/>
- <col class="text_center" ref="emplno"/>
- <col class="text_center" ref="emplnm"/>
- <col class="text_center" ref="unsldd"/>
- <col class="text_center" ref="unslno"/>
- <col class="text_center" ref="unslseqno"/>
- <col class="text_center" ref="sanctslipdd"/>
- <col class="text_center" ref="sanctslipno"/>
- <col class="text_center" ref="sanctslipseqno"/>
- <col class="text_center" ref="custflag"/>
- <col ref="custflagnm" style="padding-left:10; "/>
- <col ref="custcd" style="padding-left:10; "/>
- <col ref="custnm" style="padding-left:10; "/>
- <col ref="slipcmt" style="padding-left:10; "/>
- <col ref="etcnotefact" style="padding-left:10; "/>
- <col class="text_right" ref="dramt" format="(-)#,###"/>
- <col class="text_right" ref="cramt" format="(-)#,###"/>
- <col class="text_center" ref="autjournflag"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_notelist.gridToInstance();
- ]]>
- <col class="text_center" ref="autjournflag"/>
- </script>
- </datagrid>
- <datagrid id="grd_text" nodeset="/root/main/list/textlist" visibility="hidden" caption="Data" colsep="^" colwidth="500" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" style="left:15px; top:205px; width:525px; height:338px; ">
- <col ref="data"/>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_prt" class="btn6_letter5" style="left:2px; top:3px; width:56px; height:22px; ">
- <caption>excel 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
- var param = "&instcd=" + model.getValue("/root/send/condition/instcd");
- param += "&costcntrdeptcd=" + model.getValue("/root/send/condition/costcntrdeptcd");
- param += "&slipdeptcd=" + model.getValue("/root/send/condition/slipdeptcd");
- param += "&emplno=" + model.getValue("/root/send/condition/emplno");
- param += "&fracntcd=" + model.getValue("/root/send/condition/fracntcd");
- param += "&toacntcd=" + model.getValue("/root/send/condition/toacntcd");
- param += "&acntflag=" + model.getValue("/root/send/condition/acntflag");
- param += "&slipflag=" + model.getValue("/root/send/condition/slipflag");
- param += "&ddkind=" + model.getValue("/root/send/condition/ddkind");
- param += "&frdd=" + model.getValue("/root/send/condition/frdd");
- param += "&todd=" + model.getValue("/root/send/condition/todd");
- param += "&framt=" + model.getValue("/root/send/condition/framt");
- param += "&toamt=" + model.getValue("/root/send/condition/toamt");
- param += "&slipkind=" + model.getValue("/root/send/condition/slipkind");
- param += "&autoslipflag=" + model.getValue("/root/send/condition/autoslipflag");
- param += "&acntclsflag=" + model.getValue("/root/send/condition/acntclsflag");
-
- model.download(getActionURL("TRRAI00102") + param, fileName, true);
-
- window.exec(fileName);
- }
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn6_letter5" visibility="hidden" style="left:200px; top:3px; width:92px; height:22px; ">
- <caption>Text 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 데이터를 트러스트폼까지 불러온다.
-
- var fileName = window.fileDialog ("save", ",", false, "text", "txt", "All Files (*.*)|*.*|Text Files(*.txt)|*.txt");
- if (fileName != "")
- {
- submit("TRRAI00103");
- }
-
- grd_text.saveText(fileName);
-
- model.removeNodeset("/root/main/list/textlist");
- grd_text.refresh();
-
- /*
- if (fileName != "")
- {
- //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
- var param = "&instcd=" + model.getValue("/root/send/condition/instcd");
- param += "&costcntrdeptcd=" + model.getValue("/root/send/condition/costcntrdeptcd");
- param += "&slipdeptcd=" + model.getValue("/root/send/condition/slipdeptcd");
- param += "&emplno=" + model.getValue("/root/send/condition/emplno");
- param += "&fracntcd=" + model.getValue("/root/send/condition/fracntcd");
- param += "&toacntcd=" + model.getValue("/root/send/condition/toacntcd");
- param += "&acntflag=" + model.getValue("/root/send/condition/acntflag");
- param += "&slipflag=" + model.getValue("/root/send/condition/slipflag");
- param += "&ddkind=" + model.getValue("/root/send/condition/ddkind");
- param += "&frdd=" + model.getValue("/root/send/condition/frdd");
- param += "&todd=" + model.getValue("/root/send/condition/todd");
- param += "&framt=" + model.getValue("/root/send/condition/framt");
- param += "&toamt=" + model.getValue("/root/send/condition/toamt");
- param += "&slipkind=" + model.getValue("/root/send/condition/slipkind");
- param += "&autoslipflag=" + model.getValue("/root/send/condition/autoslipflag");
- param += "&acntclsflag=" + model.getValue("/root/send/condition/acntclsflag");
-
- model.download(getActionURL("TRRAI00103") + param, fileName, true);
-
- window.exec(fileName);
- }
- */
- ]]>
- </script>
- </button>
- <button id="button2" class="btn6_letter5" visibility="visible" style="left:100px; top:3px; width:92px; height:22px; ">
- <caption>Text 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fileName = window.fileDialog ("save", "", false, "text.txt", "", "All Files (*.*)|*.*|Text Files(*.txt)|*.txt");
- // if (fileName != "")
- // {
- // submit("TRRAI00104");
- // }
- //
- // grd_text.saveText(fileName);
- //
- // model.removeNodeset("/root/main/list/textlist");
- // grd_text.refresh();
-
- if (fileName != "")
- {
- //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
- var param = "&instcd=" + model.getValue("/root/send/condition/instcd");
- param += "&costcntrdeptcd=" + model.getValue("/root/send/condition/costcntrdeptcd");
- param += "&slipdeptcd=" + model.getValue("/root/send/condition/slipdeptcd");
- param += "&emplno=" + model.getValue("/root/send/condition/emplno");
- param += "&fracntcd=" + model.getValue("/root/send/condition/fracntcd");
- param += "&toacntcd=" + model.getValue("/root/send/condition/toacntcd");
- param += "&acntflag=" + model.getValue("/root/send/condition/acntflag");
- param += "&slipflag=" + model.getValue("/root/send/condition/slipflag");
- param += "&ddkind=" + model.getValue("/root/send/condition/ddkind");
- param += "&frdd=" + model.getValue("/root/send/condition/frdd");
- param += "&todd=" + model.getValue("/root/send/condition/todd");
- param += "&framt=" + model.getValue("/root/send/condition/framt");
- param += "&toamt=" + model.getValue("/root/send/condition/toamt");
- param += "&slipkind=" + model.getValue("/root/send/condition/slipkind");
- param += "&autoslipflag=" + model.getValue("/root/send/condition/autoslipflag");
- param += "&acntclsflag=" + model.getValue("/root/send/condition/acntclsflag");
-
- model.download(getActionURL("TRRAI00104") + param, fileName, true);
-
- window.exec(fileName);
- }
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|