123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?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>
- <detailist/>
- </list>
- </main>
- <send>
- <condition>
- <costcntrdeptcd/>
- <costcntrdeptnm/>
- <accountcd1/>
- <accountnm1/>
- <accountcd2/>
- <accountnm2/>
- <fixasetcd1/>
- <goodflaghngnm1/>
- <instcd/>
- <fixasetcd2/>
- <goodflaghngnm2/>
- <goodflag/>
- <lrgcd/>
- </condition>
- </send>
- <init>
- <goodflag>
- <label/>
- <value/>
- </goodflag>
- <lmslist>
- <label/>
- <value/>
- </lmslist>
- </init>
- <temp/>
- </root>
- </instance>
- <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/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fOpenForm();
- //sCdGrupid = model.getValue("/root/init/comcode/cdgrupid");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- //========================================================================================
- //화면 로드시 초기화 함수
- //========================================================================================
- function fOpenForm() {
-
- //model.removenode("/root/main/notelist");
-
- //var sToday = getCurrentDate().toString();
- //var sFrday = sToday.substring(0,4) + "0301";
-
- //model.setValue("/root/main/condition/todt",sToday);
- //model.setValue("/root/main/condition/frdt",sFrday);
- var instcd = getUserInfo("dutplceinstcd");
- model.setValue("/root/send/condition/instcd",instcd);
- misfComboComCdListMulti("R0025", "cmb_goodflag_search");
- // zbcfGetCodeList(new Array("R0025"), new Array("/root/init/goodflag"));
- model.refresh();
-
- }
-
- //========================================================================================
- //관리대장 조회
- //========================================================================================
- function fRetrieve()
- {
-
- model.removeNodeset("/root/main/list/detailist");
- submit("TRRAA00501");
- model.refresh();
-
- }
-
-
-
-
- //========================================================================================
- //엑셀입력(excel file을 그리드에 입력)
- //========================================================================================
- function fInputExcel(pGrid) {
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if(fileName != "") {
- pGrid.loadExcel(fileName, 1, true);
- pGrid.deleteRow(1);
-
- for(i = 1; i < pGrid.rows; i++) {
- pGrid.rowStatus(i) = 1;
- }
- pGrid.refresh();
- }
- }
- ]]>
- </script>
- <submission id="TRRAA00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detailist"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">고정자산관리대장</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:730px; ">
- <line id="line3" class="line_1" style="x1:0px; y1:100px; x2:1195px; y2:100px; "/>
- <caption id="caption21" class="tit_2" style="left:5px; top:80px; width:131px; height:13px; ">고정자산관리대장</caption>
- <button id="btn_excadd" class="btn2_letter4" style="left:1115px; top:50px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInputExcel(grd_notelist);
- ]]>
- </script>
- </button>
- <upload id="upload1" style="left:735px; top:415px; width:100px; height:20px; "/>
- <group id="group4" style="left:0px; top:10px; width:1195; height:60px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:735px; top:20px; width:90px; height:17px; ">귀속부서 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="17" style="left:1124; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <line id="line30" class="line_4" style="x1:1109; y1:8px; x2:1109; y2:51px; "/>
- <button id="btn_costcntrdeptcd" class="icon_search" navindex="9" style="left:905px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("02", ipt_costcntrdeptcd, "", "costcntrdeptcd,costcntrdeptnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_costcntrdeptcd" ref="/root/send/condition/costcntrdeptcd" class="input_s_essential" navindex="8" style="left:824px; top:20px; width:75px; height:19px; "/>
- <input id="ipt_costcntrdeptnm" ref="/root/send/condition/costcntrdeptnm" class="input_s_essential" navindex="10" style="left:925px; top:20px; width:110px; height:19px; "/>
- <select1 id="cmb_goodflag_search" ref="/root/send/condition/goodflag" class="combo_default" navindex="1" appearance="minimal" style="left:105px; top:20px; width:210px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(cmb_goodflag_search.value, "", "", "cmb_lrgcd_search", "", "L");
- //cmb_lrgcd_search.dispatch("xforms-value-changed");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_goodflag_search" class="search_name" style="left:15px; top:20px; width:100px; height:17px; ">물품구분 :</caption>
- <caption id="cap_lrgcd_search" class="search_name" style="left:355px; top:20px; width:117px; height:17px; ">대 분 류 :</caption>
- <select1 id="cmb_lrgcd_search" ref="/root/send/condition/lrgcd" appearance="minimal" style="left:445px; top:20px; width:195px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/lmslist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <datagrid id="datagrid11" nodeset="/root/main/list/detailist" caption="기관코드^코드^자산명^자산명^규격^모델^카탈로그^취득일자^수량^제작사^관리부서^귀속부서^설치장소^기초가액^상각누계액^장부가액^내용년수^상각구분^상각방법^상각율" colsep="^" colwidth="0, 66, 224, 0, 120, 78, 0, 100, 51, 132, 100, 0, 0, 109, 96, 87, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:110px; width:1193px; height:610px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" style="text-align:left; "/>
- <col ref="goodflaghngnm" style="text-align:left; "/>
- <col ref="goodflagengnm" visibility="hidden"/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="goodmodel" style="text-align:left; "/>
- <col ref="catalog" visibility="hidden"/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="goodqty" format="#,###" style="text-align:right; "/>
- <col ref="prodcmpy" style="text-align:left; "/>
- <col ref="mngtdeptcd" style="text-align:left; "/>
- <col ref="cntrdeptcd" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="possnamt" format="#,###" style="text-align:right; "/>
- <col ref="sumdep" format="#,###" style="text-align:right; "/>
- <col ref="repaybal" format="#,###" style="text-align:right; "/>
- <col ref="cntsyearno" visibility="hidden"/>
- <col ref="repayflag" visibility="hidden"/>
- <col ref="repaymthd" visibility="hidden"/>
- <col ref="repayrate" visibility="hidden"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|