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

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