SMRFC00200_고정자산코드관리(구매).xrw 121 KB

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