SMRFE00202_정보자산변동사항관리.xrw 58 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>정보자산 변동사항관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <chgnhistlist/>
  11. <list>
  12. <fixaset>
  13. <fixasetlist/>
  14. </fixaset>
  15. </list>
  16. <chgnhist/>
  17. </main>
  18. <send>
  19. <rfchcgmt_send>
  20. <instcd/>
  21. <fixasetcd/>
  22. </rfchcgmt_send>
  23. <chgnhistlist/>
  24. <fixasetlist>
  25. <instcd_search/>
  26. <fixasetcd_search/>
  27. <goodflag_search/>
  28. <lrgcd_search/>
  29. <mdlcd_search/>
  30. <smlcd_search/>
  31. <mngtdeptcd_search/>
  32. <mngtdeptnm_search/>
  33. <dsplflag_search/>
  34. <possnfrdd_search/>
  35. <possntodd_search/>
  36. <suplplcecd_search/>
  37. <suplplcenm_search/>
  38. <acntcd_search/>
  39. <acntnm_search/>
  40. <name_search/>
  41. <possnamtfr_search/>
  42. <possnamtto_search/>
  43. <oskind_search/>
  44. <memoryvol_search/>
  45. <ipaddr_search/>
  46. <cmt_search/>
  47. <outerfixaset>Y</outerfixaset>
  48. </fixasetlist>
  49. <save>
  50. <chgnhistlist/>
  51. </save>
  52. </send>
  53. <temp>
  54. <instcd/>
  55. <fixasetcd/>
  56. <cron>
  57. <updtdd/>
  58. <mngtdeptcd/>
  59. <mngtdeptnm/>
  60. <installplcecd/>
  61. <installplcenm/>
  62. <mdlcd/>
  63. <smlcd/>
  64. <oskind/>
  65. <memoryvol/>
  66. </cron>
  67. <addsearch/>
  68. <searchresult>
  69. <fixaset/>
  70. </searchresult>
  71. <saveresult/>
  72. <selecttab/>
  73. </temp>
  74. <init>
  75. <goodflag>
  76. <label>일반</label>
  77. <value>GE</value>
  78. <label>의료장비</label>
  79. <value>EQ</value>
  80. </goodflag>
  81. <popmenu>
  82. <grd_fixasetlist>
  83. <item>
  84. <name>설치장소변경</name>
  85. <func/>
  86. </item>
  87. </grd_fixasetlist>
  88. <grd_chgnhistlist>
  89. <item>
  90. <name>일괄변경</name>
  91. <func>fViewListSetting</func>
  92. <name>교체</name>
  93. <func>fFixasetChang</func>
  94. </item>
  95. </grd_chgnhistlist>
  96. </popmenu>
  97. </init>
  98. <ref>
  99. <flag/>
  100. <cnt/>
  101. </ref>
  102. </root>
  103. </instance>
  104. <script type="javascript" ev:event="xforms-ready">
  105. <![CDATA[
  106. //화면 Control을 초기화한다
  107. fInitialize(); //mis/purcbaseweb/js/SMRFE00202.js
  108. model.setValue("/root/send/fixasetlist/outerfixaset", "Y");
  109. model.setFocus("ipt_fixasetcd");
  110. model.refresh();
  111. ]]>
  112. </script>
  113. <submission id="TXRFE00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/chgnhistlist" resultref="/root/temp/saveresult"/>
  114. <submission id="TXRFE00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/chgnhistlist" resultref="/root/temp/saveresult"/>
  115. <submission id="TRRFC00905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/temp/searchresult/fixaset"/>
  116. <submission id="TRRFE00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/chgnhist"/>
  117. </model>
  118. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  119. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  120. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  121. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  122. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  123. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  124. <script type="javascript" src="../../../mis/purcbaseweb/js/SMRFE00202.js"/>
  125. <script type="javascript">
  126. <![CDATA[
  127. // 자산코드 두개일때 운영부서, 설치장소 서로 변경
  128. function fFixasetChang(){
  129. if(grd_chgnhistlist.rows == 3){
  130. var upddeptcd1 = model.getValue("/root/main/chgnhistlist[1]/upddeptcd"); //운용부서코드
  131. var upddeptcd2 = model.getValue("/root/main/chgnhistlist[2]/upddeptcd");
  132. var chnginstallplcecd1 = model.getValue("/root/main/chgnhistlist[1]/chnginstallplcecd"); //설치장소코드
  133. var chnginstallplcecd2 = model.getValue("/root/main/chgnhistlist[2]/chnginstallplcecd");
  134. var upddeptnm1 = model.getValue("/root/main/chgnhistlist[1]/upddeptnm"); //운용부서명
  135. var upddeptnm2 = model.getValue("/root/main/chgnhistlist[2]/upddeptnm");
  136. var installplcenm1= model.getValue("/root/main/chgnhistlist[1]/installplcenm"); //설치장소명
  137. var installplcenm2= model.getValue("/root/main/chgnhistlist[2]/installplcenm");
  138. model.setValue("/root/main/chgnhistlist[1]/upddeptcd", upddeptcd2);
  139. model.setValue("/root/main/chgnhistlist[2]/upddeptcd" , upddeptcd1);
  140. model.setValue("/root/main/chgnhistlist[1]/chnginstallplcecd", chnginstallplcecd2);
  141. model.setValue("/root/main/chgnhistlist[2]/chnginstallplcecd" , chnginstallplcecd1);
  142. model.setValue("/root/main/chgnhistlist[1]/upddeptnm", upddeptnm2);
  143. model.setValue("/root/main/chgnhistlist[2]/upddeptnm" , upddeptnm1);
  144. model.setValue("/root/main/chgnhistlist[1]/installplcenm", installplcenm2);
  145. model.setValue("/root/main/chgnhistlist[2]/installplcenm", installplcenm1);
  146. }else{
  147. messageBox("자산코드가 두개일때 교체","I006");
  148. }
  149. }
  150. ]]>
  151. </script>
  152. </xhtml:head>
  153. <xhtml:body guideline="1,1195;" cellspacing="4" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  154. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  155. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">정보자산 변동사항관리</caption>
  156. </group>
  157. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  158. <line id="line1" class="line_1" style="x1:0px; y1:464px; x2:1194px; y2:464px; "/>
  159. <caption id="caption4" class="tit_2" style="left:0px; top:444px; width:209px; height:14px; ">자산변동저장 및 자산변동이력</caption>
  160. <button id="btn_delrow" class="btn2_letter3" navindex="25" style="left:1025px; top:442px; width:53px; height:19px; ">
  161. <caption>행삭제</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. if(grd_chgnhistlist.selectedRows < 1)messageBox("삭제하실 행을 선택","I008");
  165. grd_chgnhistlist.deleteRow(grd_chgnhistlist.row, false);
  166. grd_chgnhistlist.refresh();
  167. ]]>
  168. </script>
  169. </button>
  170. <button id="btn_addrow" class="btn2_letter3" navindex="26" style="left:1081px; top:442px; width:53px; height:19px; ">
  171. <caption>행추가</caption>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. var sBaseDate = getCurrentDate();
  175. var baseRows = grd_chgnhistlist.Rows;
  176. var isInfoFixa = true;
  177. var dsplChk = true;
  178. for(var idx = 0; idx<grd_fixasetlist.selectedRows; idx++){
  179. var chkFlag = false;
  180. var sel_row = grd_fixasetlist.selectedRow(idx);
  181. if(grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("lrgcd")) != "17") {
  182. chkFlag = true;
  183. isInfoFixa = false;
  184. }
  185. if(grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("dsplflag")) != "0") {
  186. chkFlag = true;
  187. dsplChk = false;
  188. }
  189. for(var c = grd_chgnhistlist.fixedRows ; c<baseRows ; c++){
  190. if(grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("instcd")) == grd_chgnhistlist.valueMatrix(c, grd_chgnhistlist.colRef("instcd"))
  191. && grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("fixasetcd")) == grd_chgnhistlist.valueMatrix(c, grd_chgnhistlist.colRef("fixasetcd"))){
  192. chkFlag = true;
  193. }
  194. }
  195. if(!chkFlag){
  196. misfGridIUD(grd_chgnhistlist, "A");
  197. var cur_row = grd_chgnhistlist.row;
  198. //행추가를 누를시 기간코드 값을 자동으로 저장한다.
  199. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/instcd",grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("instcd")) );
  200. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("fixasetcd")) );
  201. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/upddeptcd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mngtdeptcd")) );
  202. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/upddeptnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mngtdeptnm")) );
  203. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/chnginstallplcecd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("installplcecd")) );
  204. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/installplcenm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("installplcenm")) );
  205. // 행추가를 누를시 날짜를 오늘 날짜로 자동 세팅 한다
  206. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/updtdd",sBaseDate);
  207. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/updtflag","4");
  208. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/dsplflag", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("dsplflag")) );
  209. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/goodflaghngnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodflaghngnm")) );
  210. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/goodspec", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodspec")) );
  211. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/cmt", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("cmt")) );
  212. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/prodcmpy", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("prodcmpy")) );
  213. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/computername", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("computername")) );
  214. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/internetyn", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("internetyn")) );
  215. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/hosjasanyn", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("hosjasanyn")) );
  216. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasan1", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasan1")) );
  217. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasan2", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasan2")) );
  218. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasan3", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasan3")) );
  219. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasan4", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasan4")) );
  220. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasanspec1", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasanspec1")) );
  221. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasanspec2", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasanspec2")) );
  222. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasanspec3", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasanspec3")) );
  223. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasanspec4", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasanspec4")) );
  224. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mdlcd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mdlcd")) );
  225. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mdlnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mdlnm")) );
  226. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/smlcd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("smlcd")) );
  227. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/smlnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("smlnm")) );
  228. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/oskind", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("oskind")) );
  229. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/memoryvol", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("memoryvol")) );
  230. model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/ipaddr", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("ipaddr")) );
  231. }
  232. }
  233. if(!isInfoFixa) messageBox("일반비품(전산화관련) 분류가 아닌 자산은 변경이 불가합니다.","E");
  234. if(!dsplChk) messageBox("처분구분이 정상이 아닌 자산은 변경이 불가합니다.","E");
  235. grd_chgnhistlist.refresh();
  236. ]]>
  237. </script>
  238. </button>
  239. <caption id="caption21" class="tit_2" style="left:0px; top:135px; width:69px; height:13px; ">자산목록</caption>
  240. <line id="line16" class="line_1" style="x1:0px; y1:154px; x2:1194px; y2:153px; "/>
  241. <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="자산코드^자산명^규격^처분구분^구입금액^구입일^공급처^운용부서^운용부서^설치장소^설치장소^대분류^중분류^중분류^소분류^소분류^S/N^OS종류^메모리용량^IP주소^기관코드^비고^제조회사^컴퓨터명^인터넷차단유무^병원자산유무^모니터자산코드1^모니터자산코드2^모니터자산코드3^모니터자산코드4^모니터규격1^모니터규격2^모니터규격3^모니터규격4" colsep="^" colwidth="92, 240, 87, 60, 76, 73, 90, 100, 40, 100, 40, 25, 25, 100, 25, 100, 75, 70, 80, 100, 100, 150, 70 ,150, 90, 80, 150, 150, 150, 150, 150, 150, 150, 150, 150" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="23" style="left:0px; top:157px; width:1194px; height:280px; ">
  242. <col ref="fixasetcd" style="text-align:center; "/>
  243. <col ref="goodflaghngnm" style="text-align:left; padding-left:2; "/>
  244. <col ref="goodspec" style="text-align:left; padding-left:2; "/>
  245. <col disabled="true" ref="dsplflag" type="combo" style="text-align:center; ">
  246. <choices>
  247. <itemset>
  248. <label/>
  249. <value/>
  250. </itemset>
  251. </choices>
  252. </col>
  253. <col ref="possnamt" format="#,###" style="text-align:right; "/>
  254. <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
  255. <col ref="suplplcenm" style="text-align:left; padding-left:2; "/>
  256. <col ref="mngtdeptnm" style="text-align:left; padding-left:2; "/>
  257. <col ref="mngtdeptcd" visibility="hidden" style="text-align:center; "/>
  258. <col ref="installplcenm" style="text-align:left; padding-left:2; "/>
  259. <col ref="installplcecd" visibility="hidden" style="text-align:center; "/>
  260. <col ref="lrgcd" visibility="hidden" style="text-align:center; "/>
  261. <col ref="mdlcd" visibility="hidden" style="text-align:center; "/>
  262. <col ref="mdlnm" style="text-align:center; "/>
  263. <col ref="smlcd" visibility="hidden" style="text-align:center; "/>
  264. <col ref="smlnm" style="text-align:center; "/>
  265. <col ref="mngtno" visibility="hidden" style="text-align:left; padding-left:2; "/>
  266. <col disabled="true" ref="oskind" type="combo" style="text-align:left; padding-left:2; ">
  267. <choices>
  268. <itemset>
  269. <label/>
  270. <value/>
  271. </itemset>
  272. </choices>
  273. </col>
  274. <col disabled="true" ref="memoryvol" type="combo" style="text-align:left; padding-left:2; ">
  275. <choices>
  276. <itemset>
  277. <label/>
  278. <value/>
  279. </itemset>
  280. </choices>
  281. </col>
  282. <col ref="ipaddr" style="text-align:left; padding-left:2; "/>
  283. <col ref="instcd" visibility="hidden"/>
  284. <col ref="cmt"/>
  285. <col disabled="true" ref="prodcmpy" type="combo" style="text-align:center; ">
  286. <choices>
  287. <itemset>
  288. <label/>
  289. <value/>
  290. </itemset>
  291. </choices>
  292. </col>
  293. <col ref="computername"/>
  294. <col ref="internetyn"/>
  295. <col ref="hosjasanyn"/>
  296. <col ref="mo_jasan1"/>
  297. <col ref="mo_jasan2"/>
  298. <col ref="mo_jasan3"/>
  299. <col ref="mo_jasan4"/>
  300. <col ref="mo_jasanspec1"/>
  301. <col ref="mo_jasanspec2"/>
  302. <col ref="mo_jasanspec3"/>
  303. <col ref="mo_jasanspec4"/>
  304. <script type="javascript" ev:event="onrowchanged">
  305. <![CDATA[
  306. if(model.getValue("/root/temp/selecttab") == "History") {
  307. fSearchHistory();
  308. }
  309. ]]>
  310. </script>
  311. <script type="javascript" ev:event="onaftersort">
  312. <![CDATA[
  313. grd_fixasetlist.gridToInstance();
  314. ]]>
  315. </script>
  316. <script type="javascript" ev:event="ondblclick">
  317. <![CDATA[
  318. fSearchDetail(grd_fixasetlist);
  319. ]]>
  320. </script>
  321. </datagrid>
  322. <caption id="caption23" visibility="hidden" style="left:817px; top:130px; width:375px; height:21px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#ff6600; vertical-align:middle; ">※ 자산목록을 더블클릭시 자산변동이력List에 추가됩니다.</caption>
  323. <button id="btn_multi" class="btn_sw" group="tab" selected="true" style="left:0px; top:469px; width:100px; height:22px; ">
  324. <caption>멀티변경</caption>
  325. <toggle case="case_multi" ev:event="onclick"/>
  326. <script type="javascript" ev:event="DOMActivate">
  327. <![CDATA[
  328. btn_addrow.visible = true;
  329. btn_multisave.visible = true;
  330. btn_delrow.visible= true;
  331. model.setValue("/root/temp/selecttab","MultiEdit");
  332. ]]>
  333. </script>
  334. </button>
  335. <button id="btn_history" class="btn_sw" group="tab" selected="false" style="left:100px; top:469px; width:100px; height:22px; ">
  336. <caption>자산변동이력</caption>
  337. <toggle case="case_history" ev:event="onclick"/>
  338. <script type="javascript" ev:event="DOMActivate">
  339. <![CDATA[
  340. btn_addrow.visible= false;
  341. btn_multisave.visible = false;
  342. btn_delrow.visible= false;
  343. model.setValue("/root/temp/selecttab","History");
  344. fSearchHistory();
  345. ]]>
  346. </script>
  347. </button>
  348. <button id="btn_multisave" class="btn4_letter2" navindex="27" style="left:1137px; top:441px; width:56px; height:22px; ">
  349. <caption>저장</caption>
  350. <script type="javascript" ev:event="DOMActivate">
  351. <![CDATA[
  352. fSave(); //mis/purcbaseweb/js/SMRFE00202.js
  353. ]]>
  354. </script>
  355. </button>
  356. <switch id="switch2" style="left:0px; top:490px; width:1195px; height:250px; ">
  357. <case id="case_multi" selected="true" style="left:0px; top:0px; width:1193px; height:263px; ">
  358. <datagrid id="grd_chgnhistlist" nodeset="/root/main/chgnhistlist" caption="순번^자산코드^자산명^규격^변동일자^변동구분^처분구분(현재)^운용부서^운용부서^설치장소^설치장소^중분류^중분류^소분류^소분류^OS종류^메모리용량^IP주소^비고^기관코드^제조회사^컴퓨터명^인터넷차단유무^병원자산유무^모니터자산코드1^모니터자산코드2^모니터자산코드3^모니터자산코드4^모니터규격1^모니터규격2^모니터규격3^모니터규격4" colsep="^" colwidth="45, 97, 196, 100, 90, 60, 90, 90, 110, 95, 130, 20, 120, 20, 100, 100, 100, 100, 200, 200, 70, 150, 90, 80, 150, 150, 150, 150, 150, 150, 150, 150, 150" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" navindex="24" style="left:0px; top:0px; width:1195px; height:240px; ">
  359. <col ref="updtseq" visibility="hidden" format="999999-9999999" style="text-align:center; "/>
  360. <col ref="fixasetcd" _key="true" style="text-align:center; "/>
  361. <col ref="goodflaghngnm"/>
  362. <col ref="goodspec"/>
  363. <col ref="updtdd" type="inputdate" format="yyyy-mm-dd" maxlength="8" _key="true" style="text-align:center; "/>
  364. <col ref="updtflag" type="combo" visibility="hidden" _key="true" style="text-align:center; ">
  365. <choices>
  366. <itemset>
  367. <label/>
  368. <value/>
  369. </itemset>
  370. </choices>
  371. </col>
  372. <col ref="dsplflag" visibility="hidden" style="text-align:center; "/>
  373. <col ref="upddeptcd" type="inputbutton" _key="true" style="text-align:center; "/>
  374. <col ref="upddeptnm" style="text-align:left; "/>
  375. <col ref="chnginstallplcecd" type="inputbutton" maxlength="12" _key="true" style="text-align:center; "/>
  376. <col disabled="true" ref="installplcenm" style="text-align:left; "/>
  377. <col ref="mdlcd" style="text-align:center; "/>
  378. <col ref="mdlnm"/>
  379. <col ref="smlcd" style="text-align:center; "/>
  380. <col ref="smlnm"/>
  381. <col disabled="true" ref="oskind" type="combo" style="text-align:left; padding-left:2; ">
  382. <choices>
  383. <itemset>
  384. <label/>
  385. <value/>
  386. </itemset>
  387. </choices>
  388. </col>
  389. <col disabled="true" ref="memoryvol" type="combo" style="text-align:left; padding-left:2; ">
  390. <choices>
  391. <itemset>
  392. <label/>
  393. <value/>
  394. </itemset>
  395. </choices>
  396. </col>
  397. <col ref="ipaddr" type="input" maxlength="20"/>
  398. <col ref="cmt" type="input" maxlength="500"/>
  399. <col ref="instcd" visibility="hidden"/>
  400. <col ref="prodcmpy" type="combo" style="text-align:center; ">
  401. <choices>
  402. <itemset>
  403. <label/>
  404. <value/>
  405. </itemset>
  406. </choices>
  407. </col>
  408. <col ref="computername" type="input" maxlength="100"/>
  409. <col ref="internetyn" type="combo" textalign="center">
  410. <choices>
  411. <item>
  412. <label>Y</label>
  413. <value>Y</value>
  414. </item>
  415. <item>
  416. <label>N</label>
  417. <value>N</value>
  418. </item>
  419. </choices>
  420. </col>
  421. <col ref="hosjasanyn" type="combo" textalign="center">
  422. <choices>
  423. <item>
  424. <label>Y</label>
  425. <value>Y</value>
  426. </item>
  427. <item>
  428. <label>N</label>
  429. <value>N</value>
  430. </item>
  431. </choices>
  432. </col>
  433. <col ref="mo_jasan1" type="input" maxlength="20"/>
  434. <col ref="mo_jasan2" type="input" maxlength="20"/>
  435. <col ref="mo_jasan3" type="input" maxlength="20"/>
  436. <col ref="mo_jasan4" type="input" maxlength="20"/>
  437. <col ref="mo_jasanspec1" type="input" maxlength="150"/>
  438. <col ref="mo_jasanspec2" type="input" maxlength="150"/>
  439. <col ref="mo_jasanspec3" type="input" maxlength="150"/>
  440. <col ref="mo_jasanspec4" type="input" maxlength="150"/>
  441. <script type="javascript" ev:event="onbuttonclick">
  442. <![CDATA[
  443. if (grd_chgnhistlist.col == grd_chgnhistlist.colRef("upddeptcd"))//변경부서 버튼을 눌렀을 때(운용부서)
  444. {
  445. misfOpenPopUpList("02", grd_chgnhistlist,"","upddeptcd,upddeptnm");
  446. grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("chnginstallplcecd")) = grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("upddeptcd"));
  447. grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("installplcenm")) = grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("upddeptnm"));
  448. grd_chgnhistlist.refresh();
  449. }else if (grd_chgnhistlist.col == grd_chgnhistlist.colRef("chnginstallplcecd"))//변경설치 버튼을 눌렀을 때(설치장소)
  450. {
  451. rszfOpenPopUpListByWndName(grd_chgnhistlist,"","chnginstallplcecd,installplcenm","PPRAC00700","instcd","cmb_instcd_search");
  452. grd_chgnhistlist.refresh();
  453. }
  454. ]]>
  455. </script>
  456. <script type="javascript" ev:event="xforms-value-changed">
  457. <![CDATA[
  458. if(grd_chgnhistlist.col == grd_chgnhistlist.colRef("upddeptcd"))//변경부서 버튼을 눌렀을 때(운용부서)
  459. {
  460. misfValidationCheck("02", "", "upddeptcd,upddeptnm" );
  461. grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("chnginstallplcecd")) = grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("upddeptcd"));
  462. grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("installplcenm")) = grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("upddeptnm"));
  463. grd_chgnhistlist.refresh();
  464. }else if(grd_chgnhistlist.col == grd_chgnhistlist.colRef("chnginstallplcecd") && grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("chnginstallplcecd")).length> 0)
  465. {
  466. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  467. "deptcd," + grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("chnginstallplcecd")), "", "chnginstallplcecd,installplcenm",
  468. grd_chgnhistlist, "PPRAC00700", "","");
  469. grd_chgnhistlist.refresh();
  470. }else if(grd_chgnhistlist.col == grd_chgnhistlist.colRef("updtflag"))
  471. {
  472. if(grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) == "1"
  473. && grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("dsplflag")) == "1")
  474. {
  475. messageBox("이미 폐기 된 자산","I009");
  476. grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) = "";
  477. grd_chgnhistlist.refresh();
  478. return;
  479. }
  480. if(grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) == "1"
  481. && grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("repaymthd")) != "3")
  482. {
  483. messageBox("처분자산감가상각에서 폐기가 가능한 자산","I009");
  484. grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) = "";
  485. grd_chgnhistlist.refresh();
  486. return;
  487. }
  488. if(grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("dsplflag")) == "1"
  489. && grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("repaymthd")) != "3")
  490. {
  491. messageBox("처분자산감가상각에서 폐기 된 자산","I009")
  492. grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) = "";
  493. grd_chgnhistlist.refresh();
  494. return;
  495. }
  496. if(grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("dsplflag")) == grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")))
  497. {
  498. messageBox("현재 [" + grd_chgnhistlist.labelMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) + "] 상태인 자산", "I009");
  499. grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) = "";
  500. grd_chgnhistlist.refresh();
  501. return;
  502. }
  503. }
  504. ]]>
  505. </script>
  506. <script type="javascript" ev:event="onaftersort">
  507. <![CDATA[
  508. grd_chgnhistlist.gridToInstance();
  509. ]]>
  510. </script>
  511. <script type="javascript" ev:event="onrowchanged">
  512. <![CDATA[
  513. if( grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("rtnreqseq")) != "" )
  514. {
  515. btn_delrow.disabled = true;
  516. }else{
  517. btn_delrow.disabled = false;
  518. }
  519. ]]>
  520. </script>
  521. <script type="javascript" ev:event="onmousedown">
  522. <![CDATA[
  523. if(event.button == 3){
  524. if(grd_chgnhistlist.isCell(event.target) && grd_chgnhistlist.mouseRow >= grd_chgnhistlist.fixedrows) {
  525. model.makeValue("/root/init/popmenu/grd_chgnhistlist/item[2]/name", "교체");
  526. model.makeValue("/root/init/popmenu/grd_chgnhistlist/item[2]/func", "fFixasetChang");
  527. window.setPopupMenu(true, "/root/init/popmenu/grd_chgnhistlist/item", "name", "func", false);
  528. }else{
  529. window.setPopupMenu(false);
  530. }
  531. }
  532. ]]>
  533. </script>
  534. <script type="javascript" ev:event="DOMFocusOut">
  535. <![CDATA[
  536. window.setPopupMenu(false);
  537. ]]>
  538. </script>
  539. <script type="javascript" ev:event="ondblclick">
  540. <![CDATA[
  541. var inputCol = grd_chgnhistlist.col;
  542. if(inputCol == grd_chgnhistlist.colRef("fixasetcd") || inputCol == grd_chgnhistlist.colRef("goodflaghngnm")) {
  543. fSearchDetail(grd_chgnhistlist);
  544. }
  545. ]]>
  546. </script>
  547. </datagrid>
  548. </case>
  549. <case id="case_history">
  550. <datagrid id="grd_histlist" nodeset="/root/main/chgnhist" autoresize="true" caption="순번^자산^자산^변동일자^변동구분^이전 운용부서^이전 운용부서^운용부서^운용부서^이전 설치장소^이전 설치장소^설치장소^설치장소^비고^적요^기관코드" colsep="^" colwidth="35, 92, 151, 74, 62, 90, 118, 89, 130, 80, 127, 80, 134, 200, 152, 80" dataheight="25" ellipsis="true" explorerbar="sortshow" frozencols="5" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:0px; width:1193px; height:240px; ">
  551. <col ref="updtseq" format="999999-9999999" style="text-align:center; "/>
  552. <col ref="fixasetcd" _key="true" style="text-align:center; "/>
  553. <col ref="goodflaghngnm"/>
  554. <col ref="updtdd" type="output" format="yyyy-mm-dd" maxlength="8" _key="true" style="text-align:center; "/>
  555. <col disabled="true" ref="updtflag" type="combo" _key="true" style="text-align:center; ">
  556. <choices>
  557. <itemset>
  558. <label/>
  559. <value/>
  560. </itemset>
  561. </choices>
  562. </col>
  563. <col ref="premngtdeptcd" type="output" _key="true" style="text-align:center; "/>
  564. <col ref="premngtdeptnm" style="text-align:left; "/>
  565. <col ref="upddeptcd" type="output" _key="true" style="text-align:center; "/>
  566. <col ref="upddeptnm" style="text-align:left; "/>
  567. <col ref="preinstallplcecd" type="output" _key="true" style="text-align:center; "/>
  568. <col ref="preinstallplcenm" style="text-align:left; "/>
  569. <col ref="chnginstallplcecd" type="output" maxlength="12" _key="true" style="text-align:center; "/>
  570. <col disabled="true" ref="installplcenm" style="text-align:left; "/>
  571. <col ref="cmt"/>
  572. <col ref="mainrec" visibility="hidden"/>
  573. <col ref="instcd" visibility="hidden"/>
  574. <script type="javascript" ev:event="onaftersort">
  575. <![CDATA[
  576. grd_chgnhistlist.gridToInstance();
  577. ]]>
  578. </script>
  579. </datagrid>
  580. </case>
  581. </switch>
  582. <group id="grp_setlist" visibility="hidden" style="left:440px; top:530px; width:430px; height:130px; ">
  583. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:430px; height:130px; background-color:#fffbf2; border-color:#ffd799; "/>
  584. <input id="input1" ref="/root/temp/cron/updtdd" class="input_search" navindex="33" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:57px; width:95px; height:19px; text-align:center; "/>
  585. <button id="button3" class="icon_search" navindex="-1" style="left:171px; top:80px; width:16px; height:16px; ">
  586. <caption/>
  587. <script type="javascript" ev:event="DOMActivate">
  588. <![CDATA[
  589. misfOpenPopUpList("02", ipt_cron_mngtdeptcd,"","mngtdeptcd,mngtdeptnm");
  590. ipt_cron_mngtdeptcd.refresh();
  591. ipt_cron_mngtdeptnm.refresh();
  592. model.setValue(ipt_cron_installplcecd.attribute("ref"),model.getValue(ipt_cron_mngtdeptcd.attribute("ref")));
  593. model.setValue(ipt_cron_installplcenm.attribute("ref"),model.getValue(ipt_cron_mngtdeptnm.attribute("ref")));
  594. ipt_cron_installplcecd.refresh();
  595. ipt_cron_installplcenm.refresh();
  596. ]]>
  597. </script>
  598. </button>
  599. <input id="ipt_cron_mngtdeptcd" ref="/root/temp/cron/mngtdeptcd" class="input_search" navindex="34" style="left:93px; top:80px; width:75px; height:19px; ">
  600. <script type="javascript" ev:event="xforms-value-changed">
  601. <![CDATA[
  602. misfSearchDept(ipt_cron_mngtdeptnm);
  603. model.setValue(ipt_cron_installplcecd.attribute("ref"),model.getValue(ipt_cron_mngtdeptcd.attribute("ref")));
  604. model.setValue(ipt_cron_installplcenm.attribute("ref"),model.getValue(ipt_cron_mngtdeptnm.attribute("ref")));
  605. ipt_cron_installplcecd.refresh();
  606. ipt_cron_installplcenm.refresh();
  607. ]]>
  608. </script>
  609. </input>
  610. <input id="ipt_cron_mngtdeptnm" ref="/root/temp/cron/mngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:190px; top:80px; width:150px; height:19px; "/>
  611. <button id="button4" class="icon_search" navindex="-1" style="left:171px; top:103px; width:16px; height:16px; ">
  612. <caption/>
  613. <script type="javascript" ev:event="DOMActivate">
  614. <![CDATA[
  615. misfOpenPopUpList("19", ipt_cron_installplcecd,"","installplcecd,installplcenm");
  616. ipt_cron_installplcecd.refresh();
  617. ipt_cron_installplcenm.refresh();
  618. ]]>
  619. </script>
  620. </button>
  621. <input id="ipt_cron_installplcecd" ref="/root/temp/cron/installplcecd" class="input_search" navindex="35" style="left:93px; top:103px; width:75px; height:19px; ">
  622. <script type="javascript" ev:event="xforms-value-changed">
  623. <![CDATA[
  624. //misfSearchDept(ipt_cron_installplcenm);
  625. if(ipt_cron_installplcecd.value.length == 0)
  626. ipt_cron_installplcenm.value = "";
  627. else
  628. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  629. "deptcd," + ipt_cron_installplcecd.value, "", "installplcecd,installplcenm",
  630. ipt_cron_installplcecd, "PPRAC00700", "","");
  631. ipt_cron_installplcecd.refresh();
  632. ipt_cron_installplcenm.refresh();
  633. ]]>
  634. </script>
  635. </input>
  636. <input id="ipt_cron_installplcenm" ref="/root/temp/cron/installplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:190px; top:103px; width:150px; height:19px; "/>
  637. <button id="btn_seqapp" class="btn2_letter4" navindex="36" style="left:352px; top:75px; width:64px; height:19px; ">
  638. <caption>일괄적용</caption>
  639. <script type="javascript" ev:event="DOMActivate">
  640. <![CDATA[
  641. fSetSelectList();
  642. ]]>
  643. </script>
  644. </button>
  645. <caption id="caption7" class="search_name" style="left:5px; top:57px; width:88px; height:17px; ">변동일자 :</caption>
  646. <caption id="caption9" class="search_name" style="left:5px; top:80px; width:108px; height:17px; ">운용부서 :</caption>
  647. <caption id="caption10" class="search_name" style="left:5px; top:103px; width:115px; height:17px; ">설치장소 :</caption>
  648. <button id="button5" class="btn2_letter2" navindex="37" style="left:372px; top:100px; width:42px; height:19px; ">
  649. <caption>취소</caption>
  650. <script type="javascript" ev:event="DOMActivate">
  651. <![CDATA[
  652. grd_chgnhistlist.disabled = false;
  653. grp_setlist.visible = false;
  654. ]]>
  655. </script>
  656. </button>
  657. <select1 id="cmb_mdlcd" ref="/root/temp/cron/mdlcd" navindex="29" appearance="minimal" style="left:80px; top:10px; width:140px; height:19px; ">
  658. <choices>
  659. <itemset>
  660. <label/>
  661. <value/>
  662. </itemset>
  663. </choices>
  664. <script type="javascript" ev:event="xforms-value-changed">
  665. <![CDATA[
  666. var mdlcd = model.getValue(cmb_mdlcd.attribute("ref"));
  667. if(mdlcd == ""){
  668. cmb_smlcd.disabled = true;
  669. }else{
  670. cmb_smlcd.disabled = false;
  671. misfChangeItemsetFilter(cmb_smlcd,"lrgcd='17' and mdlcd='" + mdlcd + "'");
  672. }
  673. model.setValue(cmb_smlcd.attribute("ref"),"");
  674. cmb_mdlcd.refresh();
  675. cmb_smlcd.refresh();
  676. ]]>
  677. </script>
  678. </select1>
  679. <select1 id="cmb_smlcd" ref="/root/temp/cron/smlcd" class="combo_default" disabled="true" navindex="30" appearance="minimal" style="left:80px; top:33px; width:140px; height:19px; text-align:left; ">
  680. <choices>
  681. <itemset>
  682. <label/>
  683. <value/>
  684. </itemset>
  685. </choices>
  686. </select1>
  687. <caption id="caption3" class="search_name" style="left:5px; top:10px; width:88px; height:17px; ">중분류 :</caption>
  688. <caption id="caption5" class="search_name" style="left:5px; top:33px; width:88px; height:17px; ">소분류 :</caption>
  689. <select1 id="cmb_memoryvol" ref="/root/temp/cron/memoryvol" navindex="32" visibility="visible" appearance="minimal" style="left:328px; top:33px; width:72px; height:19px; ">
  690. <choices>
  691. <itemset>
  692. <label/>
  693. <value/>
  694. </itemset>
  695. </choices>
  696. <script type="javascript" ev:event="xforms-value-changed">
  697. <![CDATA[
  698. //cmb_memoryvol.refresh();
  699. ]]>
  700. </script>
  701. </select1>
  702. <select1 id="cmb_oskind" ref="/root/temp/cron/oskind" navindex="31" visibility="visible" appearance="minimal" style="left:320px; top:10px; width:80px; height:19px; ">
  703. <choices>
  704. <itemset>
  705. <label/>
  706. <value/>
  707. </itemset>
  708. </choices>
  709. <script type="javascript" ev:event="xforms-value-changed">
  710. <![CDATA[
  711. //cmb_oskind.refresh();
  712. ]]>
  713. </script>
  714. </select1>
  715. <caption id="caption12" class="search_name" style="left:230px; top:10px; width:116px; height:17px; ">OS 종류 :</caption>
  716. <caption id="caption8" class="search_name" style="left:230px; top:33px; width:116px; height:17px; ">메모리용량 :</caption>
  717. </group>
  718. <group id="group5" style="left:0px; top:5px; width:1193px; height:127px; vertical-align:top; ">
  719. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:125px; background-color:#fffbf2; border-color:#ffd799; "/>
  720. <caption id="cap_lrgcd_search" class="search_name" style="left:430px; top:6px; width:86px; height:17px; ">대 분 류 :</caption>
  721. <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_search" navindex="2" style="left:95px; top:53px; width:85px; height:19px; ">
  722. <script type="javascript" ev:event="xforms-value-changed">
  723. <![CDATA[
  724. misfSearchDept(ipt_mngtdeptnm_search);
  725. ]]>
  726. </script>
  727. </input>
  728. <button id="btn_mngtdeptcd_search" class="icon_search" navindex="-1" style="left:184px; top:54px; width:16px; height:16px; ">
  729. <caption/>
  730. <script type="javascript" ev:event="DOMActivate">
  731. <![CDATA[
  732. misfOpenPopUpList("02", ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search");
  733. model.refresh();
  734. ]]>
  735. </script>
  736. </button>
  737. <input id="ipt_mngtdeptnm_search" ref="/root/send/fixasetlist/mngtdeptnm_search" class="input_search" navindex="3" appearance="input" style="left:203px; top:53px; width:197px; height:19px; ">
  738. <script type="javascript" ev:event="onkeyup">
  739. <![CDATA[
  740. inputEnterKey("btn_search", "DOMActivate");
  741. ]]>
  742. </script>
  743. </input>
  744. <caption id="cap_possndd_search" class="search_name" visibility="visible" style="left:772px; top:29px; width:94px; height:17px; ">취득일자 :</caption>
  745. <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_default" navindex="14" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:862px; top:29px; width:90px; height:19px; "/>
  746. <input id="ipt_fixasetcd_search" ref="/root/send/fixasetlist/fixasetcd_search" class="input_search" navindex="10" visibility="visible" imemode="disabled" _chartype="upper" style="left:525px; top:75px; width:220px; height:19px; ">
  747. <script type="javascript" ev:event="onkeyup">
  748. <![CDATA[
  749. inputEnterKey("btn_search", "DOMActivate");
  750. if(event.keyCode == "13") {
  751. model.setFocus("ipt_fixasetcd_search");
  752. }
  753. ]]>
  754. </script>
  755. </input>
  756. <button id="btn_search" class="btn1_letter2" navindex="20" style="left:1120px; top:51px; width:56px; height:22px; ">
  757. <caption>조회</caption>
  758. <script type="javascript" ev:event="DOMActivate">
  759. <![CDATA[
  760. fsearch();
  761. ]]>
  762. </script>
  763. </button>
  764. <caption id="cap_instcd_search" class="search_name" style="left:3px; top:6px; width:117px; height:17px; ">기관코드 :</caption>
  765. <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" disabled="true" navindex="-1" appearance="minimal" style="left:95px; top:6px; width:195px; height:19px; ">
  766. <choices>
  767. <itemset>
  768. <label/>
  769. <value/>
  770. </itemset>
  771. </choices>
  772. </select1>
  773. <line id="line12" class="line_4" style="x1:1105px; y1:13px; x2:1105px; y2:112px; border-color:#ffd799; "/>
  774. <caption id="cap_mdlcd_search" class="search_name" style="left:430px; top:29px; width:86px; height:17px; ">중 분 류 :</caption>
  775. <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_default" navindex="15" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:969px; top:29px; width:90px; height:19px; "/>
  776. <caption id="caption2" visibility="visible" style="left:954px; top:29px; width:15px; height:20px; font-weight:bold; ">~</caption>
  777. <select1 id="cmb_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" class="l" navindex="6" visibility="hidden" appearance="minimal" style="left:365px; top:5px; width:55px; height:19px; ">
  778. <choices>
  779. <itemset nodeset="/root/init/goodflag">
  780. <label ref="label"/>
  781. <value ref="value"/>
  782. </itemset>
  783. </choices>
  784. </select1>
  785. <caption id="cap_goodflag_search" class="search_name" visibility="hidden" style="left:275px; top:5px; width:86px; height:17px; ">자산구분 :</caption>
  786. <caption id="cap_dsplflag_search" class="search_name" style="left:3px; top:29px; width:86px; height:17px; ">처분구분 :</caption>
  787. <caption id="cap_installplcecd" class="search_name" style="left:3px; top:52px; width:92px; height:17px; ">운용부서 :</caption>
  788. <caption id="cap_fixasetcd_search" class="search_name" style="left:430px; top:75px; width:89px; height:17px; ">자산코드 :</caption>
  789. <input id="ipt_name_search" ref="/root/send/fixasetlist/name_search" class="input_search" navindex="11" style="left:525px; top:98px; width:220px; height:19px; ">
  790. <script type="javascript" ev:event="onkeyup">
  791. <![CDATA[
  792. inputEnterKey("btn_search", "DOMActivate");
  793. ]]>
  794. </script>
  795. </input>
  796. <caption id="cap_goodflagnm_search" class="search_name" style="left:430px; top:98px; width:110px; height:17px; ">
  797. <![CDATA[자 산 명 :]]>
  798. <hint>
  799. <![CDATA[자산명(한글), 모델]]>
  800. </hint>
  801. </caption>
  802. <button id="btn_suplcecd_search" class="icon_search" navindex="-1" style="left:184px; top:100px; width:16px; height:16px; ">
  803. <caption/>
  804. <script type="javascript" ev:event="DOMActivate">
  805. <![CDATA[
  806. rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd_search,suplplcenm_search","SPRSD00220","instcd","cmb_instcd_search");
  807. ipt_suplplcecd_search.refresh();
  808. ipt_suplplcenm_search.refresh();
  809. ]]>
  810. </script>
  811. </button>
  812. <caption id="cap_suplcecd_search" class="search_name" style="left:3px; top:99px; width:89px; height:17px; ">공 급 처 :</caption>
  813. <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="output_fix" navindex="-1" editable="false" style="left:203px; top:99px; width:197px; height:19px; "/>
  814. <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_search" navindex="5" style="left:95px; top:99px; width:85px; height:19px; ">
  815. <script type="javascript" ev:event="xforms-value-changed">
  816. <![CDATA[
  817. if(ipt_suplplcecd_search.value != '')
  818. {
  819. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  820. cmb_instcd_search.value + "," + "entrregno," + ipt_suplplcecd_search.value, "", "suplplcecd_search,suplplcenm_search",
  821. ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd_search");
  822. }else
  823. {
  824. ipt_suplplcenm_search.value = '';
  825. }
  826. ipt_suplplcecd_search.refresh();
  827. ipt_suplplcenm_search.refresh();
  828. ]]>
  829. </script>
  830. </input>
  831. <select1 id="rdo_dsplflag_search" ref="/root/send/fixasetlist/dsplflag_search" class="radio_search" navindex="1" appearance="full" cellspacing="0" cols="7" overflow="visible" style="left:96px; top:29px; width:304px; height:20px; text-align:left; vertical-align:middle; border-style:none; ">
  832. <choices>
  833. <itemset>
  834. <label/>
  835. <value/>
  836. </itemset>
  837. </choices>
  838. </select1>
  839. <input id="ipt_acntnm_search" ref="/root/send/fixasetlist/acntnm_search" class="output_fix" navindex="-1" editable="false" style="left:203px; top:76px; width:197px; height:19px; "/>
  840. <input id="ipt_acntcd_search" ref="/root/send/fixasetlist/acntcd_search" class="input_search" navindex="4" visibility="visible" style="left:95px; top:76px; width:85px; height:19px; ">
  841. <script type="javascript" ev:event="xforms-value-changed">
  842. <![CDATA[
  843. if(ipt_acntcd_search.value != "")
  844. {
  845. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
  846. ",Y,2," + ipt_acntcd_search.value, "", "acntcd_search,acntnm_search",
  847. ipt_acntcd_search, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd_search");
  848. }else{
  849. ipt_acntnm_search.value = '';
  850. }
  851. ipt_acntcd_search.refresh();
  852. ipt_acntnm_search.refresh();
  853. ]]>
  854. </script>
  855. </input>
  856. <button id="btn_acntcd_search" class="icon_search" navindex="-1" style="left:184px; top:78px; width:16px; height:16px; ">
  857. <caption/>
  858. <script type="javascript" ev:event="DOMActivate">
  859. <![CDATA[
  860. rszfOpenPopUpListByWndName(ipt_acntcd_search, "", "acntcd_search,acntnm_search","PPRAC00100_계정코드HELP","","");
  861. ipt_acntcd_search.refresh();
  862. ipt_acntnm_search.refresh();
  863. ]]>
  864. </script>
  865. </button>
  866. <caption id="caption14" class="search_name" style="left:3px; top:77px; width:89px; height:17px; ">입고계정 :</caption>
  867. <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" navindex="7" appearance="minimal" style="left:525px; top:6px; width:220px; height:19px; ">
  868. <choices>
  869. <itemset>
  870. <label/>
  871. <value/>
  872. </itemset>
  873. </choices>
  874. <script type="javascript" ev:event="xforms-value-changed">
  875. <![CDATA[
  876. var lrgcd = model.getValue(cmb_lrgcd_search.attribute("ref"));
  877. if(lrgcd == ""){
  878. cmb_mdlcd_search.disabled = true;
  879. }else{
  880. cmb_mdlcd_search.disabled = false;
  881. misfChangeItemsetFilter(cmb_mdlcd_search,"lrgcd='" + lrgcd + "' or value=null");
  882. }
  883. cmb_smlcd_search.disabled = true;
  884. model.setValue(cmb_mdlcd_search.attribute("ref"),"");
  885. model.setValue(cmb_smlcd_search.attribute("ref"),"");
  886. cmb_mdlcd_search.refresh();
  887. cmb_smlcd_search.refresh();
  888. ]]>
  889. </script>
  890. </select1>
  891. <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" disabled="true" navindex="8" appearance="minimal" style="left:525px; top:29px; width:220px; height:19px; ">
  892. <choices>
  893. <itemset>
  894. <label/>
  895. <value/>
  896. </itemset>
  897. </choices>
  898. <script type="javascript" ev:event="xforms-value-changed">
  899. <![CDATA[
  900. var lrgcd = model.getValue(cmb_lrgcd_search.attribute("ref"));
  901. var mdlcd = model.getValue(cmb_mdlcd_search.attribute("ref"));
  902. if(mdlcd == ""){
  903. cmb_smlcd_search.disabled = true;
  904. }else{
  905. cmb_smlcd_search.disabled = false;
  906. misfChangeItemsetFilter(cmb_smlcd_search,"lrgcd='" + lrgcd + "' and mdlcd='" + mdlcd + "' or value=null");
  907. }
  908. model.setValue(cmb_smlcd_search.attribute("ref"),"");
  909. cmb_smlcd_search.refresh();
  910. ]]>
  911. </script>
  912. </select1>
  913. <select1 id="cmb_memoryvol_search" ref="/root/send/fixasetlist/memoryvol_search" navindex="17" visibility="visible" appearance="minimal" style="left:1038px; top:55px; width:52px; height:19px; ">
  914. <choices>
  915. <itemset>
  916. <label/>
  917. <value/>
  918. </itemset>
  919. </choices>
  920. </select1>
  921. <caption id="caption44" class="search_name" style="left:940px; top:55px; width:116px; height:17px; ">메모리용량 :</caption>
  922. <caption id="caption25" class="search_name" style="left:772px; top:52px; width:116px; height:17px; ">OS 종류 :</caption>
  923. <select1 id="cmb_oskind_search" ref="/root/send/fixasetlist/oskind_search" navindex="16" visibility="visible" appearance="minimal" style="left:862px; top:52px; width:70px; height:19px; ">
  924. <choices>
  925. <itemset>
  926. <label/>
  927. <value/>
  928. </itemset>
  929. </choices>
  930. </select1>
  931. <caption id="caption1" class="search_name" style="left:772px; top:9px; width:89px; height:17px; ">취득금액 :</caption>
  932. <caption id="caption24" visibility="visible" style="left:954px; top:8px; width:15px; height:20px; font-weight:bold; ">~</caption>
  933. <input id="ipt_possnamtfr_search" ref="/root/send/fixasetlist/possnamtfr_search" class="input_search" navindex="12" maxlength="12" format="#,###" style="left:862px; top:6px; width:90px; height:19px; text-align:right; "/>
  934. <input id="ipt_possnamtto_search" ref="/root/send/fixasetlist/possnamtto_search" class="input_search" navindex="13" maxlength="12" format="#,###" style="left:970px; top:6px; width:90px; height:19px; text-align:right; "/>
  935. <caption id="cap_smlcd_search" class="search_name" style="left:430px; top:52px; width:86px; height:17px; ">소 분 류 :</caption>
  936. <select1 id="cmb_smlcd_search" ref="/root/send/fixasetlist/smlcd_search" disabled="true" navindex="9" appearance="minimal" style="left:525px; top:52px; width:220px; height:19px; ">
  937. <choices>
  938. <itemset>
  939. <label/>
  940. <value/>
  941. </itemset>
  942. </choices>
  943. </select1>
  944. <bool id="chk_addsearch" navindex="21" checkvalue="Y,N" ref="/root/temp/addsearch" style="left:1110px; top:75px; width:20px; height:20px; "/>
  945. <caption id="caption11" style="left:1130px; top:75px; width:55px; height:20px; ">추가조회</caption>
  946. <caption id="caption13" class="search_name" style="left:772px; top:75px; width:116px; height:17px; ">IP 주소 :</caption>
  947. <input id="ipt_ipaddr_search" ref="/root/send/fixasetlist/ipaddr_search" class="input_search" navindex="18" style="left:862px; top:75px; width:130px; height:19px; ">
  948. <script type="javascript" ev:event="onkeyup">
  949. <![CDATA[
  950. inputEnterKey("btn_search", "DOMActivate");
  951. ]]>
  952. </script>
  953. </input>
  954. <input id="ipt_cmt_search" ref="/root/send/fixasetlist/cmt_search" class="input_search" navindex="19" style="left:862px; top:98px; width:98px; height:19px; ">
  955. <script type="javascript" ev:event="onkeyup">
  956. <![CDATA[
  957. inputEnterKey("btn_search", "DOMActivate");
  958. ]]>
  959. </script>
  960. </input>
  961. <caption id="caption15" class="search_name" style="left:772px; top:98px; width:116px; height:17px; ">비 고 :</caption>
  962. </group>
  963. <button id="btn_barcodeprt" class="btn2_letter5" navindex="22" style="left:1115px; top:132px; width:75px; height:19px; ">
  964. <caption>바코드출력</caption>
  965. <script type="javascript" ev:event="DOMActivate">
  966. <![CDATA[
  967. var goodnm, mngtdeptnm, installplcenm;
  968. if (grd_fixasetlist.selectedRows < 1){
  969. messageBox("선택 된 자산이","I004");
  970. return false;
  971. }
  972. model.removeNodeset(grd_cpfixasetlist.nodeset);
  973. grd_cpfixasetlist.refresh();
  974. for(var idx = 0; idx<grd_fixasetlist.selectedRows; idx++){
  975. var sel_row = grd_fixasetlist.selectedRow(idx);
  976. goodnm = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodflaghngnm"));
  977. mngtdeptnm = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mngtdeptnm"));
  978. installplcenm = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("installplcenm"));
  979. grd_cpfixasetlist.addRow(false);
  980. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("fixasetcd" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("fixasetcd"));
  981. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("possndd" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("possndd"));
  982. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("goodnm1" )) = goodnm;
  983. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("goodspec" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodspec"));
  984. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("deptnm1" )) = mngtdeptnm;
  985. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("deptnm2" )) = installplcenm;
  986. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("mngtno" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mngtno"));
  987. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("suplplcenm" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("suplplcenm"));
  988. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("ipaddr" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("ipaddr"));
  989. grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("cmt" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("cmt"));
  990. }
  991. grd_cpfixasetlist.refresh();
  992. exeReportPreview("RPRFC00702","XMLSTR");
  993. exeReportPreview("RPRFC00703","XMLSTR");
  994. ]]>
  995. </script>
  996. </button>
  997. <datagrid id="grd_cpfixasetlist" nodeset="/root/main/list/cpfixaset/cpfixasetlist" visibility="hidden" caption="기관코드^자산코드^품명^모델^규격^SERIAL NO^공급처^구입일자^운용부서^설치장소^물품명2^IP주소^비고^변동일자" colsep="^" colwidth="53, 110, 230, 100, 160, 123, 159, 75, 130, 130, 100, 100, 100,100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:510px; top:310px; width:670px; height:120px; ">
  998. <col ref="instcd" visibility="hidden"/>
  999. <col ref="fixasetcd" style="text-align:center; "/>
  1000. <col ref="goodnm1" style="padding-left:5; "/>
  1001. <col ref="goodmodel" visibility="hidden"/>
  1002. <col ref="goodspec" style="padding-left:5; "/>
  1003. <col ref="mngtno"/>
  1004. <col ref="suplplcenm" style="padding-left:5; "/>
  1005. <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
  1006. <col ref="deptnm1"/>
  1007. <col ref="deptnm2"/>
  1008. <col ref="goodnm2" visibility="hidden"/>
  1009. <col ref="ipaddr"/>
  1010. <col ref="cmt"/>
  1011. <col ref="updtdd"/>
  1012. </datagrid>
  1013. </group>
  1014. <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
  1015. <button id="btn_init" class="btn4_letter3" navindex="28" style="left:1126px; top:3; width:68px; height:22px; ">
  1016. <caption>초기화</caption>
  1017. <script type="javascript" ev:event="DOMActivate">
  1018. <![CDATA[
  1019. fInitialize();
  1020. ]]>
  1021. </script>
  1022. </button>
  1023. <line id="line11" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  1024. <button id="btn_print" class="btn3_letter6" navindex="23" visibility="visible" style="left:3px; top:3px; width:110px; height:22px; ">
  1025. <caption>정보자산내역</caption>
  1026. <script type="javascript" ev:event="DOMActivate">
  1027. <![CDATA[
  1028. exeReportPreview("RPRFC00902","XMLSTR");
  1029. ]]>
  1030. </script>
  1031. </button>
  1032. </group>
  1033. <bool id="bool1" checkvalue="Y,N" ref="/root/send/fixasetlist/outerfixaset" style="left:1086px; top:145px; width:20px; height:20px; "/>
  1034. <caption id="caption47" class="search_name" style="left:975px; top:145px; width:116px; height:17px; ">부외자산포함 :</caption>
  1035. </xhtml:body>
  1036. </xhtml:html>