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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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. <list>
  11. <fixtrscnfmmvinfo>
  12. <fixtrscnfmmvlist/>
  13. </fixtrscnfmmvinfo>
  14. </list>
  15. </main>
  16. <send>
  17. <search>
  18. <instcd/>
  19. <goodflag/>
  20. <usedeptcd/>
  21. <usedeptnm/>
  22. <fixasetcd/>
  23. <goodflagengnm/>
  24. </search>
  25. <fixtrscnfmmvlist/>
  26. </send>
  27. <init>
  28. </init>
  29. <temp/>
  30. </root>
  31. </instance>
  32. <submission id="TRRFE02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/fixtrscnfmmvinfo"/>
  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/fixtrscnfmmvinfo");
  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:143px; height:13px; ">이동 내역</caption>
  70. <datagrid id="grd_fixtrscnfmmvlist" nodeset="/root/main/list/fixtrscnfmmvinfo/fixtrscnfmmvlist" class="datagrid1" caption="실시년도^기관코드^물품코드^사용부서^부서명^장비코드^(자산코드)순번^장비명^모델명^제조회사^거래처명^이동전^이동후^비고" colsep="^" colwidth="80, 80, 80, 80, 119, 128, 100, 164, 139, 120, 120, 128, 118, 120" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:110px; width:1194px; height:620px; font-weight:normal; text-align:center; ">
  71. <col ref="execyy" visibility="hidden" style="text-align:left; "/>
  72. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  73. <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
  74. <col ref="usedeptcd" visibility="hidden" style="text-align:left; "/>
  75. <col ref="deptnm" style="text-align:left; padding-left:10; "/>
  76. <col ref="fixasetcd" style="text-align:center; "/>
  77. <col ref="seqno" visibility="hidden"/>
  78. <col ref="goodflagengnm" style="text-align:left; padding-left:10; "/>
  79. <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
  80. <col ref="prodcmpynm" style="text-align:left; padding-left:10; "/>
  81. <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
  82. <col ref="usedeptnm" style="text-align:left; padding-left:10; "/>
  83. <col ref="possndeptnm" style="text-align:left; padding-left:10; "/>
  84. <col ref="cmt" type="input" style="text-align:center; "/>
  85. </datagrid>
  86. <group id="grp_sea" style="left:0px; top:17px; width:1195px; height:63px; vertical-align:top; ">
  87. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
  88. <line id="line30" class="line_4" style="x1:1110px; y1:4px; x2:1110px; y2:58px; "/>
  89. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
  90. <caption>조회</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. if(!isRequiredControls("cmb_instcd")) return;
  94. if(!isRequiredControls("cmb_goodflag")) return;
  95. submit("TRRFE02301");
  96. model.refresh();
  97. ]]>
  98. </script>
  99. </button>
  100. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:125px; top:10px; width:170px; height:19px; ">
  101. <choices>
  102. <itemset nodeset="/root/main/init">
  103. <label ref="cnstnm"/>
  104. <value ref="cnstcd"/>
  105. </itemset>
  106. </choices>
  107. </select1>
  108. <caption id="cap_instcd" class="search_name" style="left:30px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  109. <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_default" appearance="minimal" style="left:125px; top:36px; width:170px; height:19px; ">
  110. <choices>
  111. <itemset nodeset="/root/init/goodflag">
  112. <label ref="label"/>
  113. <value ref="value"/>
  114. </itemset>
  115. </choices>
  116. </select1>
  117. <caption id="cap_goodflag" class="search_name" style="left:30px; top:35px; width:86px; height:17px; ">물품구분 :</caption>
  118. <caption id="cap_usedeptcd" class="search_name" style="left:500px; top:10px; width:89px; height:17px; ">사용부서 :</caption>
  119. <input id="ipt_usedeptnm" ref="/root/send/search/usedeptnm" class="input_search" style="left:758px; top:9px; width:232px; height:19px; text-align:center; ">
  120. <script type="javascript" ev:event="xforms-value-changed">
  121. <![CDATA[
  122. if(ipt_usedeptnm.value == ""){
  123. ipt_usedeptcd.value = "";
  124. }else {
  125. misfValidationCheck("02", "", "usedeptcd,usedeptnm");
  126. }
  127. model.refresh();
  128. ]]>
  129. </script>
  130. </input>
  131. <button id="btn_deptcd" class="icon_search" style="left:735px; top:12px; width:16px; height:16px; ">
  132. <caption/>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. //misfOpenPopUpList("02", ipt_usedeptcd,"","usedeptcd,usedeptnm");
  136. var recv_list = "usedeptcd,usedeptnm";
  137. misfOpenPopUpList("02", ipt_usedeptcd,"", recv_list, model.getValue("/root/send/instcd"), "instcd") ;
  138. //misfOpenPopUpList("02", ipt_usedeptcd,"", recv_list, cmb_instcd.value, "instcd") ;
  139. model.refresh();
  140. ]]>
  141. </script>
  142. </button>
  143. <input id="ipt_usedeptcd" ref="/root/send/search/usedeptcd" class="input_search" style="left:595px; top:9px; width:135px; height:19px; text-align:center; ">
  144. <script type="javascript" ev:event="xforms-value-changed">
  145. <![CDATA[
  146. if(ipt_usedeptcd.value == ""){
  147. ipt_usedeptnm.value = "";
  148. }else {
  149. misfValidationCheck("02", "", "usedeptcd,usedeptnm");
  150. }
  151. model.refresh();
  152. ]]>
  153. </script>
  154. </input>
  155. <button id="btn_fixasetcd" class="icon_search" style="left:735px; top:37px; width:16px; height:16px; ">
  156. <caption/>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. // ,cntrdeptcd,installplcenm,possnamt,goodspec,mngtno,possndd,installplcecd,depthngnm
  160. var temp = "fixasetcd,goodflagengnm";
  161. rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd,goodflag","cmb_instcd,cmb_goodflag");
  162. model.refresh();
  163. ]]>
  164. </script>
  165. </button>
  166. <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; ">
  167. <script type="javascript" ev:event="xforms-value-changed">
  168. <![CDATA[
  169. if(ipt_fixasetnm.value != "")
  170. {
  171. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  172. "goodflagengnm," + cmb_instcd.value + "," + ipt_fixasetnm.value, "", "fixasetcd,goodflagengnm",
  173. ipt_fixasetnm, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
  174. }else{
  175. ipt_fixasetcd.value = "";
  176. }
  177. model.refresh();
  178. ]]>
  179. </script>
  180. </input>
  181. <input id="ipt_fixasetcd" ref="/root/send/search/fixasetcd" class="input_search" style="left:595px; top:36px; width:135px; height:19px; text-align:center; ">
  182. <script type="javascript" ev:event="xforms-value-changed">
  183. <![CDATA[
  184. if(ipt_fixasetcd.value != "")
  185. {
  186. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  187. "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "", "fixasetcd,goodflagengnm",
  188. ipt_fixasetcd, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
  189. }else{
  190. ipt_fixasetnm.value = "";
  191. }
  192. model.refresh();
  193. ]]>
  194. </script>
  195. </input>
  196. <caption id="cap_fixasetcd" class="search_name" style="left:500px; top:36px; width:89px; height:17px; ">자산코드 :</caption>
  197. </group>
  198. <button id="btn_excel" class="btn2_letter2" style="left:1070px; top:83px; width:42px; height:19px; ">
  199. <caption>저장</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  203. if ( retMes != 6) {
  204. return;
  205. }
  206. var updtdata = getGridUpdateData(grd_fixtrscnfmmvlist);
  207. if (updtdata == "")
  208. {
  209. messageBox("변경된 데이터가","I004");
  210. return;
  211. }
  212. model.setValue("/root/send/fixtrscnfmmvlist", updtdata);
  213. misfSave("TXRFE02301");
  214. btn_search.dispatch("DOMActivate");
  215. model.refresh();
  216. ]]>
  217. </script>
  218. </button>
  219. <button id="button1" class="btn2_letter4" style="left:1119px; top:83px; width:64px; height:19px; ">
  220. <caption>엑셀저장</caption>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  224. if (fileName != "") {
  225. grd_fixtrscnfmmvlist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
  226. }
  227. ]]>
  228. </script>
  229. </button>
  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>