SMRFC00406_재물조사통계.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>재물조사통계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <goodssumlist/>
  12. <variationlist/>
  13. <uselesslist/>
  14. </list>
  15. <dalist>
  16. <deptacntlist/>
  17. </dalist>
  18. <uselist>
  19. <uselessgoodlist/>
  20. </uselist>
  21. </main>
  22. <send>
  23. <instcd/>
  24. <yyyy/>
  25. <byyyy/>
  26. </send>
  27. <init>
  28. </init>
  29. <hidden/>
  30. <temp>
  31. <cmt1/>
  32. <cmt2/>
  33. </temp>
  34. <popacnt>
  35. <instcd/>
  36. <yyyy/>
  37. <selectyn/>
  38. </popacnt>
  39. <popacntlist>
  40. <acntlist/>
  41. </popacntlist>
  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="../../../mis/miscommonweb/js/MIS.js"/>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. fInitialize();
  50. ]]>
  51. </script>
  52. <submission id="TRRFC00407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  53. <submission id="TRRFC00408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dalist"/>
  54. <submission id="TRRFC00409" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/uselist"/>
  55. </model>
  56. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  60. <script type="javascript">
  61. <![CDATA[
  62. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  63. function fInitialize() {
  64. misfComboComCdList("C0048",cmb_instcd,"Y"); //기관코드
  65. // misfMsterDetailSet(grd_propllist, null, "TRRFC00401","Y"); //마스터 설정
  66. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); // 기관 설정
  67. model.setValue(ipt_yyyy.attribute("ref"),getCurrentDate().substring(0, 4));
  68. var curdate = getCurrentDate();
  69. var cvtdate = curdate.toDate("YYYY");
  70. var byyyy = cvtdate.getAddDate(-1,"Y").getDateFormat("YYYY");
  71. //alert(cvtdate.getAddDate(-1,"Y").getDateFormat("YYYY"));
  72. model.setValue(ipt_byyyy.attribute("ref") ,cvtdate.getAddDate(-1,"Y").getDateFormat("YYYY"));
  73. // var dutplcecd = getUserInfo("dutplcecd");
  74. // if(dutplcecd == "4020334000" || getUserInfo("userid") == "MIS" || getUserInfo("userid") == "99207" ){
  75. // btn_search.dispatch("DOMActivate");
  76. // }else{
  77. // messageBox("물류팀외 조회할 수","I004");
  78. // btn_search.disabled = true;
  79. // btn_save.disabled = true;
  80. // btn_clear.disabled = true;
  81. // ipt_yyyy.disabled = true;
  82. // }
  83. model.refresh();
  84. }
  85. function fsearch(){
  86. // var updtdata = getGridUpdateData(grd_propllist);
  87. // if ( updtdata != "") {
  88. // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  89. // if (ret != 6) { // not OK
  90. // return;
  91. // }
  92. // }
  93. isRequiredControls("cmb_instcd");
  94. misfMsterDetailRetrieve();
  95. // misfSetReadOnlyCol(grd_rfcmetpllist, "instcd,deptcd,deptnm", true);
  96. }
  97. ]]>
  98. </script>
  99. </xhtml:head>
  100. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  101. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  102. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  103. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  104. <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  105. <line id="line13" class="line_4" visibility="hidden" style="x1:1110px; y1:5px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  106. <caption id="cap_deptcd" class="search_name" style="left:511px; top:9px; width:90px; height:17px; ">기준년도 :</caption>
  107. <button id="btn_search" class="btn1_letter2" navindex="6" visibility="hidden" style="left:1125px; top:6px; width:56px; height:22px; ">
  108. <caption>조회</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. fsearch();
  112. ]]>
  113. </script>
  114. </button>
  115. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" navindex="1" appearance="minimal" style="left:108px; top:8px; width:238px; height:19px; text-align:center; ">
  116. <choices>
  117. <itemset>
  118. <label/>
  119. <value/>
  120. </itemset>
  121. </choices>
  122. <script type="javascript" ev:event="xforms-value-changed">
  123. <![CDATA[
  124. btn_search.dispatch("DOMActivate");
  125. ]]>
  126. </script>
  127. </select1>
  128. <input id="ipt_yyyy" ref="/root/send/yyyy" class="input_search" navindex="2" style="left:605px; top:8px; width:105px; height:19px; text-align:center; ">
  129. <script type="javascript" ev:event="xforms-value-changed">
  130. <![CDATA[
  131. var yyyy = model.getValue("/root/send/yyyy");
  132. model.setValue(ipt_byyyy.attribute("ref") ,parseInt(yyyy)-1);
  133. ipt_byyyy.refresh();
  134. ]]>
  135. </script>
  136. </input>
  137. <input id="ipt_byyyy" ref="/root/send/byyyy" class="input_search" navindex="2" visibility="hidden" style="left:750px; top:5px; width:105px; height:19px; text-align:center; "/>
  138. </group>
  139. <caption id="caption8" style="left:5px; top:94px; width:390px; height:15px; font-weight:bold; color:#003366; ">
  140. <![CDATA[< 재물조사 총괄표 출력정보 >]]>
  141. </caption>
  142. <caption id="caption52" class="cell_1" style="left:10px; top:130px; width:175px; height:23px; vertical-align:middle; ">전년대비 자산증감 현황 _비고</caption>
  143. <caption id="caption5" class="cell_1" style="left:10px; top:225px; width:175px; height:23px; vertical-align:middle; background-color:#d4d4ff; ">불용물품 현황_비고</caption>
  144. <button id="button1" class="btn1_letter8" style="left:665px; top:145px; width:128px; height:22px; ">
  145. <caption>재물조사 총괄표</caption>
  146. <script type="javascript" ev:event="DOMActivate">
  147. <![CDATA[
  148. submit("TRRFC00407");
  149. model.removeNodeset("/root/prtinfo/goodssumlist");
  150. model.removeNodeset("/root/prtinfo/variationlist");
  151. model.removeNodeset("/root/prtinfo/uselesslist");
  152. model.removeNodeset("/root/prtinfo/temp");
  153. model.makeNode("/root/prtinfo/goodssumlist");
  154. model.makeNode("/root/prtinfo/variationlist");
  155. model.makeNode("/root/prtinfo/uselesslist");
  156. model.makeNode("/root/prtinfo/temp");
  157. copyNodesetType("/root/prtinfo/goodssumlist","/root/main/list/goodssumlist","replace");
  158. copyNodesetType("/root/prtinfo/variationlist","/root/main/list/variationlist","replace");
  159. copyNodesetType("/root/prtinfo/uselesslist","/root/main/list/uselesslist","replace");
  160. copyNodesetType("/root/prtinfo/temp","/root/temp","replace");
  161. model.makeValue("/root/prtinfo/temp/yyyy",model.getValue("/root/send/yyyy"));
  162. model.makeValue("/root/prtinfo/temp/byyyy",model.getValue("/root/send/byyyy"));
  163. // exeReportPreview("RPRFC00401","XMLSTR","/root/prtinfo", "", "true", "", "", "", "", "true");
  164. exeReportPreview("RPRFC00401","XMLSTR");
  165. ]]>
  166. </script>
  167. </button>
  168. <button id="button2" class="btn1_letter10" style="left:665px; top:185px; width:152px; height:22px; ">
  169. <caption>부서,계정 자산총계표</caption>
  170. <script type="javascript" ev:event="DOMActivate">
  171. <![CDATA[
  172. submit("TRRFC00408");
  173. model.removeNodeset("/root/prtinfo/deptacntlist");
  174. model.makeNode("/root/prtinfo/deptacntlist");
  175. copyNodesetType("/root/prtinfo/deptacntlist","/root/main/dalist/deptacntlist","replace");
  176. model.makeValue("/root/prtinfo/temp/yyyy",model.getValue("/root/send/yyyy"));
  177. exeReportPreview("RPRFC00402","XMLSTR");
  178. ]]>
  179. </script>
  180. </button>
  181. <button id="button3" class="btn1_letter7" style="left:665px; top:225px; width:116px; height:22px; ">
  182. <caption>불용물품 현황</caption>
  183. <script type="javascript" ev:event="DOMActivate">
  184. <![CDATA[
  185. submit("TRRFC00409");
  186. model.removeNodeset("/root/prtinfo/uselessgoodlist");
  187. model.makeNode("/root/prtinfo/uselessgoodlist");
  188. copyNodesetType("/root/prtinfo/uselessgoodlist","/root/main/uselist/uselessgoodlist","replace");
  189. model.makeValue("/root/prtinfo/temp/yyyy",model.getValue("/root/send/yyyy"));
  190. exeReportPreview("RPRFC00403","XMLSTR");
  191. ]]>
  192. </script>
  193. </button>
  194. <line id="line1" style="x1:615px; y1:80px; x2:615px; y2:300px; border-style:dotted; "/>
  195. <line id="line3" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
  196. <caption id="caption12" class="tit_2" style="left:5px; top:50px; width:390px; height:13px; ">재물조사 출력물</caption>
  197. <textarea id="textarea1" ref="/root/temp/cmt1" style="left:190px; top:130px; width:390px; height:65px; "/>
  198. <textarea id="textarea2" ref="/root/temp/cmt2" style="left:190px; top:225px; width:390px; height:65px; "/>
  199. </group>
  200. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  201. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:15px; ">재물조사 통계 출력물</caption>
  202. </group>
  203. <group id="group2" style="left:0px; top:12px; width:1195px; height:27px; ">
  204. <line id="line16" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  205. <button id="btn_clear" class="btn4_letter3" navindex="13" style="left:1127px; top:3; width:68px; height:22px; ">
  206. <caption>초기화</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. fInitialize();
  210. ]]>
  211. </script>
  212. </button>
  213. <button id="btn_save" class="btn4_letter2" navindex="12" visibility="hidden" style="left:1069px; top:3; width:56px; height:22px; ">
  214. <caption>저장</caption>
  215. <script type="javascript" ev:event="DOMActivate">
  216. <![CDATA[
  217. // var updtdata = getGridUpdateData(grd_propllist);
  218. //
  219. // if (updtdata == "") {
  220. // messageBox("변경된 데이터가","I004");
  221. // return;
  222. // }
  223. //
  224. // if(!checkKeyColumn("grd_propllist")) return;
  225. //
  226. // rtn = messageBox("", "Q002");
  227. // if(rtn != "6" ) return false;
  228. //
  229. // misfSave("TXRFC00403");
  230. // btn_search.dispatch("DOMActivate");
  231. ]]>
  232. </script>
  233. </button>
  234. </group>
  235. </xhtml:body>
  236. </xhtml:html>