123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- <?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>
- <dept>
- <deptlist>
- <deptcd/>
- <depthngnm/>
- </deptlist>
- </dept>
- <acnt>
- <deptacntlist>
- <deptcd/>
- <acntcd/>
- <acntnm/>
- <bugtcd/>
- <bugtnm/>
- <acntcdbugtcd/>
- <bugtuseyn/>
- <bugtprntseq/>
- </deptacntlist>
- </acnt>
- </main>
- <send>
- <condition>
- <deptcd/>
- <depthngnm/>
- <bugtflag>2</bugtflag>
- </condition>
- <deptacntlist/>
- <search>
- <deptcd/>
- <bugtflag/>
- </search>
- </send>
- <init/>
- <hidden/>
- <temp/>
- <source>
- <defaultvalue/>
- </source>
- </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" ev:event="xforms-ready">
- <![CDATA[
- fResetForm();
-
- misfMsterDetailSet(grd_deptinfo, null, "TRRBC00401", "N");
- misfMsterDetailSet(grd_acntinfo, grd_deptinfo, "TRRBC00402", "Y");
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //화면 로드시 초기화 함수
- //========================================================================================
- function fResetForm()
- {
- model.removenode("/root/main/dept/deptlist");
- model.removenode("/root/main/acnt/deptacntlist");
- model.refresh();
- }
-
- //========================================================================================
- //부서코드 Help Open
- //========================================================================================
- function fOpenPopupDeptHelp(pControl, pInstance)
- {
- misfOpenPopUpList("02", pControl, "", pInstance);
- model.refresh();
- }
-
-
-
- ]]>
- </script>
- <submission id="TRRBC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/dept"/>
- <submission id="TRRBC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/acnt"/>
- <submission id="TXRBC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width: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:40px; width:1195px; height:740px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:385px; y2:70px; "/>
- <line id="line2" class="line_1" style="x1:390px; y1:70px; x2:1194px; y2:70px; "/>
- <group id="group4" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption7" class="search_name" style="left:11px; top:9px; width:85px; height:17px; ">부 서 :</caption>
- <line id="line3" class="line_4" style="x1:1107px; y1:0px; x2:1107px; y2:34px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_deptcd" ref="/root/send/condition/deptcd" class="input_s_essential" navindex="2" style="left:99px; top:8px; width:76px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // misfValidationCheck("02", "", "deptcd,depthngnm");
- // model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_deptcd.value = ipt_deptcd.currentText;
- misfValidationCheck("02", "", "deptcd,depthngnm");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_depthngnm" ref="/root/send/condition/depthngnm" class="input_s_essential" navindex="3" style="left:200px; top:8px; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_depthngnm.value = ipt_depthngnm.currentText;
- misfValidationCheck("02", "", "deptcd,depthngnm");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="btn_depthelp" class="icon_search" style="left:179px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fOpenPopupDeptHelp(ipt_deptcd, "deptcd,depthngnm");
-
- ]]>
- </script>
- </button>
- <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[
-
- misfMsterDetailRetrieve();
- grd_deptinfo.row = grd_deptinfo.fixedRows;
- grd_deptinfo.col = grd_deptinfo.colRef("depthngnm");
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_bugtflag" ref="/root/send/condition/bugtflag" navindex="27" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:484px; top:10px; width:271px; height:20px; border-style:none; ">
- <choices>
- <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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:395px; top:10px; width:87px; height:17px; ">예산구분 :</caption>
- </group>
- <caption id="caption8" class="tit_2" style="left:395px; top:55px; width:117px; height:13px; ">계정정보</caption>
- <caption id="caption9" class="tit_2" style="left:5px; top:55px; width:117px; height:13px; ">부서정보</caption>
- <button id="btn_excel" class="btn2_letter2" style="left:1038px; top:50px; width:42px; height:19px; text-align:left; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_acntinfo);
-
- ]]>
- </script>
- </button>
- <button id="btn_rowadd" class="btn2_letter3" style="left:1082px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(grd_deptinfo.rows > 1)
- {
- misfGridIUD(grd_acntinfo, "A");
- }
- else
- {
- messageBox("세목계정을 추가 가능한 부서가", "I004");
- return false;
- }
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_deptinfo" nodeset="/root/main/dept/deptlist" caption="예산구분^부서코드^부서명" colsep="^" colwidth="0, 100, 244" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:385px; height:663px; ">
- <col ref="bugtflag"/>
- <col ref="deptcd"/>
- <col ref="depthngnm"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- misfMsterDetailRetrieve();
- misfSetReadOnlyCol(grd_acntinfo, "acntcd", true);
-
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_acntinfo" nodeset="/root/main/acnt/deptacntlist" caption="부서코드^예산구분^항코드^항^목코드^목^계정과목^계정과목^예산구분^예산코드^예산과목^계정코드예산코드^예산사용^예산출력순서" colsep="^" colwidth="36, 52, 40, 100, 40, 110, 95, 200, 0, 35, 70, 95, 62, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:389px; top:75px; width:804px; height:663px; ">
- <col ref="deptcd" visibility="hidden"/>
- <col ref="bugtflag" visibility="hidden"/>
- <col ref="supacntcd3" visibility="hidden"/>
- <col ref="supacntnm3"/>
- <col ref="supacntcd4" visibility="hidden"/>
- <col ref="supacntnm4"/>
- <col ref="acntcd" type="inputbutton"/>
- <col ref="acntnm"/>
- <col ref="bugtflag" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="bugtnm" visibility="hidden"/>
- <col ref="acntcdbugtcd" visibility="hidden"/>
- <col checkvalue="Y,N" ref="bugtuseyn" type="checkbox"/>
- <col ref="bugtprntseq" type="input"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- misfOpenPopUpList("10", grd_acntinfo, "", "supacntcd3,supacntnm3,supacntcd4,supacntnm4,acntcd,acntnm,bugtflag,bugtcd,bugtnm,acntcdbugtcd");
- grd_acntinfo.valueMatrix(grd_acntinfo.row, grd_acntinfo.colRef("bugtuseyn")) = "Y";
-
- misfCheckDupData(grd_acntinfo, grd_acntinfo.colRef("acntcd"));
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_grddel" class="btn2_letter3" style="left:1137px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_acntinfo, "D");
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:23px; width:1195px; height:27px; ">
- <line id="line5" class="line_6" style="x1:0px; y1:24px; x2:1194px; y2:24px; "/>
- <button id="btn_copy" class="btn4_letter2" disabled="false" visibility="hidden" style="left:1073px; top:3px; width:56px; height:22px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1135px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfSave("TXRBC00401");
-
- grd_deptinfo.dispatch("onrowchanged");
- grd_acntinfo.rebuild();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|