SMRFC00300_비품자산코드관리.xrw 118 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356
  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: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">
  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. </fixasettmplist>
  18. </fixasetdet>
  19. <rfchmandlist/>
  20. <compslist/>
  21. </list>
  22. <fixasetdet>
  23. <fixasettmplist>
  24. <instcd/>
  25. <fixasetcd/>
  26. <installplcecd/>
  27. <installplcenm/>
  28. <goodflag/>
  29. <goodqty/>
  30. <goodflaghngnm/>
  31. <goodflagengnm/>
  32. <goodspec/>
  33. <goodmodel/>
  34. <asetflag_maineqmtflag/>
  35. <lrgcd/>
  36. <lrgnm/>
  37. <mdlcd/>
  38. <mdlnm/>
  39. <smlcd/>
  40. <smlnm/>
  41. <catalog/>
  42. <fixasetunit/>
  43. <usge/>
  44. <acntcd/>
  45. <acntnm/>
  46. <cntrdeptcd/>
  47. <cntrdeptnm/>
  48. <moveflag/>
  49. <suplplcecd/>
  50. <suplplcenm/>
  51. <suppcustcd/>
  52. <suppcustnm/>
  53. <prodplce/>
  54. <prodcmpy/>
  55. <prodcmpynm/>
  56. <chkdd/>
  57. <delivetermmm/>
  58. <condd/>
  59. <flwgrnttermfr/>
  60. <flwgrnttermto/>
  61. <windd/>
  62. <winno/>
  63. <winseqno/>
  64. <mngtno/>
  65. <profno/>
  66. <incmreptno/>
  67. <incmlicnsdd/>
  68. <custmsenddd/>
  69. <expttaxpostno/>
  70. <custms/>
  71. <innatitax/>
  72. <custmscrnscthouscd/>
  73. <lonno/>
  74. <possnflagcd/>
  75. <possndd/>
  76. <forgncurncyamt/>
  77. <curncyunit/>
  78. <fixasetqty/>
  79. <possnamt/>
  80. <etcaddamt/>
  81. <cntsyearno/>
  82. <repayflag/>
  83. <repaymthd/>
  84. <repayrate/>
  85. <dsplflag/>
  86. <repayenddd/>
  87. <maineqmtcd/>
  88. <lseyn/>
  89. <cmt/>
  90. <mngtdeptcd/>
  91. <maineqmt/>
  92. <barcdprntyn/>
  93. <usedd/>
  94. <suplcntctel/>
  95. <acqtflag/>
  96. <earnvaluyn/>
  97. <agency/>
  98. <agencycntctel/>
  99. <smplce/>
  100. <repaybal/>
  101. <prvnchkyn/>
  102. <fundorigin/>
  103. <entrasetyn/>
  104. <fixtrflag/>
  105. <amtacnt/>
  106. <amtacntnm/>
  107. <mngtdeptnm/>
  108. <maineqmtnm/>
  109. <purcdmnddd/>
  110. <purcdmndno/>
  111. <purcdmndseq/>
  112. <fixasetcdcnt/>
  113. <repayappdd/>
  114. <contributor/>
  115. <fundsorigincnts/>
  116. <welfcd/>
  117. <etccnts/>
  118. <etcwln/>
  119. <incmpemtno/>
  120. <oskind/>
  121. <memoryvol/>
  122. <tempmngtdeptcd/>
  123. <tempmngtdeptnm/>
  124. <ipaddr/>
  125. <outerfixaset/>
  126. <conno/>
  127. <conseq/>
  128. </fixasettmplist>
  129. </fixasetdet>
  130. <fixasetcopy>
  131. <fixasetlist/>
  132. </fixasetcopy>
  133. <deprcbaseinfo>
  134. <deprcbaselist/>
  135. </deprcbaseinfo>
  136. </main>
  137. <send>
  138. <fixasetlist>
  139. <instcd_search/>
  140. <goodflag_search/>
  141. <lrgcd_search/>
  142. <goodflagnm_search/>
  143. <cntrdeptcd_search/>
  144. <installplcecd_search/>
  145. <possnfrdd_search/>
  146. <fixasetcd_search/>
  147. <goodmodel_search/>
  148. <lrgnm_search/>
  149. <cntrdeptnm_search/>
  150. <installplcenm_search/>
  151. <mngtdeptcd_search/>
  152. <mngtdeptnm_search/>
  153. <mdlcd_search/>
  154. <mdlnm_search/>
  155. <smlcd_search/>
  156. <smlnm_search/>
  157. <prodcmpycd_search/>
  158. <prodcmpynm_search/>
  159. <possntodd_search/>
  160. <rfchmandlist_search/>
  161. <mainmngtdeptcd_search/>
  162. <mainmngtdeptnm_search/>
  163. <oldcd_search/>
  164. <chkfrdd_search/>
  165. <chktodd_search/>
  166. <suplplcecd_search/>
  167. <suplplcenm_search/>
  168. <fixasetnm_search/>
  169. <possnfrdd_search/>
  170. <possntodd_search/>
  171. <possnamtfr_search/>
  172. <possnamtto_search/>
  173. <oskind_search/>
  174. <memoryvol_search/>
  175. <outerfixaset>Y</outerfixaset>
  176. </fixasetlist>
  177. <tmpnode>
  178. <tmpfixasetnode/>
  179. <tmpgridrow/>
  180. </tmpnode>
  181. <fixasetcd/>
  182. <instcd/>
  183. <save>
  184. <compslist/>
  185. <rfchmandlist/>
  186. <fixasettmplist/>
  187. </save>
  188. <fixasetcopy>
  189. <instcd/>
  190. <goodflag/>
  191. <lrgcd/>
  192. <mdlcd/>
  193. <smlcd/>
  194. </fixasetcopy>
  195. <deprcbase>
  196. <instcd/>
  197. <goodflag/>
  198. <lrgcd/>
  199. <mdlcd/>
  200. </deprcbase>
  201. </send>
  202. <init>
  203. <goodflag>
  204. <label>비품</label>
  205. <value>GE</value>
  206. <label>의료장비</label>
  207. <value>EQ</value>
  208. </goodflag>
  209. <asetflagmaineqmtflag>
  210. <label>주요자산</label>
  211. <value>M</value>
  212. <label>기타자산</label>
  213. <value>E</value>
  214. </asetflagmaineqmtflag>
  215. <possnflagcd>
  216. <label>내자</label>
  217. <value>H</value>
  218. <label>외자</label>
  219. <value>F</value>
  220. </possnflagcd>
  221. <lseyn>
  222. <label>예</label>
  223. <value>Y</value>
  224. <label>아니요</label>
  225. <value>N</value>
  226. </lseyn>
  227. <acqtflag>
  228. <label>기증</label>
  229. <value>1</value>
  230. <label>매입</label>
  231. <value>2</value>
  232. <label>임차</label>
  233. <value>3</value>
  234. <label>지불필</label>
  235. <value>4</value>
  236. <label>공동관리</label>
  237. <value>5</value>
  238. <label>사후관리</label>
  239. <value>6</value>
  240. <label>자체제작</label>
  241. <value>7</value>
  242. </acqtflag>
  243. <suik>
  244. <label>예</label>
  245. <value>Y</value>
  246. <label>아니요</label>
  247. <value>N</value>
  248. </suik>
  249. <prvnchkyn>
  250. <label>예</label>
  251. <value>Y</value>
  252. <label>아니요</label>
  253. <value>N</value>
  254. </prvnchkyn>
  255. <moveflag>
  256. <label>Portable</label>
  257. <value>P</value>
  258. <label>Fixed</label>
  259. <value>F</value>
  260. </moveflag>
  261. <repaymthd>
  262. <label>정액</label>
  263. <value>1</value>
  264. <label>정률</label>
  265. <value>2</value>
  266. </repaymthd>
  267. <entrasetyn>
  268. <label>예</label>
  269. <value>Y</value>
  270. <label>아니요</label>
  271. <value>N</value>
  272. </entrasetyn>
  273. <fixasetcd/>
  274. <copycnt/>
  275. <instcd_conv/>
  276. </init>
  277. <temp>
  278. </temp>
  279. <copynode/>
  280. </root>
  281. </instance>
  282. <script type="javascript" ev:event="xforms-ready">
  283. <![CDATA[
  284. //화면 Control을 초기화한다
  285. fInitialize();
  286. ]]>
  287. </script>
  288. <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
  289. <submission id="TRRFC00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
  290. <submission id="TRRFC00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetdet"/>
  291. <submission id="TXRFC00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  292. <submission id="TRRFC00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/compslist"/>
  293. <submission id="TRRFC00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/fixasetdet/fixasettmplist" resultref="/root/main/list/rfchmandlist"/>
  294. <submission id="TRRFC00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetcopy" resultref="/root/main/fixasetcopy"/>
  295. </model>
  296. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  297. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  298. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  299. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  300. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  301. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  302. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  303. <script type="javascript">
  304. <![CDATA[
  305. var preDsplflag = "";
  306. function fInitialize()
  307. {
  308. misfGridInit(grd_fixasetlist);
  309. misfGridInit(grd_rfchmandlist);
  310. misfGridInit(grd_comps);
  311. misfGridInit(grd_fixasettmplist);
  312. misfComboComCdListMulti("C0048,R0035,R0047,R0042,R0044,R0292,R0316,C0048,030R0006,030R0007,030R0040,030R0041,030R0040,030R0041",
  313. "cmb_instcd_search,cmb_prodplce,cmb_curncyunit,cmb_repayflag,cmb_dsplflag,cmb_acqtflag,cmb_fundorigin,cmb_instcd_conv,cmb_repaymthd,cmb_etcwln,cmb_oskind,cmb_memoryvol,cmb_oskind_search,cmb_memoryvol_search");
  314. misfComboCopyItemSet(cmb_prodplce, "", grd_fixasetlist, "prodplce"); //제조국
  315. addComboItem("cmb_oskind_search", "전체", "", "above");
  316. addComboItem("cmb_memoryvol_search", "전체", "", "above");
  317. model.setValue("/root/send/fixasetlist/instcd_search", getUserInfo("dutplceinstcd")); // 기관 설정
  318. model.setValue(cmb_instcd_conv.attribute("ref"), model.getValue(cmb_instcd_search.attribute("ref")));
  319. //물품구분 설정 (비품)
  320. model.setValue("/root/send/fixasetlist/goodflag_search", "GE");
  321. //rszfComboUnitList (ipt_fixasetunit,model.getValue(cmb_instcd_conv.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
  322. // 대분류 코드 콤보 설정.
  323. rszfLMSComboList("GE", "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
  324. rszfLMSComboList("GE", "ALL", "", "cmb_mdlcd_search", "", "M", "Y", "Y");
  325. misfComboCopyItemSet(cmb_lrgcd_search, "", cmb_lrgcd, "");
  326. misfComboCopyItemSet(cmb_mdlcd_search, "", cmb_mdlcd, "");
  327. cmb_lrgcd_search.dispatch("xforms-value-changed");
  328. misfChangeItemsetFilter(cmb_lrgcd,"goodflag='GE'");
  329. cmb_lrgcd.dispatch("xforms-value-changed");
  330. var sBaseDate = getCurrentDate();
  331. fAllControlDisabled("true");
  332. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  333. model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
  334. misfMsterDetailSet(grd_fixasetlist, null, "TRRFC00202", "Y");
  335. misfMsterDetailSet(grd_fixasettmplist, null, "TRRFC00203", "Y");
  336. misfMsterDetailSet(grd_comps, null, "TRRFC00205", "Y");
  337. misfMsterDetailSet(grd_rfchmandlist, null, "TRRFC00207", "Y");
  338. model.refresh();
  339. }
  340. function fMakeNode()
  341. {
  342. model.makeNode("/root/main/fixasetdet/fixasettmplist/acntnm");
  343. model.makeNode("/root/main/fixasetdet/fixasettmplist/amtacntnm");
  344. model.makeNode("/root/main/fixasetdet/fixasettmplist/installplcenm");
  345. model.makeNode("/root/main/fixasetdet/fixasettmplist/cntrdeptnm");
  346. model.makeNode("/root/main/fixasetdet/fixasettmplist/mngtdeptnm");
  347. model.makeNode("/root/main/fixasetdet/fixasettmplist/suplplcenm");
  348. model.makeNode("/root/main/fixasetdet/fixasettmplist/maineqmtnm");
  349. model.makeNode("/root/main/fixasetdet/fixasettmplist/prodcmpynm");
  350. }
  351. function fSearch(focus)
  352. {
  353. /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
  354. /* misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
  355. var updtdata = getGridUpdateData(grd_fixasettmplist);
  356. if ( updtdata != "")
  357. {
  358. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  359. if (ret == 7) { // not OK
  360. return;
  361. }
  362. }
  363. */
  364. //rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_conv.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
  365. // misfMsterDetailRetrieve();
  366. //submit("TRRFC00202");
  367. submit("TRRFC00903");
  368. if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
  369. {
  370. if(focus == null) grd_fixasetlist.row = 1;
  371. else grd_fixasetlist.row = focus;
  372. grd_fixasetlist.dispatch("ondblclick");
  373. }
  374. var goodqty = 0;
  375. var possnamt = 0;
  376. for(var currow = grd_fixasetlist.fixedRows ; currow < grd_fixasetlist.rows ; currow++)
  377. {
  378. goodqty = goodqty + 1;
  379. possnamt = possnamt + parseFloat(grd_fixasetlist.valueMatrix(currow , grd_fixasetlist.colRef("possnamt")));
  380. }
  381. model.makeValue(opt_sumqty.attribute("ref"),goodqty);
  382. opt_sumqty.refresh();
  383. model.makeValue(opt_sumfla.attribute("ref"),possnamt);
  384. opt_sumfla.refresh();
  385. }
  386. function fAllControlDisabled(check)
  387. {
  388. grp_detail.disabled = check;
  389. }
  390. //자산상세내역 control
  391. function fComponentDisabled(BOOL)
  392. {
  393. ipt_fixasetcd.disabled = BOOL;
  394. btn_goodcdcopy.disabled = BOOL;
  395. //ipt_goodflaghngnm.disabled = BOOL;
  396. cmb_lrgcd.disabled = BOOL;
  397. cmb_mdlcd.disabled = BOOL;
  398. cmb_smlcd.disabled = BOOL;
  399. // if(ipt_mngtdeptcd.value.getTrim() == "") {
  400. // ipt_mngtdeptcd.disabled = false;
  401. // btn_mngtdeptcd.disabled = false;
  402. // } else {
  403. // ipt_mngtdeptcd.disabled = BOOL;
  404. // btn_mngtdeptcd.disabled = BOOL;
  405. // }
  406. /* 경북대병원버젼 수정 - PK, 관리부서를 제외한 모든 부분 수정 활성화 2011.02.17 박진억 수정*/
  407. /* ipt_cntrdeptcd.disabled = BOOL;
  408. btn_cntrdeptcd.disabled = BOOL;
  409. ipt_suplplcecd.disabled = BOOL;
  410. btn_suplplcecd.disabled = BOOL;
  411. ipt_suppcustcd.disabled = BOOL;
  412. btn_suppcustcd.disabled = BOOL;
  413. ipt_suppcustnm.disabled = BOOL;
  414. ipt_acntcd.disabled = BOOL;
  415. btn_acntcd.disabled = BOOL;
  416. ipt_amtacnt.disabled = BOOL;
  417. btn_amtacnt.disabled = BOOL;
  418. ipt_possndd.disabled = BOOL;
  419. ipt_fixasetunit.disabled = BOOL;
  420. ipt_possnamt.disabled = BOOL;
  421. ipt_etcaddamt.disabled = BOOL;
  422. cmb_dsplflag.disabled = BOOL;
  423. ipt_prodcmpynm.disabled = BOOL;
  424. btn_prodcmpy.disabled = BOOL;
  425. cmb_acqtflag.disabled = BOOL;
  426. cmb_fundorigin.disabled = BOOL; */
  427. }
  428. function fComponentDisabled2(BOOL)
  429. {
  430. ipt_possndd.disabled = BOOL;
  431. ipt_fixasetunit.disabled = BOOL;
  432. ipt_possnamt.disabled = BOOL;
  433. ipt_etcaddamt.disabled = BOOL;
  434. ipt_cmt.disabled = BOOL;
  435. ipt_suplplcecd.disabled = BOOL;
  436. btn_suplplcecd.disabled = BOOL;
  437. cmb_dsplflag.disabled = BOOL;
  438. ipt_prodcmpynm.disabled = BOOL;
  439. btn_prodcmpy.disabled = BOOL;
  440. ipt_acntcd.disabled = BOOL;
  441. btn_acntcd.disabled = BOOL;
  442. ipt_amtacnt.disabled = BOOL;
  443. btn_amtacnt.disabled = BOOL;
  444. ipt_cntrdeptcd.disabled = BOOL;
  445. btn_cntrdeptcd.disabled = BOOL;
  446. cmb_acqtflag.disabled = BOOL;
  447. ipt_mngtdeptcd.disabled = BOOL;
  448. btn_mngtdeptcd.disabled = BOOL;
  449. ipt_suppcustcd.disabled = BOOL;
  450. btn_suppcustcd.disabled = BOOL;
  451. ipt_suppcustnm.disabled = BOOL;
  452. cmb_fundorigin.disabled = BOOL;
  453. }
  454. function fSettingGoodList(pnode, nodename)
  455. {
  456. var codynode = instance1.selectNodes(pnode + "/*");
  457. var addRow = grd_comps.rows - grd_comps.fixedRows;
  458. for (var j = 1; j <= codynode.length ; j++)
  459. {
  460. if(addRow > grd_comps.rows - grd_comps.fixedRows)
  461. {
  462. misfGridIUD(grd_comps,"A");
  463. addRow = grd_comps.rows - grd_comps.fixedRows;
  464. }
  465. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
  466. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
  467. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodspec" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodspec"));
  468. model.setValue(grd_comps.nodeset + "[" + addRow + "]/purcunit" , model.getValue(pnode +"/" + nodename + "[" + j + "]/purcunit"));
  469. addRow = addRow + 1;
  470. }
  471. model.recalculate();
  472. model.refresh();
  473. }
  474. function fDefaultSetting(prow)
  475. {
  476. model.setValue(grd_fixasetlist.nodeset +"[" + prow+ "]/instcd" ,model.getValue(cmb_instcd_search.attribute("ref")));
  477. model.setValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_search.attribute("ref"))); // 기관 설정
  478. model.setValue("/root/main/fixasetdet/fixasettmplist/goodflag", model.getValue(opt_goodflag_search.attribute("ref"))); // 물품구분
  479. model.setValue("/root/main/fixasetdet/fixasettmplist/goodqty", "1"); // 수량
  480. model.setValue("/root/main/fixasetdet/fixasettmplist/dsplflag", "0"); // 처분구분
  481. model.setValue(cmb_repayflag.attribute("ref"), "2"); // 상각구분 : 미상각
  482. }
  483. function fGoodCdCopy(pCls)
  484. {
  485. if(model.getValue(opt_goodflag_search.attribute("ref")).length== 0 )
  486. {
  487. messageBox("물품구분을 " ,"C002");
  488. model.setFocus("opt_goodflag_search");
  489. return false;
  490. }
  491. if(model.getValue(cmb_lrgcd.attribute("ref")).length== 0 )
  492. {
  493. messageBox("대분류코드를 " ,"C002");
  494. model.setFocus("cmb_lrgcd");
  495. return false;
  496. }
  497. if(model.getValue(cmb_mdlcd.attribute("ref")).length== 0 )
  498. {
  499. messageBox("중분류코드를 " ,"C002");
  500. model.setFocus("cmb_mdlcd");
  501. return false;
  502. }
  503. if(model.getValue(cmb_smlcd.attribute("ref")).length== 0 )
  504. model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd_search.attribute("ref")));
  505. model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(opt_goodflag_search.attribute("ref")));
  506. model.setValue("/root/send/fixasetcopy/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
  507. model.setValue("/root/send/fixasetcopy/mdlcd", model.getValue(cmb_mdlcd.attribute("ref")));
  508. model.setValue("/root/send/fixasetcopy/smlcd", model.getValue(cmb_smlcd.attribute("ref")));
  509. submit("TRRFC00301",false);
  510. var fixasetcd = model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd");
  511. if(fixasetcd.length == 0) return;
  512. //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";
  513. if (pCls == "C") {
  514. model.setValue(ipt_fixasetcd_copy.attribute("ref"), fixasetcd);
  515. ipt_fixasetcd_copy.refresh();
  516. } else {
  517. model.setValue(ipt_fixasetcd.attribute("ref"), fixasetcd);
  518. ipt_fixasetcd.refresh();
  519. }
  520. }
  521. function fCheckOuterFixaset() {
  522. var instcd = model.getValue("/root/main/fixasetdet/fixasettmplist/instcd");
  523. var goodflag = model.getValue(opt_goodflag_search.attribute("ref"));
  524. var lrgcd = model.getValue(cmb_lrgcd.attribute("ref"));
  525. var mdlcd = model.getValue(cmb_mdlcd.attribute("ref"));
  526. //alert(instcd + " , " + goodflag + " , " + lrgcd + " , " + mdlcd);
  527. //alert(event.currentTarget);
  528. // [031]본원, [GE]비품, [17]일반비품(전산화관련), [10]전산장비 인 경우 부외자산으로 분류 가능
  529. if(instcd == "031" && goodflag == "GE" && lrgcd == "17" && mdlcd == "10") {
  530. return true;
  531. } else if(instcd == "091") { // 부외자산으로 등록 된 경우
  532. return true;
  533. }else {
  534. return false;
  535. }
  536. }
  537. function fSetOuterFixaset()
  538. {
  539. if(fCheckOuterFixaset()) {
  540. if(event.currentTarget == "btn_save") {
  541. if(model.getValue(chk_outerfixaset.attribute("ref")) == "Y" && messageBox("부외자산으로 등록하시겠습니까?","Q") == "6") {
  542. // 부외자산으로 선택되어 있고 최종확인하는 경우 부외자산 등록
  543. } else {
  544. model.setValue(chk_outerfixaset.attribute("ref"),"N");
  545. }
  546. } else {
  547. if(messageBox("부외자산으로 등록하시겠습니까?","Q") == "6") {
  548. model.setValue(chk_outerfixaset.attribute("ref"),"Y");
  549. } else {
  550. model.setValue(chk_outerfixaset.attribute("ref"),"N");
  551. }
  552. }
  553. } else {
  554. model.setValue(chk_outerfixaset.attribute("ref"),"N");
  555. }
  556. chk_outerfixaset.refresh();
  557. }
  558. function fSearchDetail(instcd, fixasetcd)
  559. {
  560. model.setValue("/root/send/instcd", instcd);
  561. model.setValue("/root/send/fixasetcd", fixasetcd);
  562. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  563. model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
  564. if(submit("TRRFC00203",false)) {
  565. if(instcd == "" && fixasetcd == ""){
  566. misfGridIUD(grd_fixasettmplist, "A");
  567. }
  568. grd_fixasettmplist.row = 1;
  569. model.copyNode("/root/main/fixasetdet/fixasettmplist", "/root/main/list/fixasetdet/fixasettmplist");
  570. fMakeNode();
  571. cmb_lrgcd.dispatch("xforms-value-changed");
  572. var mdlcd = model.getValue("/root/main/list/fixasetdet/fixasettmplist/mdlcd");
  573. model.setValue("/root/main/fixasetdet/fixasettmplist/mdlcd", mdlcd);
  574. cmb_mdlcd.dispatch("xforms-value-changed");
  575. fAllControlDisabled("false");
  576. //자산상세내역 Control 활성화
  577. fComponentDisabled(true);
  578. var dsplflag = model.getValue("/root/main/fixasetdet/fixasettmplist/dsplflag");
  579. preDsplflag = dsplflag;
  580. if((dsplflag == "0" || dsplflag == "4") && getUserInfo("dutplcecd") == "4020334000") {
  581. cmb_dsplflag.disabled = false;
  582. } else {
  583. cmb_dsplflag.disabled = true;
  584. }
  585. submit("TRRFC00205");
  586. submit("TRRFC00207");
  587. model.setValue("/root/send/tmpnode/tmpfixasetnode", grd_fixasetlist.row);
  588. grd_fixasetlist.dispatch("onmouseup");
  589. //보수계약정보Grid를 ReadOnly 상태로 셋팅
  590. grd_rfchmandlist.isReadOnly(grd_rfchmandlist.fixedRows , grd_rfchmandlist.colRef("rpirconfromdd")-1 , grd_rfchmandlist.rows-grd_rfchmandlist.fixedRows , grd_rfchmandlist.colRef("agencycntctel") ) = true;
  591. cmb_fundorigin.dispatch("xforms-value-changed");
  592. model.refresh();
  593. }
  594. }
  595. ]]>
  596. </script>
  597. </xhtml:head>
  598. <xhtml:body guideline="1,-1;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  599. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  600. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">비품자산코드관리</caption>
  601. </group>
  602. <group id="group4" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  603. <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="비품코드^비품명^규격^구입금액^공급처^취득일^사용부서^입고계정^구입일자^보조거래처^제조원^제조국^모델명^청구부서^이미지^구코드^SERIAL NO^사용장소코드^caption1^caption2^caption3^12^13^14^15^goodflagengnm^tempmngtdeptnm^tempmngtdeptcd^S/N 변경^요구일자^요구번호^요구순번^자산수량" colsep="^" colwidth="140, 200, 200, 150, 150, 150, 150, 80, 80, 80, 80, 120, 80, 49, 47, 138, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 79, 73, 77, 66, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="31" style="left:0px; top:120px; width:1190px; height:199px; ">
  604. <col ref="fixasetcd" style="text-align:center; "/>
  605. <col ref="goodflaghngnm" style="text-align:left; padding-left:10; "/>
  606. <col ref="goodspec" style="text-align:left; padding-left:10; "/>
  607. <col ref="possnamt" format="#,###" style="text-align:right; padding-right:10; "/>
  608. <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
  609. <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
  610. <col ref="mngtdeptnm" style="text-align:left; padding-left:10; "/>
  611. <col ref="amtacnt" visibility="hidden" style="text-align:left; "/>
  612. <col ref="possndd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  613. <col ref="suppcustnm" visibility="hidden"/>
  614. <col ref="prodcmpynm" visibility="hidden" style="text-align:left; "/>
  615. <col disabled="true" ref="prodplce" type="combo" visibility="hidden" style="text-align:left; ">
  616. <choices>
  617. <itemset>
  618. <label/>
  619. <value/>
  620. </itemset>
  621. </choices>
  622. </col>
  623. <col ref="goodmodel" visibility="hidden"/>
  624. <col ref="cntrdeptnm" visibility="hidden"/>
  625. <col checkvalue="Y,N" disabled="true" ref="photoyn" type="checkbox" visibility="hidden"/>
  626. <col ref="oldcd" visibility="hidden" style="text-align:center; "/>
  627. <col ref="mngtno" visibility="hidden"/>
  628. <col ref="installplcecd" visibility="hidden"/>
  629. <col ref="instcd" visibility="hidden"/>
  630. <col ref="maineqmt" visibility="hidden"/>
  631. <col ref="prodcmpy" visibility="hidden"/>
  632. <col ref="suplplcecd" visibility="hidden"/>
  633. <col ref="mngtdeptcd" visibility="hidden"/>
  634. <col ref="installplcenm" visibility="hidden" style="text-align:left; "/>
  635. <col ref="entrasetyn" visibility="hidden"/>
  636. <col ref="goodflagengnm" visibility="hidden"/>
  637. <col ref="tempmngtdeptnm" visibility="hidden"/>
  638. <col ref="tempmngtdeptcd" visibility="hidden"/>
  639. <col checkvalue="Y,N" ref="serialchk" type="checkbox" visibility="hidden"/>
  640. <col ref="purcdmnddd" visibility="hidden"/>
  641. <col ref="purcdmndno" visibility="hidden"/>
  642. <col ref="purcdmndseq" visibility="hidden"/>
  643. <col ref="fixasetcdcnt" visibility="hidden"/>
  644. <col ref="repayappdd" visibility="hidden"/>
  645. <col ref="contributor" visibility="hidden"/>
  646. <col ref="fundsorigincnts" visibility="hidden"/>
  647. <col ref="welfcd" visibility="hidden"/>
  648. <col ref="etccnts" visibility="hidden"/>
  649. <col ref="etcwln" visibility="hidden"/>
  650. <script type="javascript" ev:event="ondblclick">
  651. <![CDATA[
  652. var fInstcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("instcd"));
  653. var fFixasetcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd"));
  654. fSearchDetail(fInstcd, fFixasetcd);
  655. ]]>
  656. </script>
  657. <script type="javascript" ev:event="onaftersort">
  658. <![CDATA[
  659. grd_fixasetlist.gridToInstance();
  660. ]]>
  661. </script>
  662. </datagrid>
  663. <datagrid id="grd_fixasettmplist" nodeset="/root/main/list/fixasetdet/fixasettmplist" visibility="hidden" caption="1^2^3" colsep="^" colwidth="40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:670px; top:225px; width:495px; height:75px; ">
  664. <col ref="instcd"/>
  665. <col ref="fixasetcd"/>
  666. <col ref="installplcecd"/>
  667. <col ref="goodflag"/>
  668. <col ref="goodqty"/>
  669. <col ref="goodflaghngnm"/>
  670. <col ref="goodflagengnm"/>
  671. <col ref="goodspec"/>
  672. <col ref="goodmodel"/>
  673. <col ref="asetflag_maineqmtflag"/>
  674. <col ref="lrgcd"/>
  675. <col ref="mdlcd"/>
  676. <col ref="smlcd"/>
  677. <col ref="catalog"/>
  678. <col ref="fixasetunit"/>
  679. <col ref="usge"/>
  680. <col ref="acntcd"/>
  681. <col ref="acntnm"/>
  682. <col ref="cntrdeptcd"/>
  683. <col ref="moveflag"/>
  684. <col ref="suplplcecd"/>
  685. <col ref="suppcustcd"/>
  686. <col ref="prodplce"/>
  687. <col ref="prodcmpy"/>
  688. <col ref="prodcmpynm"/>
  689. <col ref="chkdd"/>
  690. <col ref="delivetermmm"/>
  691. <col ref="condd"/>
  692. <col ref="flwgrnttermfr"/>
  693. <col ref="flwgrnttermto"/>
  694. <col ref="windd"/>
  695. <col ref="winno"/>
  696. <col ref="winseqno"/>
  697. <col ref="mngtno"/>
  698. <col ref="profno"/>
  699. <col ref="incmreptno"/>
  700. <col ref="incmlicnsdd"/>
  701. <col ref="custmsenddd"/>
  702. <col ref="expttaxpostno"/>
  703. <col ref="custms"/>
  704. <col ref="innatitax"/>
  705. <col ref="custmscrnscthouscd"/>
  706. <col ref="lonno"/>
  707. <col ref="possnflagcd"/>
  708. <col ref="possndd"/>
  709. <col ref="forgncurncyamt"/>
  710. <col ref="curncyunit"/>
  711. <col ref="fixasetqty"/>
  712. <col ref="possnamt"/>
  713. <col ref="etcaddamt"/>
  714. <col ref="cntsyearno"/>
  715. <col ref="repayflag"/>
  716. <col ref="repaymthd"/>
  717. <col ref="repayrate"/>
  718. <col ref="dsplflag"/>
  719. <col ref="repayenddd"/>
  720. <col ref="maineqmtcd"/>
  721. <col ref="lseyn"/>
  722. <col ref="cmt"/>
  723. <col ref="mngtdeptcd"/>
  724. <col ref="maineqmt"/>
  725. <col ref="barcdprntyn"/>
  726. <col ref="usedd"/>
  727. <col ref="suplcntctel"/>
  728. <col ref="acqtflag"/>
  729. <col ref="earnvaluyn"/>
  730. <col ref="agency"/>
  731. <col ref="agencycntctel"/>
  732. <col ref="smplce"/>
  733. <col ref="repaybal"/>
  734. <col ref="prvnchkyn"/>
  735. <col ref="fundorigin"/>
  736. <col ref="entrasetyn"/>
  737. <col ref="fixtrflag"/>
  738. <col ref="amtacnt"/>
  739. <col ref="amtacntnm"/>
  740. <col ref="purcdmnddd"/>
  741. <col ref="purcdmndno"/>
  742. <col ref="purcdmndseq"/>
  743. <col ref="fixasetcdcnt"/>
  744. <col ref="repayappdd"/>
  745. <col ref="contributor"/>
  746. <col ref="fundsorigincnts"/>
  747. <col ref="welfcd"/>
  748. <col ref="etccnts"/>
  749. <col ref="etcwln"/>
  750. <col ref="mngtgrade"/>
  751. <col ref="oskind"/>
  752. <col ref="memoryvol"/>
  753. <col ref="tempmngtdeptcd"/>
  754. <col ref="ipaddr"/>
  755. <col ref="outerfixaset"/>
  756. <col ref="conno"/>
  757. <col ref="conseq"/>
  758. </datagrid>
  759. <group id="group5" style="left:0px; top:0px; width:1195px; height:95px; vertical-align:top; ">
  760. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:95px; background-color:#fffbf2; border-color:#ffd799; "/>
  761. <input id="ipt_goodflagnm_search" ref="/root/send/fixasetlist/goodflagnm_search" class="input_default" navindex="12" style="left:412px; top:6px; width:138px; height:19px; ">
  762. <script type="javascript" ev:event="onkeyup">
  763. <![CDATA[
  764. inputEnterKey("btn_search", "DOMActivate");
  765. ]]>
  766. </script>
  767. </input>
  768. <caption id="cap_lrgcd_search" class="search_name" style="left:5px; top:28px; width:117px; height:17px; ">대 분 류 :</caption>
  769. <caption id="cap_mngtdeptcd_search" class="search_name" style="left:304px; top:28px; width:117px; height:17px; ">사 용 부 서 :</caption>
  770. <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_default" navindex="14" style="left:412px; top:28px; width:73px; height:19px; ">
  771. <script type="javascript" ev:event="xforms-value-changed">
  772. <![CDATA[
  773. misfSearchDept(ipt_mngtdeptnm_search);
  774. ]]>
  775. </script>
  776. </input>
  777. <button id="btn_mngtdeptcd_search" class="icon_search" style="left:489px; top:28px; width:16px; height:16px; ">
  778. <caption/>
  779. <script type="javascript" ev:event="DOMActivate">
  780. <![CDATA[
  781. rszfOpenPopUpListByWndName(ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search","SPRPZ00800","instcd","cmb_instcd_search");
  782. ipt_mngtdeptcd_search.refresh();
  783. ipt_mngtdeptnm_search.refresh();
  784. ]]>
  785. </script>
  786. </button>
  787. <input id="ipt_mngtdeptnm_search" ref="/root/send/fixasetlist/mngtdeptnm_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:509px; top:28px; width:146px; height:19px; "/>
  788. <button id="btn_installplcecd_search" class="icon_search" visibility="hidden" style="left:1040px; top:68px; width:16px; height:16px; ">
  789. <caption/>
  790. <script type="javascript" ev:event="DOMActivate">
  791. <![CDATA[
  792. misfOpenPopUpList("19", ipt_installplcecd_search,"", "installplcecd_search,installplcenm_search") ;
  793. ]]>
  794. </script>
  795. </button>
  796. <input id="ipt_installplcecd_search" ref="/root/send/fixasetlist/installplcecd_search" class="input_default" visibility="hidden" style="left:1010px; top:68px; width:28px; height:19px; ">
  797. <script type="javascript" ev:event="xforms-value-changed">
  798. <![CDATA[
  799. if(ipt_installplcecd_search.value.length == 0)
  800. ipt_installplcenm_search.value = "";
  801. else
  802. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  803. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  804. ipt_installplcecd_search, "PPRAC00700", "","");
  805. ]]>
  806. </script>
  807. </input>
  808. <input id="ipt_installplcenm_search" ref="/root/send/fixasetlist/installplcenm_search" class="input_fix" visibility="hidden" appearance="input" style="left:1060px; top:68px; width:48px; height:19px; ">
  809. <script type="javascript" ev:event="xforms-value-changed">
  810. <![CDATA[
  811. if(ipt_installplcenm_search.value.length == 0)
  812. ipt_installplcecd_search.value = "";
  813. else
  814. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  815. "deptnm," + ipt_installplcenm_search.value, "", "installplcecd_search,installplcenm_search",
  816. ipt_installplcenm_search, "PPRAC00700", "","");
  817. ]]>
  818. </script>
  819. </input>
  820. <button id="btn_search" class="btn1_letter2" navindex="25" style="left:1126px; top:35px; width:56px; height:22px; ">
  821. <caption>조회</caption>
  822. <script type="javascript" ev:event="DOMActivate">
  823. <![CDATA[
  824. fSearch();
  825. ]]>
  826. </script>
  827. </button>
  828. <caption id="cap_instcd_search" class="search_name" style="left:3px; top:6px; width:117px; height:17px; ">기관코드 :</caption>
  829. <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" disabled="true" navindex="8" appearance="minimal" style="left:95px; top:6px; width:160px; height:19px; ">
  830. <choices>
  831. <itemset>
  832. <label/>
  833. <value/>
  834. </itemset>
  835. </choices>
  836. <script type="javascript" ev:event="xforms-value-changed">
  837. <![CDATA[
  838. var vInstcd = model.getValue(cmb_instcd_search.attribute("ref")); // 기관 설정
  839. model.setValue(cmb_instcd_conv.attribute("ref"), vInstcd);
  840. if (getUserInfo("dutplceinstcd") == vInstcd) { // 기관 설정
  841. btn_save.disabled = false;
  842. }else{
  843. btn_save.disabled = true;
  844. }
  845. cmb_instcd_conv.refresh();
  846. btn_save.refresh();
  847. ]]>
  848. </script>
  849. </select1>
  850. <input id="ipt_goodmodel_search" ref="/root/send/fixasetlist/goodmodel_search" class="input_default" navindex="13" style="left:551px; top:6px; width:104px; height:19px; ">
  851. <script type="javascript" ev:event="onkeyup">
  852. <![CDATA[
  853. inputEnterKey("btn_search", "DOMActivate");
  854. ]]>
  855. </script>
  856. </input>
  857. <line id="line12" class="line_4" style="x1:1115px; y1:5px; x2:1115px; y2:65px; border-color:#ffd799; "/>
  858. <caption id="cap_mdlcd_search" class="search_name" style="left:5px; top:50px; width:117px; height:17px; ">중 분 류 :</caption>
  859. <button id="btn_prodcmpycd_search" class="icon_search" visibility="hidden" style="left:1040px; top:45px; width:16px; height:16px; ">
  860. <caption/>
  861. <script type="javascript" ev:event="DOMActivate">
  862. <![CDATA[
  863. rszfOpenPopUpListByWndName(ipt_prodcmpycd_search,"","prodcmpycd_search,prodcmpynm_search","SPRSD00160","","");
  864. ipt_prodcmpycd_search.refresh();
  865. ipt_prodcmpynm_search.refresh();
  866. ]]>
  867. </script>
  868. </button>
  869. <caption id="cap_prodcmpycd" class="search_name" visibility="hidden" style="left:990px; top:45px; width:97px; height:17px; ">제조회사 :</caption>
  870. <input id="ipt_prodcmpynm_search" ref="/root/send/fixasetlist/prodcmpynm_search" class="input_fix" visibility="hidden" appearance="input" style="left:1060px; top:45px; width:45px; height:19px; ">
  871. <script type="javascript" ev:event="xforms-value-changed">
  872. <![CDATA[
  873. if(ipt_prodcmpynm_search.value != ""){
  874. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  875. "prodcmpynm,," + ipt_prodcmpynm_search.value
  876. ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
  877. }else{
  878. ipt_prodcmpycd_search.value = "";
  879. }
  880. ipt_prodcmpycd_search.refresh();
  881. ipt_prodcmpynm_search.refresh();
  882. ]]>
  883. </script>
  884. </input>
  885. <input id="ipt_prodcmpycd_search" ref="/root/send/fixasetlist/prodcmpycd_search" class="input_default" visibility="hidden" style="left:1013px; top:45px; width:22px; height:19px; ">
  886. <script type="javascript" ev:event="xforms-value-changed">
  887. <![CDATA[
  888. if(ipt_prodcmpycd_search.value != ""){
  889. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  890. "prodcmpycd," + ipt_prodcmpycd_search.value + ","
  891. ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
  892. }else{
  893. ipt_prodcmpynm_search.value = "";
  894. }
  895. ipt_prodcmpycd_search.refresh();
  896. ipt_prodcmpynm_search.refresh();
  897. ]]>
  898. </script>
  899. </input>
  900. <caption id="cap_smlcd_search" class="search_name" style="left:5px; top:73px; width:117px; height:17px; ">소 분 류 :</caption>
  901. <output id="opt_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" visibility="hidden" style="left:260px; top:50px; width:35px; height:19px; "/>
  902. <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" navindex="9" appearance="minimal" style="left:95px; top:28px; width:160px; height:19px; ">
  903. <choices>
  904. <itemset>
  905. <label/>
  906. <value/>
  907. </itemset>
  908. </choices>
  909. <script type="javascript" ev:event="xforms-value-changed">
  910. <![CDATA[
  911. var lrgcd = model.getValue(cmb_lrgcd_search.attribute("ref"));
  912. if(lrgcd == ""){
  913. cmb_mdlcd_search.disabled = true;
  914. }else{
  915. cmb_mdlcd_search.disabled = false;
  916. misfChangeItemsetFilter(cmb_mdlcd_search,"goodflag='GE' and lrgcd='" + lrgcd + "' or value=null");
  917. }
  918. model.setValue(cmb_mdlcd_search.attribute("ref"),"");
  919. cmb_mdlcd_search.refresh();
  920. cmb_mdlcd_search.dispatch("xforms-value-changed");
  921. ]]>
  922. </script>
  923. </select1>
  924. <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" navindex="10" appearance="minimal" style="left:95px; top:49px; width:160px; height:19px; ">
  925. <choices>
  926. <itemset>
  927. <label/>
  928. <value/>
  929. </itemset>
  930. </choices>
  931. <script type="javascript" ev:event="xforms-value-changed">
  932. <![CDATA[
  933. rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "Y");
  934. cmb_smlcd_search.value = "";
  935. ]]>
  936. </script>
  937. </select1>
  938. <select1 id="cmb_smlcd_search" ref="/root/send/fixasetlist/smlcd_search" navindex="11" appearance="minimal" style="left:95px; top:71px; width:160px; height:19px; ">
  939. <choices>
  940. <itemset>
  941. <label/>
  942. <value/>
  943. </itemset>
  944. </choices>
  945. </select1>
  946. <caption id="cap_rfchmandlist_search" class="search_name" style="left:695px; top:28px; width:125px; height:17px; ">보수계약 :</caption>
  947. <select1 id="cmb_rfchmandlist_search" ref="/root/send/fixasetlist/rfchmandlist_search" class="combo_search" navindex="18" appearance="minimal" style="left:788px; top:28px; width:100px; height:19px; text-align:center; ">
  948. <choices>
  949. <item>
  950. <label>전체</label>
  951. <value/>
  952. </item>
  953. <item>
  954. <label>유</label>
  955. <value>Y</value>
  956. </item>
  957. <item>
  958. <label>무</label>
  959. <value>N</value>
  960. </item>
  961. </choices>
  962. </select1>
  963. <select1 id="cmb_instcd_conv" ref="/root/init/instcd_conv" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:260px; top:26px; width:35px; height:19px; ">
  964. <choices>
  965. <itemset>
  966. <label/>
  967. <value/>
  968. </itemset>
  969. </choices>
  970. </select1>
  971. <caption id="cap_goodflagnm_search" class="search_name" style="left:304px; top:6px; width:117px; height:17px; ">비품/모델명 :</caption>
  972. <input id="ipt_mainmngtdeptcd_search" ref="/root/send/fixasetlist/mainmngtdeptcd_search" class="input_default" navindex="15" style="left:412px; top:50px; width:73px; height:19px; ">
  973. <script type="javascript" ev:event="xforms-value-changed">
  974. <![CDATA[
  975. misfSearchDept(ipt_mainmngtdeptdeptnm_search);
  976. ]]>
  977. </script>
  978. </input>
  979. <button id="btn_mainmngtdeptcd_search" class="icon_search" style="left:489px; top:52px; width:16px; height:16px; ">
  980. <caption/>
  981. <script type="javascript" ev:event="DOMActivate">
  982. <![CDATA[
  983. misfOpenPopUpList("02", ipt_mainmngtdeptcd_search,"","mainmngtdeptcd_search,mainmngtdeptnm_search");
  984. ipt_mainmngtdeptcd_search.refresh();
  985. ipt_mainmngtdeptdeptnm_search.refresh();
  986. ]]>
  987. </script>
  988. </button>
  989. <caption id="cap_mainmngtdeptcd_search" class="search_name" style="left:304px; top:50px; width:117px; height:17px; ">입 력 부 서 :</caption>
  990. <input id="ipt_mainmngtdeptdeptnm_search" ref="/root/send/fixasetlist/mainmngtdeptnm_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:509px; top:50px; width:146px; height:19px; "/>
  991. <caption id="caption36" class="search_name" style="left:696px; top:50px; width:118px; height:17px; ">취득일자 :</caption>
  992. <input id="ipt_possntodd" ref="/root/send/fixasetlist/possntodd_search" class="input_default" navindex="20" inputtype="date" format="yyyy-mm-dd" style="left:897px; top:50px; width:90px; height:19px; "/>
  993. <caption id="caption37" style="left:881px; top:50px; width:15px; height:20px; font-weight:bold; ">~</caption>
  994. <button id="btn_suplplcecd_search" class="icon_search" style="left:489px; top:72px; width:16px; height:16px; ">
  995. <caption/>
  996. <script type="javascript" ev:event="DOMActivate">
  997. <![CDATA[
  998. rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd_search,suplplcenm_search","SPRSD00220","instcd","cmb_instcd_conv");
  999. ipt_suplplcecd_search.refresh();
  1000. ipt_suplplcenm_search.refresh();
  1001. ]]>
  1002. </script>
  1003. </button>
  1004. <caption id="caption38" class="search_name" style="left:304px; top:72px; width:118px; height:17px; ">공 급 처 :</caption>
  1005. <input id="ipt_possnfrdd" ref="/root/send/fixasetlist/possnfrdd_search" class="input_default" navindex="19" inputtype="date" format="yyyy-mm-dd" style="left:788px; top:50px; width:90px; height:19px; "/>
  1006. <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:509px; top:72px; width:146px; height:19px; "/>
  1007. <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_default" navindex="16" style="left:412px; top:72px; width:73px; height:19px; ">
  1008. <script type="javascript" ev:event="xforms-value-changed">
  1009. <![CDATA[
  1010. misfSearchCust(ipt_suplplcenm,cmb_instcd_conv);
  1011. ]]>
  1012. </script>
  1013. </input>
  1014. <caption id="cap_fixasetcd_search" class="search_name" style="left:695px; top:6px; width:116px; height:17px; ">자산코드 :</caption>
  1015. <input id="ipt_fixasetcd_search" ref="/root/send/fixasetlist/fixasetcd_search" class="input_search" navindex="17" visibility="visible" imemode="disabled" _chartype="upper" style="left:788px; top:6px; width:100px; height:19px; ">
  1016. <script type="javascript" ev:event="onkeyup">
  1017. <![CDATA[
  1018. inputEnterKey("btn_search", "DOMActivate");
  1019. if(event.keyCode == "13") {
  1020. model.setFocus("ipt_fixasetcd_search");
  1021. }
  1022. ]]>
  1023. </script>
  1024. </input>
  1025. <caption id="caption28" class="search_name" style="left:696px; top:72px; width:114px; height:17px; ">취득금액 :</caption>
  1026. <caption id="caption42" visibility="visible" style="left:882px; top:71px; width:15px; height:20px; font-weight:bold; ">~</caption>
  1027. <input id="ipt_possnamtfr_search" ref="/root/send/fixasetlist/possnamtfr_search" class="input_search" navindex="21" maxlength="12" format="#,###" style="left:788px; top:72px; width:90px; height:19px; text-align:right; "/>
  1028. <input id="ipt_possnamtto_search" ref="/root/send/fixasetlist/possnamtto_search" class="input_search" navindex="22" maxlength="12" format="#,###" style="left:897px; top:72px; width:90px; height:19px; text-align:right; "/>
  1029. <select1 id="cmb_oskind_search" ref="/root/send/fixasetlist/oskind_search" navindex="23" visibility="visible" appearance="minimal" style="left:1020px; top:6px; width:80px; height:19px; ">
  1030. <choices>
  1031. <itemset>
  1032. <label/>
  1033. <value/>
  1034. </itemset>
  1035. </choices>
  1036. </select1>
  1037. <caption id="caption2" class="search_name" style="left:935px; top:6px; width:116px; height:17px; ">OS 종류 :</caption>
  1038. <caption id="caption44" class="search_name" style="left:935px; top:28px; width:116px; height:17px; ">메모리용량 :</caption>
  1039. <select1 id="cmb_memoryvol_search" ref="/root/send/fixasetlist/memoryvol_search" navindex="24" visibility="visible" appearance="minimal" style="left:1035px; top:28px; width:65px; height:19px; ">
  1040. <choices>
  1041. <itemset>
  1042. <label/>
  1043. <value/>
  1044. </itemset>
  1045. </choices>
  1046. </select1>
  1047. <bool id="bool1" checkvalue="Y,N" ref="/root/send/fixasetlist/outerfixaset" style="left:1116px; top:70px; width:19px; height:20px; "/>
  1048. <caption id="caption47" class="search_name" style="left:1005px; top:70px; width:115px; height:17px; ">부외자산포함 :</caption>
  1049. </group>
  1050. <caption id="caption19" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
  1051. <caption id="caption20" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
  1052. <line id="line16" class="line_1" style="x1:0px; y1:118px; x2:1190px; y2:117px; "/>
  1053. <caption id="caption21" class="tit_2" style="left:0px; top:103px; width:69px; height:13px; ">비품목록</caption>
  1054. <button id="btn_delrow" class="btn2_letter3" navindex="30" style="left:1138px; top:96px; width:53px; height:19px; ">
  1055. <caption>행삭제</caption>
  1056. <script type="javascript" ev:event="DOMActivate">
  1057. <![CDATA[
  1058. if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 1 && grd_fixasetlist.rows- grd_fixasetlist.fixedRows != 0)
  1059. {
  1060. grd_fixasetlist.deleteRow(grd_fixasetlist.row);
  1061. misfGridInit(grd_fixasettmplist);
  1062. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  1063. fAllControlDisabled("true");
  1064. if(grd_fixasetlist.rows- grd_fixasetlist.fixedRows != 0)
  1065. {
  1066. grd_fixasetlist.row = grd_fixasetlist.rows- grd_fixasetlist.fixedRows;
  1067. grd_fixasetlist.dispatch("ondblclick");
  1068. }
  1069. }
  1070. else{
  1071. for(var rowIndex=0;rowIndex<grd_fixasetlist.selectedRows;rowIndex++){
  1072. grd_fixasetlist.addStatus(grd_fixasetlist.selectedRow(rowIndex), "delete");
  1073. }
  1074. }
  1075. model.refresh();
  1076. ]]>
  1077. </script>
  1078. </button>
  1079. <button id="btn_addrow" class="btn2_letter3" navindex="29" style="left:1082px; top:96px; width:53px; height:19px; ">
  1080. <caption>행추가</caption>
  1081. <script type="javascript" ev:event="DOMActivate">
  1082. <![CDATA[
  1083. btn_init.dispatch("DOMActivate");
  1084. misfGridIUD(grd_fixasetlist, "A");
  1085. grd_fixasetlist.dispatch("ondblclick");
  1086. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  1087. // default value setting
  1088. addRow = grd_fixasetlist.rows - grd_fixasetlist.fixedRows;
  1089. fDefaultSetting(addRow);
  1090. // disable control
  1091. fAllControlDisabled("false");
  1092. model.refresh();
  1093. ]]>
  1094. </script>
  1095. </button>
  1096. <line id="line21" class="line_1" style="x1:0px; y1:335px; x2:1190px; y2:335px; "/>
  1097. <line id="line45" class="line_3" style="x1:0px; y1:562px; x2:1190px; y2:562px; "/>
  1098. <line id="line53" class="line_2" style="x1:2px; y1:458px; x2:77px; y2:458px; "/>
  1099. <button id="btn_addrow_" class="btn2_letter3" navindex="96" style="left:1074px; top:567px; width:53px; height:19px; ">
  1100. <caption>행추가</caption>
  1101. <script type="javascript" ev:event="DOMActivate">
  1102. <![CDATA[
  1103. if (model.getValue(ipt_fixasetcd.attribute("ref")).length == 0){
  1104. if(!isRequiredControls("ipt_fixasetcd")) return;
  1105. }
  1106. if(btn_rfchmandlist.selected == true)
  1107. {
  1108. misfGridIUD(grd_rfchmandlist, "A");
  1109. var cur_row = grd_rfchmandlist.row;
  1110. //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
  1111. model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
  1112. model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
  1113. model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/condd",getCurrentDate());
  1114. model.refresh();
  1115. return;
  1116. }
  1117. else if(btn_comps.selected == true)
  1118. {
  1119. misfGridIUD(grd_comps, "A");
  1120. var cur_row = grd_comps.row;
  1121. //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
  1122. model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
  1123. model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
  1124. //오류가 납니다. 의미없어 보이는 코드같아 주석 처리 합니다.-MIS 개발팀...송광호-
  1125. //model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/condd",getCurrentDate());
  1126. model.refresh();
  1127. return;
  1128. }
  1129. ]]>
  1130. </script>
  1131. </button>
  1132. <button id="btn_chnghist" class="btn2_letter4" navindex="93" style="left:444px; top:567px; width:64px; height:19px; ">
  1133. <caption>변동이력</caption>
  1134. <script type="javascript" ev:event="onclick">
  1135. <![CDATA[
  1136. //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
  1137. //window.load("SPRSC00211_ALLSIZE.xrw","modeless", "SPRSC00211_ALLSIZE.xrw", "width:810px; height:730;min:hidden;max:hidden;align:center", "" ,"");
  1138. modal("SMRFE00200_자산변동사항관리","20","20","","popup", "/root/main/fixasetdet/fixasettmplist" ,"/root/temp");
  1139. grd_fixasetlist.dispatch("ondblclick");
  1140. ]]>
  1141. </script>
  1142. </button>
  1143. <button id="btn_comps" class="btn_sw" group="tab" style="left:84px; top:565px; width:100px; height:22px; ">
  1144. <caption>구성품</caption>
  1145. <toggle case="case3" ev:event="DOMActivate"/>
  1146. </button>
  1147. <button id="btn_delrow_" class="btn2_letter3" navindex="97" style="left:1130px; top:567px; width:53px; height:19px; ">
  1148. <caption>행삭제</caption>
  1149. <script type="javascript" ev:event="DOMActivate">
  1150. <![CDATA[
  1151. if(btn_rfchmandlist.selected == true)
  1152. {
  1153. misfGridIUD(grd_rfchmandlist, "D");
  1154. model.refresh();
  1155. return;
  1156. }
  1157. else if(btn_comps.selected == true)
  1158. {
  1159. misfGridIUD(grd_comps, "D");
  1160. model.refresh();
  1161. return;
  1162. }
  1163. ]]>
  1164. </script>
  1165. </button>
  1166. <button id="btn_set" class="btn2_letter3" navindex="92" style="left:388px; top:567px; width:53px; height:19px; ">
  1167. <caption>소모품</caption>
  1168. <script type="javascript" ev:event="onclick">
  1169. <![CDATA[
  1170. //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
  1171. //window.load("SPRSC00211_ALLSIZE.xrw","modeless", "SPRSC00211_ALLSIZE.xrw", "width:810px; height:730;min:hidden;max:hidden;align:center", "" ,"");
  1172. modal("SMRFE00100","","","","popup", "/root/main/fixasetdet/fixasettmplist" ,"/root/temp");
  1173. ]]>
  1174. </script>
  1175. </button>
  1176. <button id="btn_rfchmandlist" class="btn_sw" group="tab" selected="true" style="left:1px; top:565px; width:84px; height:22px; ">
  1177. <caption>보수계약정보</caption>
  1178. <toggle case="case1" ev:event="DOMActivate"/>
  1179. </button>
  1180. <button id="btn_image" class="btn2_letter5" navindex="91" style="left:310px; top:567px; width:75px; height:19px; ">
  1181. <caption>이미지 정보</caption>
  1182. <script type="javascript" ev:event="onclick">
  1183. <![CDATA[
  1184. //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
  1185. //window.load("SPRSC00201_이미지.xrw","modeless", "SPRSC00201_이미지.xrw", "width:330px; height:390;min:hidden;max:hidden;align:center", "" ,"");
  1186. if(grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd")) != ""){
  1187. rszfOpenPopUpListByWndName(grd_fixasetlist,"","","SPRSC00201_이미지.xrw","goodcd", grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd")) );
  1188. }else{
  1189. messageBox("자산을", "C002");
  1190. }
  1191. ]]>
  1192. </script>
  1193. </button>
  1194. <switch id="switch1" style="left:0; top:588px; width:1195; height:150; border-color:#c7a3cf; border-style:solid; ">
  1195. <case id="case1" selected="true">
  1196. <datagrid id="grd_rfchmandlist" nodeset="/root/main/list/rfchmandlist" caption="계약일자^계약기간^계약기간^계약금액^계약처^계약처^계약사항^대리점^대리점연락처^기관코드^자산코드" colsep="^" colwidth="106, 106, 105, 90, 90, 100, 351, 109, 93, 100, 100" dataheight="60" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" navindex="98" style="left:2px; top:5px; width:1187px; height:135px; ">
  1197. <col ref="condd" type="inputdate" format="yyyy-mm-dd"/>
  1198. <col class="input_essential" ref="rpirconfromdd" type="inputdate" format="yyyy-mm-dd" _key="true"/>
  1199. <col ref="rpircontodd" type="inputdate" format="yyyy-mm-dd"/>
  1200. <col ref="conamt" type="input" format="#,###" style="text-align:right; "/>
  1201. <col ref="suplplcecd" type="inputbutton"/>
  1202. <col ref="suplplcenm" type="input"/>
  1203. <col ref="concond" type="input"/>
  1204. <col ref="agency" type="input"/>
  1205. <col ref="agencycntctel" type="input"/>
  1206. <col ref="instcd" visibility="hidden"/>
  1207. <col ref="fixasetcd" visibility="hidden"/>
  1208. <script type="javascript" ev:event="onbuttonclick">
  1209. <![CDATA[
  1210. if (grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd")) {//계약처 버튼을 눌렀을 때
  1211. rszfOpenPopUpListByWndName(grd_rfchmandlist,"",
  1212. "suplplcecd,suplplcenm","SPRSD00220","instcd,goodflag",
  1213. "cmb_instcd_search,opt_goodflag_search","Y");
  1214. }
  1215. ]]>
  1216. </script>
  1217. <script type="javascript" ev:event="xforms-value-changed">
  1218. <![CDATA[
  1219. if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcenm") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length> 0)
  1220. {
  1221. if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length == 0)
  1222. grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")) = "";
  1223. else
  1224. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  1225. cmb_instcd_search.value + "," + "custnm," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")), "", "suplplcecd,suplplcenm",
  1226. grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
  1227. }
  1228. else if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length> 0)
  1229. {
  1230. if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length == 0)
  1231. grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")) = "";
  1232. else
  1233. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  1234. cmb_instcd_search.value + "," + "entrregno," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")), "", "suplplcecd,suplplcenm",
  1235. grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
  1236. }
  1237. ]]>
  1238. </script>
  1239. </datagrid>
  1240. <line id="line1" class="line_1" style="x1:0px; y1:2px; x2:1190; y2:2px; "/>
  1241. </case>
  1242. <case id="case3">
  1243. <datagrid id="grd_comps" nodeset="/root/main/list/compslist" caption="물품코드^품명^규격^단위^수량^주기^비고^기관코드^고정자산코드" colsep="^" colwidth="116, 165, 110, 50, 70, 100, 123, 100, 100" dataheight="25" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:7px; width:1053px; height:88px; ">
  1244. <col class="input_essential" ref="goodcd" type="inputbutton" _key="true"/>
  1245. <col ref="goodnm" type="input"/>
  1246. <col ref="goodspec"/>
  1247. <col ref="purcunit"/>
  1248. <col ref="rpiruseqty" type="input" format="9999999999999"/>
  1249. <col ref="prid" type="input"/>
  1250. <col ref="cmt" type="input"/>
  1251. <col ref="instcd" visibility="hidden"/>
  1252. <col ref="fixasetcd" visibility="hidden"/>
  1253. <script type="javascript" ev:event="onbuttonclick">
  1254. <![CDATA[
  1255. if (grd_comps.col == grd_comps.colRef("goodcd")) {//물품코드 버튼을 눌렀을 때
  1256. model.removenode("/root/copynode");
  1257. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1258. model.makeNode("/root/copynode");
  1259. rszfOpenPopUpListByWndName(grd_comps,"",
  1260. "goodcd,goodnm,goodspec,purcunit","SPRSD00190",
  1261. "instcd,goodflag","cmb_instcd_search,B", "Y");
  1262. var cur_row = grd_comps.row;
  1263. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1264. setCSVToNode("/root/copynode", CSV, "compslist");
  1265. fSettingGoodList("/root/copynode", "compslist");
  1266. }
  1267. ]]>
  1268. </script>
  1269. <script type="javascript" ev:event="xforms-value-changed">
  1270. <![CDATA[
  1271. if(grd_comps.col == grd_comps.colRef("goodnm") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodnm")).length> 0)
  1272. {
  1273. model.removenode("/root/copynode");
  1274. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1275. model.makeNode("/root/copynode");
  1276. rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodnm,goodflag",
  1277. "goodnm," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodnm"))+ ",B",
  1278. "", "goodcd,goodnm,goodspec,purcunit",
  1279. grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
  1280. // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
  1281. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1282. setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
  1283. fSettingGoodList("/root/copynode", "goodbaseqtylist");
  1284. }
  1285. else if(grd_comps.col == grd_comps.colRef("goodcd") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodcd")).length> 0)
  1286. {
  1287. model.removenode("/root/copynode");
  1288. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1289. model.makeNode("/root/copynode");
  1290. rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodcd,goodflag",
  1291. "goodcd," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodcd"))+ ",B",
  1292. "", "goodcd,goodnm,goodspec,purcunit",
  1293. grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
  1294. // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
  1295. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1296. setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
  1297. fSettingGoodList("/root/copynode", "goodbaseqtylist");
  1298. }
  1299. ]]>
  1300. </script>
  1301. </datagrid>
  1302. <line id="line18" class="line_1" style="x1:0px; y1:2px; x2:1193; y2:2px; "/>
  1303. </case>
  1304. </switch>
  1305. <button id="btn_maineqmt" class="icon_search" visibility="hidden" style="left:151px; top:680px; width:16px; height:16px; ">
  1306. <caption/>
  1307. <script type="javascript" ev:event="DOMActivate">
  1308. <![CDATA[
  1309. rszfOpenPopUpListByWndName(ipt_maineqmtcd,"","maineqmtcd,maineqmtnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  1310. model.refresh();
  1311. ]]>
  1312. </script>
  1313. </button>
  1314. <input id="ipt_winno" ref="/root/main/fixasetdet/fixasettmplist/winno" class="input_default" navindex="95" visibility="hidden" format="9999999999999" appearance="input" style="left:900px; top:565px; width:131px; height:19px; "/>
  1315. <input id="ipt_maineqmtcd" ref="/root/main/fixasetdet/fixasettmplist/maineqmtcd" visibility="hidden" style="left:80px; top:680px; width:70px; height:19px; ">
  1316. <script type="javascript" ev:event="xforms-value-changed">
  1317. <![CDATA[
  1318. if(ipt_maineqmtcd.value.length == 0)
  1319. ipt_maineqmtnm.value = "";
  1320. else
  1321. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  1322. cmb_instcd_search.value + "," + "fixasetcd," + ipt_maineqmtcd.value + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
  1323. ipt_maineqmtcd, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  1324. model.refresh();
  1325. ]]>
  1326. </script>
  1327. </input>
  1328. <input id="ipt_maineqmtnm" ref="/root/main/fixasetdet/fixasettmplist/maineqmtnm" class="input_fix" visibility="hidden" appearance="input" style="left:170px; top:680px; width:110px; height:19px; ">
  1329. <script type="javascript" ev:event="xforms-value-changed">
  1330. <![CDATA[
  1331. if(ipt_maineqmtnm.value.length == 0)
  1332. ipt_maineqmtcd.value = "";
  1333. else
  1334. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  1335. cmb_instcd_search.value + "," + "goodflaghngnm," + ipt_maineqmtnm.value + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
  1336. ipt_maineqmtnm, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  1337. model.refresh();
  1338. ]]>
  1339. </script>
  1340. </input>
  1341. <input id="ipt_winseqno" ref="/root/main/fixasetdet/fixasettmplist/winseqno" class="input_default" navindex="94" visibility="hidden" format="9999999999999" appearance="input" style="left:770px; top:565px; width:124px; height:19px; "/>
  1342. <input id="ipt_repaybal" ref="/root/main/fixasetdet/fixasettmplist/repaybal" class="input_default" navindex="89" visibility="hidden" editable="false" format="#,###" appearance="input" style="left:673px; top:700px; width:42px; height:19px; text-align:right; "/>
  1343. <select1 id="rdo_moveflag" ref="/root/main/fixasetdet/fixasettmplist/moveflag" visibility="hidden" appearance="full" cols="4" overflow="visible" style="left:674px; top:660px; width:123px; height:20px; background-color:transparent; border-style:none; ">
  1344. <choices>
  1345. <itemset nodeset="/root/init/moveflag">
  1346. <label ref="label"/>
  1347. <value ref="value"/>
  1348. </itemset>
  1349. </choices>
  1350. </select1>
  1351. <caption id="caption1" class="tit_2" style="left:3px; top:321px; width:100px; height:13px; ">
  1352. <![CDATA[비품상세내역]]>
  1353. <script type="javascript" ev:event="ondblclick">
  1354. <![CDATA[
  1355. grp_copy.visible = true;
  1356. ]]>
  1357. </script>
  1358. </caption>
  1359. <caption id="caption3" class="cell_1" visibility="hidden" style="left:7px; top:660px; width:72px; height:19px; vertical-align:middle; ">보조거래처</caption>
  1360. <input id="ipt_suppcustnm" ref="/root/main/fixasetdet/fixasettmplist/suppcustnm" class="input_fix" visibility="hidden" appearance="input" style="left:170px; top:660px; width:110px; height:19px; "/>
  1361. <button id="btn_suppcustcd" class="icon_search" visibility="hidden" style="left:151px; top:660px; width:16px; height:16px; ">
  1362. <caption/>
  1363. <script type="javascript" ev:event="DOMActivate">
  1364. <![CDATA[
  1365. rszfOpenPopUpListByWndName(ipt_suppcustnm,"","suppcustcd,suppcustnm","SPRSD00220","instcd","cmb_instcd_conv");
  1366. model.refresh();
  1367. ]]>
  1368. </script>
  1369. </button>
  1370. <input id="ipt_suppcustcd" ref="/root/main/fixasetdet/fixasettmplist/suppcustcd" class="input_default" visibility="hidden" appearance="input" style="left:80px; top:660px; width:70px; height:19px; ">
  1371. <script type="javascript" ev:event="xforms-value-changed">
  1372. <![CDATA[
  1373. if(ipt_suppcustcd.value.length == 0)
  1374. ipt_suppcustnm.value = "";
  1375. else
  1376. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  1377. cmb_instcd_conv.value + "," + "entrregno," + ipt_suppcustcd.value, "", "suppcustcd,suppcustnm",
  1378. ipt_suppcustcd, "SPRSD00220", "instcd","cmb_instcd_search");
  1379. model.refresh();
  1380. ]]>
  1381. </script>
  1382. </input>
  1383. <caption id="cap_moveflag" class="cell_1" visibility="hidden" style="left:600px; top:660px; width:72px; height:19px; vertical-align:middle; ">이동구분</caption>
  1384. <caption id="caption7" class="cell_1" visibility="hidden" style="left:7px; top:680px; width:72px; height:19px; vertical-align:middle; ">메인장비</caption>
  1385. <caption id="caption27" class="cell_1" visibility="hidden" style="left:600px; top:700px; width:72px; height:19px; vertical-align:middle; ">상각후잔액</caption>
  1386. <button id="btn_serialnoupdate" class="btn4_letter4" navindex="28" visibility="visible" style="left:998px; top:94px; width:80px; height:22px; ">
  1387. <caption>S/N 등록</caption>
  1388. <script type="javascript" ev:event="DOMActivate">
  1389. <![CDATA[
  1390. var copycnt = 1;
  1391. for (var k = grd_fixasetlist.fixedRows ; k < grd_fixasetlist.rows; k++) {
  1392. if (grd_fixasetlist.valueMatrix(k, grd_fixasetlist.colRef("serialchk")) == "Y" ){
  1393. model.makeNode("/root/temp/fixasetlist[" + copycnt + "]");
  1394. //이현민
  1395. //model.makeValue grd_fixasetlist.nodeset+"["+ ( k - grd_fixasetlist.fixedRows + 1) + "]"
  1396. model.copyNode( "/root/temp/fixasetlist[" + copycnt + "]",grd_fixasetlist.nodeset+"["+ ( k - grd_fixasetlist.fixedRows + 1) + "]" );
  1397. model.makeValue("/root/temp/fixasetlist[" + copycnt + "]/pggubun","SMRFC00300" );
  1398. copycnt += 1;
  1399. }
  1400. }
  1401. modal("SPRSC02103", "", "", "", "popup", "root/temp", "/root/temp" );
  1402. for (var k = grd_fixasetlist.fixedRows ; k < grd_fixasetlist.rows; k++) {
  1403. model.removenode("/root/temp/fixasetlist" );
  1404. // btn_search.dispatch("DOMActivate");
  1405. }
  1406. ]]>
  1407. </script>
  1408. </button>
  1409. <input id="ipt_vFlag" visibility="hidden" style="left:515px; top:95px; width:25px; height:19px; "/>
  1410. <button id="btn_chksrch" class="btn4_letter4" navindex="27" visibility="visible" style="left:814px; top:94px; width:80px; height:22px; ">
  1411. <caption>검수내역</caption>
  1412. <script type="javascript" ev:event="DOMActivate">
  1413. <![CDATA[
  1414. btn_addrow.dispatch("DOMActivate"); //행추가 초기화
  1415. var chkdd = getParameter("para_purcchkdd" );
  1416. var chkno = getParameter("para_purcchkno" );
  1417. // alert(chkdd);
  1418. // alert(chkno);
  1419. if(chkdd != "" && chkno != ""){
  1420. model.makeValue("/root/temp/purcchkdd" , chkdd);
  1421. model.makeValue("/root/temp/purcchkno" , chkno);
  1422. }
  1423. model.removenode("/root/copynode");
  1424. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1425. model.makeNode("/root/copynode");
  1426. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  1427. model.makeValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_conv.attribute("ref")));
  1428. model.makeValue("/root/main/fixasetdet/fixasettmplist/goodflag", "GE");
  1429. // modal("SPRFC01000");
  1430. modal("SPRFC01000", 1, 0, 0 ,"SPRFC01000","/root/temp", "/root/temp");
  1431. // btn_search.dispatch("DOMActivate");
  1432. if (getParameter("para_closeyn") != ""){
  1433. model.setValue(ipt_goodflaghngnm.attribute("ref") , getParameter("para_goodnm" ));
  1434. model.setValue(ipt_goodflagengnm.attribute("ref") , getParameter("para_goodnm" ));
  1435. model.setValue(ipt_goodspec.attribute("ref") , getParameter("para_goodspect" ));
  1436. model.setValue(ipt_cntrdeptcd.attribute("ref") , getParameter("para_cntrdeptcd" ));
  1437. model.setValue(ipt_cntrdeptnm.attribute("ref") , getParameter("para_cntrdeptnm" ));
  1438. model.setValue(ipt_mngtdeptcd.attribute("ref") , getParameter("para_mngtdeptcd" ));
  1439. model.setValue(ipt_mngtdeptnm.attribute("ref") , getParameter("para_mngtdeptnm" ));
  1440. model.setValue(ipt_installplcecd.attribute("ref") , getParameter("para_installplcecd" ));
  1441. model.setValue(ipt_installplcenm.attribute("ref") , getParameter("para_installplcenm" ));
  1442. model.setValue(ipt_suplplcecd.attribute("ref") , getParameter("para_suplplcecd" ));
  1443. model.setValue(ipt_suplplcenm.attribute("ref") , getParameter("para_suplplcenm" ));
  1444. model.setValue(ipt_acntcd.attribute("ref") , getParameter("para_acntcd" ));
  1445. model.setValue(ipt_acntnm.attribute("ref") , getParameter("para_acntnm" ));
  1446. model.setValue(ipt_amtacnt.attribute("ref") , getParameter("para_amtacnt" ));
  1447. model.setValue(ipt_amtacntnm.attribute("ref") , getParameter("para_amtacntnm" ));
  1448. model.setValue(ipt_fixasetunit.attribute("ref") , getParameter("para_fixasetunit" ));
  1449. model.setValue(ipt_possnamt.attribute("ref") , getParameter("para_possnamt" ));
  1450. model.makeValue(ipt_purcdmnddd.attribute("ref") , getParameter("para_purcdmnddd" ));
  1451. model.makeValue(ipt_purcdmndno.attribute("ref") , getParameter("para_purcdmndno" ));
  1452. model.makeValue(ipt_purcdmndseq.attribute("ref") , getParameter("para_purcdmndseq" ));
  1453. model.makeValue(ipt_fixasetcdcnt.attribute("ref") , getParameter("para_fixasetcdcnt" ));
  1454. model.makeValue(ipt_possndd.attribute("ref") , getParameter("para_purcchkdd" ));
  1455. model.makeValue(ipt_chkdd.attribute("ref") , getParameter("para_purcchkdd" ));
  1456. model.makeValue(ipt_condd.attribute("ref") , getParameter("para_purccondd" ));
  1457. model.makeValue(ipt_conno.attribute("ref") , getParameter("para_purcconno" ));
  1458. model.makeValue(ipt_conseq.attribute("ref") , getParameter("para_purcconseq" ));
  1459. model.makeValue(ipt_repayappdd.attribute("ref") , getParameter("para_purcchkdd" ));
  1460. model.makeValue("/root/temp/purcchkdd" , getParameter("para_purcchkdd" ));
  1461. model.makeValue("/root/temp/purcchkno" , getParameter("para_purcchkno" ));
  1462. }
  1463. model.refresh()
  1464. ]]>
  1465. </script>
  1466. </button>
  1467. <caption id="caption30" class="search_name" style="left:684px; top:97px; width:89px; height:17px; ">자산수량 :</caption>
  1468. <input id="ipt_fixasetcdcnt" ref="/root/main/fixasetdet/fixasettmplist/fixasetcdcnt" class="input_default" appearance="input" style="left:774px; top:96px; width:35px; height:19px; text-align:right; "/>
  1469. <input id="ipt_purcdmnddd" ref="/root/main/fixasetdet/fixasettmplist/purcdmnddd" visibility="hidden" style="left:545px; top:95px; width:25px; height:19px; text-align:center; "/>
  1470. <input id="ipt_purcdmndno" ref="/root/main/fixasetdet/fixasettmplist/purcdmndno" visibility="hidden" style="left:580px; top:95px; width:20px; height:19px; text-align:center; "/>
  1471. <input id="ipt_purcdmndseq" ref="/root/main/fixasetdet/fixasettmplist/purcdmndseq" visibility="hidden" style="left:600px; top:95px; width:15px; height:19px; text-align:center; "/>
  1472. <select1 id="cmb_repayflag" ref="/root/main/fixasetdet/fixasettmplist/repayflag" visibility="hidden" appearance="minimal" showvalue="true" style="left:383px; top:660px; width:177px; height:19px; ">
  1473. <choices>
  1474. <itemset>
  1475. <label/>
  1476. <value/>
  1477. </itemset>
  1478. </choices>
  1479. <script type="javascript" ev:event="xforms-value-changed">
  1480. <![CDATA[
  1481. // 20100217 [최형진] 감가상각관련
  1482. if(model.getValue(cmb_repayflag.attribute("ref")) == "3") {
  1483. cmb_repaymthd.disabled = true;
  1484. ipt_cntsyearno.disabled = true;
  1485. } else {
  1486. cmb_repaymthd.disabled = false;
  1487. ipt_cntsyearno.disabled = false;
  1488. }
  1489. ]]>
  1490. </script>
  1491. </select1>
  1492. <caption id="caption34" class="cell_1" visibility="hidden" style="left:310px; top:660px; width:72px; height:19px; vertical-align:middle; ">상각구분</caption>
  1493. <input id="ipt_suplcntctel" ref="/root/main/fixasetdet/fixasettmplist/suplcntctel" class="input_default" visibility="hidden" appearance="input" style="left:385px; top:680px; width:107px; height:19px; "/>
  1494. <caption id="caption8" class="cell_1" visibility="hidden" style="left:312px; top:680px; width:72px; height:19px; vertical-align:middle; ">연락처</caption>
  1495. <output id="opt_sumfla" ref="/root/init/reqamt" class="output_default" format="#,###" style="left:368px; top:100px; width:212px; height:19px; font-weight:bold; "/>
  1496. <caption id="caption39" class="tit_2" style="left:290px; top:103px; width:80px; height:23px; vertical-align:middle; ">총 금액 :</caption>
  1497. <caption id="caption40" class="tit_2" style="left:130px; top:103px; width:89px; height:13px; vertical-align:middle; ">비품 건수 :</caption>
  1498. <output id="opt_sumqty" ref="/root/init/reqcnt" class="output_default" format="#,###" style="left:218px; top:100px; width:50px; height:19px; font-weight:bold; "/>
  1499. <caption id="caption9" class="cell_1" visibility="hidden" style="left:600px; top:680px; width:72px; height:19px; vertical-align:middle; ">검수일</caption>
  1500. <input id="ipt_chkdd" ref="/root/main/fixasetdet/fixasettmplist/chkdd" class="input_default" visibility="hidden" inputtype="date" style="left:673px; top:680px; width:105px; height:19px; "/>
  1501. <button id="button2" class="btn4_letter6" navindex="26" visibility="visible" style="left:894px; top:94px; width:104px; height:22px; ">
  1502. <caption>기부채납내역</caption>
  1503. <script type="javascript" ev:event="DOMActivate">
  1504. <![CDATA[
  1505. model.removenode("/root/copynode");
  1506. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1507. model.makeNode("/root/copynode");
  1508. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  1509. model.makeValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_conv.attribute("ref")));
  1510. model.makeValue("/root/main/fixasetdet/fixasettmplist/goodflag", "GE");
  1511. modal("SMRWD20500");
  1512. if (getParameter("para_closeyn") != ""){
  1513. model.setValue(ipt_goodflaghngnm.attribute("ref") , getParameter("para_goodnm" )); //비품명칭
  1514. model.setValue(ipt_goodspec.attribute("ref") , getParameter("para_goodspect" )); //규격
  1515. model.setValue(ipt_possnamt.attribute("ref") , getParameter("para_goodpurccost" )); //금액
  1516. model.setValue(ipt_mngtdeptcd.attribute("ref") , getParameter("para_installplcecd" ));
  1517. model.setValue(ipt_mngtdeptnm.attribute("ref") , getParameter("para_installplcenm" ));
  1518. model.setValue(ipt_installplcecd.attribute("ref") , getParameter("para_installplcecd" ));
  1519. model.setValue(ipt_installplcenm.attribute("ref") , getParameter("para_installplcenm" ));
  1520. model.setValue(ipt_repayappdd.attribute("ref") , getParameter("para_purdd" )); //상각적용일
  1521. model.setValue(ipt_possndd.attribute("ref") , getParameter("para_purdd" )); //취득일
  1522. model.setValue(cmb_acqtflag.attribute("ref") , "1");
  1523. model.setValue(ipt_contributor.attribute("ref") , getParameter("para_emplno" )); //기부자
  1524. model.setValue(ipt_fundsorigincnts.attribute("ref") , getParameter("para_acntcd" )); //자금출처
  1525. }
  1526. model.refresh()
  1527. ]]>
  1528. </script>
  1529. </button>
  1530. <group id="grp_detail" style="left:0px; top:340px; width:1193px; height:221px; ">
  1531. <input id="ipt_installplcenm" ref="/root/main/fixasetdet/fixasettmplist/installplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:170px; top:120px; width:110px; height:19px; "/>
  1532. <select1 id="cmb_smlcd" ref="/root/main/fixasetdet/fixasettmplist/smlcd" navindex="36" appearance="minimal" style="left:75px; top:60px; width:205px; height:19px; text-align:left; ">
  1533. <choices>
  1534. <itemset>
  1535. <label/>
  1536. <value/>
  1537. </itemset>
  1538. </choices>
  1539. <script type="javascript" ev:event="xforms-value-changed">
  1540. <![CDATA[
  1541. var smlcd = model.getValue((cmb_smlcd.attribute("ref")));
  1542. if (smlcd.getTrim() != ""){
  1543. model.setValue(ipt_fixasetcd.attribute("ref"), "");
  1544. }
  1545. //
  1546. // rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M");
  1547. // cmb_mdlcd_search.dispatch("xforms-value-changed");
  1548. // //model.refresh();
  1549. ]]>
  1550. </script>
  1551. </select1>
  1552. <select1 id="cmb_lrgcd" ref="/root/main/fixasetdet/fixasettmplist/lrgcd" navindex="34" appearance="minimal" style="left:75px; top:20px; width:205px; height:19px; text-align:left; ">
  1553. <choices>
  1554. <itemset>
  1555. <label/>
  1556. <value/>
  1557. </itemset>
  1558. </choices>
  1559. <script type="javascript" ev:event="xforms-value-changed">
  1560. <![CDATA[
  1561. var lrgcd = model.getValue(cmb_lrgcd.attribute("ref"));
  1562. misfChangeItemsetFilter(cmb_mdlcd,"lrgcd='" + lrgcd + "'");
  1563. model.setValue(cmb_mdlcd.attribute("ref"),"");
  1564. cmb_mdlcd.refresh();
  1565. cmb_mdlcd.dispatch("xforms-value-changed");
  1566. ]]>
  1567. </script>
  1568. </select1>
  1569. <button id="btn_mngtdeptcd" class="icon_search" style="left:152px; top:100px; width:16px; height:16px; ">
  1570. <caption/>
  1571. <script type="javascript" ev:event="DOMActivate">
  1572. <![CDATA[
  1573. rszfOpenPopUpListByWndName(ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm","SPRPZ00800","instcd","cmb_instcd_search");
  1574. ipt_mngtdeptnm.refresh();
  1575. ipt_mngtdeptcd.refresh();
  1576. ]]>
  1577. </script>
  1578. </button>
  1579. <caption id="cap_suplplcecd" class="cell_1" style="left:2px; top:160px; width:72px; height:19px; vertical-align:middle; ">공급처</caption>
  1580. <input id="ipt_installplcecd" ref="/root/main/fixasetdet/fixasettmplist/installplcecd" class="input_essential" navindex="38" appearance="input" style="left:75px; top:120px; width:75px; height:19px; ">
  1581. <script type="javascript" ev:event="xforms-value-changed">
  1582. <![CDATA[
  1583. if(ipt_installplcecd.value.length == 0)
  1584. ipt_installplcenm.value = "";
  1585. else
  1586. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  1587. "deptcd," + ipt_installplcecd.value, "", "installplcecd,installplcenm",
  1588. ipt_installplcecd, "PPRAC00700", "","");
  1589. ipt_installplcenm.refresh();
  1590. ipt_installplcecd.refresh();
  1591. ]]>
  1592. </script>
  1593. </input>
  1594. <input id="ipt_fixasetunit" ref="/root/main/fixasetdet/fixasettmplist/fixasetunit" navindex="41" visibility="visible" appearance="minimal" style="left:75px; top:180px; width:55px; height:19px; "/>
  1595. <select1 id="cmb_mdlcd" ref="/root/main/fixasetdet/fixasettmplist/mdlcd" navindex="35" appearance="minimal" style="left:75px; top:40px; width:205px; height:19px; text-align:left; ">
  1596. <choices>
  1597. <itemset>
  1598. <label/>
  1599. <value/>
  1600. </itemset>
  1601. </choices>
  1602. <script type="javascript" ev:event="xforms-value-changed">
  1603. <![CDATA[
  1604. rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S");
  1605. cmb_smlcd.refresh();
  1606. if(fCheckOuterFixaset()) {
  1607. grp_outerfixaset.visible = true;
  1608. } else {
  1609. grp_outerfixaset.visible = false;
  1610. }
  1611. grp_outerfixaset.refresh();
  1612. ]]>
  1613. </script>
  1614. </select1>
  1615. <caption id="cap_possnamt" class="cell_1" visibility="visible" style="left:132px; top:180px; width:67px; height:19px; vertical-align:middle; ">구입금액</caption>
  1616. <input id="ipt_possnamt" ref="/root/main/fixasetdet/fixasettmplist/possnamt" class="input_default" navindex="42" visibility="visible" format="#,###" appearance="input" style="left:201px; top:180px; width:79px; height:19px; text-align:right; "/>
  1617. <caption id="cap_fixasetunit" class="cell_1" visibility="visible" style="left:2px; top:180px; width:72px; height:19px; vertical-align:middle; ">단위</caption>
  1618. <input id="ipt_cntrdeptnm" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:170px; top:80px; width:110px; height:19px; "/>
  1619. <button id="btn_goodcdcopy" class="btn2_letter4" navindex="33" style="left:215px; top:0px; width:64px; height:19px; ">
  1620. <caption>코드생성</caption>
  1621. <script type="javascript" ev:event="DOMActivate">
  1622. <![CDATA[
  1623. model.setValue(chk_outerfixaset.attribute("ref"),"N");
  1624. fGoodCdCopy();
  1625. fDeprcBaseList("/root/send/deprcbase", "/root/main/deprcbaseinfo");
  1626. model.setValue(cmb_repaymthd.attribute("ref") , model.getValue("/root/main/deprcbaseinfo/deprcbaselist/repaymthd"));
  1627. model.setValue(ipt_cntsyearno.attribute("ref"), model.getValue("/root/main/deprcbaseinfo/deprcbaselist/cntsyearno"));
  1628. model.setValue(ipt_repayrate.attribute("ref") , model.getValue("/root/main/deprcbaseinfo/deprcbaselist/repayrate"));
  1629. cmb_repaymthd.refresh();
  1630. ipt_cntsyearno.refresh();
  1631. ipt_repayrate.refresh();
  1632. fSetOuterFixaset();
  1633. ]]>
  1634. </script>
  1635. </button>
  1636. <caption id="cap_mngtdeptcd" class="cell_1" style="left:2px; top:100px; width:72px; height:19px; vertical-align:middle; ">사용부서</caption>
  1637. <caption id="cap_smlcd" class="cell_1" style="left:2px; top:60px; width:72px; height:19px; vertical-align:middle; ">소분류</caption>
  1638. <caption id="cap_lrgcd" class="cell_1" style="left:2px; top:20px; width:72px; height:19px; vertical-align:middle; ">대분류</caption>
  1639. <input id="ipt_cntrdeptcd" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptcd" class="input_default" appearance="input" style="left:75px; top:80px; width:75px; height:19px; ">
  1640. <script type="javascript" ev:event="xforms-value-changed">
  1641. <![CDATA[
  1642. misfSearchDept(ipt_cntrdeptnm);
  1643. ]]>
  1644. </script>
  1645. </input>
  1646. <input id="ipt_suplplcenm" ref="/root/main/fixasetdet/fixasettmplist/suplplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:155px; top:160px; width:125px; height:19px; "/>
  1647. <button id="btn_installplcecd" class="icon_search" style="left:152px; top:120px; width:16px; height:16px; ">
  1648. <caption/>
  1649. <script type="javascript" ev:event="DOMActivate">
  1650. <![CDATA[
  1651. misfOpenPopUpList("19", ipt_installplcecd,"", "installplcecd,installplcenm") ;
  1652. ipt_installplcenm.refresh();
  1653. ipt_installplcecd.refresh();
  1654. ]]>
  1655. </script>
  1656. </button>
  1657. <caption id="cap_mdlcd" class="cell_1" style="left:2px; top:40px; width:72px; height:19px; vertical-align:middle; ">중분류</caption>
  1658. <input id="ipt_suplplcecd" ref="/root/main/fixasetdet/fixasettmplist/suplplcecd" class="input_default" navindex="40" appearance="input" style="left:75px; top:160px; width:60px; height:19px; ">
  1659. <script type="javascript" ev:event="xforms-value-changed">
  1660. <![CDATA[
  1661. misfSearchCust(ipt_suplplcenm,cmb_instcd_conv);
  1662. ]]>
  1663. </script>
  1664. </input>
  1665. <input id="ipt_mngtdeptnm" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:170px; top:100px; width:110px; height:19px; "/>
  1666. <caption id="cap_installplcecd" class="cell_1" style="left:2px; top:120px; width:72px; height:19px; vertical-align:middle; ">설치장소</caption>
  1667. <button id="btn_cntrdeptcd" class="icon_search" style="left:152px; top:80px; width:16px; height:16px; ">
  1668. <caption/>
  1669. <script type="javascript" ev:event="DOMActivate">
  1670. <![CDATA[
  1671. misfOpenPopUpList("02", ipt_cntrdeptcd,"","cntrdeptcd,cntrdeptnm");
  1672. ipt_cntrdeptnm.refresh();
  1673. ipt_cntrdeptcd.refresh();
  1674. ]]>
  1675. </script>
  1676. </button>
  1677. <input id="ipt_mngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptcd" class="input_essential" navindex="37" appearance="input" style="left:75px; top:100px; width:75px; height:19px; ">
  1678. <script type="javascript" ev:event="xforms-value-changed">
  1679. <![CDATA[
  1680. misfSearchDept(ipt_mngtdeptnm);
  1681. ]]>
  1682. </script>
  1683. </input>
  1684. <input id="ipt_fixasetcd" ref="/root/main/fixasetdet/fixasettmplist/fixasetcd" class="input_essential" navindex="32" appearance="input" style="left:75px; top:0px; width:137px; height:19px; "/>
  1685. <input id="ipt_acntnm" ref="/root/main/fixasetdet/fixasettmplist/acntnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:155px; top:200px; width:125px; height:19px; "/>
  1686. <caption id="cap_acntcd" class="cell_1" style="left:2px; top:200px; width:72px; height:19px; vertical-align:middle; ">입고계정</caption>
  1687. <caption id="cap_fixasetcd" class="cell_1" style="left:2px; top:0px; width:72px; height:19px; vertical-align:middle; ">비품코드</caption>
  1688. <button id="btn_suplplcecd" class="icon_search" style="left:137px; top:160px; width:16px; height:16px; ">
  1689. <caption/>
  1690. <script type="javascript" ev:event="DOMActivate">
  1691. <![CDATA[
  1692. rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd_conv");
  1693. //model.refresh();
  1694. ipt_suplplcecd.refresh();
  1695. ipt_suplplcenm.refresh();
  1696. ]]>
  1697. </script>
  1698. </button>
  1699. <button id="btn_acntcd" class="icon_search" style="left:137px; top:200px; width:16px; height:16px; ">
  1700. <caption/>
  1701. <script type="javascript" ev:event="DOMActivate">
  1702. <![CDATA[
  1703. rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100_계정코드HELP","","");
  1704. //model.refresh();
  1705. ipt_acntnm.refresh();
  1706. ipt_acntcd.refresh();
  1707. ]]>
  1708. </script>
  1709. </button>
  1710. <input id="ipt_acntcd" ref="/root/main/fixasetdet/fixasettmplist/acntcd" class="input_default" navindex="43" appearance="input" style="left:75px; top:200px; width:60px; height:19px; ">
  1711. <script type="javascript" ev:event="xforms-value-changed">
  1712. <![CDATA[
  1713. if(ipt_acntcd.value.length == 0)
  1714. ipt_acntnm.value = "";
  1715. else
  1716. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
  1717. ",Y,2," + ipt_acntcd.value, "", "acntcd,acntnm",
  1718. ipt_acntcd, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd");
  1719. //model.refresh();
  1720. ipt_acntnm.refresh();
  1721. ipt_acntcd.refresh();
  1722. ]]>
  1723. </script>
  1724. </input>
  1725. <caption id="cap_cntrdeptcd" class="cell_1" style="left:2px; top:80px; width:72px; height:19px; vertical-align:middle; ">청구부서</caption>
  1726. <input id="ipt_welfcd" ref="/root/main/fixasetdet/fixasettmplist/welfcd" class="input_default" navindex="61" visibility="visible" appearance="input" style="left:608px; top:100px; width:105px; height:19px; text-align:left; "/>
  1727. <input id="ipt_repayrate" ref="/root/main/fixasetdet/fixasettmplist/repayrate" class="input_default" navindex="52" visibility="visible" editable="true" appearance="input" style="left:355px; top:140px; width:177px; height:19px; text-align:right; padding-right:10; "/>
  1728. <caption id="cap_goodflaghngnm" class="cell_1" visibility="visible" style="left:282px; top:0px; width:72px; height:19px; vertical-align:middle; ">비품명칭</caption>
  1729. <select1 id="cmb_repaymthd" ref="/root/main/fixasetdet/fixasettmplist/repaymthd" navindex="50" appearance="minimal" style="left:355px; top:120px; width:82px; height:19px; text-align:center; ">
  1730. <choices>
  1731. <itemset>
  1732. <label/>
  1733. <value/>
  1734. </itemset>
  1735. </choices>
  1736. </select1>
  1737. <caption id="cap_usge" class="cell_1" visibility="visible" style="left:916px; top:100px; width:72px; height:19px; vertical-align:middle; ">용도</caption>
  1738. <button id="btn_prodcmpy" class="icon_search" navindex="90" visibility="visible" style="left:1171px; top:120px; width:16px; height:16px; ">
  1739. <caption/>
  1740. <script type="javascript" ev:event="DOMActivate">
  1741. <![CDATA[
  1742. rszfOpenPopUpListByWndName(ipt_prodcmpy,"","prodcmpy,prodcmpynm","SPRSD00160","","");
  1743. ipt_prodcmpynm.refresh();
  1744. ]]>
  1745. </script>
  1746. </button>
  1747. <caption id="cap_prodcmpy" class="cell_1" visibility="visible" style="left:916px; top:120px; width:72px; height:19px; vertical-align:middle; ">제조회사</caption>
  1748. <textarea id="ipt_cmt" ref="/root/main/fixasetdet/fixasettmplist/cmt" navindex="66" maxlength="100" appearance="textarea" style="left:608px; top:200px; width:305px; height:19px; ">
  1749. <script type="javascript" ev:event="onmaxlength">
  1750. <![CDATA[
  1751. model.setFocus("ipt_cmt");
  1752. messageBox("입력 가능한 글자수 초과","I009");
  1753. ]]>
  1754. </script>
  1755. </textarea>
  1756. <input id="ipt_prodcmpy" ref="/root/main/fixasetdet/fixasettmplist/prodcmpy" visibility="visible" style="left:1026px; top:120px; width:44px; height:19px; "/>
  1757. <input id="ipt_fundsorigincnts" ref="/root/main/fixasetdet/fixasettmplist/fundsorigincnts" class="input_default" navindex="69" visibility="visible" appearance="input" style="left:789px; top:40px; width:123px; height:19px; text-align:left; "/>
  1758. <input id="ipt_mngtno" ref="/root/main/fixasetdet/fixasettmplist/mngtno" class="input_default" navindex="80" visibility="visible" appearance="input" style="left:989px; top:80px; width:200px; height:19px; "/>
  1759. <caption id="caption41" class="cell_1" visibility="hidden" style="left:916px; top:0px; width:72px; height:19px; vertical-align:middle; ">기타내용</caption>
  1760. <caption id="caption31" class="cell_1" visibility="visible" style="left:715px; top:20px; width:72px; height:19px; vertical-align:middle; ">기부자</caption>
  1761. <input id="ipt_contributor" ref="/root/main/fixasetdet/fixasettmplist/contributor" class="input_default" navindex="68" visibility="visible" appearance="input" style="left:789px; top:20px; width:123px; height:19px; text-align:left; "/>
  1762. <input id="ipt_incmpemtno" ref="/root/main/fixasetdet/fixasettmplist/incmpemtno" navindex="88" visibility="visible" appearance="input" style="left:989px; top:200px; width:200px; height:19px; text-align:left; "/>
  1763. <input id="ipt_repayenddd" ref="/root/main/fixasetdet/fixasettmplist/repayenddd" class="input_default" navindex="49" visibility="visible" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:355px; top:100px; width:177px; height:19px; "/>
  1764. <caption id="cap_condd" class="cell_1" visibility="visible" style="left:535px; top:60px; width:72px; height:19px; vertical-align:middle; ">계약일</caption>
  1765. <caption id="cap_catalog" class="cell_1" visibility="visible" style="left:282px; top:160px; width:72px; height:19px; vertical-align:middle; ">카탈로그</caption>
  1766. <caption id="cap_fixtrflag" class="cell_1" visibility="visible" style="left:535px; top:120px; width:72px; height:19px; vertical-align:middle; ">비품구분</caption>
  1767. <caption id="caption10" class="cell_1" visibility="visible" style="left:916px; top:180px; width:72px; height:19px; vertical-align:middle; ">보증기간</caption>
  1768. <caption id="cap_asetflagmaineqmtflag" class="cell_1" visibility="visible" style="left:282px; top:180px; width:72px; height:19px; vertical-align:middle; ">관리구분</caption>
  1769. <input id="ipt_goodflagengnm" ref="/root/main/fixasetdet/fixasettmplist/goodflagengnm" class="input_essential" navindex="45" visibility="visible" appearance="input" style="left:355px; top:20px; width:177px; height:19px; "/>
  1770. <caption id="cap_etcwln" class="cell_1" visibility="visible" style="left:282px; top:200px; width:72px; height:19px; vertical-align:middle; ">기타입고</caption>
  1771. <caption id="caption33" class="cell_1" visibility="visible" style="left:715px; top:40px; width:72px; height:19px; vertical-align:middle; ">기부출처</caption>
  1772. <input id="ipt_amtacntnm" ref="/root/main/fixasetdet/fixasettmplist/amtacntnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:1081px; top:0px; width:108px; height:19px; "/>
  1773. <input id="ipt_etcaddamt" ref="/root/main/fixasetdet/fixasettmplist/etcaddamt" class="input_default" navindex="70" visibility="visible" format="#,###" appearance="input" style="left:789px; top:60px; width:123px; height:19px; text-align:right; "/>
  1774. <caption id="caption11" class="cell_1" visibility="visible" style="left:715px; top:80px; width:72px; height:19px; vertical-align:middle; ">내/외자</caption>
  1775. <select1 id="rdo_lseyn" ref="/root/main/fixasetdet/fixasettmplist/lseyn" navindex="73" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:120px; width:123px; height:20px; background-color:transparent; border-style:none; ">
  1776. <choices>
  1777. <itemset nodeset="/root/init/lseyn">
  1778. <label ref="label"/>
  1779. <value ref="value"/>
  1780. </itemset>
  1781. </choices>
  1782. </select1>
  1783. <caption id="cap_entrasetyn" class="cell_1" visibility="visible" style="left:715px; top:140px; width:72px; height:19px; vertical-align:middle; ">고유목적</caption>
  1784. <caption id="cap_etcaddamt" class="cell_1" visibility="visible" style="left:715px; top:60px; width:72px; height:19px; vertical-align:middle; ">부대비용</caption>
  1785. <caption id="caption23" class="cell_1" visibility="visible" style="left:282px; top:120px; width:72px; height:19px; vertical-align:middle; ">상각방법</caption>
  1786. <caption id="caption12" class="cell_1" visibility="visible" style="left:715px; top:100px; width:72px; height:19px; vertical-align:middle; ">수익성평가</caption>
  1787. <select1 id="rdo_asetflagmaineqmtflag" ref="/root/main/fixasetdet/fixasettmplist/asetflag_maineqmtflag" navindex="54" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:355px; top:180px; width:177px; height:20px; background-color:transparent; border-style:none; ">
  1788. <choices>
  1789. <itemset nodeset="/root/init/asetflagmaineqmtflag">
  1790. <label ref="label"/>
  1791. <value ref="value"/>
  1792. </itemset>
  1793. </choices>
  1794. </select1>
  1795. <input id="ipt_forgncurncyamt" ref="/root/main/fixasetdet/fixasettmplist/forgncurncyamt" class="input_default" navindex="84" visibility="visible" format="#,###" appearance="input" style="left:989px; top:160px; width:98px; height:19px; text-align:right; "/>
  1796. <input id="ipt_goodspec" ref="/root/main/fixasetdet/fixasettmplist/goodspec" class="input_default" navindex="46" visibility="visible" appearance="input" style="left:355px; top:40px; width:177px; height:19px; "/>
  1797. <caption id="cap_goodspec" class="cell_1" visibility="visible" style="left:282px; top:40px; width:72px; height:19px; vertical-align:middle; ">규격</caption>
  1798. <input id="ipt_delivetermmm" ref="/root/main/fixasetdet/fixasettmplist/delivetermmm" class="input_default" navindex="60" visibility="visible" inputtype="date" appearance="input" style="left:608px; top:80px; width:105px; height:19px; "/>
  1799. <caption id="caption35" class="cell_1" visibility="visible" style="left:535px; top:100px; width:72px; height:19px; vertical-align:middle; ">보사부코드</caption>
  1800. <select1 id="rdo_fixtrflag" ref="/root/main/fixasetdet/fixasettmplist/fixtrflag" navindex="62" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:608px; top:120px; width:105px; height:20px; background-color:transparent; border-style:none; ">
  1801. <choices>
  1802. <item>
  1803. <label>집기</label>
  1804. <value>1</value>
  1805. </item>
  1806. <item>
  1807. <label>일반</label>
  1808. <value>2</value>
  1809. </item>
  1810. </choices>
  1811. </select1>
  1812. <caption id="caption24" class="cell_1" visibility="visible" style="left:282px; top:140px; width:72px; height:19px; vertical-align:middle; ">상각율</caption>
  1813. <caption id="caption13" class="cell_1" visibility="visible" style="left:715px; top:120px; width:72px; height:19px; vertical-align:middle; ">리스자산</caption>
  1814. <caption id="caption4" class="cell_1" visibility="visible" style="left:916px; top:80px; width:72px; height:19px; vertical-align:middle; ">SERIAL NO</caption>
  1815. <input id="ipt_agency" ref="/root/main/fixasetdet/fixasettmplist/agency" class="input_default" navindex="78" visibility="visible" style="left:989px; top:40px; width:200px; height:19px; "/>
  1816. <input id="ipt_goodflaghngnm" ref="/root/main/fixasetdet/fixasettmplist/goodflaghngnm" class="input_essential" navindex="44" visibility="visible" appearance="input" style="left:355px; top:0px; width:177px; height:19px; "/>
  1817. <caption id="cap_delivetermmm" class="cell_1" visibility="visible" style="left:535px; top:80px; width:72px; height:19px; vertical-align:middle; ">계약만료일</caption>
  1818. <caption id="caption25" class="cell_1" visibility="visible" style="left:282px; top:100px; width:72px; height:19px; vertical-align:middle; ">상각완료일</caption>
  1819. <caption id="caption14" class="cell_1" visibility="visible" style="left:916px; top:20px; width:72px; height:19px; vertical-align:middle; ">메뉴얼장소</caption>
  1820. <caption id="caption5" class="cell_1" visibility="visible" style="left:916px; top:160px; width:72px; height:19px; vertical-align:middle; ">외화액</caption>
  1821. <input id="ipt_goodmodel" ref="/root/main/fixasetdet/fixasettmplist/goodmodel" class="input_default" navindex="47" visibility="visible" appearance="input" style="left:355px; top:60px; width:177px; height:19px; "/>
  1822. <caption id="cap_cmt" class="cell_1" style="left:535px; top:200px; width:72px; height:19px; vertical-align:middle; ">비고</caption>
  1823. <button id="btn_amtacnt" class="icon_search" style="left:1062px; top:0px; width:16px; height:16px; ">
  1824. <caption/>
  1825. <script type="javascript" ev:event="DOMActivate">
  1826. <![CDATA[
  1827. rszfOpenPopUpListByWndName(ipt_acntcd,"","amtacnt,amtacntnm","PPRAC00100","","");
  1828. ipt_amtacnt.refresh();
  1829. ipt_amtacntnm.refresh();
  1830. ]]>
  1831. </script>
  1832. </button>
  1833. <caption id="caption26" class="cell_1" visibility="visible" style="left:438px; top:120px; width:61px; height:19px; vertical-align:middle; ">내용연수</caption>
  1834. <caption id="caption15" class="cell_1" visibility="visible" style="left:916px; top:40px; width:72px; height:19px; vertical-align:middle; ">AS 대리점</caption>
  1835. <input id="ipt_repayappdd" ref="/root/main/fixasetdet/fixasettmplist/repayappdd" class="input_default" navindex="48" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:355px; top:80px; width:177px; height:19px; "/>
  1836. <input id="ipt_flwgrnttermto" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermto" class="input_default" navindex="87" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:1091px; top:180px; width:98px; height:19px; "/>
  1837. <input id="ipt_flwgrnttermfr" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermfr" class="input_default" navindex="86" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:989px; top:180px; width:98px; height:19px; "/>
  1838. <input id="ipt_usge" ref="/root/main/fixasetdet/fixasettmplist/usge" class="input_default" navindex="81" visibility="visible" appearance="input" style="left:989px; top:100px; width:200px; height:19px; "/>
  1839. <caption id="cap_goodmodel" class="cell_1" visibility="visible" style="left:282px; top:60px; width:72px; height:19px; vertical-align:middle; ">모델명</caption>
  1840. <caption id="cap_fundorigin" class="cell_1" visibility="visible" style="left:715px; top:0px; width:72px; height:19px; vertical-align:middle; ">자금출처</caption>
  1841. <input id="ipt_condd" ref="/root/main/fixasetdet/fixasettmplist/condd" class="input_default" navindex="59" visibility="visible" inputtype="date" style="left:608px; top:60px; width:105px; height:19px; "/>
  1842. <input id="ipt_possndd" ref="/root/main/fixasetdet/fixasettmplist/possndd" class="input_default" navindex="58" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:608px; top:40px; width:105px; height:19px; "/>
  1843. <select1 id="cmb_acqtflag" ref="/root/main/fixasetdet/fixasettmplist/acqtflag" navindex="56" visibility="visible" appearance="minimal" style="left:608px; top:0px; width:105px; height:19px; text-align:center; ">
  1844. <choices>
  1845. <itemset>
  1846. <label/>
  1847. <value/>
  1848. </itemset>
  1849. </choices>
  1850. </select1>
  1851. <caption id="cap_acqtflag" class="cell_1" visibility="visible" style="left:535px; top:0px; width:72px; height:19px; vertical-align:middle; ">도입구분</caption>
  1852. <input id="ipt_catalog" ref="/root/main/fixasetdet/fixasettmplist/catalog" class="output_fix" disabled="true" navindex="53" visibility="visible" editable="false" appearance="input" style="left:355px; top:160px; width:177px; height:19px; "/>
  1853. <caption id="caption16" class="cell_1" visibility="visible" style="left:715px; top:160px; width:72px; height:19px; vertical-align:middle; ">예방점검</caption>
  1854. <input id="ipt_prodcmpynm" ref="/root/main/fixasetdet/fixasettmplist/prodcmpynm" class="input_fix" navindex="82" visibility="visible" appearance="input" style="left:989px; top:120px; width:179px; height:19px; ">
  1855. <script type="javascript" ev:event="xforms-value-changed">
  1856. <![CDATA[
  1857. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  1858. "prodcmpynm,," + ipt_prodcmpynm.value, "", "prodcmpycd,prodcmpynm",
  1859. ipt_prodcmpynm, "SPRSD00160", "","");
  1860. ipt_prodcmpynm.refresh();
  1861. ]]>
  1862. </script>
  1863. </input>
  1864. <select1 id="cmb_fundorigin" ref="/root/main/fixasetdet/fixasettmplist/fundorigin" disabled="true" navindex="67" visibility="visible" appearance="minimal" style="left:789px; top:0px; width:123px; height:19px; text-align:center; ">
  1865. <choices>
  1866. <itemset>
  1867. <label/>
  1868. <value/>
  1869. </itemset>
  1870. </choices>
  1871. <script type="javascript" ev:event="xforms-value-changed">
  1872. <![CDATA[
  1873. var visibleFlag = false;
  1874. if(cmb_fundorigin.value == "03"){
  1875. visibleFlag = true;
  1876. }
  1877. caption41.visible = visibleFlag;
  1878. ipt_etccnts.visible = visibleFlag;
  1879. caption29.visible = !visibleFlag;
  1880. ipt_amtacnt.visible = !visibleFlag;
  1881. btn_amtacnt.visible = !visibleFlag;
  1882. ipt_amtacntnm.visible = !visibleFlag;
  1883. ]]>
  1884. </script>
  1885. </select1>
  1886. <caption id="caption17" class="cell_1" visibility="visible" style="left:916px; top:60px; width:72px; height:19px; vertical-align:middle; ">AS 연락처</caption>
  1887. <select1 id="rdo_possnflagcd" ref="/root/main/fixasetdet/fixasettmplist/possnflagcd" navindex="71" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:80px; width:123px; height:20px; background-color:transparent; border-style:none; ">
  1888. <choices>
  1889. <itemset nodeset="/root/init/possnflagcd">
  1890. <label ref="label"/>
  1891. <value ref="value"/>
  1892. </itemset>
  1893. </choices>
  1894. </select1>
  1895. <caption id="caption29" class="cell_1" style="left:916px; top:0px; width:72px; height:19px; vertical-align:middle; ">계정과목</caption>
  1896. <select1 id="rdo_entrasetyn" ref="/root/main/fixasetdet/fixasettmplist/entrasetyn" navindex="74" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:140px; width:123px; height:20px; background-color:transparent; border-style:none; ">
  1897. <choices>
  1898. <itemset nodeset="/root/init/entrasetyn">
  1899. <label ref="label"/>
  1900. <value ref="value"/>
  1901. </itemset>
  1902. </choices>
  1903. </select1>
  1904. <caption id="caption18" class="cell_1" visibility="visible" style="left:282px; top:80px; width:72px; height:19px; vertical-align:middle; ">상각적용일</caption>
  1905. <input id="ipt_etccnts" ref="/root/main/fixasetdet/fixasettmplist/etccnts" class="input_default" visibility="hidden" style="left:990px; top:0px; width:199px; height:19px; "/>
  1906. <input id="ipt_cntsyearno" ref="/root/main/fixasetdet/fixasettmplist/cntsyearno" class="input_default" navindex="51" visibility="visible" appearance="input" style="left:500px; top:120px; width:32px; height:19px; text-align:right; padding-right:5; "/>
  1907. <caption id="cap_incmpemtno" class="cell_1" visibility="visible" style="left:916px; top:200px; width:72px; height:19px; vertical-align:middle; ">허가번호</caption>
  1908. <caption id="cap_goodflagengnm" class="cell_1" visibility="visible" style="left:282px; top:20px; width:72px; height:19px; vertical-align:middle; ">영문명칭</caption>
  1909. <select1 id="cmb_curncyunit" ref="/root/main/fixasetdet/fixasettmplist/curncyunit" navindex="85" visibility="visible" appearance="minimal" style="left:1091px; top:160px; width:98px; height:19px; ">
  1910. <choices>
  1911. <itemset>
  1912. <label/>
  1913. <value/>
  1914. </itemset>
  1915. </choices>
  1916. </select1>
  1917. <input id="ipt_smplce" ref="/root/main/fixasetdet/fixasettmplist/smplce" class="input_default" navindex="77" visibility="visible" style="left:989px; top:20px; width:200px; height:19px; "/>
  1918. <caption id="cap_winno" class="cell_1" visibility="visible" style="left:535px; top:40px; width:72px; height:19px; vertical-align:middle; ">취득일</caption>
  1919. <select1 id="cmb_etcwln" ref="/root/main/fixasetdet/fixasettmplist/etcwln" navindex="55" visibility="visible" appearance="minimal" style="left:355px; top:200px; width:177px; height:19px; text-align:center; ">
  1920. <choices>
  1921. <itemset>
  1922. <label/>
  1923. <value/>
  1924. </itemset>
  1925. </choices>
  1926. </select1>
  1927. <input id="ipt_amtacnt" ref="/root/main/fixasetdet/fixasettmplist/amtacnt" class="input_default" navindex="76" appearance="input" style="left:989px; top:0px; width:70px; height:19px; ">
  1928. <script type="javascript" ev:event="xforms-value-changed">
  1929. <![CDATA[
  1930. if(ipt_amtacnt.value.length == 0)
  1931. ipt_amtacntnm.value = "";
  1932. else
  1933. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_amtacnt.attribute("ref")) ,"","amtacnt,amtacntnm" ,ipt_amtacnt,"PPRAC00100","","");
  1934. ipt_amtacnt.refresh();
  1935. ipt_amtacntnm.refresh();
  1936. ]]>
  1937. </script>
  1938. </input>
  1939. <select1 id="rdo_prvnchkyn" ref="/root/main/fixasetdet/fixasettmplist/prvnchkyn" navindex="75" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:160px; width:123px; height:20px; background-color:transparent; border-style:none; ">
  1940. <choices>
  1941. <itemset nodeset="/root/init/prvnchkyn">
  1942. <label ref="label"/>
  1943. <value ref="value"/>
  1944. </itemset>
  1945. </choices>
  1946. </select1>
  1947. <input id="ipt_agencycntctel" ref="/root/main/fixasetdet/fixasettmplist/agencycntctel" class="input_default" navindex="79" visibility="visible" style="left:989px; top:60px; width:200px; height:19px; "/>
  1948. <select1 id="rdo_earnvaluyn" ref="/root/main/fixasetdet/fixasettmplist/earnvaluyn" navindex="72" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:100px; width:123px; height:20px; background-color:transparent; border-style:none; ">
  1949. <choices>
  1950. <itemset nodeset="/root/init/suik">
  1951. <label ref="label"/>
  1952. <value ref="value"/>
  1953. </itemset>
  1954. </choices>
  1955. </select1>
  1956. <select1 id="cmb_prodplce" ref="/root/main/fixasetdet/fixasettmplist/prodplce" navindex="83" visibility="visible" appearance="minimal" style="left:989px; top:140px; width:200px; height:19px; ">
  1957. <choices>
  1958. <itemset>
  1959. <label/>
  1960. <value/>
  1961. </itemset>
  1962. </choices>
  1963. </select1>
  1964. <caption id="cap_prodplce" class="cell_1" visibility="visible" style="left:916px; top:140px; width:72px; height:19px; vertical-align:middle; ">제조국</caption>
  1965. <select1 id="cmb_dsplflag" ref="/root/main/fixasetdet/fixasettmplist/dsplflag" disabled="true" navindex="57" visibility="visible" appearance="minimal" style="left:608px; top:20px; width:105px; height:19px; ">
  1966. <choices>
  1967. <itemset>
  1968. <label/>
  1969. <value/>
  1970. </itemset>
  1971. </choices>
  1972. <script type="javascript" ev:event="xforms-value-changed">
  1973. <![CDATA[
  1974. var value = cmb_dsplflag.value;
  1975. if(value == "1" || value == "2" || value == "3") {
  1976. alert("폐기, 매각, 망실은 선택이 불가합니다.");
  1977. cmb_dsplflag.value = preDsplflag;
  1978. cmb_dsplflag.refresh();
  1979. }
  1980. ]]>
  1981. </script>
  1982. </select1>
  1983. <caption id="cap_dsplflag" class="cell_1" visibility="visible" style="left:535px; top:20px; width:72px; height:19px; vertical-align:middle; ">처분구분</caption>
  1984. <select1 id="cmb_oskind" ref="/root/main/fixasetdet/fixasettmplist/oskind" navindex="63" visibility="visible" appearance="minimal" style="left:608px; top:140px; width:105px; height:19px; ">
  1985. <choices>
  1986. <itemset>
  1987. <label/>
  1988. <value/>
  1989. </itemset>
  1990. </choices>
  1991. </select1>
  1992. <caption id="caption22" class="cell_1" visibility="visible" style="left:535px; top:140px; width:72px; height:19px; vertical-align:middle; ">OS종류</caption>
  1993. <caption id="caption43" class="cell_1" visibility="visible" style="left:535px; top:160px; width:72px; height:19px; vertical-align:middle; ">메모리용량</caption>
  1994. <select1 id="cmb_memoryvol" ref="/root/main/fixasetdet/fixasettmplist/memoryvol" navindex="64" visibility="visible" appearance="minimal" style="left:608px; top:160px; width:105px; height:19px; ">
  1995. <choices>
  1996. <itemset>
  1997. <label/>
  1998. <value/>
  1999. </itemset>
  2000. </choices>
  2001. </select1>
  2002. <button id="btn_tempmngtdeptcd" class="icon_search" style="left:152px; top:140px; width:16px; height:16px; ">
  2003. <caption/>
  2004. <script type="javascript" ev:event="DOMActivate">
  2005. <![CDATA[
  2006. rszfOpenPopUpListByWndName(ipt_tempmngtdeptcd,"","tempmngtdeptcd,tempmngtdeptnm","SPRPZ00800","instcd","cmb_instcd_search");
  2007. ipt_tempmngtdeptnm.refresh();
  2008. ipt_tempmngtdeptcd.refresh();
  2009. ]]>
  2010. </script>
  2011. </button>
  2012. <caption id="caption45" class="cell_1" style="left:2px; top:140px; width:72px; height:19px; vertical-align:middle; ">관리부서</caption>
  2013. <input id="ipt_tempmngtdeptnm" ref="/root/main/fixasetdet/fixasettmplist/tempmngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:170px; top:140px; width:110px; height:19px; "/>
  2014. <input id="ipt_tempmngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/tempmngtdeptcd" class="input_default" navindex="39" appearance="input" style="left:75px; top:140px; width:75px; height:19px; ">
  2015. <script type="javascript" ev:event="xforms-value-changed">
  2016. <![CDATA[
  2017. misfSearchDept(ipt_tempmngtdeptnm);
  2018. ]]>
  2019. </script>
  2020. </input>
  2021. <caption id="caption46" class="cell_1" visibility="visible" style="left:535px; top:180px; width:72px; height:19px; vertical-align:middle; ">IP주소</caption>
  2022. <input id="ipt_ipaddr" ref="/root/main/fixasetdet/fixasettmplist/ipaddr" class="input_default" navindex="65" visibility="visible" appearance="input" style="left:608px; top:180px; width:105px; height:19px; "/>
  2023. </group>
  2024. <group id="grp_copy" visibility="hidden" style="left:50px; top:360px; width:182px; height:80px; border-color:#339966; border-style:solid; ">
  2025. <button id="button9" class="btn4_letter2" style="left:100px; top:50px; width:56px; height:22px; ">
  2026. <caption>취소</caption>
  2027. <script type="javascript" ev:event="DOMActivate">
  2028. <![CDATA[
  2029. grp_copy.visible = false;
  2030. ]]>
  2031. </script>
  2032. </button>
  2033. <button id="button10" class="btn4_letter2" style="left:30px; top:50px; width:56px; height:22px; ">
  2034. <caption>복사</caption>
  2035. <script type="javascript" ev:event="DOMActivate">
  2036. <![CDATA[
  2037. var vCnt = parseInt(model.getValue(ipt_copycnt.attribute("ref")));
  2038. var vFixasetcd = model.getValue(ipt_fixasetcd_copy.attribute("ref"));
  2039. var vFixasetcd0 = model.getValue(ipt_fixasetcd_copy.attribute("ref"));
  2040. if (vFixasetcd =="") {
  2041. alert("생성코드를 확인하십시요!!");
  2042. return;
  2043. }
  2044. if (vCnt < 1) {
  2045. alert("복사 수량을 확인하십시요!!");
  2046. return;
  2047. }
  2048. var fRow = grd_fixasetlist.row;
  2049. var tRow = grd_fixasettmplist.row;
  2050. vTarget1 = grd_fixasetlist.nodeset;
  2051. vTarget2 = grd_fixasettmplist.nodeset ;
  2052. // vTarget2 = "/root/main/fixasetdet/fixasettmplist"
  2053. //for (var i = 0 ; i < vCnt ; i++) {
  2054. // misfGridIUD(grd_fixasetlist, "A");
  2055. // addRow = grd_fixasetlist.rows - grd_fixasetlist.fixedRows;
  2056. // model.copyNode(vTarget1+ "[" + addRow + "]",vTarget1+ "[" + fRow + "]");
  2057. //}
  2058. if (model.getValue(vTarget2+ "[" + 1+ "]/fixasetcd") =="") {
  2059. alert("복사 대상을 먼저 선택해 주십시요!!");
  2060. return;
  2061. }
  2062. var vFixasetcd1 = vFixasetcd0.substr(0,7);
  2063. var vFixasetcd2 = parseFloat(vFixasetcd0.substr(7,4));
  2064. for (var i = 0 ; i < vCnt ; i++) {
  2065. misfGridIUD(grd_fixasettmplist, "A");
  2066. addRow2 = grd_fixasettmplist.rows - grd_fixasettmplist.fixedRows;
  2067. model.copyNode(vTarget2+ "[" + addRow2+ "]", vTarget2+ "[" + 1 + "]");
  2068. model.setValue(vTarget2+ "[" + addRow2+ "]/fixasetcd", vFixasetcd);
  2069. grd_fixasettmplist.rowStatus(addRow2) = "1";
  2070. // alert(vFixasetcd2);
  2071. vFixasetcd2++;
  2072. vFixasetcd = vFixasetcd1 + (""+vFixasetcd2).getLeftPad(4,"0");
  2073. }
  2074. grd_fixasettmplist.refresh();
  2075. misfSave("TXRFC00204");
  2076. model.setValue(ipt_copycnt.attribute("ref") ,"0");
  2077. model.setValue(ipt_fixasetcd_copy.attribute("ref"),"" );
  2078. grp_copy.refresh();
  2079. btn_search.dispatch("DOMActivate");
  2080. ]]>
  2081. </script>
  2082. </button>
  2083. <caption id="caption32" class="search_name" style="left:5px; top:4px; width:89px; height:17px; ">복사수량 :</caption>
  2084. <input id="ipt_fixasetcd_copy" ref="/root/init/fixasetcd" class="input_essential" appearance="input" style="left:5px; top:27px; width:100px; height:19px; text-align:left; "/>
  2085. <button id="button3" class="btn2_letter4" style="left:111px; top:26px; width:64px; height:19px; ">
  2086. <caption>코드생성</caption>
  2087. <script type="javascript" ev:event="DOMActivate">
  2088. <![CDATA[
  2089. fGoodCdCopy("C");
  2090. ]]>
  2091. </script>
  2092. </button>
  2093. <input id="ipt_copycnt" ref="/root/init/copycnt" class="input_default" appearance="input" style="left:95px; top:4px; width:80px; height:19px; "/>
  2094. </group>
  2095. <group id="grp_outerfixaset" visibility="hidden" style="left:200px; top:317px; width:85px; height:20px; background-color:transparent; ">
  2096. <caption id="cap_outerfixaset" style="left:0px; top:2px; width:80px; height:16px; text-align:right; padding-right:5; background-color:#ffff00; ">부외자산</caption>
  2097. <bool id="chk_outerfixaset" disabled="true" checkvalue="Y,N" ref="/root/main/fixasetdet/fixasettmplist/outerfixaset" style="left:5px; top:2px; width:15px; height:15px; "/>
  2098. </group>
  2099. <input id="ipt_conno" ref="/root/main/fixasetdet/fixasettmplist/conno" visibility="hidden" style="left:620px; top:95px; width:15px; height:19px; text-align:center; "/>
  2100. <input id="ipt_conseq" ref="/root/main/fixasetdet/fixasettmplist/conseq" visibility="hidden" style="left:635px; top:95px; width:15px; height:19px; text-align:center; "/>
  2101. </group>
  2102. <group id="group1" style="left:0px; top:12; width:1195; height:27px; ">
  2103. <button id="btn_print" class="btn3_letter2" visibility="hidden" style="left:3px; top:3px; width:56px; height:22px; ">
  2104. <caption>출력</caption>
  2105. </button>
  2106. <button id="btn_init" class="btn4_letter3" navindex="101" style="left:1120px; top:3px; width:68px; height:22px; ">
  2107. <caption>초기화</caption>
  2108. <script type="javascript" ev:event="DOMActivate">
  2109. <![CDATA[
  2110. model.resetInstanceNode("/root/send");
  2111. fInitialize();
  2112. ]]>
  2113. </script>
  2114. </button>
  2115. <button id="btn_save" class="btn4_letter2" navindex="100" style="left:1065px; top:3px; width:56px; height:22px; ">
  2116. <caption>저장</caption>
  2117. <script type="javascript" ev:event="DOMActivate">
  2118. <![CDATA[
  2119. /* 보수계약정보 */
  2120. if(!checkKeyColumn("grd_rfchmandlist")) return;
  2121. /* 구성품,소모품 */
  2122. if(!checkKeyColumn("grd_comps")) return;
  2123. /* 삭제행 체크 */
  2124. var delFlag = false;
  2125. var delCount = 0;
  2126. for(var i=grd_fixasetlist.fixedRows;i<grd_fixasetlist.rows;i++){
  2127. if(grd_fixasetlist.rowStatus(i) == 4){
  2128. delFlag = true;
  2129. delCount++;
  2130. }
  2131. }
  2132. /* 조회된 데이터를 삭제 할때 */
  2133. if(delFlag){
  2134. var ret = messageBox(delCount + "건의 삭제 요청건이 있습니다.","Q001");
  2135. if (ret == 7) { // not OK
  2136. return;
  2137. }
  2138. model.makeValue("/root/send/save/fixasettmplist",grd_fixasetlist.getUpdateData());
  2139. if(submit("TXRFC00204")){
  2140. if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
  2141. btn_search.dispatch("DOMActivate");
  2142. }
  2143. }
  2144. }
  2145. /* 새로운 데이터를 입력시 */
  2146. else if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 1)
  2147. {
  2148. if(!isRequiredControls("ipt_fixasetcd")) return;
  2149. if(!isRequiredControls("ipt_goodflaghngnm")) return;
  2150. if(!isRequiredControls("ipt_installplcecd")) return;
  2151. fSetOuterFixaset();
  2152. model.copyNode("/root/main/list/fixasetdet/fixasettmplist", "/root/main/fixasetdet/fixasettmplist");
  2153. //model.refresh();
  2154. grd_fixasettmplist.refresh();
  2155. var searchPossnDate = ipt_possndd.value;
  2156. misfSave("TXRFC00204");
  2157. if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
  2158. model.setValue(ipt_mngtdeptcd_search.attribute("ref") , model.getValue(ipt_mngtdeptcd.attribute("ref")));
  2159. model.setValue(ipt_mngtdeptnm_search.attribute("ref") , model.getValue(ipt_mngtdeptnm.attribute("ref")));
  2160. model.setValue(ipt_goodflagnm_search.attribute("ref") , model.getValue(ipt_goodflaghngnm.attribute("ref")));
  2161. model.setValue(cmb_lrgcd_search.attribute("ref") , model.getValue(cmb_lrgcd.attribute("ref")));
  2162. cmb_lrgcd_search.dispatch("xforms-value-changed");
  2163. model.setValue(cmb_mdlcd_search.attribute("ref") , model.getValue(cmb_mdlcd.attribute("ref")));
  2164. cmb_mdlcd_search.dispatch("xforms-value-changed");
  2165. model.setValue(cmb_smlcd_search.attribute("ref") , model.getValue(cmb_smlcd.attribute("ref")));
  2166. //취득일자 조회 조건 설정
  2167. model.setValue(ipt_possnfrdd.attribute("ref") , searchPossnDate);
  2168. model.setValue(ipt_possntodd.attribute("ref") , searchPossnDate);
  2169. btn_search.dispatch("DOMActivate");
  2170. }
  2171. }
  2172. /* 조회된 데이터를 수정 할때 */
  2173. else if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 0)
  2174. {
  2175. misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
  2176. model.refresh();
  2177. var focus = grd_fixasetlist.row;
  2178. misfSave("TXRFC00204");
  2179. if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
  2180. fSearch(focus);
  2181. }
  2182. }
  2183. ]]>
  2184. </script>
  2185. </button>
  2186. <line id="line14" class="line_6" style="x1:0; y1:25; x2:1194; y2:25; "/>
  2187. <button id="button1" class="btn3_letter6" navindex="99" visibility="visible" style="left:3px; top:3px; width:96px; height:22px; ">
  2188. <caption>취득자산내역</caption>
  2189. <script type="javascript" ev:event="DOMActivate">
  2190. <![CDATA[
  2191. exeReportPreview("RPRFC00901","XMLSTR");
  2192. ]]>
  2193. </script>
  2194. </button>
  2195. </group>
  2196. </xhtml:body>
  2197. </xhtml:html>