SMRFE02200_재물조사(비품답사).xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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. <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:13px; ">비품 답사(의료 장비)</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="72, 79, 51, 100, 171, 120, 110, 112, 83, 69, 99, 97, 46, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1194px; height:394px; ">
  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" type="checkbox" maxlength="2" style="text-align:left; "/>
  112. <col ref="fixasetamt" type="inputbutton" format="#,###" maxlength="12" style="text-align:right; "/>
  113. <col ref="mainrec" style="text-align:center; "/>
  114. <col type="checkbox"/>
  115. <col type="input"/>
  116. </datagrid>
  117. <caption id="caption1" class="tit_2" style="left:5px; top:485px; width:143px; height:14px; ">타부서 비품 정보</caption>
  118. <datagrid id="datagrid1" nodeset="/root/main/chgnhistlist" caption="순번^부서 코드^부서명^장비코드^장비명^모델^구입일자^거래처^제조원" colsep="^" colwidth="51, 100, 100, 100, 171, 120, 110, 112, 83" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:507px; width:1194px; height:230px; ">
  119. <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  120. <col/>
  121. <col/>
  122. <col ref="fixasetcd" style="text-align:center; "/>
  123. <col ref="goodflaghngnm" style="text-align:center; "/>
  124. <col disabled="true" ref="updtflag" _key="true" style="text-align:center; "/>
  125. <col ref="installplcenm" style="text-align:center; "/>
  126. <col disabled="true" ref="possnflagcd" style="text-align:center; "/>
  127. <col format="#,###" maxlength="12" ef="forgncurncyamt" style="text-align:right; "/>
  128. </datagrid>
  129. <line id="line2" class="line_1" style="x1:0px; y1:501px; x2:1194px; y2:501px; "/>
  130. <button id="button2" class="btn2_letter4" style="left:1125px; top:480px; width:64px; height:19px; ">
  131. <caption>엑셀저장</caption>
  132. <script type="javascript" ev:event="DOMActivate">
  133. <![CDATA[
  134. var fileName = window.fileDialog ("save", ",", false, "자산변동사항이력List", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  135. if (fileName != "")
  136. {
  137. grd_rfchcgmtlist.saveExcel(fileName);
  138. }
  139. ]]>
  140. </script>
  141. </button>
  142. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  143. <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; "/>
  144. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  145. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
  146. <caption>조회</caption>
  147. <script type="javascript" ev:event="DOMActivate">
  148. <![CDATA[
  149. fsearch();
  150. ]]>
  151. </script>
  152. </button>
  153. <button id="btn_fixasetcd" class="icon_search" style="left:684px; top:10px; width:16px; height:16px; ">
  154. <caption/>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. // ,cntrdeptcd,installplcenm,possnamt,goodspec,mngtno,possndd,installplcecd,depthngnm
  158. var temp = "fixasetcd,goodflaghngnm";
  159. rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd,goodflag","cmb_instcd,cmb_goodflag");
  160. model.refresh();
  161. ]]>
  162. </script>
  163. </button>
  164. <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; ">
  165. <script type="javascript" ev:event="xforms-value-changed">
  166. <![CDATA[
  167. if(ipt_fixasetnm.value != "")
  168. {
  169. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  170. "goodflaghngnm," + cmb_instcd.value + "," + ipt_fixasetnm.value, "", "fixasetcd,goodflaghngnm",
  171. ipt_fixasetnm, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
  172. }else{
  173. ipt_fixasetcd.value = "";
  174. }
  175. model.refresh();
  176. ]]>
  177. </script>
  178. </input>
  179. <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; ">
  180. <script type="javascript" ev:event="xforms-value-changed">
  181. <![CDATA[
  182. if(ipt_deptnm.value == ""){
  183. ipt_deptcd.value = "";
  184. }else {
  185. misfValidationCheck("02", "", "deptcd,deptnm");
  186. }
  187. model.refresh();
  188. ]]>
  189. </script>
  190. </input>
  191. <caption id="cap_deptcd" class="search_name" style="left:15px; top:10px; width:89px; height:17px; ">사용부서 :</caption>
  192. <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; ">
  193. <script type="javascript" ev:event="xforms-value-changed">
  194. <![CDATA[
  195. if(ipt_fixasetcd.value != "")
  196. {
  197. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  198. "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "", "fixasetcd,goodflaghngnm",
  199. ipt_fixasetcd, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
  200. }else{
  201. ipt_fixasetnm.value = "";
  202. }
  203. model.refresh();
  204. ]]>
  205. </script>
  206. </input>
  207. <button id="btn_deptcd" class="icon_search" style="left:215px; top:11px; width:16px; height:16px; ">
  208. <caption/>
  209. <script type="javascript" ev:event="DOMActivate">
  210. <![CDATA[
  211. misfOpenPopUpList("02", ipt_deptcd,"","deptcd,deptnm");
  212. model.refresh();
  213. ]]>
  214. </script>
  215. </button>
  216. <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; ">
  217. <script type="javascript" ev:event="xforms-value-changed">
  218. <![CDATA[
  219. if(ipt_deptcd.value == ""){
  220. ipt_deptnm.value = "";
  221. }else {
  222. misfValidationCheck("02", "", "deptcd,deptnm");
  223. }
  224. model.refresh();
  225. ]]>
  226. </script>
  227. </input>
  228. <caption id="cap_fixasetcd" class="search_name" style="left:485px; top:9px; width:89px; height:17px; ">자산코드 :</caption>
  229. </group>
  230. </group>
  231. <group id="group2" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  232. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  233. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  234. <caption>초기화</caption>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. fInitialize();
  238. ]]>
  239. </script>
  240. </button>
  241. </group>
  242. </xhtml:body>
  243. </xhtml:html>