123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281 |
- <?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>
- <deptpr>
- <prlist/>
- </deptpr>
- <balamtpr>
- <prlist/>
- </balamtpr>
- <projectpr>
- <prlist/>
- </projectpr>
- <dept>
- <instcd/>
- <deptcd/>
- <depthngnm/>
- <project/>
- <fracntcd/>
- <fracntnm/>
- <toacntcd/>
- <toacntnm/>
- <frdate/>
- <todate/>
- <acntclsflag>1</acntclsflag>
- <framt/>
- <toamt/>
- <projectid/>
- <projectnm/>
- </dept>
- <balamt>
- <instcd/>
- <deptcd/>
- <project/>
- <fracntcd/>
- <fracntnm/>
- <toacntcd/>
- <toacntnm/>
- <frdate/>
- <todate/>
- <acntclsflag>4</acntclsflag>
- <projectid/>
- <projectnm/>
- </balamt>
- <project>
- <instcd/>
- <deptcd/>
- <project/>
- <fracntcd/>
- <fracntnm/>
- <toacntcd/>
- <toacntnm/>
- <frdate/>
- <todate/>
- <acntclsflag/>
- </project>
- </main>
- <send>
- <params>
- <instcd/>
- <deptcd/>
- <project/>
- <fracntcd/>
- <toacntcd/>
- <frdate/>
- <todate/>
- <flag/>
- <prntflag/>
- <acntclsflag/>
- <framt/>
- <toamt/>
- <projectid/>
- </params>
- <retrprarms2>
- <instcd/>
- <mngtcd>acntdept</mngtcd>
- </retrprarms2>
- <retrparams>
- <instnm/>
- <selectedIndex/>
- <frdate/>
- <todate/>
- <fracntcd/>
- <toacntcd/>
- <fracntnm/>
- <toacntnm/>
- </retrparams>
- <prntlist>
- <gridlist/>
- </prntlist>
- <prenextacntcd>
- <instcd/>
- <acntcd/>
- <acntclsflag/>
- <workflag/>
- </prenextacntcd>
- </send>
- <init>
- <code>
- <codelist/>
- </code>
- </init>
- <temp/>
- <hidden>
- <acntinfo>
- <acntcd/>
- <acntnm/>
- </acntinfo>
- </hidden>
- </root>
- </instance>
- <submission id="TRRAD00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/params" resultref="/root/main/deptpr"/>
- <submission id="TRRAD00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/params" resultref="/root/main/balamtpr"/>
- <submission id="TRRAD00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/params" resultref="/root/main/projectpr"/>
- <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrprarms2" resultref="/root/init/code"/>
- <submission id="TRRAD00704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prenextacntcd" resultref="/root/hidden"/>
- </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" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // fCheckAuth();//권한체크
- fInit();
- fSetDate();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- function fInit()
- {
- model.removenode(grd_deptpr.nodeset);
- model.removenode(grd_balamtpr.nodeset);
- model.removenode(grd_projectpr.nodeset);
- misfComboComCdList("Z0007", cmb_deptprinstcd, "N");
- misfComboComCdList("Z0007", cmb_balamtprinstcd, "N");
-
-
- model.setValue("/root/send/params/flag", "dept");
- model.setValue("/root/main/dept/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/main/balamt/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/prenextacntcd/instcd", getUserInfo("dutplceinstcd"));
-
- model.setValue("/root/send/retrprarms2/instcd", getUserInfo("dutplceinstcd"));
- submit("TRRAZ00001");
-
-
- radfCheckInstSearchAuth(getUserInfo("dutplceinstcd"), cmb_deptprinstcd);
- radfCheckInstSearchAuth(getUserInfo("dutplceinstcd"), cmb_balamtprinstcd);
- radfCheckInstSearchAuth(getUserInfo("dutplceinstcd"), cmb_deptprinstcd);
-
- //if(model.getValue("/root/init/code/codelist/cdid") != getUserInfo("dutplcecd") && getUserInfo("userid") != "10705673")
- if(model.getValue("/root/init/code/codelist/cdid") != getUserInfo("dutplcecd") && getUserInfo("dutplcecd") != "4020334000")
- {
- if(getUserInfo("dutplceinstcd") != '103')
- {
- ipt_deptcd.disabled = true;
- btn_depthelp.disabled = true;
- ipt_depthngnm.disabled = true;
- }
- model.setValue("/root/main/dept/deptcd", getUserInfo("dutplcecd"));
- model.setValue("/root/main/dept/depthngnm", getUserInfo("dutplcenm"));
-
- model.refresh();
-
- btn_balamtpr.visible = false;
- btn_pjtpr.visible = false;
- }
-
- btn_deptpr.selected = true;
-
- model.refresh();
- }
- function fSetDate()
- {
- var dt = new Date();
-
- ipt_frdate.value = getCurrentDate();
- ipt_todate.value = getCurrentDate();
- ipt_frdate2.value = getCurrentDate();
- ipt_todate2.value = getCurrentDate();
- ipt_frdate3.value = getCurrentDate();
- ipt_todate3.value = getCurrentDate();
- }
-
- function fRetrieve()
- {
- // if(model.getValue("/root/send/params/flag") == "dept" && model.getValue("/root/main/dept/deptcd") == "")
- // {
- // messageBox("부서를 입력하세요.", "I999");
- // return;
- // }
- if(parseFloat(ipt_fracntcd.value) > parseFloat(ipt_toacntcd.value))
- {
- ipt_toacntcd.value = ipt_fracntcd.value;
- ipt_toacntcd.refresh();
- ipt_toacntcd.dispatch("xforms-value-changed");
- }
- if(model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/fracntcd") == "" && model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toacntcd") == "")
- {
- messageBox("계정과목을 하나는 입력해야 합니다.", "I999");
- return;
- }
- if(model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/fracntcd") == "" && model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toacntcd") != "")
- {
- model.setValue("/root/main/" + model.getValue("/root/send/params/flag") + "/fracntcd", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toacntcd"));
- model.setValue("/root/main/" + model.getValue("/root/send/params/flag") + "/fracntnm", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toacntnm"));
- }
- if(model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/fracntcd") != "" && model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toacntcd") == "")
- {
- model.setValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toacntcd", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/fracntcd"));
- model.setValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toacntnm", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/fracntnm"));
- }
- model.setValue("/root/send/params/instcd", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/instcd"));
- model.setValue("/root/send/params/deptcd", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/deptcd"));
- model.setValue("/root/send/params/fracntcd", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/fracntcd"));
- model.setValue("/root/send/params/toacntcd", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toacntcd"));
- model.setValue("/root/send/params/frdate", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/frdate"));
- model.setValue("/root/send/params/todate", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/todate"));
- model.setValue("/root/send/params/framt", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/framt"));
- model.setValue("/root/send/params/toamt", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/toamt"));
- model.setValue("/root/send/params/projectid", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/projectid"));
- model.setValue("/root/send/params/acntclsflag", model.getValue("/root/main/" + model.getValue("/root/send/params/flag") + "/acntclsflag"));
- model.refresh();
-
- switch(model.getValue("/root/send/params/flag"))
- {
- case "dept":
- model.removeNodeset("/root/main/deptpr/deptprlist");
- model.removeNodeset("/root/hidden/deptpr/deptprlist");
- model.refresh();
-
- submit("TRRAD00701");
- fSetRowColor(grd_deptpr);
- model.refresh();
- break;
-
- case "balamt":
- model.removeNodeset("/root/main/balamtpr/balamtprlist");
- model.removeNodeset("/root/hidden/balamtpr/balamtprlist");
- model.refresh();
-
- submit("TRRAD00702");
- fSetRowColor(grd_balamtpr);
- model.refresh();
- break;
-
- case "project":
- model.removeNodeset("/root/main/projectpr/projectprlist");
- model.removeNodeset("/root/hidden/projectpr/projectprlist");
- model.refresh();
-
- submit("TRRAD00703");
- break;
-
- }
-
- }
- function fSetRowColor(pGrid)
- {
- var iCnt = 0;
-
- for(var i=0; i<pGrid.rows;i++)
- {
- if(pGrid.valueMatrix(i, pGrid.colRef("gubn")) == "1")
- {
- pGrid.rowStyle(i, "all", "background-color") = "#ccffff";
- }
- else if(pGrid.valueMatrix(i, pGrid.colRef("gubn")) == "2")
- {
- pGrid.rowStyle(i, "all", "background-color") = "#ffffff";
- }
- else if(pGrid.valueMatrix(i, pGrid.colRef("gubn")) == "3")
- {
- pGrid.rowStyle(i, "all", "background-color") = "#ffccff";
- }
- else if(pGrid.valueMatrix(i, pGrid.colRef("gubn")) == "4")
- {
- pGrid.rowStyle(i, "all", "background-color") = "#ffffcc";
- }
- }
-
- //pGrid.frozenRows = 1;
- // pGrid.frozenBottomRows = 1;
- // pGrid.backColorFrozen = "#dddddd";
- }
-
- //========================================================================================
- //코드 Validation Check
- //========================================================================================
- function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName, pRetrKind)
- {
- 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, pRetrKind);
- model.refresh();
-
- if (pNextIndex != "") {
- model.setFocus(pNextIndex);
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1193;1,-1;" 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:230px; 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; ">
- <switch id="sw_grid" class="sw_box" style="left:0px; top:26px; width:1195px; height:712px; border-style:solid; ">
- <case id="case_deptpr" selected="true" style="left:0px; top:0px; width:1193px; height:710px; ">
- <caption id="caption21" class="tit_2" style="left:5px; top:94px; width:131px; height:13px; ">계정별원장</caption>
- <datagrid id="grd_deptpr" nodeset="/root/main/deptpr/prlist" backcoloralternate="#ffffff" caption="상위계정코드^상위계정명^년월^날짜^결재번호^구분^계정코드^미결전표일자^미결전표번호^계정명^적요^Project ID^부서^상대처^상대처명^차변^대변^잔액^잔액^전표유형^전표구분^기관코드^부서코드^구분" colsep="^" colwidth="0, 95, 0, 70, 70, 0, 0, 80, 78, 96, 160, 100, 70, 90, 110, 100, 100, 0, 100, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="byrestriccol" rowheader="seq" rowheight="16" rowsep="|" tooltip="true" style="left:0px; top:114px; width:1193px; height:596px; ">
- <col ref="supacntcd4" visibility="hidden"/>
- <col ref="supacntnm4"/>
- <col ref="yyyymm" visibility="hidden"/>
- <col ref="apsldt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="apslno"/>
- <col ref="gubn" visibility="hidden"/>
- <col ref="acntcd" visibility="hidden"/>
- <col ref="unsldd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="unslno" style="text-align:center; "/>
- <col ref="acntnm" style="text-align:center; "/>
- <col ref="note00"/>
- <col ref="projectid"/>
- <col ref="depthngnm"/>
- <col ref="custflag"/>
- <col ref="custnm"/>
- <col ref="dramt" format="(-)#,###" savetype="digit" style="text-align:right; "/>
- <col ref="cramt" format="(-)#,###" savetype="digit" style="text-align:right; "/>
- <col ref="balamt" visibility="hidden" format="(-)#,###" savetype="digit" style="text-align:right; "/>
- <col ref="balsum" format="(-)#,###" savetype="digit" style="text-align:right; "/>
- <col ref="slipkind" visibility="hidden"/>
- <col ref="slipflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="flag" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_deptpr.row > 0 && grd_deptpr.valueMatrix(grd_deptpr.row, grd_deptpr.colRef("gubn")) == "2")
- {
- model.makeValue("/root/source/slipinfo/instcd", cmb_deptprinstcd.value);
- model.makeValue("/root/source/slipinfo/slipdt", model.getValue(grd_deptpr.nodeset + "[" + grd_deptpr.row + "]/unsldd"));
- model.makeValue("/root/source/slipinfo/slipno", model.getValue(grd_deptpr.nodeset + "[" + grd_deptpr.row + "]/unslno").substr(0, 4));
- model.refresh();
- modal("SMRAD00100","","","","","/root/source", "/root/target" );
- }
- ]]>
- </script>
- </datagrid>
- <group id="group4" style="left:0px; top:0px; width:1193px; height:84px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:84px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:8px; top:9px; width:90px; height:17px; ">기관코드 :</caption>
- <caption id="caption2" class="search_name" style="left:8px; top:35px; width:85px; height:17px; ">부 서 별 :</caption>
- <caption id="caption8" style="left:973px; top:10px; width:15px; height:20px; ">~</caption>
- <caption id="caption10" class="search_name" style="left:755px; top:10px; width:100px; height:17px; ">기 간 :</caption>
- <line id="line7" class="line_4" style="x1:1109; y1:8px; x2:1109; y2:51px; "/>
- <caption id="caption23" class="search_name" style="left:370px; top:10px; width:90px; height:17px; ">계정과목 :</caption>
- <button id="btn_depthelp" class="icon_search" style="left:181px; top:37px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("02", ipt_deptcd, "", "deptcd,depthngnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/main/dept/deptcd" class="input_s_essential" navindex="2" maxlength="10" style="left:98px; top:35px; width:77px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfDeptValidCheck("deptcd,depthngnm");
- model.setFocus("ipt_depthngnm");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfDeptValidCheck("deptcd,depthngnm");
- ]]>
- </script>
- </input>
- <input id="ipt_depthngnm" ref="/root/main/dept/depthngnm" class="input_s_essential" navindex="3" style="left:200px; top:34px; width:145px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfDeptValidCheck("deptcd,depthngnm");
- model.setFocus("ipt_frdate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfDeptValidCheck("deptcd,depthngnm");
- ]]>
- </script>
- </input>
- <input id="ipt_frdate" ref="/root/main/dept/frdate" class="input_s_essential" navindex="4" inputtype="date" style="left:859px; top:10px; width:106px; height:19px; "/>
- <input id="ipt_todate" ref="/root/main/dept/todate" class="input_s_essential" navindex="5" inputtype="date" style="left:995px; top:10px; width:106px; height:19px; "/>
- <input id="ipt_fracntcd" ref="/root/main/dept/fracntcd" class="input_s_essential" navindex="6" style="left:460px; top:10px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_acntnm");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_acntclsflag", "acntclsflag");
- ]]>
- </script>
- </input>
- <button id="btn_fracnthelp" class="icon_search" style="left:539px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("05", ipt_fracntcd, "", "fracntcd,fracntnm", "cmb_acntclsflag", "acntclsflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_fracntnm" ref="/root/main/dept/fracntnm" class="input_s_essential" navindex="7" style="left:557px; top:10px; width:166px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_toacntcd");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_acntclsflag", "acntclsflag");
- ]]>
- </script>
- </input>
- <select1 id="cmb_deptprinstcd" ref="/root/main/dept/instcd" class="combo_s_essential" disabled="true" navindex="1" appearance="minimal" style="left:98px; top:9px; width:247px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_toacntcd" ref="/root/main/dept/toacntcd" class="input_s_essential" navindex="8" style="left:460px; top:34px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_acntnm");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_acntclsflag", "acntclsflag");
- ]]>
- </script>
- </input>
- <input id="ipt_toacntnm" ref="/root/main/dept/toacntnm" class="input_s_essential" navindex="9" style="left:557px; top:34px; width:166px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_deptcd");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_acntclsflag", "acntclsflag");
- ]]>
- </script>
- </input>
- <button id="btn_toacnthelp" class="icon_search" style="left:539px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("05", ipt_fracntcd, "", "toacntcd,toacntnm", "cmb_acntclsflag", "acntclsflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn1_letter2" navindex="10" style="left:1124; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <select1 id="cmb_acntclsflag" ref="/root/main/dept/acntclsflag" class="combo_s_essential" appearance="minimal" style="left:390px; 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>
- <input id="ipt_projectnm" ref="/root/main/dept/projectnm" class="input_search" style="left:612px; top:59px; width:111px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- fValidationCheck("23", "projectid,projectnm", "", "", "", "", "name");
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("23", "projectid,projectnm", "", "", "", "", "name");
- ]]>
- </script>
- </input>
- <caption id="caption47" class="search_name" style="left:370px; top:60px; width:99px; height:17px; font-family:돋움; ">Project ID :</caption>
- <button id="btn_projectid" class="icon_search" navindex="-1" style="left:590px; top:59px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("23", ipt_projectid, "", "projectid,projectnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_projectid" ref="/root/main/dept/projectid" class="input_search" style="left:473px; top:59px; width:111px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- fValidationCheck("23", "projectid,projectnm", "", "", "", "", "code");
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("23", "projectid,projectnm", "", "", "", "", "code");
- ]]>
- </script>
- </input>
- <input id="ipt_toamt" ref="/root/main/dept/toamt" class="input_essential" navindex="6" format="(-)#,###" style="left:995px; top:34px; width:106px; height:19px; text-align:right; "/>
- <input id="ipt_framt" ref="/root/main/dept/framt" class="input_essential" navindex="6" format="(-)#,###" style="left:859px; top:34px; width:106px; height:19px; text-align:right; "/>
- <caption id="caption13" class="search_name" style="left:755px; top:35px; width:100px; height:17px; ">금 액 :</caption>
- <caption id="caption14" style="left:973px; top:37px; width:15px; height:20px; ">~</caption>
- <button id="btn_frnext" class="icon_next" navindex="-1" style="left:740px; top:14px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!model.getValue(ipt_fracntcd.attribute("ref")) == "")
- {
- model.setValue("/root/send/prenextacntcd/acntcd", model.getValue(ipt_fracntcd.attribute("ref")));
- model.setValue("/root/send/prenextacntcd/acntclsflag", model.getValue(cmb_acntclsflag.attribute("ref")));
- model.setValue("/root/send/prenextacntcd/workflag", "next");
- submit("TRRAD00704");
- if(!model.getValue("/root/hidden/acntinfo/acntcd") == "")
- {
- model.setValue(ipt_fracntcd.attribute("ref"), model.getValue("/root/hidden/acntinfo/acntcd"));
- model.setValue(ipt_fracntnm.attribute("ref"), model.getValue("/root/hidden/acntinfo/acntnm"));
- ipt_fracntcd.refresh();
- ipt_fracntnm.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_frpre" class="icon_pre" navindex="-1" style="left:725px; top:14px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!model.getValue(ipt_fracntcd.attribute("ref")) == "")
- {
- model.setValue("/root/send/prenextacntcd/acntcd", model.getValue(ipt_fracntcd.attribute("ref")));
- model.setValue("/root/send/prenextacntcd/acntclsflag", model.getValue(cmb_acntclsflag.attribute("ref")));
- model.setValue("/root/send/prenextacntcd/workflag", "pre");
- submit("TRRAD00704");
- if(!model.getValue("/root/hidden/acntinfo/acntcd") == "")
- {
- model.setValue(ipt_fracntcd.attribute("ref"), model.getValue("/root/hidden/acntinfo/acntcd"));
- model.setValue(ipt_fracntnm.attribute("ref"), model.getValue("/root/hidden/acntinfo/acntnm"));
- ipt_fracntcd.refresh();
- ipt_fracntnm.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_tonext" class="icon_next" navindex="-1" style="left:740px; top:38px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!model.getValue(ipt_toacntcd.attribute("ref")) == "")
- {
- model.setValue("/root/send/prenextacntcd/acntcd", model.getValue(ipt_toacntcd.attribute("ref")));
- model.setValue("/root/send/prenextacntcd/acntclsflag", model.getValue(cmb_acntclsflag.attribute("ref")));
- model.setValue("/root/send/prenextacntcd/workflag", "next");
- submit("TRRAD00704");
- if(!model.getValue("/root/hidden/acntinfo/acntcd") == "")
- {
- model.setValue(ipt_toacntcd.attribute("ref"), model.getValue("/root/hidden/acntinfo/acntcd"));
- model.setValue(ipt_toacntnm.attribute("ref"), model.getValue("/root/hidden/acntinfo/acntnm"));
- ipt_toacntcd.refresh();
- ipt_toacntnm.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_topre" class="icon_pre" navindex="-1" style="left:725px; top:38px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!model.getValue(ipt_toacntcd.attribute("ref")) == "")
- {
- model.setValue("/root/send/prenextacntcd/acntcd", model.getValue(ipt_toacntcd.attribute("ref")));
- model.setValue("/root/send/prenextacntcd/acntclsflag", model.getValue(cmb_acntclsflag.attribute("ref")));
- model.setValue("/root/send/prenextacntcd/workflag", "pre");
- submit("TRRAD00704");
- if(!model.getValue("/root/hidden/acntinfo/acntcd") == "")
- {
- model.setValue(ipt_toacntcd.attribute("ref"), model.getValue("/root/hidden/acntinfo/acntcd"));
- model.setValue(ipt_toacntnm.attribute("ref"), model.getValue("/root/hidden/acntinfo/acntnm"));
- ipt_toacntcd.refresh();
- ipt_toacntnm.refresh();
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <line id="line3" class="line_1" style="x1:0px; y1:109px; x2:1193px; y2:109px; "/>
- <button id="btn_exceldeptpr" class="btn2_letter4" style="left:1126px; top:88px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //radfSaveExcel(grd_deptpr);
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_deptpr.saveExcel(fileName,"SheetName:sheet1");
- ]]>
- </script>
- </button>
- </case>
- <case id="case_balamtpr">
- <button id="btn_excelbalamtpr" class="btn2_letter4" style="left:1126px; top:64px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //radfSaveExcel(grd_balamtpr);
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_balamtpr.saveExcel(fileName,"SheetName:sheet1");
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:5px; top:70px; width:131px; height:14px; ">전체 내역</caption>
- <datagrid id="grd_balamtpr" nodeset="/root/main/balamtpr/prlist" caption="상위계정코드^상위계정명^년월^날짜^결재번호^구분^계정코드^전표일자^전표번호^계정명^적요^부서^상대처^상대처명^차변^대변^잔액^잔액^전표유형^전표구분^기관코드^부서코드^구분" colsep="^" colwidth="0, 95, 0, 70, 0, 0, 0, 80, 60, 95, 160, 70, 90, 110, 100, 100, 0, 100, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="byrestriccol" rowheader="seq" rowheight="16" rowsep="|" tooltip="true" style="left:0px; top:90px; width:1193px; height:620px; ">
- <col ref="supacntcd4" visibility="hidden"/>
- <col ref="supacntnm4" style="text-align:center; "/>
- <col ref="yyyymm" visibility="hidden"/>
- <col ref="apsldt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="apslno" visibility="hidden"/>
- <col ref="gubn" visibility="hidden"/>
- <col ref="acntcd" visibility="hidden"/>
- <col ref="unsldd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="unslno" style="text-align:center; "/>
- <col ref="acntnm" style="text-align:center; "/>
- <col ref="note00"/>
- <col ref="depthngnm"/>
- <col ref="custflag"/>
- <col ref="custnm"/>
- <col ref="dramt" format="(-)#,###" savetype="digit" style="text-align:right; "/>
- <col ref="cramt" format="(-)#,###" savetype="digit" style="text-align:right; "/>
- <col ref="balamt" visibility="hidden" format="(-)#,###" savetype="digit" style="text-align:right; "/>
- <col ref="balsum" format="(-)#,###" savetype="digit" style="text-align:right; "/>
- <col ref="slipkind" visibility="hidden"/>
- <col ref="slipflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="flag" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_balamtpr.row > 0 && grd_balamtpr.valueMatrix(grd_balamtpr.row, grd_balamtpr.colRef("gubn")) == "2")
- {
- model.makeValue("/root/source/slipinfo/instcd", cmb_deptprinstcd.value);
- model.makeValue("/root/source/slipinfo/slipdt", model.getValue(grd_balamtpr.nodeset + "[" + grd_balamtpr.row + "]/unsldd"));
- model.makeValue("/root/source/slipinfo/slipno", model.getValue(grd_balamtpr.nodeset + "[" + grd_balamtpr.row + "]/unslno").substr(0, 4));
- model.refresh();
- modal("SMRAD00100","","","","","/root/source", "/root/target" );
- }
- ]]>
- </script>
- </datagrid>
- <group id="group5" style="left:0px; top:0px; width:1193px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="search_name" visibility="hidden" style="left:8px; top:9px; width:91px; height:17px; ">기관코드 :</caption>
- <line id="line1" class="line_4" style="x1:1109; y1:8px; x2:1109; y2:51px; "/>
- <caption id="caption11" class="search_name" style="left:773px; top:10px; width:86px; height:17px; ">기 간 :</caption>
- <input id="ipt_frdate2" ref="/root/main/balamt/frdate" class="input_s_essential" navindex="2" inputtype="date" style="left:862px; top:10px; width:97px; height:19px; "/>
- <input id="ipt_todate2" ref="/root/main/balamt/todate" class="input_s_essential" navindex="3" inputtype="date" style="left:975px; top:10px; width:98px; height:19px; "/>
- <button id="btn_search2" class="btn1_letter2" navindex="5" style="left:1124; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <input id="ipt_fracntnm2" ref="/root/main/balamt/fracntnm" class="input_s_essential" navindex="5" style="left:559px; top:10px; width:176px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_todeptcd2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_acntclsflag2", "acntclsflag");
- ]]>
- </script>
- </input>
- <input id="ipt_toacntnm2" ref="/root/main/balamt/toacntnm" class="input_s_essential" navindex="7" style="left:559px; top:34px; width:176px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_acntclsflag2", "acntclsflag");
- ]]>
- </script>
- </input>
- <input id="ipt_fracntcd2" ref="/root/main/balamt/fracntcd" class="input_s_essential" navindex="4" style="left:462px; top:10px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_todeptcd2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_acntclsflag2", "acntclsflag");
- ]]>
- </script>
- </input>
- <input id="ipt_toacntcd2" ref="/root/main/balamt/toacntcd" class="input_s_essential" navindex="6" style="left:462px; top:34px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_todeptcd2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_acntclsflag2", "acntclsflag");
- ]]>
- </script>
- </input>
- <button id="btn_toacnthelp2" class="icon_search" style="left:541px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("05", ipt_fracntcd2, "", "toacntcd,toacntnm", "cmb_acntclsflag2", "acntclsflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_fracnthelp2" class="icon_search" style="left:541px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("05", ipt_fracntcd2, "", "fracntcd,fracntnm", "cmb_acntclsflag2", "acntclsflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_balamtprinstcd" ref="/root/main/balamt/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:98px; top:9px; width:222px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption27" class="search_name" style="left:8px; top:9px; width:91px; height:17px; ">기관코드 :</caption>
- <caption id="caption28" class="search_name" style="left:370px; top:10px; width:90px; height:17px; ">계정과목 :</caption>
- <caption id="caption12" style="left:961px; top:10px; width:15px; height:20px; ">~</caption>
- <caption id="caption24" class="search_name" visibility="hidden" style="left:370px; top:35px; width:86px; height:17px; ">(class)</caption>
- <select1 id="cmb_acntclsflag2" ref="/root/main/balamt/acntclsflag" class="combo_s_essential" appearance="minimal" style="left:390px; top:34px; width:63px; height:19px; ">
- <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/balamt/fracntcd", "");
- model.setValue("/root/main/balamt/fracntnm", "");
- model.setValue("/root/main/balamt/toacntcd", "");
- model.setValue("/root/main/balamt/toacntnm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <line id="line4" class="line_1" style="x1:0px; y1:85px; x2:1193px; y2:85px; "/>
- </case>
- <case id="case_pjtpr">
- <button id="btn_excelprojectpr" class="btn2_letter4" style="left:1126px; top:64px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_projectpr);
- ]]>
- </script>
- </button>
- <caption id="caption15" class="tit_2" style="left:5px; top:70px; width:131px; height:13px; ">프로젝트별</caption>
- <datagrid id="grd_projectpr" nodeset="/root/main/projectpr/prlist" caption="날짜^적요란^프로젝트^거래처^차변^대변^잔액" colsep="^" colwidth="100, 260, 120, 200, 160, 160, 160" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:90px; width:1193px; height:620px; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <group id="group6" style="left:0px; top:0px; width:1193px; height:60px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line5" class="line_4" style="x1:1109; y1:8px; x2:1109; y2:51px; "/>
- <select1 id="cmb_projectprinstcd" ref="/root/main/project/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:98px; top:9px; width:237px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption17" class="search_name" visibility="hidden" style="left:8px; top:9px; width:91px; height:17px; ">기관코드 :</caption>
- <caption id="caption20" class="search_name" style="left:8px; top:9px; width:91px; height:17px; ">기관코드 :</caption>
- <caption id="caption16" class="search_name" style="left:771px; top:11px; width:86px; height:17px; ">기 간 :</caption>
- <caption id="caption18" style="left:959px; top:11px; width:15px; height:20px; ">~</caption>
- <input id="ipt_frdate3" ref="/root/main/project/frdate" class="input_s_essential" navindex="3" inputtype="date" style="left:860px; top:10px; width:97px; height:19px; "/>
- <caption id="caption7" class="search_name" visibility="hidden" style="left:370px; top:35px; width:86px; height:17px; ">(class)</caption>
- <input id="ipt_todate3" ref="/root/main/project/todate" class="input_s_essential" navindex="4" inputtype="date" style="left:973px; top:10px; width:98px; height:19px; "/>
- <button id="btn_search3" class="btn1_letter2" style="left:1124; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <select1 id="cmb_acntclsflag3" ref="/root/main/balamt/acntclsflag" class="combo_s_essential" appearance="minimal" style="left:390px; top:34px; width:63px; height:19px; ">
- <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/project/fracntcd", "");
- model.setValue("/root/main/project/fracntnm", "");
- model.setValue("/root/main/project/toacntcd", "");
- model.setValue("/root/main/project/toacntnm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="button1" class="icon_search" style="left:541px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("05", ipt_fracntcd2, "", "toacntcd,toacntnm", "cmb_acntclsflag2", "acntclsflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="icon_search" style="left:541px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("05", ipt_fracntcd2, "", "fracntcd,fracntnm", "cmb_acntclsflag2", "acntclsflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/balamt/fracntcd" class="input_s_essential" navindex="4" style="left:462px; top:10px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_todeptcd2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_acntclsflag2", "acntclsflag");
- ]]>
- </script>
- </input>
- <caption id="caption9" class="search_name" style="left:370px; top:10px; width:90px; height:17px; ">계정과목 :</caption>
- <input id="input2" ref="/root/main/balamt/toacntcd" class="input_s_essential" navindex="6" style="left:462px; top:34px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_todeptcd2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_acntclsflag2", "acntclsflag");
- ]]>
- </script>
- </input>
- <input id="input3" ref="/root/main/balamt/fracntnm" class="input_s_essential" navindex="5" style="left:559px; top:10px; width:176px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_todeptcd2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_acntclsflag2", "acntclsflag");
- ]]>
- </script>
- </input>
- <input id="input4" ref="/root/main/balamt/toacntnm" class="input_s_essential" navindex="7" style="left:559px; top:34px; width:176px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_acntclsflag2", "acntclsflag");
- ]]>
- </script>
- </input>
- </group>
- <line id="line6" class="line_1" style="x1:0px; y1:85px; x2:1193px; y2:85px; "/>
- </case>
- </switch>
- <button id="btn_deptpr" class="btn_sw" visibility="hidden" group="tab" style="left:59px; top:5px; width:69px; height:22px; ">
- <caption>부서별</caption>
- <toggle case="case_deptpr" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setFocus("ipt_deptcd");
- model.setValue("/root/send/params/flag", "dept");
- ]]>
- </script>
- </button>
- <button id="btn_balamtpr" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:0px; top:5px; width:57px; height:22px; ">
- <caption>전체</caption>
- <toggle case="case_balamtpr" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setFocus("ipt_fracntcd2");
- model.setValue("/root/send/params/flag", "balamt");
- ]]>
- </script>
- </button>
- <button id="btn_pjtpr" class="btn_sw" visibility="hidden" group="tab" style="left:130px; top:5px; width:96px; height:22px; ">
- <caption>프로젝트별</caption>
- <toggle case="case_pjtpr" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setFocus("ipt_project");
- model.setValue("/root/send/params/flag", "project");
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" 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="button8" 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/retrparams/instnm", cmb_deptprinstcd.label);
- model.setValue("/root/send/retrparams/selectedIndex", sw_grid.selectedIndex);
- model.setValue("/root/send/retrparams/frdate", ipt_frdate.value);
- model.setValue("/root/send/retrparams/todate", ipt_todate.value);
-
- var prntnextcnt = 0;
-
- if(sw_grid.selectedIndex == 0)
- {
- grd_deptpr.gridToInstance();
-
- if(grd_deptpr.rows == grd_deptpr.fixedRows)
- {
- messageBox("출력할 내용이" ,"I004");
- return;
- }
-
- model.removeNodeset("/root/send/prntlist/gridlist");
-
- model.copyNode("/root/send/prntlist", "/root/main/deptpr");
-
- // for(var i = 1 ; i <= model.instance1.selectNodes(grd_deptpr.nodeset).length ; i++)
- // {
- // if(model.getValue(grd_deptpr.nodeset + "[" + i + "]/gubn") != "0")
- // {
- // prntnextcnt ++;
- //
- // model.makeNode("/root/send/prntlist/gridlist[" + prntnextcnt + "]");
- // model.copyNode("/root/send/prntlist/gridlist[" + prntnextcnt + "]", grd_deptpr.nodeset + "[" + i + "]");
- // }
- // }
-
- model.setValue("/root/send/retrparams/fracntcd", ipt_fracntcd.value);
- model.setValue("/root/send/retrparams/fracntnm", ipt_fracntnm.value);
- model.setValue("/root/send/retrparams/toacntcd", ipt_toacntcd.value);
- model.setValue("/root/send/retrparams/toacntnm", ipt_toacntnm.value);
-
-
- }
- else if(sw_grid.selectedIndex == 1)
- {
- grd_balamtpr.gridToInstance();
-
- if(grd_balamtpr.rows == grd_balamtpr.fixedRows)
- {
- messageBox("출력할 내용이" ,"I004");
- return;
- }
-
- model.removeNodeset("/root/send/prntlist/gridlist");
-
- model.copyNode("/root/send/prntlist", "/root/main/balamtpr");
-
- // for(var i = 1 ; i <= model.instance1.selectNodes("/root/main/balamtpr/prlist").length ; i++)
- // {
- // if(model.getValue(grd_balamtpr.nodeset + "[" + i + "]/gubn") == "0")
- // {
- // model.removenode("/root/main/balamtpr/prlist[" + i + "]");
- //
- // model.makeNode("/root/send/prntlist/gridlist[" + prntnextcnt + "]");
- // model.copyNode("/root/send/prntlist/gridlist[" + prntnextcnt + "]", grd_balamtpr.nodeset + "[" + i + "]");
- // }
- // }
-
- model.setValue("/root/send/retrparams/fracntcd", ipt_fracntcd2.value)
- model.setValue("/root/send/retrparams/fracntnm", ipt_fracntnm2.value)
- model.setValue("/root/send/retrparams/toacntcd", ipt_toacntcd2.value)
- model.setValue("/root/send/retrparams/toacntnm", ipt_toacntnm2.value)
-
-
- }
- else if(sw_grid.selectedIndex == 2)
- { return;
- grd_projectpr.gridToInstance();
- if(grd_projectpr.rows == grd_projectpr.fixedRows)
- {
- messageBox("출력할 내용이" ,"I004");
- return;
- }
-
-
-
- }
- exeReportPreview("RPRAD00701", "XMLSTR", "/root/send/retrparams");
-
- //model.removeNodeset("/root/send/prntlist/gridlist");
-
-
-
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|