SMRFR00900_장비보유현황조회(부서별).xrw 69 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  4. <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">
  5. <xhtml:head>
  6. <xhtml:title>장비보유현황조회(부서별)</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <list>
  12. <fixaset>
  13. <fixasetlist/>
  14. </fixaset>
  15. <fixasetdet>
  16. <fixasettmplist/>
  17. </fixasetdet>
  18. <compslist/>
  19. <fixmonth>
  20. <fixmonthlist/>
  21. </fixmonth>
  22. <logimg/>
  23. </list>
  24. <fixasetdet>
  25. <fixasettmplist/>
  26. </fixasetdet>
  27. <fixasetcopy>
  28. <fixasetlist/>
  29. </fixasetcopy>
  30. </main>
  31. <send>
  32. <fixasetlist>
  33. <instcd_search/>
  34. <goodflag_search/>
  35. <lrgcd_search/>
  36. <mdlcd_search/>
  37. <mngtdeptcd_search/>
  38. <mngtdeptnm_search/>
  39. <goodmodel_search/>
  40. <acqtflag_search/>
  41. <prodcmpycd_search/>
  42. <prodcmpynm_search/>
  43. <suplplcecd_search/>
  44. <suplplcenm_search/>
  45. <possnfrdd_search/>
  46. <possntodd_search/>
  47. <tempmngtdeptcd_search/>
  48. <tempmngtdeptnm_search/>
  49. <dsplflag_search/>
  50. <goodflaghngnm_search/>
  51. <goodflagengnm_search/>
  52. <mngtgrade_search/>
  53. <installplcecd_search/>
  54. <installplcenm_search/>
  55. </fixasetlist>
  56. <tmpnode>
  57. <tmpfixasetnode/>
  58. <tmpgridrow/>
  59. </tmpnode>
  60. <fixasetcd/>
  61. <instcd/>
  62. <save>
  63. <compslist/>
  64. <rfchmandlist/>
  65. <fixasettmplist/>
  66. </save>
  67. <fixasetcopy>
  68. <instcd/>
  69. <goodflag/>
  70. <lrgcd/>
  71. <mdlcd/>
  72. <smlcd/>
  73. </fixasetcopy>
  74. </send>
  75. <init>
  76. <goodflag>
  77. <label>비품</label>
  78. <value>G</value>
  79. <label>의료장비</label>
  80. <value>E</value>
  81. </goodflag>
  82. <asetflagmaineqmtflag>
  83. <label>주요자산</label>
  84. <value>M</value>
  85. <label>기타자산</label>
  86. <value>E</value>
  87. </asetflagmaineqmtflag>
  88. <possnflagcd>
  89. <label>내자</label>
  90. <value>H</value>
  91. <label>외자</label>
  92. <value>F</value>
  93. </possnflagcd>
  94. <lseyn>
  95. <label>예</label>
  96. <value>Y</value>
  97. <label>아니요</label>
  98. <value>N</value>
  99. </lseyn>
  100. <acqtflag>
  101. <label>기증</label>
  102. <value>1</value>
  103. <label>매입</label>
  104. <value>2</value>
  105. <label>임차</label>
  106. <value>3</value>
  107. <label>지불필</label>
  108. <value>4</value>
  109. <label>공동운영</label>
  110. <value>5</value>
  111. <label>사후관리</label>
  112. <value>6</value>
  113. </acqtflag>
  114. <suik>
  115. <label>예</label>
  116. <value>Y</value>
  117. <label>아니요</label>
  118. <value>N</value>
  119. </suik>
  120. <prvnchkyn>
  121. <label>예</label>
  122. <value>Y</value>
  123. <label>아니요</label>
  124. <value>N</value>
  125. </prvnchkyn>
  126. <moveflag>
  127. <label>Portable</label>
  128. <value>P</value>
  129. <label>Fixed</label>
  130. <value>F</value>
  131. </moveflag>
  132. <repaymthd>
  133. <label>정액</label>
  134. <value>1</value>
  135. <label>정률</label>
  136. <value>2</value>
  137. </repaymthd>
  138. </init>
  139. <temp>
  140. </temp>
  141. <copynode/>
  142. </root>
  143. </instance>
  144. <script type="javascript" ev:event="xforms-ready">
  145. <![CDATA[
  146. //화면 Control을 초기화한다
  147. fInitialize();
  148. ]]>
  149. </script>
  150. <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
  151. <submission id="TRRFC00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetdet"/>
  152. <submission id="TXRFC00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  153. <submission id="TRRFC00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetcopy" resultref="/root/main/fixasetcopy"/>
  154. <submission id="TRRFC00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/compslist"/>
  155. <submission id="TRRFC00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
  156. </model>
  157. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  158. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  159. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  160. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  161. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  162. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  163. <script type="javascript">
  164. <![CDATA[
  165. function fInitialize()
  166. {
  167. misfGridInit(grd_fixasetlist);
  168. rszfGoodFlagListByPgmGubn(cmb_goodflag,"2","N");
  169. misfComboComCdListMulti("Z0007,R0035,R0047,R0042,R0044,R0044,030R0033",
  170. "cmb_instcd_search,cmb_prodplce,cmb_curncyunit,cmb_repayflag,cmb_dsplflag,cmb_dsplflag_search,cmb_mngtgrade");
  171. addComboItem( "cmb_dsplflag_search", "전체", "", "above");
  172. misfComboCopyItemSet(cmb_prodplce, "", grd_fixasetlist, "prodplce"); //제조국
  173. model.setValue("/root/send/fixasetlist/instcd_search", getUserInfo("dutplceinstcd")); // 기관 설정
  174. //물품구분 설정 (장비)
  175. model.setValue("/root/send/fixasetlist/goodflag_search", "EQ");
  176. //처분구분 설정
  177. model.setValue("/root/send/fixasetlist/dsplflag_search", "0");
  178. // 대분류 코드 콤보 설정.
  179. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "", "Y");
  180. // rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd_search", "", "L", "Y");
  181. var sBaseDate = getCurrentDate();
  182. ipt_mngtdeptcd_search.value = getUserInfo("dutplcecd");
  183. ipt_mngtdeptnm_search.value = getUserInfo("dutplcenm");
  184. fAllControlDisabled("true");
  185. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  186. model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
  187. model.resetInstanceNode("/root/main/list/fixmonth/fixmonthlist");
  188. model.removenode("/root/main/list/fixmonth");
  189. misfMsterDetailSet(grd_fixasetlist, null, "TRRFC00202", "Y");
  190. misfMsterDetailSet(grd_comps, null, "TRRFC00205", "Y");
  191. model.refresh();
  192. }
  193. function fMakeNode()
  194. {
  195. model.makeNode("/root/main/fixasetdet/fixasettmplist/acntnm");
  196. model.makeNode("/root/main/fixasetdet/fixasettmplist/installplcenm");
  197. model.makeNode("/root/main/fixasetdet/fixasettmplist/cntrdeptnm");
  198. model.makeNode("/root/main/fixasetdet/fixasettmplist/mngtdeptnm");
  199. model.makeNode("/root/main/fixasetdet/fixasettmplist/suplplcenm");
  200. model.makeNode("/root/main/fixasetdet/fixasettmplist/maineqmtnm");
  201. model.makeNode("/root/main/fixasetdet/fixasettmplist/prodcmpynm");
  202. }
  203. function fAllControlDisabled(check)
  204. {
  205. ipt_fixasetcd.disabled = check;
  206. ipt_goodflagengnm.disabled = check;
  207. ipt_goodspec.disabled = check;
  208. ipt_goodspec.disabled = check;
  209. ipt_goodmodel.disabled = check;
  210. rdo_asetflagmaineqmtflag.disabled = check;
  211. ipt_usge.disabled = check;
  212. cmb_lrgcd.disabled = check;
  213. ipt_acntcd.disabled = check;
  214. cmb_mdlcd.disabled = check;
  215. cmb_smlcd.disabled = check;
  216. // ipt_installplcecd_search.disabled = check;
  217. ipt_cntrdeptcd.disabled = check;
  218. ipt_cntrdeptcd.disabled = check;
  219. rdo_moveflag.disabled = check;
  220. ipt_mngtdeptcd.disabled = check;
  221. ipt_suplplcecd.disabled = check;
  222. ipt_suplcntctel.disabled = check;
  223. cmb_prodplce.disabled = check;
  224. ipt_condd.disabled = check;
  225. ipt_possndd.disabled = check;
  226. ipt_delivetermmm.disabled = check;
  227. rdo_acqtflag.disabled = check;
  228. rdo_possnflagcd.disabled = check;
  229. ipt_forgncurncyamt.disabled = check;
  230. cmb_curncyunit.disabled = check;
  231. ipt_windd.disabled = check;
  232. ipt_winno.disabled = check;
  233. ipt_winseqno.disabled = check;
  234. ipt_mngtno.disabled = check;
  235. ipt_flwgrnttermfr.disabled = check;
  236. ipt_flwgrnttermto.disabled = check;
  237. // cmb_dsplflag.disabled = check;
  238. cmb_fixasetunit.disabled = check;
  239. ipt_cntsyearno.disabled = check;
  240. ipt_repayenddd.disabled = check
  241. rdo_lseyn.disabled = check;
  242. ipt_maineqmtcd.disabled = check;
  243. rdo_earnvaluyn.disabled = check;
  244. ipt_agency.disabled = check;
  245. ipt_agencycntctel.disabled = check;
  246. ipt_chkdd.disabled = check;
  247. ipt_smplce.disabled = check;
  248. rdo_prvnchkyn.disabled = check;
  249. ipt_possnamt.disabled = check;
  250. cmb_repayflag.disabled = check;
  251. rdo_repaymthd.disabled = check;
  252. ipt_repayrate.disabled = check;
  253. ipt_cmt.disabled = check;
  254. //ipt_lrgnm.disabled = check;
  255. //ipt_mdlnm.disabled = check;
  256. // ipt_installplcenm_search.disabled = check;
  257. ipt_acntnm.disabled = check;
  258. //ipt_smlnm.disabled = check;
  259. ipt_cntrdeptnm.disabled = check;
  260. ipt_mngtdeptnm.disabled = check;
  261. ipt_suplplcenm.disabled = check;
  262. ipt_prodcmpynm.disabled = check;
  263. ipt_maineqmtnm.disabled = check;
  264. //btn_lrgcd.disabled = check;
  265. //btn_mdlcd.disabled = check;
  266. //btn_smlcd.disabled = check;
  267. btn_maineqmt.disabled = check;
  268. ipt_repaybal.disabled = check;
  269. //btn_comps.disabled = check; // 구성품
  270. //btn_rfchmandlist.disabled = check; //보수계약정보
  271. //btn_acntcd.disabled = check;
  272. //btn_installplcecd.disabled = check;
  273. //btn_cntrdeptcd.disabled = check;
  274. //btn_mngtdeptcd.disabled = check;
  275. //btn_suplplcecd.disabled = check;
  276. //btn_prodcmpy.disabled = check;
  277. //btn_addrow_.disabled = check;
  278. //btn_delrow_.disabled = check;
  279. //btn_image.disabled = check;
  280. //btn_set.disabled = check;
  281. //btn_chnghist.disabled = check;
  282. //btn_goodcdcopy.disabled = check;
  283. }
  284. function fSettingGoodList(pnode, nodename)
  285. {
  286. var codynode = instance1.selectNodes(pnode + "/*");
  287. var addRow = grd_comps.rows - grd_comps.fixedRows;
  288. for (var j = 1; j <= codynode.length ; j++)
  289. {
  290. if(addRow > grd_comps.rows - grd_comps.fixedRows)
  291. {
  292. misfGridIUD(grd_comps,"A");
  293. addRow = grd_comps.rows - grd_comps.fixedRows;
  294. }
  295. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
  296. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
  297. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodspec" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodspec"));
  298. model.setValue(grd_comps.nodeset + "[" + addRow + "]/purcunit" , model.getValue(pnode +"/" + nodename + "[" + j + "]/purcunit"));
  299. addRow = addRow + 1;
  300. }
  301. model.recalculate();
  302. model.refresh();
  303. }
  304. function fDefaultSetting(prow)
  305. {
  306. model.setValue(grd_fixasetlist.nodeset +"[" + prow+ "]/instcd" ,model.getValue(cmb_instcd_search.attribute("ref")));
  307. model.setValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_search.attribute("ref"))); // 기관 설정
  308. model.setValue("/root/main/fixasetdet/fixasettmplist/goodflag", model.getValue(opt_goodflag_search.attribute("ref"))); // 물품구분
  309. model.setValue("/root/main/fixasetdet/fixasettmplist/goodqty", "1"); // 수량
  310. // model.setValue(grd_fixasetlist.nodeset +"[" + prow+ "]/goodflag" ,model.getValue(opt_goodflag_search.attribute("ref")));
  311. }
  312. function fGoodCdCopy()
  313. {
  314. if(model.getValue(opt_goodflag_search.attribute("ref")).length== 0 )
  315. {
  316. messageBox("물품구분을 " ,"C002");
  317. model.setFocus("opt_goodflag_search");
  318. return false;
  319. }
  320. if(model.getValue(cmb_lrgcd.attribute("ref")).length== 0 )
  321. {
  322. messageBox("대분류코드를 " ,"C002");
  323. model.setFocus("cmb_lrgcd");
  324. return false;
  325. }
  326. if(model.getValue(cmb_mdlcd.attribute("ref")).length== 0 )
  327. {
  328. messageBox("중분류코드를 " ,"C002");
  329. model.setFocus("cmb_mdlcd");
  330. return false;
  331. }
  332. if(model.getValue(cmb_smlcd.attribute("ref")).length== 0 )
  333. {
  334. messageBox("소분류코드를 " ,"C002");
  335. model.setFocus("cmb_smlcd");
  336. return false;
  337. }
  338. model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd_search.attribute("ref")));
  339. model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(opt_goodflag_search.attribute("ref")));
  340. model.setValue("/root/send/fixasetcopy/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
  341. model.setValue("/root/send/fixasetcopy/mdlcd", model.getValue(cmb_mdlcd.attribute("ref")));
  342. model.setValue("/root/send/fixasetcopy/smlcd", model.getValue(cmb_smlcd.attribute("ref")));
  343. submit("TRRFC00301");
  344. var fixasetcd = model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd");
  345. if(fixasetcd.length == 0) fixasetcd = model.getValue(opt_goodflag_search.attribute("ref")) + model.getValue(cmb_lrgcd.attribute("ref")) + model.getValue(cmb_mdlcd.attribute("ref")) + model.getValue(cmb_smlcd.attribute("ref")) + "0001";
  346. model.setValue(ipt_fixasetcd.attribute("ref"), fixasetcd);
  347. model.refresh();
  348. }
  349. function getImgURL(imgcd, type){
  350. if (type == null || type == "") {
  351. type = "gif";
  352. }
  353. return getDomain()+"/himed/webapps/com/commonweb/images/"+imgcd+"." + type;
  354. }
  355. ]]>
  356. </script>
  357. </xhtml:head>
  358. <xhtml:body guideline="1,-2;2,733;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  359. <!--<group id="grp_btn" style="left:0px; top:755px; width:1195px; height:27px; ">
  360. <button id="button20" class="btn4_letter3" style="left:1067px; top:5px; width:68px; height:22px; ">
  361. <caption>초기화</caption>
  362. </button>
  363. <button id="button19" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  364. <caption>저장</caption>
  365. </button>
  366. </group>-->
  367. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  368. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:206px; height:14px; ">고정 자산 보유현황조회(부서별)</caption>
  369. </group>
  370. <group id="group4" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  371. <group id="group5" style="left:0px; top:10px; width:1195px; height:150px; vertical-align:top; ">
  372. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:140px; background-color:#fffbf2; border-color:#ffd799; "/>
  373. <caption id="cap_lrgcd_search" class="search_name" style="left:3px; top:57px; width:117px; height:17px; ">대 분 류 :</caption>
  374. <caption id="cap_mngtdeptcd_search" class="search_name" style="left:350px; top:11px; width:92px; height:17px; ">사용부서 :</caption>
  375. <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_search" style="left:442px; top:11px; width:95px; height:19px; ">
  376. <script type="javascript" ev:event="xforms-value-changed">
  377. <![CDATA[
  378. if(ipt_mngtdeptcd_search.value.length == 0){
  379. ipt_mngtdeptnm_search.value = "";
  380. }else{
  381. misfValidationCheck("02", "", "mngtdeptcd_search,mngtdeptnm_search" );
  382. }
  383. model.refresh();
  384. ]]>
  385. </script>
  386. </input>
  387. <button id="btn_mngtdeptcd_search" class="icon_search" style="left:541px; top:12px; width:16px; height:16px; ">
  388. <caption/>
  389. <script type="javascript" ev:event="DOMActivate">
  390. <![CDATA[
  391. misfOpenPopUpList("02", ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search");
  392. model.refresh();
  393. ]]>
  394. </script>
  395. </button>
  396. <input id="ipt_mngtdeptnm_search" ref="/root/send/fixasetlist/mngtdeptnm_search" class="input_search" appearance="input" style="left:560px; top:11px; width:237px; height:19px; ">
  397. <script type="javascript" ev:event="xforms-value-changed">
  398. <![CDATA[
  399. if(ipt_mngtdeptnm_search.value.length == 0)
  400. ipt_mngtdeptcd_search.value = "";
  401. else
  402. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  403. "deptnm," + ipt_mngtdeptnm_search.value, "", "mngtdeptcd_search,mngtdeptnm_search",
  404. ipt_mngtdeptcd_search, "SPRPZ00200", "","");
  405. model.refresh();
  406. ]]>
  407. </script>
  408. </input>
  409. <button id="btn_search" class="btn1_letter2" style="left:1128px; top:46px; width:56px; height:22px; ">
  410. <caption>조회</caption>
  411. <script type="javascript" ev:event="DOMActivate">
  412. <![CDATA[
  413. /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
  414. //misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
  415. // var updtdata = getGridUpdateData(grd_fixasettmplist);
  416. //
  417. // if ( updtdata != "")
  418. // {
  419. // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  420. //
  421. // if (ret == 7) { // not OK
  422. // return;
  423. // }
  424. // }
  425. rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_search.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
  426. // misfMsterDetailRetrieve();
  427. submit("TRRFC00202");
  428. if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
  429. {
  430. grd_fixasetlist.row = 1;
  431. grd_fixasetlist.dispatch("onrowchanged");
  432. }else{
  433. model.removenode("/root/main/fixasetdet/fixasettmplist");
  434. }
  435. ]]>
  436. </script>
  437. </button>
  438. <caption id="cap_instcd_search" class="search_name" style="left:3px; top:11px; width:117px; height:17px; ">기관코드 :</caption>
  439. <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" appearance="minimal" style="left:95px; top:11px; width:195px; height:19px; ">
  440. <choices>
  441. <itemset>
  442. <label/>
  443. <value/>
  444. </itemset>
  445. </choices>
  446. </select1>
  447. <line id="line12" class="line_4" style="x1:1120px; y1:35px; x2:1120px; y2:77px; border-color:#ffd799; "/>
  448. <output id="opt_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" visibility="hidden" style="left:305px; top:35px; width:40px; height:19px; "/>
  449. <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" class="combo_search" appearance="minimal" style="left:95px; top:57px; width:195px; height:19px; ">
  450. <choices>
  451. <itemset>
  452. <label/>
  453. <value/>
  454. </itemset>
  455. </choices>
  456. <script type="javascript" ev:event="xforms-value-changed">
  457. <![CDATA[
  458. cmb_mdlcd_search.value="";
  459. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "", "Y");
  460. addComboItem( "cmb_mdlcd_search", "전체", "", "above");
  461. model.refresh();
  462. ]]>
  463. </script>
  464. </select1>
  465. <select1 id="cmb_goodflag" ref="/root/send/fixasetlist/goodflag_search" class="combo_s_essential" appearance="minimal" style="left:95px; top:34px; width:195px; height:19px; ">
  466. <choices>
  467. <itemset nodeset="/root/init/goodflag">
  468. <label ref="label"/>
  469. <value ref="value"/>
  470. </itemset>
  471. </choices>
  472. <script type="javascript" ev:event="xforms-value-changed">
  473. <![CDATA[
  474. // rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd_search", "", "L");
  475. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "", "Y");
  476. cmb_lrgcd_search.dispatch("xforms-value-changed");
  477. //alert("물품구분"+model.getValue("/root/send/fixasetlist/goodflag_search"));
  478. //model.setValue("/root/send/fixasetlist/dsplflag_search", "");
  479. ]]>
  480. </script>
  481. </select1>
  482. <caption id="cap_goodflag_search" class="search_name" style="left:3px; top:34px; width:117px; height:17px; ">물품구분 :</caption>
  483. <button id="btn_prodcmpycd_search" class="icon_search" style="left:541px; top:57px; width:16px; height:16px; ">
  484. <caption/>
  485. <script type="javascript" ev:event="DOMActivate">
  486. <![CDATA[
  487. rszfOpenPopUpListByWndName(ipt_prodcmpycd_search,"","prodcmpycd_search,prodcmpynm_search","SPRSD00160","","");
  488. model.refresh();
  489. ]]>
  490. </script>
  491. </button>
  492. <caption id="cap_prodcmpycd" class="search_name" style="left:350px; top:57px; width:92px; height:17px; ">제조회사 :</caption>
  493. <input id="ipt_prodcmpynm_search" ref="/root/send/fixasetlist/prodcmpynm_search" class="input_search" appearance="input" style="left:560px; top:57px; width:237px; height:19px; ">
  494. <script type="javascript" ev:event="xforms-value-changed">
  495. <![CDATA[
  496. if(ipt_prodcmpynm_search.value != ""){
  497. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  498. "prodcmpynm,," + ipt_prodcmpynm_search.value
  499. ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
  500. }else{
  501. ipt_prodcmpycd_search.value = "";
  502. }
  503. model.refresh();
  504. ]]>
  505. </script>
  506. </input>
  507. <input id="ipt_prodcmpycd_search" ref="/root/send/fixasetlist/prodcmpycd_search" class="input_search" style="left:442px; top:57px; width:95px; height:19px; ">
  508. <script type="javascript" ev:event="xforms-value-changed">
  509. <![CDATA[
  510. if(ipt_prodcmpycd_search.value != ""){
  511. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  512. "prodcmpycd," + ipt_prodcmpycd_search.value + ","
  513. ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
  514. }else{
  515. ipt_prodcmpynm_search.value = "";
  516. }
  517. model.refresh();
  518. ]]>
  519. </script>
  520. </input>
  521. <caption id="cap_suplcecd_search" class="search_name" style="left:350px; top:80px; width:92px; height:17px; ">공 급 처 :</caption>
  522. <button id="btn_suplcecd_search" class="icon_search" style="left:541px; top:80px; width:16px; height:16px; ">
  523. <caption/>
  524. <script type="javascript" ev:event="DOMActivate">
  525. <![CDATA[
  526. rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd_search,suplplcenm_search","SPRSD00220","instcd","cmb_instcd_search");
  527. ipt_suplplcecd_search.refresh();
  528. ipt_suplplcenm_search.refresh();
  529. ]]>
  530. </script>
  531. </button>
  532. <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="input_search" style="left:560px; top:80px; width:237px; height:19px; ">
  533. <script type="javascript" ev:event="xforms-value-changed">
  534. <![CDATA[
  535. if(ipt_suplplcenm_search.value != '')
  536. {
  537. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  538. cmb_instcd_search.value + "," + "custnm," + ipt_suplplcenm_search.value, "", "suplplcecd_search,suplplcenm_search",
  539. ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd_search");
  540. }else
  541. {
  542. ipt_suplplcecd_search.value = '';
  543. }
  544. ipt_suplplcecd_search.refresh();
  545. ipt_suplplcenm_search.refresh();
  546. ]]>
  547. </script>
  548. </input>
  549. <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_search" style="left:442px; top:80px; width:95px; height:19px; ">
  550. <script type="javascript" ev:event="xforms-value-changed">
  551. <![CDATA[
  552. if(ipt_suplplcecd_search.value != '')
  553. {
  554. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  555. cmb_instcd_search.value + "," + "entrregno," + ipt_suplplcecd_search.value, "", "suplplcecd_search,suplplcenm_search",
  556. ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd_search");
  557. }else
  558. {
  559. ipt_suplplcenm_search.value = '';
  560. }
  561. ipt_suplplcecd_search.refresh();
  562. ipt_suplplcenm_search.refresh();
  563. ]]>
  564. </script>
  565. </input>
  566. <input id="ipt_goodmodel_search" ref="/root/send/fixasetlist/goodmodel_search" class="input_search" style="left:95px; top:103px; width:195px; height:19px; "/>
  567. <caption id="cap_goodmodel_search" class="search_name" style="left:3px; top:103px; width:117px; height:17px; ">모 델 명 :</caption>
  568. <select1 id="cmb_acqtflag_search" ref="/root/send/fixasetlist/acqtflag_search" class="combo_search" appearance="minimal" style="left:910px; top:1px; width:195px; height:19px; text-align:center; ">
  569. <choices>
  570. <item>
  571. <label>전체</label>
  572. <value/>
  573. </item>
  574. <item>
  575. <label>기증</label>
  576. <value>1</value>
  577. </item>
  578. <item>
  579. <label>매입</label>
  580. <value>2</value>
  581. </item>
  582. <item>
  583. <label>임차</label>
  584. <value>3</value>
  585. </item>
  586. <item>
  587. <label>지불필</label>
  588. <value>4</value>
  589. </item>
  590. <item>
  591. <label>공동운영</label>
  592. <value>5</value>
  593. </item>
  594. <item>
  595. <label>사후관리</label>
  596. <value>6</value>
  597. </item>
  598. <item>
  599. <label>외자</label>
  600. <value>7</value>
  601. </item>
  602. </choices>
  603. </select1>
  604. <caption id="cap_acqtflag_search" class="search_name" style="left:808px; top:1px; width:117px; height:17px; ">도입구분 :</caption>
  605. <caption id="cap_possndd_search" class="search_name" visibility="visible" style="left:350px; top:103px; width:92px; height:17px; ">취득일자 :</caption>
  606. <caption id="caption2" visibility="visible" style="left:611px; top:103px; width:15px; height:20px; font-weight:bold; ">~</caption>
  607. <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_essential" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:637px; top:103px; width:160px; height:19px; "/>
  608. <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_essential" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:442px; top:103px; width:160px; height:19px; "/>
  609. <caption id="cap_tempmngtdeptcd_search" class="search_name" style="left:350px; top:34px; width:92px; height:17px; ">관리부서 :</caption>
  610. <button id="button2" class="icon_search" style="left:541px; top:34px; width:16px; height:16px; ">
  611. <caption/>
  612. <script type="javascript" ev:event="DOMActivate">
  613. <![CDATA[
  614. if(ipt_tempmngtdeptcd_search.value.length == 0){
  615. ipt_tempmngtdeptnm_search.value = "";
  616. }else{
  617. misfValidationCheck("02", "", "tempmngtdeptcd_search,tempmngtdeptnm_search" );
  618. }
  619. model.refresh();
  620. ]]>
  621. </script>
  622. </button>
  623. <input id="ipt_tempmngtdeptnm_search" ref="/root/send/fixasetlist/tempmngtdeptnm_search" class="input_fix" appearance="input" style="left:560px; top:34px; width:237px; height:19px; ">
  624. <script type="javascript" ev:event="xforms-value-changed">
  625. <![CDATA[
  626. if(ipt_tempmngtdeptnm_search.value.length == 0)
  627. ipt_tempmngtdeptcd_search.value = "";
  628. else
  629. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  630. "deptnm," +ipt_tempmngtdeptnm_search.value, "", "tempmngtdeptcd_search,tempmngtdeptnm_search",
  631. ipt_tempmngtdeptnm_search, "SPRPZ00200", "","");
  632. model.refresh();
  633. ]]>
  634. </script>
  635. </input>
  636. <input id="ipt_tempmngtdeptcd_search" ref="/root/send/fixasetlist/tempmngtdeptcd_search" class="input_default" appearance="input" style="left:442px; top:34px; width:95px; height:19px; ">
  637. <script type="javascript" ev:event="xforms-value-changed">
  638. <![CDATA[
  639. if(ipt_tempmngtdeptcd_search.value.length == 0)
  640. ipt_tempmngtdeptnm_search.value = "";
  641. else
  642. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  643. "deptcd," +ipt_tempmngtdeptcd_search.value, "", "tempmngtdeptcd_search,tempmngtdeptnm_search",
  644. ipt_tempmngtdeptcd_search, "SPRPZ00200", "","");
  645. model.refresh();
  646. ]]>
  647. </script>
  648. </input>
  649. <select1 id="cmb_dsplflag_search" ref="/root/send/fixasetlist/dsplflag_search" class="combo_search" visibility="visible" appearance="minimal" style="left:910px; top:24px; width:195px; height:19px; text-align:center; ">
  650. <choices>
  651. <itemset>
  652. <label/>
  653. <value/>
  654. </itemset>
  655. </choices>
  656. </select1>
  657. <caption id="caption3" class="search_name" visibility="visible" style="left:808px; top:24px; width:117px; height:17px; ">처분구분 :</caption>
  658. <caption id="caption8" class="search_name" style="left:3px; top:80px; width:117px; height:17px; ">중 분 류 :</caption>
  659. <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" appearance="minimal" style="left:95px; top:80px; width:195px; height:19px; ">
  660. <choices>
  661. <itemset>
  662. <label/>
  663. <value/>
  664. </itemset>
  665. </choices>
  666. </select1>
  667. <input id="input1" ref="/root/send/fixasetlist/goodflaghngnm_search" class="input_search" style="left:910px; top:46px; width:195px; height:19px; "/>
  668. <caption id="caption4" class="search_name" style="left:809px; top:48px; width:117px; height:17px; ">한글장비명:</caption>
  669. <input id="ipt_goodflagengnm_search" ref="/root/send/fixasetlist/goodflagengnm_search" class="input_search" navindex="3" style="left:910px; top:68px; width:195px; height:19px; "/>
  670. <caption id="cap_goodflagengnm_search" class="search_name" style="left:809px; top:70px; width:110px; height:17px; ">영문장비명:</caption>
  671. <caption id="caption5" class="search_name" style="left:809px; top:90px; width:110px; height:17px; ">관리등급 :</caption>
  672. <select1 id="cmb_mngtgrade" ref="/root/send/fixasetlist/mngtgrade_search" class="combo_search" visibility="visible" appearance="minimal" style="left:910px; top:90px; width:195px; height:19px; text-align:center; ">
  673. <choices>
  674. <itemset>
  675. <label/>
  676. <value/>
  677. </itemset>
  678. </choices>
  679. </select1>
  680. <caption id="caption7" class="search_name" style="left:809px; top:114px; width:110px; height:17px; ">설치장소 :</caption>
  681. <input id="ipt_installplcecd_search" ref="/root/send/fixasetlist/installplcecd_search" class="input_search" style="left:909px; top:114px; width:75px; height:19px; ">
  682. <script type="javascript" ev:event="xforms-value-changed">
  683. <![CDATA[
  684. if(ipt_installplcecd_search.value.length == 0){
  685. ipt_installplcenm_search.value = "";
  686. }else{
  687. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  688. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  689. ipt_installplcecd_search, "PPRAC00700", "","");
  690. ipt_installplcecd_search.refresh();
  691. ipt_installplcenm_search.refresh();
  692. }
  693. ]]>
  694. </script>
  695. </input>
  696. <button id="btn_installplcecd_search" class="icon_search" style="left:985px; top:115px; width:16px; height:16px; ">
  697. <caption/>
  698. <script type="javascript" ev:event="DOMActivate">
  699. <![CDATA[
  700. misfOpenPopUpList("19", ipt_installplcecd_search,"","installplcecd_search,installplcenm_search");
  701. ipt_installplcecd_search.refresh();
  702. ipt_installplcenm_search.refresh();
  703. ]]>
  704. </script>
  705. </button>
  706. <input id="ipt_installplcenm_search" ref="/root/send/fixasetlist/installplcenm_search" class="input_search" visibility="visible" editable="false" appearance="input" style="left:1005px; top:114px; width:115px; height:19px; ">
  707. <script type="javascript" ev:event="xforms-value-changed">
  708. <![CDATA[
  709. // if(ipt_mngtdeptnm_search.value.length == 0)
  710. // ipt_mngtdeptcd_search.value = "";
  711. // else
  712. // rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  713. // "deptnm," + ipt_mngtdeptnm_search.value, "", "mngtdeptcd_search,mngtdeptnm_search",
  714. // ipt_mngtdeptcd_search, "SPRPZ00200", "","");
  715. // model.refresh();
  716. ]]>
  717. </script>
  718. </input>
  719. </group>
  720. <caption id="caption19" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
  721. <caption id="caption20" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
  722. <line id="line16" class="line_1" style="x1:0px; y1:176px; x2:1192px; y2:175px; "/>
  723. <!--</group>-->
  724. <caption id="caption21" class="tit_2" style="left:5px; top:158px; width:69px; height:13px; ">자산목록</caption>
  725. <button id="btn_print" class="btn3_letter8" style="left:85px; top:151px; width:118px; height:22px; ">
  726. <caption>자산리스트 출력</caption>
  727. <script type="javascript" ev:event="DOMActivate">
  728. <![CDATA[
  729. var instcdtmp = model.getValue("/root/send/fixasetlist/instcd_search");
  730. if (instcdtmp == "031"){
  731. exeReportPreview("RPRFC00202","XMLSTR");
  732. }else{
  733. exeReportPreview("RPRFC00201","XMLSTR");
  734. }
  735. ]]>
  736. </script>
  737. </button>
  738. <caption id="cap_possnamt" class="cell_1" visibility="hidden" style="left:673px; top:493px; width:90px; height:23px; vertical-align:middle; ">구입금액</caption>
  739. <input id="ipt_possnamt" ref="/root/main/fixasetdet/fixasettmplist/possnamt" class="input_default" disabled="true" visibility="hidden" format="#,###" appearance="input" style="left:765px; top:495px; width:130px; height:19px; text-align:right; "/>
  740. <select1 id="rdo_earnvaluyn" ref="/root/main/fixasetdet/fixasettmplist/earnvaluyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1030px; top:495px; width:137px; height:20px; background-color:transparent; border-style:none; ">
  741. <choices>
  742. <itemset nodeset="/root/init/suik">
  743. <label ref="label"/>
  744. <value ref="value"/>
  745. </itemset>
  746. </choices>
  747. </select1>
  748. <input id="ipt_usge" ref="/root/main/fixasetdet/fixasettmplist/usge" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:38px; height:19px; "/>
  749. <input id="ipt_delivetermmm" ref="/root/main/fixasetdet/fixasettmplist/delivetermmm" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:136px; height:19px; "/>
  750. <button id="btn_maineqmt" class="icon_search" visibility="hidden" style="left:1030px; top:495px; width:16px; height:16px; ">
  751. <caption/>
  752. <script type="javascript" ev:event="DOMActivate">
  753. <![CDATA[
  754. rszfOpenPopUpListByWndName(ipt_maineqmtcd,"","maineqmtcd,maineqmtnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  755. model.refresh();
  756. ]]>
  757. </script>
  758. </button>
  759. <input id="ipt_forgncurncyamt" ref="/root/main/fixasetdet/fixasettmplist/forgncurncyamt" class="input_default" visibility="hidden" format="#,###" appearance="input" style="left:1030px; top:495px; width:47px; height:19px; text-align:right; "/>
  760. <input id="ipt_condd" ref="/root/main/fixasetdet/fixasettmplist/condd" class="input_default" visibility="hidden" inputtype="date" style="left:1030px; top:495px; width:84px; height:19px; "/>
  761. <input id="ipt_cntsyearno" ref="/root/main/fixasetdet/fixasettmplist/cntsyearno" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:119px; height:19px; "/>
  762. <input id="ipt_possndd" ref="/root/main/fixasetdet/fixasettmplist/possndd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1030px; top:495px; width:79px; height:19px; "/>
  763. <input id="ipt_winno" ref="/root/main/fixasetdet/fixasettmplist/winno" class="input_default" visibility="hidden" format="9999999999999" appearance="input" style="left:1030px; top:495px; width:131px; height:19px; "/>
  764. <input id="ipt_smplce" ref="/root/main/fixasetdet/fixasettmplist/smplce" class="input_default" visibility="hidden" style="left:1030px; top:495px; width:121px; height:19px; "/>
  765. <input id="ipt_maineqmtcd" ref="/root/main/fixasetdet/fixasettmplist/maineqmtcd" visibility="hidden" style="left:1030px; top:495px; width:131px; height:19px; ">
  766. <script type="javascript" ev:event="xforms-value-changed">
  767. <![CDATA[
  768. if(ipt_maineqmtcd.value.length == 0)
  769. ipt_maineqmtnm.value = "";
  770. else
  771. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  772. cmb_instcd_search.value + "," + "fixasetcd," + ipt_maineqmtcd.value + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
  773. ipt_maineqmtcd, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  774. model.refresh();
  775. ]]>
  776. </script>
  777. </input>
  778. <input id="ipt_mngtno" ref="/root/main/fixasetdet/fixasettmplist/mngtno" class="input_default" visibility="hidden" format="9999999999999" appearance="input" style="left:1030px; top:495px; width:87px; height:19px; "/>
  779. <input id="ipt_chkdd" ref="/root/main/fixasetdet/fixasettmplist/chkdd" class="input_default" visibility="hidden" inputtype="date" style="left:1030px; top:495px; width:124px; height:19px; "/>
  780. <input id="ipt_flwgrnttermfr" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermfr" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1030px; top:495px; width:117px; height:19px; "/>
  781. <input id="ipt_maineqmtnm" ref="/root/main/fixasetdet/fixasettmplist/maineqmtnm" class="input_fix" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:132px; height:19px; ">
  782. <script type="javascript" ev:event="xforms-value-changed">
  783. <![CDATA[
  784. if(ipt_maineqmtnm.value.length == 0)
  785. ipt_maineqmtcd.value = "";
  786. else
  787. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  788. cmb_instcd_search.value + "," + "goodflaghngnm," + ipt_maineqmtnm.value + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
  789. ipt_maineqmtnm, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  790. model.refresh();
  791. ]]>
  792. </script>
  793. </input>
  794. <input id="ipt_repayenddd" ref="/root/main/fixasetdet/fixasettmplist/repayenddd" class="input_default" visibility="hidden" inputtype="date" style="left:1030px; top:495px; width:137px; height:19px; "/>
  795. <input id="ipt_winseqno" ref="/root/main/fixasetdet/fixasettmplist/winseqno" class="input_default" visibility="hidden" format="9999999999999" appearance="input" style="left:1030px; top:495px; width:124px; height:19px; "/>
  796. <input id="ipt_flwgrnttermto" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermto" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1030px; top:495px; width:111px; height:19px; "/>
  797. <input id="ipt_agency" ref="/root/main/fixasetdet/fixasettmplist/agency" class="input_default" visibility="hidden" style="left:1030px; top:495px; width:131px; height:19px; "/>
  798. <input id="ipt_repaybal" ref="/root/main/fixasetdet/fixasettmplist/repaybal" class="input_default" visibility="hidden" format="#,###" appearance="input" style="left:1030px; top:495px; width:139px; height:19px; text-align:right; "/>
  799. <input id="ipt_agencycntctel" ref="/root/main/fixasetdet/fixasettmplist/agencycntctel" class="input_default" visibility="hidden" style="left:1030px; top:495px; width:136px; height:19px; "/>
  800. <input id="ipt_suplcntctel" ref="/root/main/fixasetdet/fixasettmplist/suplcntctel" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:124px; height:19px; "/>
  801. <select1 id="rdo_moveflag" ref="/root/main/fixasetdet/fixasettmplist/moveflag" visibility="hidden" appearance="full" cols="4" overflow="visible" style="left:1030px; top:495px; width:122px; height:15px; background-color:transparent; border-style:none; ">
  802. <choices>
  803. <itemset nodeset="/root/init/moveflag">
  804. <label ref="label"/>
  805. <value ref="value"/>
  806. </itemset>
  807. </choices>
  808. </select1>
  809. <input id="ipt_repayrate" ref="/root/main/fixasetdet/fixasettmplist/repayrate" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:127px; height:19px; "/>
  810. <select1 id="rdo_repaymthd" ref="/root/main/fixasetdet/fixasettmplist/repaymthd" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1030px; top:495px; width:148px; height:20px; border-style:none; ">
  811. <choices>
  812. <itemset nodeset="/root/init/repaymthd">
  813. <label ref="label"/>
  814. <value ref="value"/>
  815. </itemset>
  816. </choices>
  817. </select1>
  818. <select1 id="cmb_repayflag" ref="/root/main/fixasetdet/fixasettmplist/repayflag" visibility="hidden" appearance="minimal" style="left:1030px; top:495px; width:115px; height:19px; ">
  819. <choices>
  820. <itemset>
  821. <label/>
  822. <value/>
  823. </itemset>
  824. </choices>
  825. </select1>
  826. <select1 id="rdo_lseyn" ref="/root/main/fixasetdet/fixasettmplist/lseyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1030px; top:495px; width:137px; height:20px; background-color:transparent; border-style:none; ">
  827. <choices>
  828. <itemset nodeset="/root/init/lseyn">
  829. <label ref="label"/>
  830. <value ref="value"/>
  831. </itemset>
  832. </choices>
  833. </select1>
  834. <select1 id="cmb_curncyunit" ref="/root/main/fixasetdet/fixasettmplist/curncyunit" visibility="hidden" appearance="minimal" style="left:1030px; top:495px; width:52px; height:19px; ">
  835. <choices>
  836. <itemset>
  837. <label/>
  838. <value/>
  839. </itemset>
  840. </choices>
  841. </select1>
  842. <select1 id="rdo_asetflagmaineqmtflag" ref="/root/main/fixasetdet/fixasettmplist/asetflag_maineqmtflag" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:990px; top:495px; width:118px; height:15px; background-color:transparent; border-style:none; ">
  843. <choices>
  844. <itemset nodeset="/root/init/asetflagmaineqmtflag">
  845. <label ref="label"/>
  846. <value ref="value"/>
  847. </itemset>
  848. </choices>
  849. </select1>
  850. <select1 id="rdo_possnflagcd" ref="/root/main/fixasetdet/fixasettmplist/possnflagcd" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1000px; top:495px; width:85px; height:20px; background-color:transparent; border-style:none; ">
  851. <choices>
  852. <itemset nodeset="/root/init/possnflagcd">
  853. <label ref="label"/>
  854. <value ref="value"/>
  855. </itemset>
  856. </choices>
  857. </select1>
  858. <select1 id="rdo_prvnchkyn" ref="/root/main/fixasetdet/fixasettmplist/prvnchkyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:905px; top:495px; width:137px; height:20px; background-color:transparent; border-style:none; ">
  859. <choices>
  860. <itemset nodeset="/root/init/prvnchkyn">
  861. <label ref="label"/>
  862. <value ref="value"/>
  863. </itemset>
  864. </choices>
  865. </select1>
  866. <button id="btn_excel_all" class="btn2_letter4" style="left:1112px; top:153px; width:64px; height:19px; ">
  867. <caption>엑셀저장</caption>
  868. <script type="javascript" ev:event="DOMActivate">
  869. <![CDATA[
  870. var fileName = window.fileDialog("save", ",", false, "장비보유현황조회(부서별)", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  871. if (fileName != "")
  872. {
  873. grd_fixasetlist.saveExcel(fileName, "장비보유현황조회(부서별)", true, true, "");
  874. }
  875. ]]>
  876. </script>
  877. </button>
  878. <button id="btn_comps" class="btn_sw" group="tab" selected="true" style="left:0px; top:498px; width:100px; height:22px; ">
  879. <caption>구성품</caption>
  880. <toggle case="case3" ev:event="DOMActivate"/>
  881. </button>
  882. <button id="btn_rfchmandlist" class="btn_sw" group="tab" style="left:101px; top:498px; width:100px; height:22px; ">
  883. <caption>자산상세내역</caption>
  884. <toggle case="case1" ev:event="DOMActivate"/>
  885. </button>
  886. <switch id="switch1" style="left:0px; top:520px; width:1193px; height:180px; border-color:#c7a3cf; border-style:solid; ">
  887. <case id="case1" style="left:0px; top:0px; width:1193px; height:178px; ">
  888. <select1 id="cmb_smlcd" ref="/root/main/fixasetdet/fixasettmplist/smlcd" disabled="true" appearance="minimal" style="left:94px; top:104px; width:415px; height:19px; text-align:left; padding-left:10; ">
  889. <choices>
  890. <itemset>
  891. <label/>
  892. <value/>
  893. </itemset>
  894. </choices>
  895. </select1>
  896. <select1 id="cmb_lrgcd" ref="/root/main/fixasetdet/fixasettmplist/lrgcd" disabled="true" appearance="minimal" style="left:94px; top:56px; width:415px; height:19px; text-align:left; padding-left:10; ">
  897. <choices>
  898. <itemset>
  899. <label/>
  900. <value/>
  901. </itemset>
  902. </choices>
  903. <script type="javascript" ev:event="xforms-value-changed">
  904. <![CDATA[
  905. rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "Y");
  906. cmb_mdlcd.dispatch("xforms-value-changed");
  907. model.refresh();
  908. ]]>
  909. </script>
  910. </select1>
  911. <input id="input2" ref="/root/main/fixasetdet/fixasettmplist/installplcenm_search" class="input_fix" disabled="true" appearance="input" style="left:701px; top:129px; width:161px; height:19px; ">
  912. <script type="javascript" ev:event="xforms-value-changed">
  913. <![CDATA[
  914. if(ipt_installplcenm_search.value.length == 0)
  915. ipt_installplcecd_search.value = "";
  916. else
  917. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  918. "deptnm," + ipt_installplcenm_search.value, "", "installplcecd_search,installplcenm_search",
  919. ipt_installplcenm_search, "PPRAC00700", "","");
  920. model.refresh();
  921. ]]>
  922. </script>
  923. </input>
  924. <select1 id="cmb_fixasetunit" ref="/root/main/fixasetdet/fixasettmplist/fixasetunit" disabled="true" appearance="minimal" style="left:359px; top:153px; width:150px; height:19px; ">
  925. <choices>
  926. <itemset>
  927. <label/>
  928. <value/>
  929. </itemset>
  930. </choices>
  931. </select1>
  932. <caption id="cap_goodflaghngnm" class="cell_1" style="left:2px; top:31px; width:90px; height:23px; vertical-align:middle; ">자산명칭</caption>
  933. <caption id="cap_suplplcecd" class="cell_1" style="left:512px; top:7px; width:90px; height:23px; vertical-align:middle; ">공급처</caption>
  934. <input id="input3" ref="/root/main/fixasetdet/fixasettmplist/installplcecd_search" class="input_essential" disabled="true" appearance="input" style="left:604px; top:129px; width:95px; height:19px; ">
  935. <script type="javascript" ev:event="xforms-value-changed">
  936. <![CDATA[
  937. if(ipt_installplcecd_search.value.length == 0)
  938. ipt_installplcenm_search.value = "";
  939. else
  940. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  941. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  942. ipt_installplcecd_search, "PPRAC00700", "","");
  943. model.refresh();
  944. ]]>
  945. </script>
  946. </input>
  947. <select1 id="cmb_mdlcd" ref="/root/main/fixasetdet/fixasettmplist/mdlcd" disabled="true" appearance="minimal" style="left:94px; top:80px; width:415px; height:19px; text-align:left; padding-left:10; ">
  948. <choices>
  949. <itemset>
  950. <label/>
  951. <value/>
  952. </itemset>
  953. </choices>
  954. <script type="javascript" ev:event="xforms-value-changed">
  955. <![CDATA[
  956. rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S", "Y");
  957. model.refresh();
  958. ]]>
  959. </script>
  960. </select1>
  961. <input id="ipt_windd" ref="/root/main/fixasetdet/fixasettmplist/windd" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:152px; width:166px; height:19px; "/>
  962. <caption id="cap_prodcmpy" class="cell_1" visibility="visible" style="left:865px; top:78px; width:90px; height:23px; vertical-align:middle; ">제조회사</caption>
  963. <input id="ipt_cmt" ref="/root/main/fixasetdet/fixasettmplist/cmt" disabled="true" appearance="input" style="left:604px; top:153px; width:585px; height:19px; "/>
  964. <line id="line21" class="line_1" style="x1:0px; y1:0px; x2:1190px; y2:0px; "/>
  965. <input id="ipt_prodcmpy" ref="/root/main/fixasetdet/fixasettmplist/prodcmpy" visibility="hidden" style="left:1110px; top:77px; width:40px; height:19px; "/>
  966. <caption id="cap_fixasetunit" class="cell_1" style="left:264px; top:151px; width:92px; height:23px; vertical-align:middle; ">단위</caption>
  967. <input id="ipt_cntrdeptnm" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptnm" class="input_fix" disabled="true" appearance="input" style="left:1054px; top:104px; width:135px; height:19px; ">
  968. <script type="javascript" ev:event="xforms-value-changed">
  969. <![CDATA[
  970. if(ipt_cntrdeptnm.value.length == 0)
  971. ipt_cntrdeptcd.value = "";
  972. else
  973. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  974. "deptnm," + ipt_cntrdeptnm.value, "", "cntrdeptcd,cntrdeptnm",
  975. ipt_cntrdeptnm, "SPRPZ00200", "","");
  976. model.refresh();
  977. ]]>
  978. </script>
  979. </input>
  980. <line id="line45" class="line_2" style="x1:0px; y1:174px; x2:1190px; y2:174px; "/>
  981. <caption id="cap_mngtdeptcd" class="cell_1" style="left:865px; top:127px; width:90px; height:23px; vertical-align:middle; ">사용부서</caption>
  982. <caption id="cap_smlcd" class="cell_1" style="left:2px; top:103px; width:90px; height:23px; vertical-align:middle; ">소분류</caption>
  983. <caption id="cap_lrgcd" class="cell_1" style="left:2px; top:55px; width:90px; height:23px; vertical-align:middle; ">대분류</caption>
  984. <caption id="caption1" class="cell_1" style="left:512px; top:127px; width:90px; height:23px; vertical-align:middle; ">설치장소</caption>
  985. <input id="ipt_goodflagengnm" ref="/root/main/fixasetdet/fixasettmplist/goodflagengnm" class="input_essential" disabled="true" appearance="input" style="left:94px; top:32px; width:415px; height:19px; "/>
  986. <input id="ipt_cntrdeptcd" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptcd" class="input_default" disabled="true" appearance="input" style="left:957px; top:104px; width:95px; height:19px; ">
  987. <script type="javascript" ev:event="xforms-value-changed">
  988. <![CDATA[
  989. if(ipt_cntrdeptcd.value.length == 0)
  990. ipt_cntrdeptnm.value = "";
  991. else
  992. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  993. "deptcd," + ipt_cntrdeptcd.value, "", "cntrdeptcd,cntrdeptnm",
  994. ipt_cntrdeptcd, "SPRPZ00200", "","");
  995. model.refresh();
  996. ]]>
  997. </script>
  998. </input>
  999. <input id="ipt_suplplcenm" ref="/root/main/fixasetdet/fixasettmplist/suplplcenm" class="input_fix" disabled="true" appearance="input" style="left:748px; top:8px; width:441px; height:19px; ">
  1000. <script type="javascript" ev:event="xforms-value-changed">
  1001. <![CDATA[
  1002. if(ipt_suplplcenm.value.length == 0)
  1003. ipt_suplplcecd.value = "";
  1004. else
  1005. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  1006. cmb_instcd_search.value + "," + "custnm," + ipt_suplplcenm.value, "", "suplplcecd,suplplcenm",
  1007. ipt_suplplcenm, "SPRSD00220", "instcd","cmb_instcd_search");
  1008. model.refresh();
  1009. ]]>
  1010. </script>
  1011. </input>
  1012. <caption id="caption22" visibility="hidden" style="left:1005px; top:77px; width:108px; height:20px; ">제조회사코드(히든)</caption>
  1013. <caption id="cap_mdlcd" class="cell_1" style="left:2px; top:79px; width:90px; height:23px; vertical-align:middle; ">중분류</caption>
  1014. <input id="ipt_goodspec" ref="/root/main/fixasetdet/fixasettmplist/goodspec" class="input_default" disabled="true" appearance="input" style="left:604px; top:80px; width:259px; height:19px; "/>
  1015. <caption id="cap_goodspec" class="cell_1" style="left:512px; top:79px; width:90px; height:23px; vertical-align:middle; ">규격</caption>
  1016. <input id="ipt_suplplcecd" ref="/root/main/fixasetdet/fixasettmplist/suplplcecd" class="input_default" disabled="true" appearance="input" style="left:604px; top:8px; width:138px; height:19px; ">
  1017. <script type="javascript" ev:event="xforms-value-changed">
  1018. <![CDATA[
  1019. if(ipt_suplplcecd.value.length == 0)
  1020. ipt_suplplcenm.value = "";
  1021. else
  1022. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  1023. cmb_instcd_search.value + "," + "entrregno," + ipt_suplplcecd.value, "", "suplplcecd,suplplcenm",
  1024. ipt_suplplcecd, "SPRSD00220", "instcd","cmb_instcd_search");
  1025. model.refresh();
  1026. ]]>
  1027. </script>
  1028. </input>
  1029. <input id="ipt_goodmodel" ref="/root/main/fixasetdet/fixasettmplist/goodmodel" class="input_default" disabled="true" appearance="input" style="left:604px; top:56px; width:259px; height:19px; "/>
  1030. <select1 id="rdo_acqtflag" ref="/root/main/fixasetdet/fixasettmplist/acqtflag" disabled="true" appearance="full" cellspacing="15" cols="6" overflow="visible" style="left:604px; top:32px; width:581px; height:15px; background-color:transparent; border-style:none; ">
  1031. <choices>
  1032. <item>
  1033. <label>기증</label>
  1034. <value>1</value>
  1035. </item>
  1036. <item>
  1037. <label>매입</label>
  1038. <value>2</value>
  1039. </item>
  1040. <item>
  1041. <label>임차</label>
  1042. <value>3</value>
  1043. </item>
  1044. <item>
  1045. <label>지불필</label>
  1046. <value>4</value>
  1047. </item>
  1048. <item>
  1049. <label>공동운영</label>
  1050. <value>5</value>
  1051. </item>
  1052. <item>
  1053. <label>사후관리</label>
  1054. <value>6</value>
  1055. </item>
  1056. </choices>
  1057. </select1>
  1058. <input id="ipt_mngtdeptnm" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptnm" class="input_fix" disabled="true" appearance="input" style="left:1054px; top:129px; width:135px; height:19px; ">
  1059. <script type="javascript" ev:event="xforms-value-changed">
  1060. <![CDATA[
  1061. if(ipt_mngtdeptnm.value.length == 0)
  1062. ipt_mngtdeptcd.value = "";
  1063. else
  1064. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  1065. "deptnm," + ipt_mngtdeptnm.value, "", "mngtdeptcd,mngtdeptnm",
  1066. ipt_mngtdeptnm, "SPRPZ00200", "","");
  1067. model.refresh();
  1068. ]]>
  1069. </script>
  1070. </input>
  1071. <caption id="cap_cmt" class="cell_1" style="left:512px; top:151px; width:90px; height:23px; vertical-align:middle; ">비고</caption>
  1072. <caption id="cap_goodmodel" class="cell_1" style="left:512px; top:55px; width:90px; height:23px; vertical-align:middle; ">모델명</caption>
  1073. <caption id="cap_acqtflag" class="cell_1" style="left:512px; top:31px; width:90px; height:23px; vertical-align:middle; ">도입구분</caption>
  1074. <input id="ipt_prodcmpynm" ref="/root/main/fixasetdet/fixasettmplist/prodcmpynm" class="input_fix" disabled="true" appearance="input" style="left:957px; top:80px; width:232px; height:19px; ">
  1075. <script type="javascript" ev:event="xforms-value-changed">
  1076. <![CDATA[
  1077. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  1078. "prodcmpynm,," + ipt_prodcmpynm.value, "", "prodcmpycd,prodcmpynm",
  1079. ipt_prodcmpynm, "SPRSD00160", "","");
  1080. model.refresh();
  1081. ]]>
  1082. </script>
  1083. </input>
  1084. <input id="ipt_mngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptcd" class="input_default" disabled="true" appearance="input" style="left:957px; top:129px; width:95px; height:19px; ">
  1085. <script type="javascript" ev:event="xforms-value-changed">
  1086. <![CDATA[
  1087. if(ipt_mngtdeptcd.value.length == 0)
  1088. ipt_mngtdeptnm.value = "";
  1089. else
  1090. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  1091. "deptcd," + ipt_mngtdeptcd.value, "", "mngtdeptcd,mngtdeptnm",
  1092. ipt_mngtdeptcd, "SPRPZ00200", "","");
  1093. model.refresh();
  1094. ]]>
  1095. </script>
  1096. </input>
  1097. <input id="ipt_fixasetcd" ref="/root/main/fixasetdet/fixasettmplist/fixasetcd" class="input_essential" disabled="true" appearance="input" style="left:94px; top:8px; width:415px; height:19px; "/>
  1098. <input id="ipt_acntnm" ref="/root/main/fixasetdet/fixasettmplist/acntnm" class="input_fix" disabled="true" appearance="input" style="left:701px; top:104px; width:161px; height:19px; ">
  1099. <script type="javascript" ev:event="xforms-value-changed">
  1100. <![CDATA[
  1101. if(ipt_acntnm.value.length == 0)
  1102. ipt_acntcd.value = "";
  1103. else
  1104. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
  1105. ",Y,2," + ipt_acntnm.value, "", "acntcd,acntnm",
  1106. ipt_acntnm, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd");
  1107. model.refresh();
  1108. ]]>
  1109. </script>
  1110. </input>
  1111. <caption id="cap_acntcd" class="cell_1" style="left:512px; top:103px; width:90px; height:23px; vertical-align:middle; ">계정코드</caption>
  1112. <caption id="cap_fixasetcd" class="cell_1" style="left:2px; top:7px; width:90px; height:23px; vertical-align:middle; ">자산코드</caption>
  1113. <caption id="cap_winno" class="cell_1" style="left:2px; top:151px; width:90px; height:23px; vertical-align:middle; ">검수일</caption>
  1114. <input id="ipt_acntcd" ref="/root/main/fixasetdet/fixasettmplist/acntcd" class="input_default" disabled="true" appearance="input" style="left:604px; top:103px; width:95px; height:19px; ">
  1115. <script type="javascript" ev:event="xforms-value-changed">
  1116. <![CDATA[
  1117. if(ipt_acntcd.value.length == 0)
  1118. ipt_acntnm.value = "";
  1119. else
  1120. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
  1121. ",Y,2," + ipt_acntcd.value, "", "acntcd,acntnm",
  1122. ipt_acntcd, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd");
  1123. model.refresh();
  1124. ]]>
  1125. </script>
  1126. </input>
  1127. <select1 id="cmb_dsplflag" ref="/root/main/fixasetdet/fixasettmplist/dsplflag" disabled="true" appearance="minimal" style="left:94px; top:129px; width:415px; height:19px; ">
  1128. <choices>
  1129. <itemset>
  1130. <label/>
  1131. <value/>
  1132. </itemset>
  1133. </choices>
  1134. </select1>
  1135. <caption id="cap_dsplflag" class="cell_1" style="left:2px; top:127px; width:90px; height:23px; vertical-align:middle; ">처분구분</caption>
  1136. <caption id="cap_cntrdeptcd" class="cell_1" style="left:865px; top:103px; width:90px; height:23px; vertical-align:middle; ">청구부서</caption>
  1137. <select1 id="cmb_prodplce" ref="/root/main/fixasetdet/fixasettmplist/prodplce" disabled="true" appearance="minimal" style="left:957px; top:56px; width:232px; height:19px; ">
  1138. <choices>
  1139. <itemset>
  1140. <label/>
  1141. <value/>
  1142. </itemset>
  1143. </choices>
  1144. </select1>
  1145. <caption id="cap_prodplce" class="cell_1" style="left:865px; top:53px; width:90px; height:23px; vertical-align:middle; ">제조국</caption>
  1146. <line id="line26" class="line_2" style="x1:0px; y1:30px; x2:1190px; y2:30px; "/>
  1147. <line id="line2" class="line_2" style="x1:0px; y1:54px; x2:1190px; y2:54px; "/>
  1148. <line id="line3" class="line_2" style="x1:0px; y1:78px; x2:1190px; y2:78px; "/>
  1149. <line id="line4" class="line_2" style="x1:0px; y1:102px; x2:1190px; y2:102px; "/>
  1150. <line id="line5" class="line_2" style="x1:0px; y1:126px; x2:1190px; y2:126px; "/>
  1151. <line id="line6" class="line_2" style="x1:0px; y1:150px; x2:1190px; y2:150px; "/>
  1152. </case>
  1153. <case id="case3" selected="true">
  1154. <datagrid id="grd_comps" nodeset="/root/main/list/compslist" disabled="true" caption="순번^품명^모델^수량^단가^거래처명^S/N^품명_old^비고^기관코드^고정자산코드" colsep="^" colwidth="52, 177, 91, 50, 70, 206, 101, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1191px; height:177px; ">
  1155. <col ref="rpirgoodcd"/>
  1156. <col ref="prid" type="input"/>
  1157. <col ref="rpirgoodmodel" type="input"/>
  1158. <col ref="rpiruseqty" type="input"/>
  1159. <col ref="rpiramt" type="input" format="#,###"/>
  1160. <col ref="pririnnatiagtplcenm" type="inputbutton" style="left:767px; top:23px; width:130px; height:23px; "/>
  1161. <col ref="prirmngtno" type="input"/>
  1162. <col ref="goodnm" type="input" visibility="hidden"/>
  1163. <col ref="cmt" type="input"/>
  1164. <col ref="instcd" visibility="hidden"/>
  1165. <col ref="fixasetcd" visibility="hidden"/>
  1166. <col ref="pririnnatiagtplce" visibility="hidden"/>
  1167. <script type="javascript" ev:event="onbuttonclick">
  1168. <![CDATA[
  1169. if (grd_comps.col == grd_comps.colRef("goodcd")) {//물품코드 버튼을 눌렀을 때
  1170. model.removenode("/root/copynode");
  1171. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1172. model.makeNode("/root/copynode");
  1173. rszfOpenPopUpListByWndName(grd_comps,"",
  1174. "goodcd,goodnm,goodspec,purcunit","SPRSD00190",
  1175. "instcd,goodflag","cmb_instcd_search,B", "Y");
  1176. var cur_row = grd_comps.row;
  1177. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1178. setCSVToNode("/root/copynode", CSV, "compslist");
  1179. fSettingGoodList("/root/copynode", "compslist");
  1180. }
  1181. else if (grd_comps.col == grd_comps.colRef("pririnnatiagtplcenm")) {// 그리드 제조회사명 클릭
  1182. rszfOpenPopUpListByWndName(grd_comps,"","pririnnatiagtplce,pririnnatiagtplcenm","SPRSD00220","instcd","cmb_instcd_search");
  1183. model.refresh();
  1184. }
  1185. ]]>
  1186. </script>
  1187. <script type="javascript" ev:event="xforms-value-changed">
  1188. <![CDATA[
  1189. if(grd_comps.col == grd_comps.colRef("goodnm") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodnm")).length> 0)
  1190. {
  1191. model.removenode("/root/copynode");
  1192. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1193. model.makeNode("/root/copynode");
  1194. rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodnm,goodflag",
  1195. "goodnm," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodnm"))+ ",B",
  1196. "", "goodcd,goodnm,goodspec,purcunit",
  1197. grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
  1198. // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
  1199. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1200. setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
  1201. fSettingGoodList("/root/copynode", "goodbaseqtylist");
  1202. }
  1203. else if(grd_comps.col == grd_comps.colRef("goodcd") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodcd")).length> 0)
  1204. {
  1205. model.removenode("/root/copynode");
  1206. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1207. model.makeNode("/root/copynode");
  1208. rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodcd,goodflag",
  1209. "goodcd," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodcd"))+ ",B",
  1210. "", "goodcd,goodnm,goodspec,purcunit",
  1211. grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
  1212. // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
  1213. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1214. setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
  1215. fSettingGoodList("/root/copynode", "goodbaseqtylist");
  1216. }
  1217. ]]>
  1218. </script>
  1219. </datagrid>
  1220. </case>
  1221. </switch>
  1222. <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="자산코드^자산명^모델명^규격^S/N^취득일^거래처^제조원^제조국^사용부서^설치장소^청구부서^구코드^이미지^사용장소코드^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^관리등급^취득금액" colsep="^" colwidth="85, 143, 150, 171, 76, 73, 100, 80, 80, 100, 100, 101, 92, 68, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100,100,100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:180px; width:1192px; height:310px; ">
  1223. <col ref="fixasetcd"/>
  1224. <col ref="goodflagengnm"/>
  1225. <col ref="goodmodel"/>
  1226. <col ref="goodspec"/>
  1227. <col ref="mngtno" visibility="visible" style="text-align:right; "/>
  1228. <col ref="possndd" visibility="visible" format="yyyy-mm-dd" style="text-align:center; "/>
  1229. <col ref="suplplcenm" style="text-align:left; "/>
  1230. <col ref="prodcmpynm" style="text-align:left; "/>
  1231. <col ref="prodplce" type="combo" style="text-align:left; ">
  1232. <choices>
  1233. <itemset>
  1234. <label/>
  1235. <value/>
  1236. </itemset>
  1237. </choices>
  1238. </col>
  1239. <col ref="mngtdeptnm" style="text-align:left; "/>
  1240. <col ref="installplcenm" style="text-align:left; "/>
  1241. <col ref="cntrdeptnm" style="text-align:left; "/>
  1242. <col ref="oldcd" style="text-align:left; "/>
  1243. <col checkvalue="Y,N" disabled="true" ref="photoyn" type="checkbox"/>
  1244. <col ref="installplcecd" visibility="hidden"/>
  1245. <col ref="instcd" type="input" visibility="hidden"/>
  1246. <col ref="maineqmt" type="input" visibility="hidden"/>
  1247. <col ref="prodcmpy" visibility="hidden"/>
  1248. <col ref="suplplcecd" visibility="hidden"/>
  1249. <col ref="mngtdeptcd" visibility="hidden"/>
  1250. <col ref="acqtflag" visibility="hidden"/>
  1251. <col ref="fixasetunit" visibility="hidden"/>
  1252. <col ref="acntcd" visibility="hidden"/>
  1253. <col ref="acntnm" visibility="hidden"/>
  1254. <col ref="cmt" visibility="hidden"/>
  1255. <col ref="mdlcd" visibility="hidden"/>
  1256. <col ref="cntrdeptcd" visibility="hidden"/>
  1257. <col ref="dsplflag" visibility="hidden"/>
  1258. <col ref="lrgcd" visibility="hidden"/>
  1259. <col ref="windd" visibility="hidden"/>
  1260. <col ref="smlcd" visibility="hidden"/>
  1261. <col ref="mngtgrade" style="text-align:center; "/>
  1262. <col ref="possnamt" format="#,###" style="text-align:left; "/>
  1263. <script type="javascript" ev:event="onrowchanged">
  1264. <![CDATA[
  1265. var fInstcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("instcd"));
  1266. var fFixasetcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd"));
  1267. model.setValue("/root/send/instcd", fInstcd);
  1268. model.setValue("/root/send/fixasetcd", fFixasetcd);
  1269. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  1270. model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
  1271. model.copyNode("/root/main/fixasetdet/fixasettmplist", "/root/main/list/fixaset/fixasetlist[" + grd_fixasetlist.row + "]");
  1272. submit("TRRFC00205");
  1273. fMakeNode();
  1274. // 대분류 코드 콤보 설정.
  1275. rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd", "", "L", "Y");
  1276. cmb_lrgcd.dispatch("xforms-value-changed");
  1277. fAllControlDisabled("true");
  1278. ipt_fixasetcd.disabled = true;
  1279. ipt_goodflagengnm.disabled = true;
  1280. // ipt_installplcecd_search.disabled = true;
  1281. model.setValue("/root/send/tmpnode/tmpfixasetnode", grd_fixasetlist.row);
  1282. grd_fixasetlist.dispatch("onmouseup");
  1283. model.refresh();
  1284. ]]>
  1285. </script>
  1286. <script type="javascript" ev:event="onaftersort">
  1287. <![CDATA[
  1288. grd_fixasetlist.gridToInstance();
  1289. ]]>
  1290. </script>
  1291. </datagrid>
  1292. <button id="button1" class="btn3_letter9" style="left:215px; top:150px; width:131px; height:22px; ">
  1293. <caption>월별점검일지 출력</caption>
  1294. <script type="javascript" ev:event="DOMActivate">
  1295. <![CDATA[
  1296. model.resetInstanceNode("/root/main/list/fixmonth/fixmonthlist");
  1297. model.removenode("/root/main/list/fixmonth");
  1298. var instcdtmp = model.getValue("/root/send/fixasetlist/instcd_search");
  1299. model.makeValue("/root/main/list/logimg/logourl", getImgURL("logo"+getUserInfo("dutplceinstcd"), "gif"));
  1300. submit("TRRFC00211");
  1301. if (instcdtmp == "031"){
  1302. var mngtdeptcd = model.getValue("/root/send/fixasetlist/mngtdeptcd_search");
  1303. if(mngtdeptcd != ""){
  1304. exeReportPreview("RPRFC00203","XMLSTR");
  1305. }else{
  1306. messageBox("사용부서를 " ,"C001");
  1307. }
  1308. }else{
  1309. var installplcecd = model.getValue("/root/send/fixasetlist/installplcecd_search");
  1310. if(installplcecd != ""){
  1311. exeReportPreview("RPRFC00203","XMLSTR");
  1312. }else{
  1313. messageBox("설치장소를 " ,"C001");
  1314. }
  1315. }
  1316. ]]>
  1317. </script>
  1318. </button>
  1319. <datagrid id="grd_fixmonthlist" nodeset="/root/main/list/fixmonth/fixmonthlist" visibility="hidden" caption="자산코드^자산명^설치장소명^사용부서명^관리등급" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:410px; top:270px; width:545px; height:150px; ">
  1320. <col ref="fixasetcd"/>
  1321. <col ref="goodflagengnm"/>
  1322. <col ref="installplcenm"/>
  1323. <col ref="mngtdeptnm"/>
  1324. <col ref="mngtgrade" style="text-align:center; "/>
  1325. </datagrid>
  1326. </group>
  1327. <group id="group1" style="left:0px; top:12px; width:1195px; height:27px; ">
  1328. <button id="btn_init" class="btn4_letter3" style="left:1113px; top:3px; width:68px; height:22px; ">
  1329. <caption>초기화</caption>
  1330. <script type="javascript" ev:event="DOMActivate">
  1331. <![CDATA[
  1332. model.resetInstanceNode("/root/send");
  1333. fInitialize();
  1334. ]]>
  1335. </script>
  1336. </button>
  1337. <line id="line14" class="line_6" style="x1:0; y1:25; x2:1194; y2:25; "/>
  1338. </group>
  1339. </xhtml:body>
  1340. </xhtml:html>