SMZHI00100_전산장비Master.xrw 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968
  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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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. <cond>
  11. <lrgcd>E</lrgcd>
  12. <midcd/>
  13. <winym/>
  14. <ostype/>
  15. <os/>
  16. <modelcd/>
  17. <deptcd/>
  18. <deptnm/>
  19. <plcecd/>
  20. <plcenm/>
  21. <prodcmpycd/>
  22. <prodcmoynm/>
  23. <fixasetcd/>
  24. <fixasetnm/>
  25. <compcd/>
  26. <name/>
  27. <rgstflag/>
  28. <instcd/>
  29. </cond>
  30. <compinfo>
  31. <complist/>
  32. </compinfo>
  33. <compdetlinfo>
  34. <complist>
  35. <compcd/>
  36. <fixasetcd/>
  37. <name/>
  38. <barcd/>
  39. <modelcd/>
  40. <spec/>
  41. <lrgcd/>
  42. <midcd/>
  43. <deptcd/>
  44. <deptnm/>
  45. <plcecd/>
  46. <plcenm/>
  47. <prodcmpycd/>
  48. <ostype/>
  49. <os/>
  50. <bigo/>
  51. <userid/>
  52. <usernm/>
  53. <usertel/>
  54. <cpucnt/>
  55. <corecnt/>
  56. <moninch/>
  57. <storvol/>
  58. <memvol/>
  59. <mainimg/>
  60. <ip/>
  61. <wintype/>
  62. <suplcmpycd/>
  63. <suplcmpynm/>
  64. <serialno/>
  65. <stortype/>
  66. </complist>
  67. <compreparelist/>
  68. <movelist/>
  69. </compdetlinfo>
  70. </main>
  71. <init>
  72. <mlist>
  73. </mlist>
  74. </init>
  75. </root>
  76. </instance>
  77. <script type="javascript" ev:event="xforms-ready">
  78. <![CDATA[
  79. zbcfGetCodeList( new Array ( "Z0007")
  80. , new Array ( "/root/init/mlist","/root/init/mlist")
  81. );
  82. addComboItem("cmb_instcd", "전체", "", "above");
  83. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  84. rdo_lrgcd.refresh();
  85. cmb_os.refresh();
  86. var supcd = "'01','03','04'";
  87. fGetCodeInfo(supcd, "", "Y");
  88. fGetDetlCodeInfo(supcd,"","Y");
  89. addComboItem("rdo_lrgcd", "", "", "above");
  90. addComboItem("cmb_midcd", "", "", "above");
  91. fSearch();
  92. btn_add.disabled = true;
  93. btn_del.disabled = true;
  94. btn_sav.disabled = true;
  95. ]]>
  96. </script>
  97. <submission id="TRZHI00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/compinfo"/>
  98. <submission id="TRZHI00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/compdetlinfo"/>
  99. <submission id="TXZHI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  100. <submission id="TXZHI00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata2" resultref="/root/temp"/>
  101. <submission id="TRZHI00001" mediatype="application/x-www-form-urlencoded" method="post"/>
  102. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  103. <submission id="TRZHI00002" mediatype="application/x-www-form-urlencoded" method="post"/>
  104. </model>
  105. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  106. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  109. <script type="javascript" src="../../../com/irmsweb/js/IrmsCom.js"/>
  110. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  111. <script type="javascript">
  112. <![CDATA[
  113. function fSearch()
  114. {
  115. model.resetInstanceNode("/root/main/compdetlinfo/complist");
  116. model.makeNode("/root/main/compdetlinfo/complist");
  117. model.makeNode("/root/send/reqdata");
  118. model.copyNode("/root/send/reqdata", "/root/main/cond");
  119. submit("TRZHI00103");
  120. }
  121. function fSearchDetl() {
  122. model.makeValue("/root/send/reqdata/compcd", grd_complist.valueMatrix(grd_complist.row, grd_complist.colRef("compcd")));
  123. model.makeValue("/root/send/reqdata/flag", "Y");
  124. submit("TRZHI00104");
  125. setImageRefInstance(img_view.attribute("ref"));
  126. img_view.refresh();
  127. }
  128. function fSave() {
  129. model.makeNode("/root/send/savedata");
  130. model.copyNode("/root/send/savedata", "/root/main/compdetlinfo");
  131. submit("TXZHI00101");
  132. }
  133. function fChangeImage(img_viewtarget, Tfile, check)
  134. {
  135. if(check == "Y")
  136. {
  137. file = Tfile;
  138. }else if(check == "N")
  139. {
  140. if(Tfile == "D") {
  141. file = "";
  142. } else {
  143. var file = openImageFileDialog(4000000); // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
  144. if (file == "") {
  145. return;
  146. }
  147. }
  148. }
  149. img_viewtarget.src = file; // 파일에서 읽은 이미지의 base64 encoding 값을 가져오기 위한 이미지 컨트롤
  150. var data = img_viewtarget.getbase64data(); // encoding 문자열을 가져온다.
  151. model.setValue(img_viewtarget.attribute("ref"), data, true); // 이미지를 보여주기 위하여 view용 이미지컨트롤의 ref instance에 값을 저장
  152. setImageRefInstance(img_viewtarget.attribute("ref"));
  153. return true;
  154. }
  155. ]]>
  156. </script>
  157. </xhtml:head>
  158. <xhtml:body pagewidth="1250" pageheight="850" guideline="1,-2;1,1198;2,781;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  159. <group id="group1" style="left:0px; top:13; width:1195px; height:27px; ">
  160. <button id="btn_print" class="btn3_letter2" navindex="97" visibility="hidden" style="left:3px; top:3px; width:56px; height:22px; ">
  161. <caption>출력</caption>
  162. </button>
  163. <button id="btn_init" class="btn4_letter3" navindex="101" style="left:1119px; top:3px; width:68px; height:22px; ">
  164. <caption>초기화</caption>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. model.resetInstanceNode("/root/send");
  168. fInitialize();
  169. ]]>
  170. </script>
  171. </button>
  172. <button id="btn_save" class="btn4_letter2" navindex="100" style="left:1061px; top:3px; width:56px; height:22px; ">
  173. <caption>저장</caption>
  174. <script type="javascript" ev:event="DOMActivate">
  175. <![CDATA[
  176. if(model.getValue(ipt_compcd2.attribute("ref")) == "") {
  177. messageBox("전산장비코드를 선택 후 저장하십시오.", "E");
  178. return;
  179. }
  180. fSave();
  181. ]]>
  182. </script>
  183. </button>
  184. <line id="line14" class="line_2" style="x1:0; y1:25; x2:1194; y2:25; "/>
  185. </group>
  186. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:735px; font-family:돋움체; ">
  187. <datagrid id="grd_complist" nodeset="/root/main/compinfo/complist" class="datagrid2" scroll="auto" caption="전산장비&#xA;코드^장비명^설치부서^설치장소" colsep="^" colwidth="75, 123, 80, 73" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="21" style="left:0px; top:310px; width:480px; height:420px; font-family:돋움체; ">
  188. <col ref="compcd"/>
  189. <col ref="name"/>
  190. <col ref="deptnm"/>
  191. <col ref="plcenm"/>
  192. <script type="javascript" ev:event="ondblclick">
  193. <![CDATA[
  194. if(grd_complist.isCell(event.target) && grd_complist.mouseRow >= grd_complist.fixedrows) {
  195. fSearchDetl();
  196. }
  197. ]]>
  198. </script>
  199. </datagrid>
  200. <line id="line9" class="line_1" style="x1:485px; y1:23px; x2:1192px; y2:23px; font-family:돋움체; "/>
  201. <group id="group2" style="left:0px; top:5px; width:480px; height:270px; font-family:돋움체; vertical-align:top; ">
  202. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:480px; height:270px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; "/>
  203. <caption id="cap_lrgcd_search" class="search_name" style="left:5px; top:29px; width:93px; height:17px; font-family:돋움체; ">대 분 류 :</caption>
  204. <button id="btn_search" class="btn1_letter2" navindex="20" style="left:418px; top:132px; width:56px; height:22px; font-family:돋움체; ">
  205. <caption>조회</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. fSearch();
  209. ]]>
  210. </script>
  211. </button>
  212. <line id="line15" class="line_4" style="x1:410px; y1:30px; x2:410px; y2:263px; font-family:돋움체; border-color:#ffd799; "/>
  213. <caption id="caption8" class="search_name" style="left:5px; top:53px; width:95px; height:17px; font-family:돋움체; ">중 분 류 :</caption>
  214. <select1 id="rdo_lrgcd" ref="/root/main/cond/lrgcd" appearance="full" cols="3" overflow="visible" style="left:100px; top:30px; width:220px; height:13px; border-style:none; ">
  215. <choices>
  216. <itemset nodeset="/root/init/lrgcodeinfo/codelist[supcd='01']">
  217. <label ref="lrgnm"/>
  218. <value ref="lrgcd"/>
  219. </itemset>
  220. </choices>
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. cmb_midcd.choices.itemset.attribute("nodeset") = "/root/init/midcodeinfo/codelist[supcd='01' and lrgcd='" + rdo_lrgcd.value +"' or midcd='']";
  224. cmb_midcd.refresh();
  225. ]]>
  226. </script>
  227. </select1>
  228. <select1 id="cmb_midcd" ref="/root/main/cond/midcd" appearance="minimal" style="left:100px; top:52px; width:100px; height:19px; ">
  229. <choices>
  230. <itemset nodeset="/root/init/midcodeinfo/codelist[supcd='01' and lrgcd='E' or midcd='']">
  231. <label ref="midnm"/>
  232. <value ref="midcd"/>
  233. </itemset>
  234. </choices>
  235. <script type="javascript" ev:event="xforms-value-changed">
  236. <![CDATA[
  237. ]]>
  238. </script>
  239. </select1>
  240. <select1 id="cmb_modelcd" ref="/root/main/cond/modelcd" appearance="minimal" style="left:100px; top:76px; width:100px; height:19px; ">
  241. <choices>
  242. <item>
  243. <label>Z400</label>
  244. <value>Z400</value>
  245. </item>
  246. <item>
  247. <label>Z600</label>
  248. <value>Z600</value>
  249. </item>
  250. </choices>
  251. </select1>
  252. <select1 id="cmb_ostype" ref="/root/main/cond/ostype" appearance="minimal" style="left:100px; top:100px; width:100px; height:19px; ">
  253. <choices>
  254. <itemset nodeset="/root/init/lrgcodeinfo/codelist[supcd='03' or lrgcd='']">
  255. <label ref="lrgnm"/>
  256. <value ref="lrgcd"/>
  257. </itemset>
  258. </choices>
  259. <script type="javascript" ev:event="xforms-value-changed">
  260. <![CDATA[
  261. cmb_os.choices.itemset.attribute("nodeset") = "/root/init/midcodeinfo/codelist[supcd='03' and lrgcd='" + cmb_ostype.value +"' or midcd='']";
  262. cmb_os.refresh();
  263. ]]>
  264. </script>
  265. </select1>
  266. <caption id="caption4" class="search_name" style="left:5px; top:77px; width:95px; height:17px; font-family:돋움체; ">장비모델 :</caption>
  267. <caption id="caption5" class="search_name" style="left:5px; top:101px; width:99px; height:17px; font-family:돋움체; ">OS 타입 :</caption>
  268. <caption id="caption7" class="search_name" style="left:210px; top:53px; width:95px; height:17px; font-family:돋움체; ">입고년월 :</caption>
  269. <input id="ipt_winym" ref="/root/main/cond/winym" inputtype="date" maxlength="6" format="yyyy-mm" style="left:300px; top:52px; width:100px; height:19px; ">
  270. <script type="javascript" ev:event="xforms-value-changed">
  271. <![CDATA[
  272. ]]>
  273. </script>
  274. </input>
  275. <caption id="caption10" class="search_name" style="left:210px; top:101px; width:87px; height:17px; font-family:돋움체; ">OS 종류 :</caption>
  276. <select1 id="cmb_os" ref="/root/main/cond/os" appearance="minimal" style="left:300px; top:100px; width:100px; height:19px; ">
  277. <choices>
  278. <itemset nodeset="/root/init/midcodeinfo/codelist[supcd='03' or midcd='']">
  279. <label ref="midnm"/>
  280. <value ref="midcd"/>
  281. </itemset>
  282. </choices>
  283. </select1>
  284. <caption id="caption11" class="search_name" style="left:5px; top:125px; width:99px; height:17px; font-family:돋움체; ">설치부서 :</caption>
  285. <caption id="caption12" class="search_name" style="left:5px; top:149px; width:99px; height:17px; font-family:돋움체; ">설치장소 :</caption>
  286. <button id="btn_installplcecd_search" class="icon_search" navindex="-1" visibility="visible" style="left:205px; top:148px; width:16px; height:16px; ">
  287. <caption/>
  288. <script type="javascript" ev:event="DOMActivate">
  289. <![CDATA[
  290. fPopUpPlceInfo("ipt_deptcd", "ipt_deptnm", "ipt_plcecd", "ipt_plcenm");
  291. ]]>
  292. </script>
  293. </button>
  294. <input id="ipt_plcenm" ref="/root/main/cond/plcenm" class="output_fix" disabled="true" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:225px; top:148px; width:175px; height:19px; "/>
  295. <input id="ipt_plcecd" ref="/root/main/cond/plcecd" class="input_default" visibility="visible" style="left:100px; top:148px; width:100px; height:19px; ">
  296. <script type="javascript" ev:event="xforms-value-changed">
  297. <![CDATA[
  298. fPopUpPlceInfo("ipt_deptcd", "ipt_deptnm", "ipt_plcecd", "ipt_plcenm");
  299. ]]>
  300. </script>
  301. </input>
  302. <button id="button1" class="icon_search" navindex="-1" visibility="visible" style="left:205px; top:124px; width:16px; height:16px; ">
  303. <caption/>
  304. <script type="javascript" ev:event="DOMActivate">
  305. <![CDATA[
  306. fPopUpPlceInfo("ipt_deptcd", "ipt_deptnm", "ipt_plcecd", "ipt_plcenm");
  307. ]]>
  308. </script>
  309. </button>
  310. <input id="ipt_deptnm" ref="/root/main/cond/deptnm" class="output_fix" disabled="true" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:225px; top:124px; width:175px; height:19px; "/>
  311. <input id="ipt_deptcd" ref="/root/main/cond/deptcd" class="input_default" visibility="visible" style="left:100px; top:124px; width:100px; height:19px; ">
  312. <script type="javascript" ev:event="xforms-value-changed">
  313. <![CDATA[
  314. fPopUpPlceInfo("ipt_deptcd", "ipt_deptnm", "ipt_plcecd", "ipt_plcenm");
  315. ]]>
  316. </script>
  317. </input>
  318. <caption id="caption14" class="search_name" style="left:5px; top:173px; width:99px; height:17px; font-family:돋움체; ">공 급 처 :</caption>
  319. <input id="ipt_prodcmoynm" ref="/root/main/cond/prodcmoynm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:225px; top:172px; width:175px; height:19px; font-family:돋움체; ">
  320. <script type="javascript" ev:event="xforms-value-changed">
  321. <![CDATA[
  322. if(ipt_suplplcenm.value.length == 0)
  323. ipt_suplplcecd.value = "";
  324. else
  325. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  326. cmb_instcd_search.value + "," + "custnm," + ipt_suplplcenm.value, "", "suplplcecd,suplplcenm",
  327. ipt_suplplcenm, "SPRSD00220", "instcd","cmb_instcd_search");
  328. model.refresh();
  329. ]]>
  330. </script>
  331. </input>
  332. <input id="ipt_prodcmpycd" ref="/root/main/cond/prodcmpycd" class="input_default" appearance="input" style="left:100px; top:172px; width:100px; height:19px; font-family:돋움체; ">
  333. <script type="javascript" ev:event="xforms-value-changed">
  334. <![CDATA[
  335. fGetCmpyCd("SMZHI00100", "nm", ipt_prodcmpycd.value, "/root/main/cond/prodcmpycd", "/root/main/cond/prodcmoynm");
  336. ]]>
  337. </script>
  338. </input>
  339. <button id="button2" class="icon_search" navindex="-1" style="left:205px; top:172px; width:16px; height:16px; font-family:돋움체; ">
  340. <caption/>
  341. <script type="javascript" ev:event="DOMActivate">
  342. <![CDATA[
  343. fGetCmpyCd("SMZHI00100", "nm", ipt_prodcmpycd.value, "/root/main/cond/prodcmpycd", "/root/main/cond/prodcmoynm");
  344. ]]>
  345. </script>
  346. </button>
  347. <caption id="caption15" class="search_name" style="left:5px; top:197px; width:99px; height:17px; font-family:돋움체; ">자산코드 :</caption>
  348. <input id="ipt_fixasetcd" ref="/root/main/cond/fixasetcd" style="left:100px; top:196px; width:100px; height:19px; "/>
  349. <input id="ipt_fixasetnm" ref="/root/main/cond/fixasetnm" style="left:203px; top:196px; width:198px; height:19px; "/>
  350. <input id="ipt_compcd" ref="/root/main/cond/compcd" style="left:100px; top:220px; width:100px; height:19px; "/>
  351. <input id="ipt_name" ref="/root/main/cond/name" navindex="1" style="left:203px; top:220px; width:198px; height:19px; "/>
  352. <caption id="caption17" class="search_name" style="left:5px; top:221px; width:99px; height:17px; font-family:돋움체; ">전산장비 :</caption>
  353. <caption id="caption16" class="search_name" style="left:5px; top:245px; width:123px; height:17px; font-family:돋움체; ">자산등록여부 :</caption>
  354. <select1 id="radio2" ref="/root/main/cond/rgstflag" appearance="full" cols="3" overflow="visible" style="left:120px; top:245px; width:180px; height:15px; border-style:none; ">
  355. <choices>
  356. <item>
  357. <label>전체</label>
  358. <value/>
  359. </item>
  360. <item>
  361. <label>등록</label>
  362. <value>Y</value>
  363. </item>
  364. <item>
  365. <label>미등록</label>
  366. <value>N</value>
  367. </item>
  368. </choices>
  369. </select1>
  370. <caption id="caption2" class="search_name" style="left:5px; top:5px; width:93px; height:17px; font-family:돋움체; ">기 관 :</caption>
  371. <select1 id="cmb_instcd" ref="/root/main/cond/instcd" class="combo_search" appearance="minimal" style="left:100px; top:5px; width:120px; height:19px; ">
  372. <choices>
  373. <itemset nodeset="/root/init/mlist/Z0007[cdid='031' or cdid='032' or cdid='']">
  374. <label ref="cdnm"/>
  375. <value ref="cdid"/>
  376. </itemset>
  377. </choices>
  378. </select1>
  379. </group>
  380. <caption id="caption52" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; font-family:돋움체; vertical-align:middle; ">포장단위</caption>
  381. <caption id="caption54" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; font-family:돋움체; vertical-align:middle; ">근속기준일/년</caption>
  382. <line id="line3" class="line_1" style="x1:0px; y1:305px; x2:480px; y2:305px; font-family:돋움체; "/>
  383. <!--</group>-->
  384. <caption id="caption34" class="tit_2" style="left:0px; top:290px; width:130px; height:13px; font-family:돋움체; ">장비내역조회</caption>
  385. <button id="button3" class="btn5_letter5" navindex="33" style="left:405px; top:285px; width:75px; height:19px; font-family:돋움체; ">
  386. <caption>Excel 저장</caption>
  387. <script type="javascript" ev:event="DOMActivate">
  388. <![CDATA[
  389. if( grd_complist.rows - grd_complist.fixedRows > 0 ) {
  390. var fileName = "장비내역조회_" + getCurrentDate();
  391. var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  392. grd_complist.saveExcel(fileName, "sheetname:전산장비내역;colhiddenextend:true;");
  393. } else {
  394. messageBox("저장 데이터가","I004");
  395. }
  396. ]]>
  397. </script>
  398. </button>
  399. <button id="btn_comps" class="btn_sw" group="tab" selected="true" style="left:491px; top:333px; width:80px; height:22px; font-family:돋움체; ">
  400. <caption>수리이력</caption>
  401. <script type="javascript" ev:event="DOMActivate">
  402. <![CDATA[
  403. model.toggle("case1");
  404. btn_add.disabled = true;
  405. btn_del.disabled = true;
  406. btn_sav.disabled = true;
  407. ]]>
  408. </script>
  409. </button>
  410. <button id="btn_addinfo" class="btn_sw" group="tab" style="left:571px; top:333px; width:90px; height:22px; font-family:돋움체; ">
  411. <caption>장비이동이력</caption>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. model.toggle("case2");
  415. btn_add.disabled = false;
  416. btn_del.disabled = false;
  417. btn_sav.disabled = false;
  418. ]]>
  419. </script>
  420. </button>
  421. <switch id="switch1" style="left:485px; top:355px; width:705px; height:378px; font-family:돋움체; border-color:#c7a3cf; border-style:solid; ">
  422. <case id="case1">
  423. <datagrid id="grd_compreparelist" nodeset="/root/main/compdetlinfo/compreparelist" caption="수리일자^수리구분^수리구분상세^수리내용^수리자^SR요청번호" colsep="^" colwidth="90, 86, 100, 193, 70, 78" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:6px; width:699px; height:364px; ">
  424. <col ref="workdd" type="inputdate" style="text-align:center; "/>
  425. <col ref="worktypenm" type="output"/>
  426. <col ref="workdetltypenm" type="output"/>
  427. <col ref="workcont"/>
  428. <col ref="worker" style="text-align:center; "/>
  429. <col ref="srseqno"/>
  430. </datagrid>
  431. <line id="line45" class="line_1" style="x1:1px; y1:2px; x2:700px; y2:2px; "/>
  432. </case>
  433. <case id="case2" selected="true">
  434. <line id="line46" class="line_1" style="x1:0px; y1:2px; x2:700px; y2:2px; "/>
  435. <datagrid id="grd_moveinfo" nodeset="/root/main/compdetlinfo/movelist" caption="이동일자^장비코드^이동전^이동전^이동전^이동전^이동전^이동후^이동후^이동후^이동후^이동후^장비이동사유|이동일자^장비코드^부서^부서코드^장소^장소명^기관^부서^부서코드^장소^장소코드^기관^장비이동사유" colsep="^" colwidth="90, 0, 100, 0, 100, 0, 46, 100, 1, 100, 0, 44, 188" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:7px; width:700px; height:363px; ">
  436. <col ref="movedd" type="inputdate"/>
  437. <col ref="compcd" visibility="hidden"/>
  438. <col ref="fromdeptnm" type="output"/>
  439. <col ref="fromdeptcd"/>
  440. <col ref="fromplcenm" type="output"/>
  441. <col ref="fromplcecd"/>
  442. <col ref="frominstcd" type="combo" style="text-align:center; ">
  443. <choices>
  444. <item>
  445. <label/>
  446. <value/>
  447. </item>
  448. <item>
  449. <label>본원</label>
  450. <value>031</value>
  451. </item>
  452. <item>
  453. <label>칠곡</label>
  454. <value>032</value>
  455. </item>
  456. </choices>
  457. </col>
  458. <col ref="todeptnm" type="inputbutton"/>
  459. <col ref="todeptcd" visibility="hidden"/>
  460. <col ref="toplcenm" type="inputbutton"/>
  461. <col ref="toplcecd" type="output" visibility="hidden"/>
  462. <col ref="toinstcd" type="combo">
  463. <choices>
  464. <item>
  465. <label/>
  466. <value/>
  467. </item>
  468. <item>
  469. <label>본원</label>
  470. <value>031</value>
  471. </item>
  472. <item>
  473. <label>칠곡</label>
  474. <value>032</value>
  475. </item>
  476. </choices>
  477. </col>
  478. <col ref="resn" type="input"/>
  479. <script type="javascript" ev:event="onbuttonclick">
  480. <![CDATA[
  481. setParameter("SMZHI01200_cnfm", "N");
  482. if(grd_moveinfo.col != grd_moveinfo.colRef("movedd")) {
  483. fPopUpPlceInfo("todeptcd","todeptnm","toplcecd","toplcenm", "toinstcd","grd_moveinfo");
  484. var param = getParameter("SMZHI01200_cnfm");
  485. if(param == "Y") {
  486. grd_moveinfo.rowStatus(grd_moveinfo.row) = "2";
  487. }
  488. }
  489. ]]>
  490. </script>
  491. </datagrid>
  492. </case>
  493. <case id="case3">
  494. <line id="line52" class="line_1" style="x1:0px; y1:2px; x2:700px; y2:2px; "/>
  495. <datagrid id="grd_rfchmandlist" nodeset="/root/main/list/rfchmandlist" caption="계약기간^계약기간^계약금액^계약처^계약처^계약사항^대리점^대리점역락처^기관코드^자산코드" colsep="^" colwidth="92, 76, 82, 90, 89, 179, 90, 90, 100, 100" dataheight="60" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:7px; width:700px; height:363px; ">
  496. <col class="input_essential" ref="rpirconfromdd" type="inputdate" format="yyyy-mm-dd" _key="true"/>
  497. <col ref="rpircontodd" type="inputdate" format="yyyy-mm-dd"/>
  498. <col ref="conamt" type="input" format="#,###" style="text-align:right; "/>
  499. <col ref="suplplcecd" type="inputbutton"/>
  500. <col ref="suplplcenm" type="input"/>
  501. <col ref="concond" type="input"/>
  502. <col ref="agency" type="input"/>
  503. <col ref="agencycntctel" type="input"/>
  504. <col ref="instcd" visibility="hidden"/>
  505. <col ref="fixasetcd" visibility="hidden"/>
  506. <script type="javascript" ev:event="onbuttonclick">
  507. <![CDATA[
  508. if (grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd")) {//물품코드 버튼을 눌렀을 때
  509. rszfOpenPopUpListByWndName(grd_rfchmandlist,"",
  510. "suplplcecd,suplplcenm","SPRSD00220","instcd,goodflag",
  511. "cmb_instcd_search,cmb_goodflag_search","Y");
  512. }
  513. ]]>
  514. </script>
  515. <script type="javascript" ev:event="xforms-value-changed">
  516. <![CDATA[
  517. if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcenm") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length> 0)
  518. {
  519. if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length == 0)
  520. grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")) = "";
  521. else
  522. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  523. cmb_instcd_search.value + "," + "custnm," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")), "", "suplplcecd,suplplcenm",
  524. grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
  525. }
  526. else if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length> 0)
  527. {
  528. if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length == 0)
  529. grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")) = "";
  530. else
  531. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  532. cmb_instcd_search.value + "," + "entrregno," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")), "", "suplplcecd,suplplcenm",
  533. grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
  534. }
  535. ]]>
  536. </script>
  537. </datagrid>
  538. </case>
  539. </switch>
  540. <button id="btn_rfchmandlist" class="btn_sw" group="tab" style="left:661px; top:333px; width:90px; height:22px; font-family:돋움체; ">
  541. <caption>보수계약정보</caption>
  542. <script type="javascript" ev:event="DOMActivate">
  543. <![CDATA[
  544. model.toggle("case3");
  545. btn_add.disabled = true;
  546. btn_del.disabled = true;
  547. btn_sav.disabled = true;
  548. ]]>
  549. </script>
  550. </button>
  551. <caption id="caption18" class="tit_2" style="left:485px; top:9px; width:130px; height:13px; font-family:돋움체; ">장비상세내역</caption>
  552. <input id="ipt_compcd2" ref="/root/main/compdetlinfo/complist/compcd" disabled="true" style="left:567px; top:29px; width:95px; height:19px; font-family:돋움체; "/>
  553. <input id="input2" ref="/root/main/compdetlinfo/complist/name" style="left:567px; top:53px; width:274px; height:19px; font-family:돋움체; "/>
  554. <button id="button4" class="btn2_letter4" style="left:1127px; top:3px; width:64px; height:19px; font-family:돋움체; ">
  555. <caption>자산연동</caption>
  556. <script type="javascript" ev:event="DOMActivate">
  557. <![CDATA[
  558. fPopUpFixAsetInfo("ipt_fixasetcd2", "");
  559. ]]>
  560. </script>
  561. </button>
  562. <line id="line1" class="line_2" style="x1:485px; y1:50px; x2:1024px; y2:50px; font-family:돋움체; "/>
  563. <caption id="cap_goodflagengnm" class="cell_1" style="left:485px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">전산장비코드</caption>
  564. <line id="line4" class="line_2" style="x1:485px; y1:74px; x2:1024px; y2:74px; font-family:돋움체; "/>
  565. <caption id="caption19" class="cell_1" style="left:844px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">장비대분류</caption>
  566. <line id="line5" class="line_2" style="x1:485px; y1:98px; x2:1024px; y2:98px; font-family:돋움체; "/>
  567. <line id="line7" class="line_2" style="x1:485px; y1:242px; x2:1189px; y2:242px; font-family:돋움체; "/>
  568. <caption id="caption20" class="cell_1" style="left:844px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">장비모델</caption>
  569. <caption id="caption22" class="cell_1" style="left:485px; top:220px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">CPU수</caption>
  570. <select1 id="cmb_modelcd2" ref="/root/main/compdetlinfo/complist/modelcd" appearance="minimal" style="left:926px; top:77px; width:95px; height:19px; font-family:돋움체; ">
  571. <choices>
  572. <item>
  573. <label>Z400</label>
  574. <value>Z400</value>
  575. </item>
  576. <item>
  577. <label>Z600</label>
  578. <value>Z600</value>
  579. </item>
  580. </choices>
  581. </select1>
  582. <select1 id="cmb_spec2" ref="/root/main/compdetlinfo/complist/spec" appearance="minimal" style="left:926px; top:100px; width:95px; height:19px; font-family:돋움체; ">
  583. <choices>
  584. <item>
  585. <label>combo1</label>
  586. <value>combo1</value>
  587. </item>
  588. </choices>
  589. </select1>
  590. <input id="ipt_fixasetcd2" ref="/root/main/compdetlinfo/complist/fixasetcd" disabled="true" style="left:746px; top:29px; width:95px; height:19px; font-family:돋움체; "/>
  591. <caption id="caption26" class="cell_1" style="left:664px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">자산코드</caption>
  592. <select1 id="cmb_lrgcd" ref="/root/main/compdetlinfo/complist/lrgcd" appearance="minimal" style="left:926px; top:29px; width:95px; height:19px; font-family:돋움체; ">
  593. <choices>
  594. <itemset nodeset="/root/init/lrgcodeinfo/codelist[supcd='01']">
  595. <label ref="lrgnm"/>
  596. <value ref="lrgcd"/>
  597. </itemset>
  598. </choices>
  599. <script type="javascript" ev:event="xforms-value-changed">
  600. <![CDATA[
  601. cmb_os2.choices.itemset.attribute("nodeset") = "/root/init/midcodeinfo/codelist[supcd='03' and lrgcd='" + cmb_ostype2.value +"' or midcd='']";
  602. cmb_os2.refresh();
  603. ]]>
  604. </script>
  605. </select1>
  606. <caption id="caption3" class="cell_1" style="left:844px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">장비중분류</caption>
  607. <select1 id="cmb_midcd2" ref="/root/main/compdetlinfo/complist/midcd" appearance="minimal" style="left:926px; top:53px; width:95px; height:19px; font-family:돋움체; ">
  608. <choices>
  609. <item>
  610. <label>컴퓨터</label>
  611. <value>01</value>
  612. </item>
  613. <item>
  614. <label>모니터</label>
  615. <value>02</value>
  616. </item>
  617. <item>
  618. <label>프린터</label>
  619. <value>03</value>
  620. </item>
  621. </choices>
  622. </select1>
  623. <caption id="caption13" class="cell_1" style="left:485px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">바코드번호</caption>
  624. <input id="input4" ref="/root/main/compdetlinfo/complist/barcd" style="left:567px; top:77px; width:274px; height:19px; font-family:돋움체; "/>
  625. <select1 id="cmb_ostype2" ref="/root/main/compdetlinfo/complist/ostype" appearance="minimal" style="left:926px; top:125px; width:95px; height:19px; font-family:돋움체; ">
  626. <choices>
  627. <itemset nodeset="/root/init/lrgcodeinfo/codelist[supcd='03' or lrgcd='']">
  628. <label ref="lrgnm"/>
  629. <value ref="lrgcd"/>
  630. </itemset>
  631. </choices>
  632. <script type="javascript" ev:event="xforms-value-changed">
  633. <![CDATA[
  634. cmb_os2.choices.itemset.attribute("nodeset") = "/root/init/midcodeinfo/codelist[supcd='03' and lrgcd='" + cmb_ostype2.value +"' or midcd='']";
  635. cmb_os2.refresh();
  636. ]]>
  637. </script>
  638. </select1>
  639. <select1 id="cmb_os2" ref="/root/main/compdetlinfo/complist/os" appearance="minimal" style="left:926px; top:149px; width:95px; height:19px; font-family:돋움체; ">
  640. <choices>
  641. <itemset nodeset="/root/init/midcodeinfo/codelist[supcd='03' or supcd='']">
  642. <label ref="midnm"/>
  643. <value ref="midcd"/>
  644. </itemset>
  645. </choices>
  646. </select1>
  647. <input id="ipt_deptnm2" ref="/root/main/compdetlinfo/complist/deptnm" class="output_fix" disabled="true" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:686px; top:101px; width:155px; height:19px; font-family:돋움체; "/>
  648. <input id="ipt_deptcd2" ref="/root/main/compdetlinfo/complist/deptcd" class="input_default" navindex="10" visibility="visible" style="left:567px; top:101px; width:95px; height:19px; font-family:돋움체; ">
  649. <script type="javascript" ev:event="xforms-value-changed">
  650. <![CDATA[
  651. fPopUpPlceInfo("ipt_deptcd2", "ipt_deptnm2", "ipt_plcecd2", "ipt_plcenm2");
  652. ]]>
  653. </script>
  654. </input>
  655. <button id="button6" class="icon_search" navindex="-1" visibility="visible" style="left:666px; top:101px; width:16px; height:16px; font-family:돋움체; ">
  656. <caption/>
  657. <script type="javascript" ev:event="DOMActivate">
  658. <![CDATA[
  659. fPopUpPlceInfo("ipt_deptcd2", "ipt_deptnm2", "ipt_plcecd2", "ipt_plcenm2");
  660. ]]>
  661. </script>
  662. </button>
  663. <button id="button7" class="icon_search" navindex="-1" visibility="visible" style="left:666px; top:149px; width:16px; height:16px; font-family:돋움체; ">
  664. <caption/>
  665. <script type="javascript" ev:event="DOMActivate">
  666. <![CDATA[
  667. fPopUpPlceInfo("ipt_deptcd2", "ipt_deptnm2", "ipt_plcecd2", "ipt_plcenm2");
  668. ]]>
  669. </script>
  670. </button>
  671. <input id="ipt_plcecd2" ref="/root/main/compdetlinfo/complist/plcecd" class="input_default" navindex="10" visibility="visible" style="left:567px; top:149px; width:95px; height:19px; font-family:돋움체; ">
  672. <script type="javascript" ev:event="xforms-value-changed">
  673. <![CDATA[
  674. fPopUpPlceInfo("ipt_deptcd2", "ipt_deptnm2", "ipt_plcecd2", "ipt_plcenm2");
  675. ]]>
  676. </script>
  677. </input>
  678. <input id="ipt_plcenm2" ref="/root/main/compdetlinfo/complist/plcenm" class="output_fix" disabled="true" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:686px; top:149px; width:155px; height:19px; font-family:돋움체; "/>
  679. <caption id="caption28" class="cell_1" style="left:664px; top:220px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">Core수</caption>
  680. <caption id="caption29" class="cell_1" style="left:844px; top:220px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">메모리용량</caption>
  681. <caption id="caption30" class="cell_1" style="left:844px; top:244px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">저장공간용량</caption>
  682. <input id="input18" ref="/root/main/compdetlinfo/complist/cpucnt" class="input_default" navindex="10" visibility="visible" style="left:567px; top:221px; width:95px; height:19px; font-family:돋움체; ">
  683. <script type="javascript" ev:event="xforms-value-changed">
  684. <![CDATA[
  685. if(ipt_installplcecd_search.value.length == 0)
  686. ipt_installplcenm_search.value = "";
  687. else
  688. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  689. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  690. ipt_installplcecd_search, "PPRAC00700", "","");
  691. installplcecd_search.refresh();
  692. installplcenm_search.refresh();
  693. ]]>
  694. </script>
  695. </input>
  696. <input id="input19" ref="/root/main/compdetlinfo/complist/corecnt" class="input_default" navindex="10" visibility="visible" style="left:746px; top:221px; width:95px; height:19px; font-family:돋움체; ">
  697. <script type="javascript" ev:event="xforms-value-changed">
  698. <![CDATA[
  699. if(ipt_installplcecd_search.value.length == 0)
  700. ipt_installplcenm_search.value = "";
  701. else
  702. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  703. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  704. ipt_installplcecd_search, "PPRAC00700", "","");
  705. installplcecd_search.refresh();
  706. installplcenm_search.refresh();
  707. ]]>
  708. </script>
  709. </input>
  710. <input id="input20" ref="/root/main/compdetlinfo/complist/memvol" class="input_default" navindex="10" visibility="visible" style="left:926px; top:221px; width:95px; height:19px; font-family:돋움체; ">
  711. <script type="javascript" ev:event="xforms-value-changed">
  712. <![CDATA[
  713. if(ipt_installplcecd_search.value.length == 0)
  714. ipt_installplcenm_search.value = "";
  715. else
  716. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  717. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  718. ipt_installplcecd_search, "PPRAC00700", "","");
  719. installplcecd_search.refresh();
  720. installplcenm_search.refresh();
  721. ]]>
  722. </script>
  723. </input>
  724. <input id="input21" ref="/root/main/compdetlinfo/complist/storvol" class="input_default" navindex="10" visibility="visible" style="left:926px; top:245px; width:95px; height:19px; font-family:돋움체; ">
  725. <script type="javascript" ev:event="xforms-value-changed">
  726. <![CDATA[
  727. if(ipt_installplcecd_search.value.length == 0)
  728. ipt_installplcenm_search.value = "";
  729. else
  730. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  731. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  732. ipt_installplcecd_search, "PPRAC00700", "","");
  733. installplcecd_search.refresh();
  734. installplcenm_search.refresh();
  735. ]]>
  736. </script>
  737. </input>
  738. <input id="input25" ref="/root/main/compdetlinfo/complist/moninch" class="input_default" navindex="10" visibility="visible" style="left:746px; top:245px; width:95px; height:19px; font-family:돋움체; ">
  739. <script type="javascript" ev:event="xforms-value-changed">
  740. <![CDATA[
  741. if(ipt_installplcecd_search.value.length == 0)
  742. ipt_installplcenm_search.value = "";
  743. else
  744. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  745. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  746. ipt_installplcecd_search, "PPRAC00700", "","");
  747. installplcecd_search.refresh();
  748. installplcenm_search.refresh();
  749. ]]>
  750. </script>
  751. </input>
  752. <line id="line8" class="line_2" style="x1:485px; y1:266px; x2:1189px; y2:266px; font-family:돋움체; "/>
  753. <select1 id="combo10" ref="/root/main/compdetlinfo/complist/stortype" appearance="minimal" style="left:567px; top:245px; width:95px; height:19px; font-family:돋움체; ">
  754. <choices>
  755. <item>
  756. <label>HDD</label>
  757. <value>1</value>
  758. </item>
  759. <item>
  760. <label>ODD</label>
  761. <value>2</value>
  762. </item>
  763. </choices>
  764. </select1>
  765. <line id="line2" class="line_2" style="x1:485px; y1:122px; x2:1024px; y2:122px; font-family:돋움체; "/>
  766. <caption id="caption21" class="cell_1" style="left:485px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">설치부서</caption>
  767. <button id="button9" class="icon_search" navindex="-1" visibility="visible" style="left:666px; top:125px; width:16px; height:16px; font-family:돋움체; ">
  768. <caption/>
  769. <script type="javascript" ev:event="DOMActivate">
  770. <![CDATA[
  771. fGetCmpyCd("SMZHI00100", "nm", ipt_suplcmpycd.value, "/root/main/compdetlinfo/complist/suplcmpycd", "/root/main/compdetlinfo/complist/suplcmpynm");
  772. ]]>
  773. </script>
  774. </button>
  775. <input id="ipt_suplcmpycd" ref="/root/main/compdetlinfo/complist/suplcmpycd" class="input_default" navindex="10" visibility="visible" style="left:567px; top:125px; width:95px; height:19px; font-family:돋움체; ">
  776. <script type="javascript" ev:event="xforms-value-changed">
  777. <![CDATA[
  778. fGetCmpyCd("SMZHI00100", "nm", ipt_suplcmpycd.value, "/root/main/compdetlinfo/complist/suplcmpycd", "/root/main/compdetlinfo/complist/suplcmpynm");
  779. ]]>
  780. </script>
  781. </input>
  782. <input id="input23" ref="/root/main/compdetlinfo/complist/suplcmpynm" class="output_fix" disabled="true" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:686px; top:125px; width:155px; height:19px; font-family:돋움체; "/>
  783. <input id="ipt_ip" ref="/root/main/compdetlinfo/complist/ip" style="left:567px; top:173px; width:274px; height:19px; font-family:돋움체; "/>
  784. <caption id="caption32" class="cell_1" style="left:485px; top:244px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">디스크타입</caption>
  785. <caption id="caption33" class="cell_1" style="left:664px; top:244px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">모니터인치</caption>
  786. <caption id="caption35" class="cell_1" style="left:844px; top:268px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">제조사명</caption>
  787. <input id="input26" ref="/root/main/compdetlinfo/complist/prodcmpycd" class="input_default" navindex="10" visibility="visible" style="left:926px; top:269px; width:265px; height:19px; font-family:돋움체; ">
  788. <script type="javascript" ev:event="xforms-value-changed">
  789. <![CDATA[
  790. if(ipt_installplcecd_search.value.length == 0)
  791. ipt_installplcenm_search.value = "";
  792. else
  793. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  794. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  795. ipt_installplcecd_search, "PPRAC00700", "","");
  796. installplcecd_search.refresh();
  797. installplcenm_search.refresh();
  798. ]]>
  799. </script>
  800. </input>
  801. <caption id="caption38" class="cell_1" style="left:485px; top:292px; width:80px; height:35px; font-family:돋움체; vertical-align:middle; ">비고</caption>
  802. <textarea id="textarea2" ref="/root/main/compdetlinfo/complist/bigo" style="left:567px; top:293px; width:624px; height:31px; font-family:돋움체; "/>
  803. <line id="line12" class="line_2" style="x1:485px; y1:218px; x2:1189px; y2:218px; font-family:돋움체; "/>
  804. <select1 id="cmb_wintype" ref="/root/main/compdetlinfo/complist/wintype" appearance="minimal" style="left:926px; top:173px; width:95px; height:19px; font-family:돋움체; ">
  805. <choices>
  806. <itemset nodeset="/root/init/lrgcodeinfo/codelist[supcd='04']">
  807. <label ref="lrgnm"/>
  808. <value ref="lrgcd"/>
  809. </itemset>
  810. </choices>
  811. </select1>
  812. <line id="line13" class="line_2" style="x1:485px; y1:146px; x2:1024px; y2:146px; font-family:돋움체; "/>
  813. <caption id="caption31" class="cell_1" style="left:485px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">공급처</caption>
  814. <input id="input27" disabled="true" style="left:926px; top:197px; width:95px; height:19px; font-family:돋움체; "/>
  815. <caption id="caption40" class="cell_1" style="left:844px; top:196px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">기부자</caption>
  816. <input id="input28" ref="/root/main/compdetlinfo/complist/serialno" style="left:567px; top:197px; width:274px; height:19px; font-family:돋움체; "/>
  817. <caption id="caption41" class="cell_1" style="left:485px; top:196px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">Serial Num</caption>
  818. <input id="input29" ref="/root/main/compdetlinfo/complist/usernm" class="input_default" navindex="10" visibility="visible" style="left:567px; top:269px; width:78px; height:19px; font-family:돋움체; "/>
  819. <line id="line10" class="line_2" style="x1:485px; y1:290px; x2:1189px; y2:290px; font-family:돋움체; "/>
  820. <caption id="caption37" class="cell_1" style="left:485px; top:268px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">사용자명</caption>
  821. <caption id="caption42" class="cell_1" style="left:664px; top:268px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">사용자연락처</caption>
  822. <input id="input30" ref="/root/main/compdetlinfo/complist/usertel" class="input_default" navindex="10" visibility="visible" style="left:746px; top:269px; width:95px; height:19px; font-family:돋움체; ">
  823. <script type="javascript" ev:event="xforms-value-changed">
  824. <![CDATA[
  825. if(ipt_installplcecd_search.value.length == 0)
  826. ipt_installplcenm_search.value = "";
  827. else
  828. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  829. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  830. ipt_installplcecd_search, "PPRAC00700", "","");
  831. installplcecd_search.refresh();
  832. installplcenm_search.refresh();
  833. ]]>
  834. </script>
  835. </input>
  836. <line id="line6" class="line_3" style="x1:485px; y1:326px; x2:1189px; y2:326px; font-family:돋움체; "/>
  837. <caption id="caption25" class="cell_1" style="left:844px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">장비규격</caption>
  838. <caption id="caption23" class="cell_1" style="left:844px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">OS타입</caption>
  839. <caption id="caption1" class="cell_1" style="left:485px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">전산장비명</caption>
  840. <line id="line11" class="line_2" style="x1:485px; y1:170px; x2:1024px; y2:170px; font-family:돋움체; "/>
  841. <caption id="caption24" class="cell_1" style="left:844px; top:148px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">OS종류</caption>
  842. <caption id="caption27" class="cell_1" style="left:485px; top:148px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">설치장소</caption>
  843. <line id="line16" class="line_2" style="x1:485px; y1:194px; x2:1024px; y2:194px; font-family:돋움체; "/>
  844. <caption id="caption36" class="cell_1" style="left:485px; top:172px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">IP Address</caption>
  845. <caption id="caption39" class="cell_1" style="left:844px; top:172px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">입고형태</caption>
  846. <button id="button10" class="btn2_letter5" style="left:1051px; top:3px; width:75px; height:19px; ">
  847. <caption>이미지등록</caption>
  848. <script type="javascript" ev:event="DOMActivate">
  849. <![CDATA[
  850. var file = openImageFileDialog(4000000); // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
  851. if (file == "") {
  852. return;
  853. }
  854. img_view.src = file; // 파일에서 읽은 이미지의 base64 encoding 값을 가져오기 위한 이미지 컨트롤
  855. var data = img_view.getbase64data(); // encoding 문자열을 가져온다.
  856. model.setValue(img_view.attribute("ref"), data, true); // 이미지를 보여주기 위하여 view용 이미지컨트롤의 ref instance에 값을 저장
  857. setImageRefInstance(img_view.attribute("ref"));
  858. ]]>
  859. </script>
  860. </button>
  861. <img id="img_view" ref="/root/main/compdetlinfo/complist/mainimg" src="..\..\..\com\commonweb\images\no_image2.gif" style="left:1026px; top:31px; width:163px; height:234px; vertical-align:middle; background-stretch:stretch; "/>
  862. <button id="button5" class="icon_search" navindex="-1" visibility="visible" style="left:645px; top:270px; width:16px; height:16px; font-family:돋움체; ">
  863. <caption/>
  864. <script type="javascript" ev:event="DOMActivate">
  865. <![CDATA[
  866. misfOpenPopUpList("19", ipt_installplcecd_search,"", "installplcecd_search,installplcenm_search") ;
  867. installplcecd_search.refresh();
  868. installplcenm_search.refresh();
  869. ]]>
  870. </script>
  871. </button>
  872. <input id="input5" ref="/root/main/compdetlinfo/complist/userid" class="input_default" navindex="10" visibility="hidden" style="left:1110px; top:270px; width:78px; height:19px; font-family:돋움체; "/>
  873. <button id="btn_add" class="btn2_letter2" style="left:1055px; top:335px; width:42px; height:19px; ">
  874. <caption>추가</caption>
  875. <script type="javascript" ev:event="DOMActivate">
  876. <![CDATA[
  877. grd_moveinfo.addRow();
  878. var iRow = grd_moveinfo.row;
  879. grd_moveinfo.valueMatrix(iRow,grd_moveinfo.colRef("movedd")) = getCurrentDate();
  880. grd_moveinfo.valueMatrix(iRow,grd_moveinfo.colRef("compcd")) = model.getValue(ipt_compcd2.attribute("ref"));
  881. grd_moveinfo.valueMatrix(iRow,grd_moveinfo.colRef("fromdeptcd")) = model.getValue(ipt_deptcd2.attribute("ref"));
  882. grd_moveinfo.valueMatrix(iRow,grd_moveinfo.colRef("fromdeptnm")) = model.getValue(ipt_deptnm2.attribute("ref"));
  883. grd_moveinfo.valueMatrix(iRow,grd_moveinfo.colRef("fromplcecd")) = model.getValue(ipt_plcecd2.attribute("ref"));
  884. grd_moveinfo.valueMatrix(iRow,grd_moveinfo.colRef("fromplcenm")) = model.getValue(ipt_plcenm2.attribute("ref"));
  885. grd_moveinfo.valueMatrix(iRow,grd_moveinfo.colRef("frominstcd")) = model.getValue(ipt_instcd2.attribute("ref"));
  886. ]]>
  887. </script>
  888. </button>
  889. <button id="btn_del" class="btn2_letter2" style="left:1100px; top:335px; width:42px; height:19px; ">
  890. <caption>삭제</caption>
  891. <script type="javascript" ev:event="DOMActivate">
  892. <![CDATA[
  893. grd_moveinfo.rowStatus(grd_moveinfo.row) = "4";
  894. ]]>
  895. </script>
  896. </button>
  897. <button id="btn_sav" class="btn5_letter2" style="left:1145px; top:335px; width:42px; height:19px; ">
  898. <caption>저장</caption>
  899. <script type="javascript" ev:event="DOMActivate">
  900. <![CDATA[
  901. var updtdata = getGridUpdateData(grd_moveinfo);
  902. model.makeValue("/root/send/savedata2/movelist", updtdata);
  903. if(submit("TXZHI00102") ) {
  904. messageBox("저장되었습니다", "E");
  905. fSearchDetl();
  906. }
  907. ]]>
  908. </script>
  909. </button>
  910. <input id="ipt_instcd2" ref="/root/main/compdetlinfo/complist/instcd" style="left:625px; top:5px; width:100px; height:20px; "/>
  911. <input id="fixasetnm" ref="/root/main/compdetlinfo/complist/fixasetnm" disabled="true" style="left:765px; top:0px; width:95px; height:19px; font-family:돋움체; "/>
  912. </group>
  913. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  914. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:13; ">
  915. <![CDATA[전산장비 등록 조회]]>
  916. <script type="javascript" ev:event="ondblclick">
  917. <![CDATA[
  918. grp_copy.visible = true;
  919. ]]>
  920. </script>
  921. </caption>
  922. </group>
  923. </xhtml:body>
  924. </xhtml:html>