SMRAA00900_(X)고정자산변동현황.xrw 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <instcd/>
  19. <mvyyyy/>
  20. <goodflag/>
  21. <updtflag/>
  22. </condition>
  23. </send>
  24. <init/>
  25. <temp/>
  26. </root>
  27. </instance>
  28. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  31. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  32. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  33. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. fOpenForm();
  38. //sCdGrupid = model.getValue("/root/init/comcode/cdgrupid");
  39. ]]>
  40. </script>
  41. <script type="javascript">
  42. <![CDATA[
  43. //========================================================================================
  44. //화면 로드시 초기화 함수
  45. //========================================================================================
  46. function fOpenForm() {
  47. //model.removenode("/root/main/notelist");
  48. var sToday = getCurrentDate().toString();
  49. var sFrday = sToday.substring(0,4) ;
  50. model.setValue("/root/send/condition/mvyyyy",sFrday);
  51. var instcd = getUserInfo("dutplceinstcd");
  52. model.setValue("/root/send/condition/instcd",instcd);
  53. misfComboComCdListMulti("R0025", "cmb_goodflag_search");
  54. model.refresh();
  55. }
  56. //========================================================================================
  57. //관리대장 조회
  58. //========================================================================================
  59. function fRetrieve()
  60. {
  61. model.removeNodeset("/root/main/list/detailist");
  62. submit("TRRAA00401");
  63. model.refresh();
  64. }
  65. //========================================================================================
  66. //엑셀입력(excel file을 그리드에 입력)
  67. //========================================================================================
  68. function fInputExcel(pGrid) {
  69. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  70. if(fileName != "") {
  71. pGrid.loadExcel(fileName, 1, true);
  72. pGrid.deleteRow(1);
  73. for(i = 1; i < pGrid.rows; i++) {
  74. pGrid.rowStatus(i) = 1;
  75. }
  76. pGrid.refresh();
  77. }
  78. }
  79. ]]>
  80. </script>
  81. <submission id="TRRAA00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/detailist"/>
  82. </model>
  83. </xhtml:head>
  84. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  85. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  86. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">고정자산변동현황</caption>
  87. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  88. </group>
  89. <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:730px; ">
  90. <line id="line3" class="line_1" style="x1:0px; y1:100px; x2:1195px; y2:100px; "/>
  91. <caption id="caption21" class="tit_2" style="left:5px; top:80px; width:131px; height:14px; ">고정자산변동현황</caption>
  92. <button id="btn_excadd" class="btn2_letter4" style="left:1115px; top:50px; width:64px; height:19px; text-align:left; ">
  93. <caption>엑셀입력</caption>
  94. <script type="javascript" ev:event="onclick">
  95. <![CDATA[
  96. fInputExcel(grd_notelist);
  97. ]]>
  98. </script>
  99. </button>
  100. <upload id="upload1" style="left:735px; top:415px; width:100px; height:20px; "/>
  101. <group id="group4" style="left:0px; top:10px; width:1195; height:60px; vertical-align:top; ">
  102. <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; "/>
  103. <caption id="caption5" class="search_name" style="left:395px; top:36px; width:90px; height:17px; ">귀속부서 :</caption>
  104. <button id="btn_search" class="btn1_letter2" navindex="16" style="left:1124; top:19px; width:56px; height:22px; ">
  105. <caption>조회</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. fRetrieve();
  109. ]]>
  110. </script>
  111. </button>
  112. <line id="line30" class="line_4" style="x1:1109; y1:8px; x2:1109; y2:51px; "/>
  113. <button id="btn_costcntrdeptcd" class="icon_search" navindex="2" style="left:571px; top:37px; width:16px; height:16px; ">
  114. <caption/>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. misfOpenPopUpList("02", ipt_costcntrdeptcd, "", "costcntrdeptcd,costcntrdeptnm");
  118. model.refresh();
  119. ]]>
  120. </script>
  121. </button>
  122. <input id="ipt_costcntrdeptcd" ref="/root/send/condition/costcntrdeptcd" class="input_s_essential" navindex="1" style="left:490px; top:35px; width:75px; height:19px; "/>
  123. <input id="ipt_costcntrdeptnm" ref="/root/send/condition/costcntrdeptnm" class="input_s_essential" navindex="3" style="left:590px; top:35px; width:130px; height:19px; "/>
  124. <caption id="caption8" class="search_name" style="left:20px; top:35px; width:90px; height:17px; ">변동내역 :</caption>
  125. <caption id="cap_goodflag_search" class="search_name" style="left:395px; top:10px; width:100px; height:17px; ">물품구분 :</caption>
  126. <select1 id="cmb_goodflag_search" ref="/root/send/condition/goodflag" class="combo_default" navindex="1" appearance="minimal" style="left:490px; top:10px; width:230px; height:19px; ">
  127. <choices>
  128. <itemset nodeset="/root/init/goodflag">
  129. <label ref="label"/>
  130. <value ref="value"/>
  131. </itemset>
  132. </choices>
  133. </select1>
  134. <select1 id="combo1" ref="/root/send/condition/updtflag" class="combo_default" navindex="1" appearance="minimal" style="left:115px; top:35px; width:235px; height:19px; ">
  135. <choices>
  136. <item>
  137. <label>부서이동</label>
  138. <value>0</value>
  139. </item>
  140. <item>
  141. <label>폐기</label>
  142. <value>1</value>
  143. </item>
  144. <item>
  145. <label>망실</label>
  146. <value>2</value>
  147. </item>
  148. <item>
  149. <label>매각</label>
  150. <value>3</value>
  151. </item>
  152. <item>
  153. <label>취득증감</label>
  154. <value>4</value>
  155. </item>
  156. <item>
  157. <label>불용</label>
  158. <value>5</value>
  159. </item>
  160. </choices>
  161. <script type="javascript" ev:event="xforms-value-changed">
  162. <![CDATA[
  163. rszfLMSComboList(cmb_goodflag_search.value, "", "", "cmb_lrgcd_search", "", "L");
  164. //cmb_lrgcd_search.dispatch("xforms-value-changed");
  165. model.refresh();
  166. ]]>
  167. </script>
  168. </select1>
  169. <input id="input7" ref="/root/send/condition/mvyyyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:115px; top:10px; width:100px; height:19px; "/>
  170. <caption id="caption12" class="search_name" style="left:20px; top:10px; width:99px; height:17px; ">년 도 :</caption>
  171. </group>
  172. <datagrid id="datagrid11" nodeset="/root/main/list/detailist" caption="기관코드^계정코드^계정명^코드^자산명^취득일^수량^내용년수^변동일자^순번^변동내역^변동후부서^변동금액^비고^기초금액^상각액^미상각액" colsep="^" colwidth="0, 0, 77, 0, 199, 76, 36, 59, 76, 33, 83, 100, 74, 93, 90, 90, 90" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:2px; top:110px; width:1193px; height:610px; ">
  173. <col ref="instcd" style="text-align:left; "/>
  174. <col ref="acntcd" style="text-align:left; "/>
  175. <col ref="acntnm" style="text-align:left; "/>
  176. <col ref="fixasetcd" style="text-align:left; "/>
  177. <col ref="goodflaghngnm" style="text-align:left; "/>
  178. <col ref="possndd" format="yyyy-mm-dd" style="text-align:left; "/>
  179. <col ref="goodqty" format="yyyy-mm-dd" style="text-align:left; "/>
  180. <col ref="cntsyearno" format="yyyy-mm-dd" style="text-align:left; "/>
  181. <col ref="updtdd" format="yyyy-mm-dd" style="text-align:left; "/>
  182. <col ref="updtseq" style="text-align:left; "/>
  183. <col ref="updtflag" style="text-align:left; "/>
  184. <col ref="deptnm" style="text-align:left; "/>
  185. <col ref="chgfixamt" format="#,###" style="text-align:right; "/>
  186. <col ref="mainrec" style="text-align:left; "/>
  187. <col ref="baserepayamt" format="#,###" style="text-align:right; "/>
  188. <col ref="redurepayamt" format="#,###" style="text-align:right; "/>
  189. <col ref="balamt" format="#,###" style="text-align:right; "/>
  190. </datagrid>
  191. </group>
  192. </xhtml:body>
  193. </xhtml:html>