123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626 |
- <?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>
- <fnworksheet/>
- </list>
- </main>
- <send>
- <moneyunit/>
- <instcd/>
- <ym/>
- <ym2/>
- <ym3/>
- <qurtyy>01</qurtyy>
- <halfyy>001</halfyy>
- <cadl>01</cadl>
- <acntclsflag/>
- <retrparams>
- <instnm/>
- <todd/>
- <fromdd/>
- <prntkind>23</prntkind>
- <termflag/>
- </retrparams>
- <termflag>1</termflag>
- <quartterm/>
- <prntkind>23</prntkind>
- </send>
- <init>
- <acntclsflag>
- <cd>2</cd>
- <nm>목</nm>
- </acntclsflag>
- <acntclsflag>
- <cd>1</cd>
- <nm>세목</nm>
- </acntclsflag>
- <moneyunit>
- <cd>1</cd>
- <nm>원</nm>
- </moneyunit>
- <moneyunit>
- <cd>1000</cd>
- <nm>천원</nm>
- </moneyunit>
- <moneyunit>
- <cd>1000000</cd>
- <nm>백만원</nm>
- </moneyunit>
- </init>
- <temp/>
- <hidden>
- <cardinalnumberinfo>
- <cardinalnumber/>
- </cardinalnumberinfo>
- <termflag>year</termflag>
- <list>
- <managementbalancesheet/>
- </list>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.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/RAM001.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- fgetcardinalnumber();
- fSetGridTitle();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- function fInitialize()
- {
- fSetDayMonthDate();
- misfComboComCdList("Z0007", cmb_instcd, "N");
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- radfCheckInstSearchAuth(getUserInfo("dutplceinstcd"), cmb_instcd);
- cmb_instcd.refresh();
- rdo_moneyunit.value = '1';
- rdo_acntclsflag.value = '1';
- model.removenode("/root/main/list/fnworksheet");
- model.removenode("/root/hidden/list/managementbalancesheet");
- swt_1.selectedIndex = 0;
- btn_65.dispatch("onclick");
- model.refresh();
- }
-
- function fSetDayMonthDate()
- {
- ipt_fromdd.value = getCurrentDate().substr(0, 6);
- ipt_todd.value = getCurrentDate().substr(0, 4);
- ipt_fromdd.refresh();
- }
-
- function fCheckAuth()
- {
- btn_search.disabled = !checkAuth("R");
- // if(getUserInfo("dutplceinstcd")) != "103") cmb_instcd.disabled = true;
- }
-
- function fSetGridTitle()
- {
- var sCaption = grd_managementbalancesheet.caption;
- var Caption = sCaption.split("|");
- var leftCaption = Caption[0];
- var rightCaption = Caption[1];
- // alert(leftCaption);
- // alert(rightCaption);
-
- var arrCaption = leftCaption.split("^");
-
- sCaption = "";
- for(var i=0 ; i<arrCaption.length ; i++)
-
- //순번^계정분류구분^계정코드^계정명^계산식^빈칸1^제 5 (당)기^제 5 (당)기^제 5 (당)기^제 5 (당)기^빈칸2^제 4 (전)기^제 4 (전)기^제 4 (전)기^제 4 (전)기^Line계산|순번^계정분류구분^계정코드^계정명^계산식^빈칸1^월계^월계^누계^누계^빈칸2^월계^월계^누계^누계^Line계산
- {
- if(i == 11 || i == 12 || i == 13 || i == 14)
- {
- sCaption = sCaption + "제 " + (parseInt(model.getValue("/root/hidden/cardinalnumberinfo/cardinalnumber"),10)).toString() + " (당)기";
- }
- else if(i == 16 || i== 17 || i == 18 || i == 19)
- {
- sCaption = sCaption + "제 " + (parseInt(model.getValue("/root/hidden/cardinalnumberinfo/cardinalnumber"),10)-1).toString() + " (전)기";
- }
- else
- {
- sCaption = sCaption + arrCaption[i];
- }
-
- if(i+1 != arrCaption.length)
- {
- sCaption = sCaption + "^";
- }
- }
- //alert(sCaption)
- grd_presentationbalancesheet.caption = sCaption;
- grd_managementbalancesheet.caption = sCaption + "|" + rightCaption;
-
- grd_presentationbalancesheet.rowHeight(0) = 36;
- grd_managementbalancesheet.rowHeight(0) = 20;
- }
-
- function fgetcardinalnumber()
- {
- submit("TRRAM00202");
- }
-
- function getCadl(){
- var tmp;
- var i;
- var tmp2
- var j;
-
- if(model.getValue("/root/send/cadl")=="01"){
- //model.setValue("/root/send/ym",(new Date()).getDateFormat("YYYYMM"));
- ipt_fromdd.visible = true;
- ipt_todd.visible = false;
- cmb_qurtyy.visible = false;
- cmb_halfyy.visible = false;
- grd_managementbalancesheet.caption = "순번^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^빈칸1^제 29 (당)기^제 29 (당)기^제 29 (당)기^제 29 (당)기^빈칸2^제 28 (전)기^제 28 (전)기^제 28 (전)기^제 28 (전)기^Line계산|순번^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^빈칸1^월계^월계^누계^누계^빈칸2^월계^월계^누계^누계^Line계산";
- tmp = "0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 5, 110, 110, 110, 110, 5, 110, 110, 110, 110, 100".split(", ");
- for(i=0 ;i<grd_managementbalancesheet.cols; i++){
- if(i > tmp.length){
- grd_managementbalancesheet.colWidth(i) = 0;
- }else{
- grd_managementbalancesheet.colWidth(i+1) = tmp[i];
- }
- }
- grd_exceloutput1.caption = "계정명^월계^월계^당기^당기^전기^전기";
- tmp = "265, 100, 100, 100, 100, 100, 100".split(", ");
- for(j=0 ;j<grd_exceloutput1.cols; j++){
- if(j > tmp.length){
- grd_exceloutput1.colWidth(j) = 0;
- }else{
- grd_exceloutput1.colWidth(j+1) = tmp[j];
- }
- }
- }else if(model.getValue("/root/send/cadl")=="02"){
- //model.setValue("/root/send/ym3" , model.getValue("/root/send/ym").substring(0,4));
- ipt_fromdd.visible = false;
- ipt_todd.visible = true;
- cmb_qurtyy.visible = true;
- cmb_halfyy.visible = false;
- //model.setValue("/root/send/ym3",(new Date()).getDateFormat("YYYY"));
- if(model.getValue("/root/send/qurtyy") == "01"){
- model.setValue("/root/send/ym",model.getValue("/root/send/ym3") + "01");
- model.setValue("/root/send/ym2",model.getValue("/root/send/ym3") + "03");
- }else if(model.getValue("/root/send/qurtyy") == "02"){
- model.setValue("/root/send/ym",model.getValue("/root/send/ym3") + "04");
- model.setValue("/root/send/ym2",model.getValue("/root/send/ym3") + "06");
- }else if(model.getValue("/root/send/qurtyy") == "03"){
- model.setValue("/root/send/ym",model.getValue("/root/send/ym3") + "07");
- model.setValue("/root/send/ym2",model.getValue("/root/send/ym3") + "09");
- }else if(model.getValue("/root/send/qurtyy") == "01"){
- model.setValue("/root/send/ym",model.getValue("/root/send/ym3") + "10");
- model.setValue("/root/send/ym2",model.getValue("/root/send/ym3") + "12");
- }
- grd_managementbalancesheet.caption = "순번^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^빈칸1^제 5 (당)기^제 5 (당)기^제 5 (당)기^제 5 (당)기^빈칸2^제 4 (전)기^제 4 (전)기^제 4 (전)기^제 4 (전)기^Line계산|순번^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^빈칸1^분기계^분기계^누계^누계^빈칸2^분기계^분기계^누계^누계^Line계산";
- tmp = "0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 5, 110, 110, 110, 110, 5, 110, 110, 110, 110, 100".split(", ");
- for(i=0 ;i<grd_managementbalancesheet.cols; i++){
- if(i > tmp.length){
- grd_managementbalancesheet.colWidth(i) = 0;
- }else{
- grd_managementbalancesheet.colWidth(i+1) = tmp[i];
- }
- }
- grd_exceloutput1.caption = "계정명^분기계^분기계^당기^당기^전기^전기";
- tmp = "265, 100, 100, 100, 100, 100, 100".split(", ");
- for(j=0 ;j<grd_exceloutput1.cols; j++){
- if(j > tmp.length){
- grd_exceloutput1.colWidth(j) = 0;
- }else{
- grd_exceloutput1.colWidth(j+1) = tmp[j];
- }
- }
- }else if(model.getValue("/root/send/cadl")=="03"){
- ipt_fromdd.visible = false;
- ipt_todd.visible = true;
- cmb_qurtyy.visible = false;
- cmb_halfyy.visible = true;
- //model.setValue("/root/send/ym3" , model.getValue("/root/send/ym").substring(0,4));
- if(model.getValue("/root/send/halfyy") == "001"){
- model.setValue("/root/send/ym",model.getValue("/root/send/ym3") + "01");
- model.setValue("/root/send/ym2",model.getValue("/root/send/ym3") + "06");
- model.refresh();
- }else if(model.getValue("/root/send/halfyy") == "002"){
- model.setValue("/root/send/ym",model.getValue("/root/send/ym3") + "07");
- model.setValue("/root/send/ym2",model.getValue("/root/send/ym3") + "12");
- model.refresh();
- }model.refresh();
- grd_managementbalancesheet.caption = "순번^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^빈칸1^제 5 (당)기^제 5 (당)기^제 5 (당)기^제 5 (당)기^빈칸2^제 4 (전)기^제 4 (전)기^제 4 (전)기^제 4 (전)기^Line계산|순번^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^빈칸1^반기계^반기계^누계^누계^빈칸2^반기계^반기계^누계^누계^Line계산";
- tmp = "0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 5, 110, 110, 110, 110, 5, 110, 110, 110, 110, 100".split(", ");
- for(i=0 ;i<grd_managementbalancesheet.cols; i++){
- if(i > tmp.length){
- grd_managementbalancesheet.colWidth(i) = 0;
- }else{
- grd_managementbalancesheet.colWidth(i+1) = tmp[i];
- }
- }
- grd_exceloutput1.caption = "계정명^반기계^반기계^당기^당기^전기^전기";
- tmp = "265, 100, 100, 100, 100, 100, 100".split(", ");
- for(j=0 ;j<grd_exceloutput1.cols; j++){
- if(j > tmp.length){
- grd_exceloutput1.colWidth(j) = 0;
- }else{
- grd_exceloutput1.colWidth(j+1) = tmp[j];
- }
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRRAM00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/cardinalnumberinfo"/>
- <submission id="TRRAS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" 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="grp_1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="cap_title" 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="grp_3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1123px; top:8px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/list/fnworksheet");
- model.removeNodeset("/root/hidden/list/managementbalancesheet");
- model.refresh();
-
- fgetcardinalnumber();
- fSetGridTitle();
-
- submit("TRRAS00102");
-
-
- ramfCashFlowFormula("/root/main/list/fnworksheet", 'seq', 'calform', 'onlym1,totts1,befym1,totbf1', 'onlym1,totts1,befym1,totbf1', 'prntnm1,prntnm2', "1", "N");
-
- for(var i = 1 ; i <= model.instance1.selectNodes("/root/main/list/fnworksheet").length ; i++)
- {
- if(model.getValue("/root/main/list/fnworksheet[" + i + "]/prntnm4") == "PN")
- {
- if(parseInt(model.getValue("/root/main/list/fnworksheet[" + i + "]/onlym1")) < 0) model.setValue("/root/main/list/fnworksheet[" + i + "]/onlym1", 0);
- if(parseInt(model.getValue("/root/main/list/fnworksheet[" + i + "]/totts1")) < 0) model.setValue("/root/main/list/fnworksheet[" + i + "]/totts1", 0);
- if(parseInt(model.getValue("/root/main/list/fnworksheet[" + i + "]/befym1")) < 0) model.setValue("/root/main/list/fnworksheet[" + i + "]/befym1", 0);
- if(parseInt(model.getValue("/root/main/list/fnworksheet[" + i + "]/totbf1")) < 0) model.setValue("/root/main/list/fnworksheet[" + i + "]/totbf1", 0);
- }
- if(model.getValue("/root/main/list/fnworksheet[" + i + "]/prntnm4") == "NN")
- {
- if(parseInt(model.getValue("/root/main/list/fnworksheet[" + i + "]/onlym1")) > 0) model.setValue("/root/main/list/fnworksheet[" + i + "]/onlym1", 0);
- if(parseInt(model.getValue("/root/main/list/fnworksheet[" + i + "]/totts1")) > 0) model.setValue("/root/main/list/fnworksheet[" + i + "]/totts1", 0);
- if(parseInt(model.getValue("/root/main/list/fnworksheet[" + i + "]/befym1")) > 0) model.setValue("/root/main/list/fnworksheet[" + i + "]/befym1", 0);
- if(parseInt(model.getValue("/root/main/list/fnworksheet[" + i + "]/totbf1")) > 0) model.setValue("/root/main/list/fnworksheet[" + i + "]/totbf1", 0);
- }
- }
-
- var cnt = 1;
- for(var i = 1 ; i <= model.instance1.selectNodes("/root/main/list/fnworksheet").length ; i++)
- {
-
- model.makeNode("/root/hidden/list/managementbalancesheet[" + cnt + "]")
- model.copyNode("/root/hidden/list/managementbalancesheet[" + cnt + "]", "/root/main/list/fnworksheet[" + i + "]");
- cnt++;
-
-
-
- }
- model.refresh();
-
- ramfSheetColor(grd_managementbalancesheet, rdo_acntclsflag.value, "prntnm");
- ramfSheetColor(grd_presentationbalancesheet, rdo_acntclsflag.value, "prntnm");
-
- ramfLineSetting("/root/send/acntclsflag", "/root/hidden/list/managementbalancesheet", "calline");
-
- var d = new Date();
- d.setYear(parseInt(ipt_fromdd.value.substr(0,4), 10));
- d.setMonth(parseInt(ipt_fromdd.value.substr(4,2), 10) - 1);
- d.setDate(1);
- model.setValue("/root/send/retrparams/fromdd", ipt_fromdd.value.substr(0,4) + "." + ipt_fromdd.value.substr(4,2) + ".01");
- model.setValue("/root/send/retrparams/todd", ipt_fromdd.value.substr(0,4) + "." + ipt_fromdd.value.substr(4,2) + "." + d.getMonthDay());
- model.setValue("/root/send/retrparams/termflag", model.getValue("/root/hidden/termflag"));
-
- grd_managementbalancesheet.colStyle(grd_managementbalancesheet.colRef("temp1"), "all", "background-color") = "#0000ff";
- grd_managementbalancesheet.colStyle(grd_managementbalancesheet.colRef("temp2"), "all", "background-color") = "#0000ff";
-
- grd_presentationbalancesheet.colStyle(grd_managementbalancesheet.colRef("temp1"), "all", "background-color") = "#0000ff";
- grd_presentationbalancesheet.colStyle(grd_managementbalancesheet.colRef("temp2"), "all", "background-color") = "#0000ff";
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <line id="lin_5" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:185px; top:9px; width:86px; height:17px; ">기 간 :</caption>
- <select1 id="rdo_moneyunit" ref="/root/send/moneyunit" class="radio_search" overflow="visible" appearance="full" cellspacing="15" cols="3" style="left:710px; top:9px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/moneyunit">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/ym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:317px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getCadl();
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:1px; top:9px; width:86px; height:17px; ">기 관 :</caption>
- <select1 id="rdo_acntclsflag" ref="/root/send/acntclsflag" class="radio_search" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:1000px; top:9px; width:105px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/acntclsflag">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:890px; top:9px; width:120px; height:17px; ">목/세목 단위 :</caption>
- <caption id="caption9" class="search_name" style="left:620px; top:9px; width:100px; height:17px; ">화 폐 단 위 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:65px; top:9px; width:105px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_cadl" ref="/root/send/cadl" appearance="minimal" style="left:256px; top:8px; width:59px; height:19px; ">
- <choices>
- <item>
- <label>월</label>
- <value>01</value>
- </item>
- <item>
- <label>분기</label>
- <value>02</value>
- </item>
- <item>
- <label>반기</label>
- <value>03</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getCadl();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_qurtyy" ref="/root/send/qurtyy" visibility="hidden" overflow="visible" appearance="full" cols="5" style="left:409px; top:10px; width:206px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1분기</label>
- <value>01</value>
- </item>
- <item>
- <label>2분기</label>
- <value>02</value>
- </item>
- <item>
- <label>3분기</label>
- <value>03</value>
- </item>
- <item>
- <label>4분기</label>
- <value>04</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getCadl();
-
- //model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_halfyy" ref="/root/send/halfyy" visibility="hidden" overflow="visible" appearance="full" cols="2" style="left:410px; top:10px; width:170px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>상반기</label>
- <value>001</value>
- </item>
- <item>
- <label>하반기</label>
- <value>002</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getCadl();
- //model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_todd" ref="/root/send/ym3" class="input_s_essential" visibility="hidden" inputtype="date" format="yyyy" style="left:317px; top:8px; width:68px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getCadl();
- ]]>
- </script>
- </input>
- </group>
- <case id="case2" selected="true">
- <caption id="caption2" style="left:130px; top:95px; width:100px; height:20px; vertical-align:middle; ">caption2</caption>
- </case>
- <switch id="swt_1" class="sw_box" style="left:0px; top:70px; width:1195px; height:669px; border-style:solid; ">
- <case id="case1" selected="true">
- <caption id="caption21" class="tit_2" style="left:5px; top:10px; width:131px; height:14px; ">관 리 용</caption>
- <line id="lin_3" class="line_1" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
- <datagrid id="grd_managementbalancesheet" nodeset="/root/hidden/list/managementbalancesheet" backcoloralternate="#ffffff" caption="순번^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^빈칸1^제 5 (당)기^제 5 (당)기^제 5 (당)기^제 5 (당)기^빈칸2^제 4 (전)기^제 4 (전)기^제 4 (전)기^제 4 (전)기^Line계산|순번^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^빈칸1^월계^월계^누계^누계^빈칸2^월계^월계^누계^누계^Line계산" colsep="^" colwidth="0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 5, 110,110, 110, 110, 5, 110, 110, 110, 110, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:30px; width:1193px; height:632px; font-size:10pt; ">
- <col ref="seq"/>
- <col ref="acntclsflag"/>
- <col ref="dspacnt"/>
- <col ref="prntnm"/>
- <col ref="calform"/>
- <col ref="prntnm1"/>
- <col ref="prntnm2"/>
- <col ref="prntnm3"/>
- <col ref="prntnm4"/>
- <col ref="prntnm5"/>
- <col ref="temp1" style="background-color:#0000ff; "/>
- <col ref="onlym0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="onlym1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totts0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totts1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="temp2" style="background-color:#0000ff; "/>
- <col ref="befym0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="befym1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totbf0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totbf1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="calline"/>
- </datagrid>
- <button id="btn_9" class="btn2_letter4" style="left:1127px; top:4px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //radfSaveExcel(grd_exceloutput1);
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_exceloutput1.saveExcel(fileName,"SheetName:sheet1");
- ]]>
- </script>
- </button>
- <datagrid id="grd_exceloutput1" nodeset="/root/hidden/list/managementbalancesheet" visibility="hidden" backcoloralternate="#ffffff" caption="계정명^월계^월계^당기^당기^전기^전기" colsep="^" colwidth="265, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:20px; top:175px; width:1128px; height:212px; ">
- <col ref="prntnm"/>
- <col ref="onlym0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="onlym1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totts0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totts1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totbf0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totbf1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- </datagrid>
- </case>
- <case id="case2">
- <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:131px; height:14px; ">제 출 용</caption>
- <line id="lin_1" class="line_1" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
- <datagrid id="grd_presentationbalancesheet" nodeset="/root/hidden/list/managementbalancesheet" backcoloralternate="#ffffff" caption="계정구분^계정분류구분^계정코드^계정명^계산식^옵션1^옵션2^옵션3^옵션4^옵션5^제 5 (당)기 월계^제 5 (당)기 월계^제 5 (당)기^제 5 (당)기^제 4 (전)기^제 4 (전)기^Line계산" colsep="^" colwidth="0, 0, 0, 365, 0, 0, 0, 0, 0, 0, 5, 0,0, 185, 185, 5, 0, 0, 185, 185, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:30px; width:1193px; height:632px; ">
- <col ref="acntflag" visibility="hidden"/>
- <col ref="acntclsflag" visibility="hidden"/>
- <col ref="dspacnt" visibility="hidden"/>
- <col ref="prntnm"/>
- <col ref="calform"/>
- <col ref="prntnm1"/>
- <col ref="prntnm2"/>
- <col ref="prntnm3"/>
- <col ref="prntnm4"/>
- <col ref="prntnm5"/>
- <col ref="temp1" style="background-color:#0000ff; "/>
- <col ref="onlym0" visibility="hidden" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="onlym1" visibility="hidden" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totts0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totts1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="temp2" style="background-color:#0000ff; "/>
- <col ref="befym0" visibility="hidden" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="befym1" visibility="hidden" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totbf0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totbf1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="calline" visibility="hidden"/>
- <col ref="calline" visibility="hidden"/>
- </datagrid>
- <button id="btn_2" class="btn2_letter4" style="left:1127px; top:4px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //radfSaveExcel(grd_exceloutput2);
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_exceloutput2.saveExcel(fileName,"SheetName:sheet1");
- ]]>
- </script>
- </button>
- <datagrid id="grd_exceloutput2" nodeset="/root/hidden/list/managementbalancesheet" visibility="hidden" backcoloralternate="#ffffff" caption="계정명^당기^당기^전기^전기" colsep="^" colwidth="265, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:20px; top:175px; width:1128px; height:212px; ">
- <col ref="prntnm"/>
- <col ref="totts0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totts1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totbf0" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- <col ref="totbf1" format="(-)#,###" savetype="digit" style="text-align:right; padding-right:1; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_65" class="btn_sw" group="tab" selected="true" style="left:0px; top:50px; width:68px; height:22px; ">
- <caption>관 리 용</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cmb_cadl.disabled = false;
- getCadl();
- ]]>
- </script>
- </button>
- <button id="btn_1" class="btn_sw" group="tab" selected="true" style="left:68px; top:50px; width:68px; height:22px; ">
- <caption>제 출 용</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cmb_cadl.value = "01" ;
- cmb_cadl.disabled = true;
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="rdo_termflag" ref="/root/hidden/termflag" class="radio_search" visibility="hidden" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:920px; top:49px; width:175px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/termflag">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" visibility="hidden" style="left:805px; top:49px; width:120px; height:17px; ">조 회 구 분 :</caption>
- <input id="ipt_ym2" ref="/root/send/ym2" visibility="hidden" style="left:635px; top:50px; width:65px; height:19px; "/>
- </group>
- <group id="grp_4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="lin_2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_11" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- if(grd_presentationbalancesheet.rows == grd_presentationbalancesheet.fixedRows)
- {
- messageBox("출력할 내용이" ,"I004");
- return;
- }
-
- model.setValue("/root/send/retrparams/instnm", "의료법인 혜원의료재단");
-
- ramfLineSetting("/root/send/acntclsflag", "/root/main/list/fnworksheet", "calline");
- if(swt_1.selectedIndex == 0)
- {
- exeReportPreview("RPRAM00201", "XMLSTR", "/root/send/retrparams");
- }
- else
- {
- exeReportPreview("RPRAM00202", "XMLSTR", "/root/send/retrparams");
- }
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|