SMRAA00800_(X)고정자산관리대장.xrw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>고정자산관리대장</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <detailist/>
  12. </list>
  13. </main>
  14. <send>
  15. <condition>
  16. <costcntrdeptcd/>
  17. <costcntrdeptnm/>
  18. <accountcd1/>
  19. <accountnm1/>
  20. <accountcd2/>
  21. <accountnm2/>
  22. <fixasetcd1/>
  23. <goodflaghngnm1/>
  24. <instcd/>
  25. <fixasetcd2/>
  26. <goodflaghngnm2/>
  27. <goodflag/>
  28. <lrgcd/>
  29. </condition>
  30. </send>
  31. <init>
  32. <goodflag>
  33. <label/>
  34. <value/>
  35. </goodflag>
  36. <lmslist>
  37. <label/>
  38. <value/>
  39. </lmslist>
  40. </init>
  41. <temp/>
  42. </root>
  43. </instance>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  49. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  51. <script type="javascript" ev:event="xforms-ready">
  52. <![CDATA[
  53. fOpenForm();
  54. //sCdGrupid = model.getValue("/root/init/comcode/cdgrupid");
  55. ]]>
  56. </script>
  57. <script type="javascript">
  58. <![CDATA[
  59. //========================================================================================
  60. //화면 로드시 초기화 함수
  61. //========================================================================================
  62. function fOpenForm() {
  63. //model.removenode("/root/main/notelist");
  64. //var sToday = getCurrentDate().toString();
  65. //var sFrday = sToday.substring(0,4) + "0301";
  66. //model.setValue("/root/main/condition/todt",sToday);
  67. //model.setValue("/root/main/condition/frdt",sFrday);
  68. var instcd = getUserInfo("dutplceinstcd");
  69. model.setValue("/root/send/condition/instcd",instcd);
  70. misfComboComCdListMulti("R0025", "cmb_goodflag_search");
  71. // zbcfGetCodeList(new Array("R0025"), new Array("/root/init/goodflag"));
  72. model.refresh();
  73. }
  74. //========================================================================================
  75. //관리대장 조회
  76. //========================================================================================
  77. function fRetrieve()
  78. {
  79. model.removeNodeset("/root/main/list/detailist");
  80. submit("TRRAA00501");
  81. model.refresh();
  82. }
  83. //========================================================================================
  84. //엑셀입력(excel file을 그리드에 입력)
  85. //========================================================================================
  86. function fInputExcel(pGrid) {
  87. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  88. if(fileName != "") {
  89. pGrid.loadExcel(fileName, 1, true);
  90. pGrid.deleteRow(1);
  91. for(i = 1; i < pGrid.rows; i++) {
  92. pGrid.rowStatus(i) = 1;
  93. }
  94. pGrid.refresh();
  95. }
  96. }
  97. ]]>
  98. </script>
  99. <submission id="TRRAA00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detailist"/>
  100. </model>
  101. </xhtml:head>
  102. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  103. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  104. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">고정자산관리대장</caption>
  105. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  106. </group>
  107. <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:730px; ">
  108. <line id="line3" class="line_1" style="x1:0px; y1:100px; x2:1195px; y2:100px; "/>
  109. <caption id="caption21" class="tit_2" style="left:5px; top:80px; width:131px; height:13px; ">고정자산관리대장</caption>
  110. <button id="btn_excadd" class="btn2_letter4" style="left:1115px; top:50px; width:64px; height:19px; text-align:left; ">
  111. <caption>엑셀입력</caption>
  112. <script type="javascript" ev:event="onclick">
  113. <![CDATA[
  114. fInputExcel(grd_notelist);
  115. ]]>
  116. </script>
  117. </button>
  118. <upload id="upload1" style="left:735px; top:415px; width:100px; height:20px; "/>
  119. <group id="group4" style="left:0px; top:10px; width:1195; height:60px; vertical-align:top; ">
  120. <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; "/>
  121. <caption id="caption5" class="search_name" style="left:735px; top:20px; width:90px; height:17px; ">귀속부서 :</caption>
  122. <button id="btn_search" class="btn1_letter2" navindex="17" style="left:1124; top:19px; width:56px; height:22px; ">
  123. <caption>조회</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. fRetrieve();
  127. ]]>
  128. </script>
  129. </button>
  130. <line id="line30" class="line_4" style="x1:1109; y1:8px; x2:1109; y2:51px; "/>
  131. <button id="btn_costcntrdeptcd" class="icon_search" navindex="9" style="left:905px; top:20px; width:16px; height:16px; ">
  132. <caption/>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. misfOpenPopUpList("02", ipt_costcntrdeptcd, "", "costcntrdeptcd,costcntrdeptnm");
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </button>
  140. <input id="ipt_costcntrdeptcd" ref="/root/send/condition/costcntrdeptcd" class="input_s_essential" navindex="8" style="left:824px; top:20px; width:75px; height:19px; "/>
  141. <input id="ipt_costcntrdeptnm" ref="/root/send/condition/costcntrdeptnm" class="input_s_essential" navindex="10" style="left:925px; top:20px; width:110px; height:19px; "/>
  142. <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; ">
  143. <choices>
  144. <itemset nodeset="/root/init/goodflag">
  145. <label ref="label"/>
  146. <value ref="value"/>
  147. </itemset>
  148. </choices>
  149. <script type="javascript" ev:event="xforms-value-changed">
  150. <![CDATA[
  151. rszfLMSComboList(cmb_goodflag_search.value, "", "", "cmb_lrgcd_search", "", "L");
  152. //cmb_lrgcd_search.dispatch("xforms-value-changed");
  153. model.refresh();
  154. ]]>
  155. </script>
  156. </select1>
  157. <caption id="cap_goodflag_search" class="search_name" style="left:15px; top:20px; width:100px; height:17px; ">물품구분 :</caption>
  158. <caption id="cap_lrgcd_search" class="search_name" style="left:355px; top:20px; width:117px; height:17px; ">대 분 류 :</caption>
  159. <select1 id="cmb_lrgcd_search" ref="/root/send/condition/lrgcd" appearance="minimal" style="left:445px; top:20px; width:195px; height:19px; text-align:center; ">
  160. <choices>
  161. <itemset nodeset="/root/init/lmslist">
  162. <label ref="label"/>
  163. <value ref="value"/>
  164. </itemset>
  165. </choices>
  166. </select1>
  167. </group>
  168. <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; ">
  169. <col ref="instcd" visibility="hidden"/>
  170. <col ref="fixasetcd" style="text-align:left; "/>
  171. <col ref="goodflaghngnm" style="text-align:left; "/>
  172. <col ref="goodflagengnm" visibility="hidden"/>
  173. <col ref="goodspec" style="text-align:left; "/>
  174. <col ref="goodmodel" style="text-align:left; "/>
  175. <col ref="catalog" visibility="hidden"/>
  176. <col ref="possndd" format="yyyy-mm-dd" style="text-align:left; "/>
  177. <col ref="goodqty" format="#,###" style="text-align:right; "/>
  178. <col ref="prodcmpy" style="text-align:left; "/>
  179. <col ref="mngtdeptcd" style="text-align:left; "/>
  180. <col ref="cntrdeptcd" visibility="hidden"/>
  181. <col ref="installplcecd" visibility="hidden"/>
  182. <col ref="possnamt" format="#,###" style="text-align:right; "/>
  183. <col ref="sumdep" format="#,###" style="text-align:right; "/>
  184. <col ref="repaybal" format="#,###" style="text-align:right; "/>
  185. <col ref="cntsyearno" visibility="hidden"/>
  186. <col ref="repayflag" visibility="hidden"/>
  187. <col ref="repaymthd" visibility="hidden"/>
  188. <col ref="repayrate" visibility="hidden"/>
  189. </datagrid>
  190. </group>
  191. </xhtml:body>
  192. </xhtml:html>