SMRFC00900_자산종합조회.xrw 76 KB

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