SMRFE02400_부서별 의료장비 실사 결과.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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. <fixtrscnfmrsltinfo>
  12. <fixtrscnfmrsltlist/>
  13. </fixtrscnfmrsltinfo>
  14. </list>
  15. </main>
  16. <send>
  17. <search>
  18. <instcd/>
  19. <goodflag/>
  20. <usedeptcd/>
  21. <usedeptnm/>
  22. <fixasetcd/>
  23. <goodflagengnm/>
  24. </search>
  25. </send>
  26. <init>
  27. </init>
  28. <temp/>
  29. </root>
  30. </instance>
  31. <submission id="TRRFE02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/fixtrscnfmrsltinfo"/>
  32. <submission id="TRRFE02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixtrscnfmrsltinfo" resultref="/root/main/list/fixtrscnfmhistinfo"/>
  33. <submission id="TXRFE02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  34. </model>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. //화면 Control을 초기화한다
  38. fInitialize();
  39. ]]>
  40. </script>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript">
  48. <![CDATA[
  49. function fInitialize()
  50. {
  51. rszfGoodFlagListByPgmGubn(cmb_goodflag,"2","N");
  52. misfComboComCdList('Z0007', cmb_instcd);
  53. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  54. model.setValue(ipt_usedeptcd.attribute("ref"), getUserInfo("dutplcecd"));
  55. model.setValue(ipt_usedeptnm.attribute("ref"), getUserInfo("dutplcenm"));
  56. model.removeNodeset("/root/main/list/fixtrscnfmrsltinfo");
  57. model.refresh();
  58. }
  59. ]]>
  60. </script>
  61. </xhtml:head>
  62. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  63. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  64. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">부서별 의료장비 실사 결과</caption>
  65. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  66. </group>
  67. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  68. <line id="line1" class="line_1" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
  69. <caption id="caption21" class="tit_2" style="left:5px; top:86px; width:175px; height:14px; ">부서별 의료장비 실사 결과</caption>
  70. <datagrid id="grd_fixtrscnfmrsltlist" nodeset="/root/main/list/fixtrscnfmrsltinfo/fixtrscnfmrsltlist" class="datagrid1" caption="이동상태^순번^사용부서코드^기관 코드^물품코드^자산코드^장비명^모델명^구입일자^거래처명^제조회사명^실사결과^현보유부서코드^현보유부서명^이동^비고" colsep="^" colwidth="64, 40, 105, 100, 100, 128, 171, 100, 100, 128, 100, 69, 100, 122, 55, 131" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:110px; width:1194px; height:615px; font-weight:normal; text-align:center; ">
  71. <col ref="mvstatus" style="text-align:center; "/>
  72. <col ref="rowno" style="text-align:center; "/>
  73. <col ref="usedeptcd" visibility="hidden" style="text-align:center; "/>
  74. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  75. <col ref="goodflag" visibility="hidden" style="text-align:center; "/>
  76. <col ref="fixasetcd" style="text-align:center; "/>
  77. <col ref="goodflagengnm" style="text-align:left; padding-left:10; "/>
  78. <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
  79. <col ref="possndd" format="yyyy/mm/dd" style="text-align:center; "/>
  80. <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
  81. <col ref="prodcmpynm" style="text-align:left; padding-left:10; "/>
  82. <col checkvalue="Y,N" ref="orginsprst" type="checkbox" style="text-align:left; "/>
  83. <col ref="possndeptcd" style="text-align:center; "/>
  84. <col ref="possndeptnm" style="text-align:left; "/>
  85. <col checkvalue="Y,N" ref="mvflag" type="checkbox" style="text-align:left; "/>
  86. <col ref="cmt" style="text-align:left; padding-left:10; "/>
  87. </datagrid>
  88. <group id="grp_sea" style="left:0px; top:17px; width:1195px; height:63px; vertical-align:top; ">
  89. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
  90. <line id="line30" class="line_4" style="x1:1110px; y1:4px; x2:1110px; y2:58px; "/>
  91. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
  92. <caption>조회</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. if(!isRequiredControls("cmb_instcd")) return;
  96. if(!isRequiredControls("cmb_goodflag")) return;
  97. if(!isRequiredControls("ipt_usedeptcd")) return;
  98. model.removeNodeset("/root/main/list/fixtrscnfmrsltinfo/fixtrscnfmrsltlist");
  99. submit("TRRFE02401");
  100. model.refresh();
  101. ]]>
  102. </script>
  103. </button>
  104. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:125px; top:10px; width:170px; height:19px; ">
  105. <choices>
  106. <itemset nodeset="/root/main/init">
  107. <label ref="cnstnm"/>
  108. <value ref="cnstcd"/>
  109. </itemset>
  110. </choices>
  111. </select1>
  112. <caption id="cap_instcd" class="search_name" style="left:30px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  113. <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_default" appearance="minimal" style="left:125px; top:36px; width:170px; height:19px; ">
  114. <choices>
  115. <itemset nodeset="/root/init/goodflag">
  116. <label ref="label"/>
  117. <value ref="value"/>
  118. </itemset>
  119. </choices>
  120. </select1>
  121. <caption id="cap_goodflag" class="search_name" style="left:30px; top:35px; width:86px; height:17px; ">물품구분 :</caption>
  122. <caption id="cap_usedeptcd" class="search_name" style="left:500px; top:10px; width:89px; height:17px; ">사용부서 :</caption>
  123. <input id="ipt_usedeptnm" ref="/root/send/search/usedeptnm" class="input_search" style="left:758px; top:9px; width:232px; height:19px; text-align:center; ">
  124. <script type="javascript" ev:event="xforms-value-changed">
  125. <![CDATA[
  126. if(ipt_usedeptnm.value == ""){
  127. ipt_usedeptcd.value = "";
  128. }else {
  129. misfValidationCheck("02", "", "usedeptcd,usedeptnm");
  130. }
  131. model.refresh();
  132. ]]>
  133. </script>
  134. </input>
  135. <button id="btn_deptcd" class="icon_search" style="left:735px; top:12px; width:16px; height:16px; ">
  136. <caption/>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. //misfOpenPopUpList("02", ipt_usedeptcd,"","usedeptcd,usedeptnm");
  140. var recv_list = "usedeptcd,usedeptnm";
  141. misfOpenPopUpList("02", ipt_usedeptcd,"", recv_list, model.getValue("/root/send/instcd"), "instcd") ;
  142. //misfOpenPopUpList("02", ipt_usedeptcd,"", recv_list, cmb_instcd.value, "instcd") ;
  143. model.refresh();
  144. ]]>
  145. </script>
  146. </button>
  147. <input id="ipt_usedeptcd" ref="/root/send/search/usedeptcd" class="input_search" style="left:595px; top:9px; width:135px; height:19px; text-align:center; ">
  148. <script type="javascript" ev:event="xforms-value-changed">
  149. <![CDATA[
  150. if(ipt_usedeptcd.value == ""){
  151. ipt_usedeptnm.value = "";
  152. }else {
  153. misfValidationCheck("02", "", "usedeptcd,usedeptnm");
  154. }
  155. model.refresh();
  156. ]]>
  157. </script>
  158. </input>
  159. <button id="btn_fixasetcd" class="icon_search" style="left:735px; top:37px; width:16px; height:16px; ">
  160. <caption/>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. // ,cntrdeptcd,installplcenm,possnamt,goodspec,mngtno,possndd,installplcecd,depthngnm
  164. var temp = "fixasetcd,goodflagengnm";
  165. rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd,goodflag","cmb_instcd,cmb_goodflag");
  166. model.refresh();
  167. ]]>
  168. </script>
  169. </button>
  170. <input id="ipt_fixasetnm" ref="/root/send/search/goodflagengnm" class="input_search" style="left:758px; top:36px; width:232px; height:19px; text-align:left; padding-left:10; ">
  171. <script type="javascript" ev:event="xforms-value-changed">
  172. <![CDATA[
  173. if(ipt_fixasetnm.value != "")
  174. {
  175. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  176. "goodflagengnm," + cmb_instcd.value + "," + ipt_fixasetnm.value, "", "fixasetcd,goodflagengnm",
  177. ipt_fixasetnm, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
  178. }else{
  179. ipt_fixasetcd.value = "";
  180. }
  181. model.refresh();
  182. ]]>
  183. </script>
  184. </input>
  185. <input id="ipt_fixasetcd" ref="/root/send/search/fixasetcd" class="input_search" style="left:595px; top:36px; width:135px; height:19px; text-align:center; ">
  186. <script type="javascript" ev:event="xforms-value-changed">
  187. <![CDATA[
  188. if(ipt_fixasetcd.value != "")
  189. {
  190. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  191. "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "", "fixasetcd,goodflagengnm",
  192. ipt_fixasetcd, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
  193. }else{
  194. ipt_fixasetnm.value = "";
  195. }
  196. model.refresh();
  197. ]]>
  198. </script>
  199. </input>
  200. <caption id="cap_fixasetcd" class="search_name" style="left:500px; top:36px; width:89px; height:17px; ">자산코드 :</caption>
  201. </group>
  202. <button id="btn_excel" class="btn2_letter2" style="left:1070px; top:83px; width:42px; height:19px; ">
  203. <caption>저장</caption>
  204. <script type="javascript" ev:event="DOMActivate">
  205. <![CDATA[
  206. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  207. if ( retMes != 6) {
  208. return;
  209. }
  210. var updtdata = getGridUpdateData(grd_fixtrscnfmrsltlist);
  211. if (updtdata == "")
  212. {
  213. messageBox("변경된 데이터가","I004");
  214. return;
  215. }
  216. model.setValue("/root/send/fixtrscnfmrsltlist", updtdata);
  217. misfSave("TXRFE02301");
  218. btn_search.dispatch("DOMActivate");
  219. model.refresh();
  220. ]]>
  221. </script>
  222. </button>
  223. <button id="button1" class="btn2_letter4" style="left:1120px; top:83px; width:64px; height:19px; ">
  224. <caption>엑셀저장</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  228. if (fileName != "") {
  229. grd_fixtrscnfmrsltlist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
  230. }
  231. ]]>
  232. </script>
  233. </button>
  234. </group>
  235. <group id="group2" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  236. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  237. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  238. <caption>초기화</caption>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. fInitialize();
  242. ]]>
  243. </script>
  244. </button>
  245. </group>
  246. </xhtml:body>
  247. </xhtml:html>