SMRFE01700_수리부품 사용현황.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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. <rfehemhtlist2/>
  11. </main>
  12. <send>
  13. <instcd/>
  14. <fixasetcd/>
  15. <fixasetnm/>
  16. <installplcecd/>
  17. <installplcenm/>
  18. <reqdd1/>
  19. <reqdd2/>
  20. <kind/>
  21. <fixtrseqmtflag/>
  22. <goodmodel/>
  23. <winseqno/>
  24. <winseqnonm/>
  25. </send>
  26. <init>
  27. <fixtrseqmtflag>
  28. <label>비품</label>
  29. <value>G</value>
  30. <label>의료장비</label>
  31. <value>E</value>
  32. </fixtrseqmtflag>
  33. </init>
  34. </root>
  35. </instance>
  36. <submission id="TRRFE01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfehemhtlist2"/>
  37. </model>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. //화면 Control을 초기화한다
  41. fInitialize();
  42. ]]>
  43. </script>
  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" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript">
  51. <![CDATA[
  52. function fInitialize()
  53. {
  54. misfGridInit(grd_rfchcgmtlist);
  55. // misfComboComCdListMulti("Z0007", "cmb_instcd"); // 기관코드
  56. // misfGridComboComCdList("R0041", grd_chgnhistlist, "updtflag");
  57. // misfGridComboComCdList("R0047", grd_chgnhistlist, "curncyunit");
  58. //misfComboComCdListMulti("Z0007,R0041,R0041,R0047",
  59. //"cmb_instcd,cmb_updtflag,grd_rfchcgmtlist.updtflag,grd_rfchcgmtlist.curncyunit");
  60. misfComboComCdListMulti("Z0007,R0289",
  61. "cmb_instcd,cmb_kind");
  62. // 대분류 코드 콤보 설정.
  63. //rszfLMSComboList(cmb_goodflag_search.value, "", "", "cmb_lrgcd_search", "", "L", "Y") ;
  64. // 현재 날짜 기본 입력(6개월 간격 설정)
  65. var reqdate = getCurrentDate().toDate("YYYYMMDD");
  66. model.setValue(ipt_reqdd1.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
  67. model.setValue(ipt_reqdd2.attribute("ref"), getCurrentDate());
  68. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); // 기관 설정
  69. misfMsterDetailSet(grd_rfchcgmtlist, null, "TRRFE01701", "N");
  70. model.refresh();
  71. }
  72. ]]>
  73. </script>
  74. </xhtml:head>
  75. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  76. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  77. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">수리부품 사용현황</caption>
  78. </group>
  79. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  80. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:83; vertical-align:top; ">
  81. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:83; background-color:#fffbf2; border-color:#ffd799; "/>
  82. <caption id="caption2" class="search_name" style="left:477px; top:9px; width:76px; height:17px; ">자산구분</caption>
  83. <button id="button1" class="btn1_letter2" navindex="16" style="left:1125px; top:30px; width:56px; height:22px; ">
  84. <caption>조회</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. if(!isRequiredControls("cmb_instcd")) return;
  88. submit("TRRFE01701");
  89. ]]>
  90. </script>
  91. </button>
  92. <select1 id="cmb_fixtrseqmtflag" ref="/root/send/fixtrseqmtflag" class="combo_s_essential" navindex="8" appearance="minimal" style="left:572px; top:8px; width:189px; height:19px; ">
  93. <choices>
  94. <itemset nodeset="/root/init/fixtrseqmtflag">
  95. <label ref="label"/>
  96. <value ref="value"/>
  97. </itemset>
  98. </choices>
  99. <script type="javascript" ev:event="xforms-value-changed">
  100. <![CDATA[
  101. ipt_fixasetcd.value = "";
  102. ipt_fixasetnm.value = "";
  103. ]]>
  104. </script>
  105. </select1>
  106. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:76; border-color:#ffe4bb; border-left-style:solid; "/>
  107. <caption id="caption5" class="search_name" style="left:780px; top:9px; width:81px; height:17px; ">수리일자</caption>
  108. <input id="ipt_reqdd1" ref="/root/send/reqdd1" class="input_s_essential" navindex="11" inputtype="date" style="left:862px; top:8px; width:107px; height:19px; "/>
  109. <input id="ipt_reqdd2" ref="/root/send/reqdd2" class="input_s_essential" navindex="12" inputtype="date" style="left:985px; top:8px; width:107px; height:19px; "/>
  110. <caption id="caption16" style="left:972px; top:9px; width:17px; height:20px; vertical-align:middle; ">~</caption>
  111. <button id="btn_fixasetcd" class="icon_search" navindex="3" style="left:222px; top:33px; width:16px; height:16px; ">
  112. <caption/>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. var temp = "fixasetcd,fixasetnm";
  116. rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd,fixtrseqmtflag","cmb_instcd,cmb_fixtrseqmtflag");
  117. model.refresh();
  118. ]]>
  119. </script>
  120. </button>
  121. <caption id="caption4" class="search_name" style="left:15px; top:33px; width:76px; height:17px; ">자산코드</caption>
  122. <input id="ipt_fixasetcd" ref="/root/send/fixasetcd" class="input_search" navindex="2" style="left:98px; top:33px; width:120px; height:19px; ">
  123. <script type="javascript" ev:event="xforms-value-changed">
  124. <![CDATA[
  125. if(ipt_fixasetcd.value != "")
  126. {
  127. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  128. "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "", "fixasetcd,fixasetnm",
  129. ipt_fixasetcd, "SPRSD00240_고정자산코드검색HELP","instcd,fixtrseqmtflag","cmb_instcd,cmb_fixtrseqmtflag");
  130. }else{
  131. ipt_fixasetnm.value = "";
  132. }
  133. model.refresh();
  134. ]]>
  135. </script>
  136. </input>
  137. <input id="ipt_fixasetnm" ref="/root/send/fixasetnm" class="input_search" navindex="4" style="left:243px; top:33px; width:225px; height:19px; ">
  138. <script type="javascript" ev:event="xforms-value-changed">
  139. <![CDATA[
  140. if(ipt_fixasetnm.value != "")
  141. {
  142. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  143. "goodflaghngnm," + cmb_instcd.value + "," + ipt_fixasetnm.value, "", "fixasetcd,fixasetnm",
  144. ipt_fixasetnm, "SPRSD00240_고정자산코드검색HELP", "instcd,fixtrseqmtflag","cmb_instcd,cmb_fixtrseqmtflag");
  145. }else{
  146. ipt_fixasetcd.value = "";
  147. }
  148. model.refresh();
  149. ]]>
  150. </script>
  151. </input>
  152. <caption id="caption7" class="search_name" style="left:477px; top:33px; width:76px; height:17px; ">부품유형</caption>
  153. <button id="btn_winseqno" class="icon_search" navindex="14" visibility="visible" style="left:932px; top:32px; width:16px; height:16px; ">
  154. <caption/>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. misfOpenPopUpList("02", ipt_winseqno,"","winseqno,winseqnonm");
  158. model.refresh();
  159. ]]>
  160. </script>
  161. </button>
  162. <caption id="caption3" class="search_name" visibility="visible" style="left:780px; top:33px; width:76px; height:17px; ">수리부서</caption>
  163. <input id="ipt_winseqnonm" ref="/root/send/winseqnonm" class="input_search" navindex="15" visibility="visible" appearance="input" style="left:953px; top:33px; width:140px; height:19px; ">
  164. <script type="javascript" ev:event="xforms-value-changed">
  165. <![CDATA[
  166. if(ipt_winseqnonm.value == ""){
  167. ipt_winseqno.value = "";
  168. }else {
  169. misfValidationCheck("02", "", "winseqno,winseqnonm");
  170. }
  171. model.refresh();
  172. ]]>
  173. </script>
  174. </input>
  175. <input id="ipt_winseqno" ref="/root/send/winseqno" class="input_search" navindex="13" visibility="visible" style="left:862px; top:33px; width:66px; height:19px; ">
  176. <script type="javascript" ev:event="xforms-value-changed">
  177. <![CDATA[
  178. if(ipt_winseqno.value == ""){
  179. ipt_winseqnonm.value = "";
  180. }else {
  181. misfValidationCheck("02", "", "winseqno,winseqnonm");
  182. }
  183. model.refresh();
  184. ]]>
  185. </script>
  186. </input>
  187. <select1 id="cmb_kind" ref="/root/send/kind" class="combo_search" navindex="9" appearance="minimal" style="left:572px; top:33px; width:189px; height:19px; ">
  188. <choices>
  189. <itemset>
  190. <label/>
  191. <value/>
  192. </itemset>
  193. </choices>
  194. </select1>
  195. <button id="btn_installplcecd" class="icon_search" navindex="6" style="left:222px; top:57px; width:16px; height:16px; ">
  196. <caption/>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. misfOpenPopUpList("02", ipt_installplcecd,"","installplcecd,installplcenm");
  200. model.refresh();
  201. ]]>
  202. </script>
  203. </button>
  204. <caption id="caption8" class="search_name" style="left:15px; top:57px; width:76px; height:17px; ">설치장소</caption>
  205. <input id="ipt_installplcenm" ref="/root/send/installplcenm" class="input_search" navindex="7" style="left:243px; top:57px; width:225px; height:19px; ">
  206. <script type="javascript" ev:event="xforms-value-changed">
  207. <![CDATA[
  208. if(ipt_installplcenm.value == ""){
  209. ipt_installplcecd.value = "";
  210. }else {
  211. misfValidationCheck("02", "", "installplcecd,installplcenm");
  212. }
  213. model.refresh();
  214. ]]>
  215. </script>
  216. </input>
  217. <input id="ipt_installplcecd" ref="/root/send/installplcecd" class="input_search" navindex="5" style="left:98px; top:58px; width:120; height:19px; ">
  218. <script type="javascript" ev:event="xforms-value-changed">
  219. <![CDATA[
  220. if(ipt_installplcecd.value == ""){
  221. ipt_installplcenm.value = "";
  222. }else {
  223. misfValidationCheck("02", "", "installplcecd,installplcenm");
  224. }
  225. model.refresh();
  226. ]]>
  227. </script>
  228. </input>
  229. <caption id="caption9" class="search_name" style="left:15px; top:9px; width:76px; height:17px; ">기관코드</caption>
  230. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:99px; top:8px; width:171px; height:19px; text-align:center; ">
  231. <choices>
  232. <itemset>
  233. <label/>
  234. <value/>
  235. </itemset>
  236. </choices>
  237. </select1>
  238. <caption id="caption10" class="search_name" style="left:477px; top:57px; width:76px; height:17px; ">모델명</caption>
  239. <input id="ipt_goodmodel_search" ref="/root/send/goodmodel" class="input_search" navindex="10" style="left:572px; top:57px; width:189; height:19px; "/>
  240. </group>
  241. <caption id="caption1" class="tit_2" style="left:5px; top:106px; width:100px; height:13px; ">수리부품현황</caption>
  242. <line id="line1" class="line_1" style="x1:0px; y1:121px; x2:1194px; y2:121px; "/>
  243. <datagrid id="grd_rfchcgmtlist" nodeset="/root/main/rfehemhtlist2" caption="수리부서^설치장소^자산코드^자산명^규격^모델^SERIAL NO^수리일자^사용부품" colsep="^" colwidth="96, 166, 114, 154, 85, 89, 143, 100, 226" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" navindex="17" style="left:0px; top:126px; width:1194px; height:608; ">
  244. <col ref="acptdeptnm" style="text-align:center; "/>
  245. <col ref="installplcenm" style="text-align:center; "/>
  246. <col ref="fixasetcd" style="text-align:center; "/>
  247. <col ref="fixasetnm" style="text-align:center; "/>
  248. <col ref="goodspec" style="text-align:center; "/>
  249. <col ref="goodmodel" style="text-align:center; "/>
  250. <col ref="winseqnonm" style="text-align:center; "/>
  251. <col ref="rpirdd" format="yyyy-mm-dd" style="text-align:center; "/>
  252. <col ref="acsrsnm" style="text-align:center; "/>
  253. </datagrid>
  254. </group>
  255. <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
  256. <button id="button26" class="btn3_letter4" navindex="19" visibility="hidden" style="left:59px; top:3px; width:80px; height:22px; ">
  257. <caption>화면이동</caption>
  258. </button>
  259. <button id="button27" class="btn6_letter2" navindex="18" visibility="hidden" style="left:0px; top:3; width:56px; height:22px; ">
  260. <caption>출력</caption>
  261. </button>
  262. <button id="button28" class="btn4_letter2" navindex="20" visibility="hidden" style="left:1067px; top:3px; width:56px; height:22px; ">
  263. <caption>저장</caption>
  264. </button>
  265. <button id="btn_init" class="btn4_letter3" navindex="21" style="left:1126px; top:3; width:68px; height:22px; ">
  266. <caption>초기화</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. fInitialize();
  270. ]]>
  271. </script>
  272. </button>
  273. <line id="line15" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  274. </group>
  275. </xhtml:body>
  276. </xhtml:html>