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

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