SMRFE02300_재물조사 이동내역.xrw 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. <chgnhistlist/>
  11. </main>
  12. <send>
  13. <instcd/>
  14. <goodflag/>
  15. <updtdd1/>
  16. <updtdd2/>
  17. <updtflag/>
  18. <deptcd/>
  19. <deptnm/>
  20. <installplcecd/>
  21. <installplcenm/>
  22. <fixasetcd/>
  23. <goodflaghngnm/>
  24. </send>
  25. <init>
  26. <possnflagcd>
  27. <label>내자</label>
  28. <value>H</value>
  29. <label>외자</label>
  30. <value>F</value>
  31. </possnflagcd>
  32. <goodflag>
  33. <label>일반비품</label>
  34. <value>G</value>
  35. <label>의료장비</label>
  36. <value>E</value>
  37. </goodflag>
  38. </init>
  39. <temp/>
  40. </root>
  41. </instance>
  42. <submission id="TRRFE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/chgnhistlist"/>
  43. </model>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. //화면 Control을 초기화한다
  47. fInitialize();
  48. ]]>
  49. </script>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  53. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  56. <script type="javascript">
  57. <![CDATA[
  58. function fInitialize()
  59. {
  60. misfGridInit(grd_rfchcgmtlist);
  61. // misfComboComCdListMulti("Z0007", "cmb_instcd"); // 기관코드
  62. // misfGridComboComCdList("R0041", grd_chgnhistlist, "updtflag");
  63. // misfGridComboComCdList("R0047", grd_chgnhistlist, "curncyunit");
  64. misfComboComCdListMulti("Z0007,R0041,R0041,R0047",
  65. "cmb_instcd,cmb_updtflag,grd_rfchcgmtlist.updtflag,grd_rfchcgmtlist.curncyunit");
  66. addComboItem( "cmb_updtflag", "- 전 체 -", "", "above");
  67. cmb_goodflag.select(0);
  68. // 대분류 코드 콤보 설정.
  69. //rszfLMSComboList(cmb_goodflag_search.value, "", "", "cmb_lrgcd_search", "", "L", "Y") ;
  70. // 현재 날짜 기본 입력(6개월 간격 설정)
  71. var reqdate = getCurrentDate().toDate("YYYYMMDD");
  72. model.setValue(ipt_updtdd1.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
  73. model.setValue(ipt_updtdd2.attribute("ref"), getCurrentDate());
  74. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); // 기관 설정
  75. misfMsterDetailSet(grd_rfchcgmtlist, null, "TRRFE00201", "N");
  76. model.refresh();
  77. }
  78. ]]>
  79. </script>
  80. </xhtml:head>
  81. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  82. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  83. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">이동 내역</caption>
  84. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  85. </group>
  86. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  87. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  88. <caption id="caption21" class="tit_2" style="left:5px; top:56px; width:143px; height:14px; ">이동 내역</caption>
  89. <button id="btn_excel" class="btn2_letter2" style="left:1143px; top:51px; width:42px; height:19px; ">
  90. <caption>저장</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. var fileName = window.fileDialog ("save", ",", false, "자산변동사항이력List", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  94. if (fileName != "")
  95. {
  96. grd_rfchcgmtlist.saveExcel(fileName);
  97. }
  98. ]]>
  99. </script>
  100. </button>
  101. <datagrid id="grd_rfchcgmtlist" nodeset="/root/main/chgnhistlist" caption="실시년도^기관코드^부서^장비코드^장비명^모델^제조원^거래처^이동전^이동후^비 고" colsep="^" colwidth="82, 79, 125, 100, 171, 120, 110, 112, 83, 86, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1194px; height:654px; ">
  102. <col visibility="hidden"/>
  103. <col visibility="hidden"/>
  104. <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  105. <col ref="fixasetcd" style="text-align:center; "/>
  106. <col ref="goodflaghngnm" style="text-align:center; "/>
  107. <col disabled="true" ref="updtflag" _key="true" style="text-align:center; "/>
  108. <col ref="installplcenm" style="text-align:center; "/>
  109. <col disabled="true" ref="possnflagcd" style="text-align:center; "/>
  110. <col format="#,###" maxlength="12" ef="forgncurncyamt" style="text-align:right; "/>
  111. <col disabled="true" ref="curncyunit" maxlength="2" style="text-align:left; "/>
  112. <col type="combo"/>
  113. </datagrid>
  114. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  115. <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; "/>
  116. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  117. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
  118. <caption>조회</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. fsearch();
  122. ]]>
  123. </script>
  124. </button>
  125. <button id="btn_fixasetcd" class="icon_search" style="left:684px; top:10px; width:16px; height:16px; ">
  126. <caption/>
  127. <script type="javascript" ev:event="DOMActivate">
  128. <![CDATA[
  129. // ,cntrdeptcd,installplcenm,possnamt,goodspec,mngtno,possndd,installplcecd,depthngnm
  130. var temp = "fixasetcd,goodflaghngnm";
  131. rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd,goodflag","cmb_instcd,cmb_goodflag");
  132. model.refresh();
  133. ]]>
  134. </script>
  135. </button>
  136. <input id="ipt_fixasetnm" ref="/root/send/goodflaghngnm" class="input_search" navindex="6" style="left:703px; top:8px; width:272px; height:19px; text-align:center; ">
  137. <script type="javascript" ev:event="xforms-value-changed">
  138. <![CDATA[
  139. if(ipt_fixasetnm.value != "")
  140. {
  141. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  142. "goodflaghngnm," + cmb_instcd.value + "," + ipt_fixasetnm.value, "", "fixasetcd,goodflaghngnm",
  143. ipt_fixasetnm, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
  144. }else{
  145. ipt_fixasetcd.value = "";
  146. }
  147. model.refresh();
  148. ]]>
  149. </script>
  150. </input>
  151. <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" navindex="6" style="left:234px; top:9px; width:191px; height:19px; text-align:center; ">
  152. <script type="javascript" ev:event="xforms-value-changed">
  153. <![CDATA[
  154. if(ipt_deptnm.value == ""){
  155. ipt_deptcd.value = "";
  156. }else {
  157. misfValidationCheck("02", "", "deptcd,deptnm");
  158. }
  159. model.refresh();
  160. ]]>
  161. </script>
  162. </input>
  163. <caption id="cap_deptcd" class="search_name" style="left:15px; top:10px; width:89px; height:17px; ">사용부서 :</caption>
  164. <input id="ipt_fixasetcd" ref="/root/send/fixasetcd" class="input_search" navindex="6" style="left:574px; top:8px; width:106px; height:19px; text-align:center; ">
  165. <script type="javascript" ev:event="xforms-value-changed">
  166. <![CDATA[
  167. if(ipt_fixasetcd.value != "")
  168. {
  169. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  170. "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "", "fixasetcd,goodflaghngnm",
  171. ipt_fixasetcd, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
  172. }else{
  173. ipt_fixasetnm.value = "";
  174. }
  175. model.refresh();
  176. ]]>
  177. </script>
  178. </input>
  179. <button id="btn_deptcd" class="icon_search" style="left:215px; top:11px; width:16px; height:16px; ">
  180. <caption/>
  181. <script type="javascript" ev:event="DOMActivate">
  182. <![CDATA[
  183. misfOpenPopUpList("02", ipt_deptcd,"","deptcd,deptnm");
  184. model.refresh();
  185. ]]>
  186. </script>
  187. </button>
  188. <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_search" navindex="6" style="left:105px; top:9px; width:106px; height:19px; text-align:center; ">
  189. <script type="javascript" ev:event="xforms-value-changed">
  190. <![CDATA[
  191. if(ipt_deptcd.value == ""){
  192. ipt_deptnm.value = "";
  193. }else {
  194. misfValidationCheck("02", "", "deptcd,deptnm");
  195. }
  196. model.refresh();
  197. ]]>
  198. </script>
  199. </input>
  200. <caption id="cap_fixasetcd" class="search_name" style="left:485px; top:9px; width:89px; height:17px; ">자산코드 :</caption>
  201. </group>
  202. </group>
  203. <group id="group2" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  204. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  205. <button id="btn_init" class="btn4_letter3" style="left:1126; 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. </group>
  214. </xhtml:body>
  215. </xhtml:html>