123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>예산편성내역 HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <bugtorgnzlist/>
- </list>
- </main>
- <send>
- <instcd/>
- <retrnm/>
- <refcond/>
- <deptcd/>
- <unsldd/>
- <sqlkind>origin</sqlkind>
- <drcrflag/>
- </send>
- <init>
- <refcond>
- <label>코드명</label>
- <value>codenm</value>
- <label>코드</label>
- <value>code</value>
- </refcond>
- </init>
- <target>
- <defaultvalue/>
- </target>
- <source>
- <bugtlist>
- <instcd/>
- <deptcd/>
- <acntcd/>
- <projectid/>
- <bugtflag/>
- <unsldd/>
- </bugtlist>
- </source>
- </root>
- </instance>
- <submission id="TRRAD90107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInit()
- {
- rdo_refcond.select(0);
- model.removenode("/root/main/list/bugtorgnzlist");
- model.setValue("/root/send/instcd", model.getValue("/root/target/defaultvalue/instcd"));
- model.setValue("/root/send/deptcd", model.getValue("/root/target/defaultvalue/deptcd"));
- model.setValue("/root/send/unsldd", model.getValue("/root/target/defaultvalue/unsldd"));
- model.setValue("/root/send/drcrflag", model.getValue("/root/target/defaultvalue/drcrflag"));
-
- model.setValue("/root/source/bugtlist/instcd", model.getValue("/root/target/defaultvalue/instcd"));
- model.setValue("/root/source/bugtlist/deptcd", model.getValue("/root/target/defaultvalue/deptcd"));
- model.setValue("/root/source/bugtlist/unsldd", model.getValue("/root/target/defaultvalue/unsldd"));
-
- var vFullSearchFlag = model.getValue("/root/target/defaultvalue/fullsearchflag");
-
- /*
- if(vFullSearchFlag != "Y")
- {
- if(model.getValue("/root/target/defaultvalue/acntcd") != "")
- {
- model.setValue("/root/send/retrnm", model.getValue("/root/target/defaultvalue/acntcd"));
- model.setValue("/root/send/refcond", "code");
- }
- else
- {
- model.setValue("/root/send/retrnm", "-");
- model.setValue("/root/send/refcond", "code");
- }
- }
- */
- misfMsterDetailSet(grd_bugtorgnzlist, null, "TRRAD90107", "N", "byRow");
- var sColWidth;
- if(model.getValue("/root/target/defaultvalue/instcd") != "103")
- {
- sColWidth = "0, 60, 70, 150,0,0,0,0,115,115,115,135, 30";
- grd_bugtorgnzlist.colHidden(grd_bugtorgnzlist.colRef("projectid")) = true;
- grd_bugtorgnzlist.colHidden(grd_bugtorgnzlist.colRef("projectnm")) = true;
- }
- else
- {
- sColWidth = "0, 50, 60, 135, 0, 0, 70, 95, 85, 85, 85, 105, 30"
- }
-
- var arrColWidth = sColWidth.split(",");
- for(var i=0; i<arrColWidth.length; i++)
- {
- grd_bugtorgnzlist.colWidth(i+1) = parseFloat(arrColWidth[i]);
- }
- btn_search.dispatch("DOMActivate");
-
- model.setFocus("ipt_refcond");
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="860" pageheight="570" guideline="1,-2;2,-2;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:840px; height:552px; ">
- <group id="group2" style="left:0px; top:0px; width:840px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:840px; height:35px; "/>
- <input id="ipt_refcond" ref="/root/send/retrnm" class="input_s_essential" visibility="hidden" style="left:323px; top:9px; width:232px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(ipt_refcond.value != "")
- {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:771px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfMsterDetailRetrieve();
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:758px; y1:3px; x2:758px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:235px; top:9px; width:91px; height:17px; ">조회조건 :</caption>
- <caption id="caption3" class="search_name" visibility="hidden" style="left:3px; top:9px; width:91px; height:17px; ">조회조건 :</caption>
- <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" visibility="hidden" overflow="visible" appearance="full" cols="2" style="left:94px; top:8px; width:133px; height:20px; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/refcond">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_refcond");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:39px; width:145px; height:14px; ">예산 편성 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:54px; x2:838px; y2:54px; "/>
- <datagrid id="grd_bugtorgnzlist" nodeset="/root/main/list/bugtorgnzlist" class="grd_bugtorgnzlist" caption="예산구분flag^구분^계정코드^계정명^예산코드^예산코드명^프로젝트ID^프로젝트명^본예산액(A)^추산액(B)^집행액(C)^예산가용액(A-B-C)^조회" colsep="^" colwidth="0, 50, 70, 230, 0, 0, 0, 0, 100, 100, 100, 100, 35" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sort" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:59px; width:838px; height:463px; ">
- <col ref="bugtflag" visibility="hidden"/>
- <col ref="bugtflagnm"/>
- <col ref="acntcd"/>
- <col ref="acntnm"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="bugtnm" visibility="hidden"/>
- <col ref="projectid"/>
- <col ref="projectnm"/>
- <col ref="orgbugtamtsum" format="(-)#,###" style="text-align:right; "/>
- <col ref="revbugtamtsum" format="(-)#,###" style="text-align:right; "/>
- <col ref="bugtexecamtsum" format="(-)#,###" style="text-align:right; "/>
- <col ref="bugtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bugtsearch" type="inputbutton" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- misfPopUpListReturn(grd_bugtorgnzlist);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_bugtorgnzlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- model.setValue("/root/source/bugtlist/acntcd", grd_bugtorgnzlist.valueMatrix(grd_bugtorgnzlist.row,grd_bugtorgnzlist.colRef("acntcd")));
- model.setValue("/root/source/bugtlist/projectid", grd_bugtorgnzlist.valueMatrix(grd_bugtorgnzlist.row,grd_bugtorgnzlist.colRef("projectid")));
- model.setValue("/root/source/bugtlist/bugtflag", grd_bugtorgnzlist.valueMatrix(grd_bugtorgnzlist.row,grd_bugtorgnzlist.colRef("bugtflag")));
-
- modal("SPRAD00109","","","","","/root/source", "/root/target");
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:524px; width:839px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:719px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfPopUpListReturn(grd_bugtorgnzlist);
-
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:776px; top:2px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
-
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:787px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|