SMRFR00900_장비보유현황조회(부서별).xrw 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323
  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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  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. </fixasetdet>
  18. <compslist/>
  19. </list>
  20. <fixasetdet>
  21. <fixasettmplist/>
  22. </fixasetdet>
  23. <fixasetcopy>
  24. <fixasetlist/>
  25. </fixasetcopy>
  26. </main>
  27. <send>
  28. <fixasetlist>
  29. <instcd_search/>
  30. <goodflag_search/>
  31. <lrgcd_search/>
  32. <mdlcd_search/>
  33. <mngtdeptcd_search/>
  34. <mngtdeptnm_search/>
  35. <goodmodel_search/>
  36. <acqtflag_search/>
  37. <prodcmpycd_search/>
  38. <prodcmpynm_search/>
  39. <suplplcecd_search/>
  40. <suplplcenm_search/>
  41. <possnfrdd_search/>
  42. <possntodd_search/>
  43. <tempmngtdeptcd_search/>
  44. <tempmngtdeptnm_search/>
  45. <dsplflag_search/>
  46. <goodflaghngnm_search/>
  47. <goodflagengnm_search/>
  48. </fixasetlist>
  49. <tmpnode>
  50. <tmpfixasetnode/>
  51. <tmpgridrow/>
  52. </tmpnode>
  53. <fixasetcd/>
  54. <instcd/>
  55. <save>
  56. <compslist/>
  57. <rfchmandlist/>
  58. <fixasettmplist/>
  59. </save>
  60. <fixasetcopy>
  61. <instcd/>
  62. <goodflag/>
  63. <lrgcd/>
  64. <mdlcd/>
  65. <smlcd/>
  66. </fixasetcopy>
  67. </send>
  68. <init>
  69. <goodflag>
  70. <label>비품</label>
  71. <value>G</value>
  72. <label>의료장비</label>
  73. <value>E</value>
  74. </goodflag>
  75. <asetflagmaineqmtflag>
  76. <label>주요자산</label>
  77. <value>M</value>
  78. <label>기타자산</label>
  79. <value>E</value>
  80. </asetflagmaineqmtflag>
  81. <possnflagcd>
  82. <label>내자</label>
  83. <value>H</value>
  84. <label>외자</label>
  85. <value>F</value>
  86. </possnflagcd>
  87. <lseyn>
  88. <label>예</label>
  89. <value>Y</value>
  90. <label>아니요</label>
  91. <value>N</value>
  92. </lseyn>
  93. <acqtflag>
  94. <label>기증</label>
  95. <value>1</value>
  96. <label>매입</label>
  97. <value>2</value>
  98. <label>임차</label>
  99. <value>3</value>
  100. <label>지불필</label>
  101. <value>4</value>
  102. <label>공동운영</label>
  103. <value>5</value>
  104. <label>사후관리</label>
  105. <value>6</value>
  106. </acqtflag>
  107. <suik>
  108. <label>예</label>
  109. <value>Y</value>
  110. <label>아니요</label>
  111. <value>N</value>
  112. </suik>
  113. <prvnchkyn>
  114. <label>예</label>
  115. <value>Y</value>
  116. <label>아니요</label>
  117. <value>N</value>
  118. </prvnchkyn>
  119. <moveflag>
  120. <label>Portable</label>
  121. <value>P</value>
  122. <label>Fixed</label>
  123. <value>F</value>
  124. </moveflag>
  125. <repaymthd>
  126. <label>정액</label>
  127. <value>1</value>
  128. <label>정률</label>
  129. <value>2</value>
  130. </repaymthd>
  131. </init>
  132. <temp>
  133. </temp>
  134. <copynode/>
  135. </root>
  136. </instance>
  137. <script type="javascript" ev:event="xforms-ready">
  138. <![CDATA[
  139. //화면 Control을 초기화한다
  140. fInitialize();
  141. ]]>
  142. </script>
  143. <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
  144. <submission id="TRRFC00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetdet"/>
  145. <submission id="TXRFC00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  146. <submission id="TRRFC00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetcopy" resultref="/root/main/fixasetcopy"/>
  147. <submission id="TRRFC00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/compslist"/>
  148. </model>
  149. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  150. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  151. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  152. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  153. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  154. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  155. <script type="javascript">
  156. <![CDATA[
  157. function fInitialize()
  158. {
  159. misfGridInit(grd_fixasetlist);
  160. rszfGoodFlagListByPgmGubn(cmb_goodflag,"2","N");
  161. misfComboComCdListMulti("Z0007,R0035,R0047,R0042,R0044,R0044",
  162. "cmb_instcd_search,cmb_prodplce,cmb_curncyunit,cmb_repayflag,cmb_dsplflag,cmb_dsplflag_search");
  163. addComboItem( "cmb_dsplflag_search", "전체", "", "above");
  164. misfComboCopyItemSet(cmb_prodplce, "", grd_fixasetlist, "prodplce"); //제조국
  165. model.setValue("/root/send/fixasetlist/instcd_search", getUserInfo("dutplceinstcd")); // 기관 설정
  166. //물품구분 설정 (장비)
  167. model.setValue("/root/send/fixasetlist/goodflag_search", "EQ");
  168. //처분구분 설정
  169. model.setValue("/root/send/fixasetlist/dsplflag_search", "0");
  170. // 대분류 코드 콤보 설정.
  171. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "", "Y");
  172. // rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd_search", "", "L", "Y");
  173. var sBaseDate = getCurrentDate();
  174. ipt_mngtdeptcd_search.value = getUserInfo("dutplcecd");
  175. ipt_mngtdeptnm_search.value = getUserInfo("dutplcenm");
  176. fAllControlDisabled("true");
  177. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  178. model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
  179. misfMsterDetailSet(grd_fixasetlist, null, "TRRFC00202", "Y");
  180. misfMsterDetailSet(grd_comps, null, "TRRFC00205", "Y");
  181. model.refresh();
  182. }
  183. function fMakeNode()
  184. {
  185. model.makeNode("/root/main/fixasetdet/fixasettmplist/acntnm");
  186. model.makeNode("/root/main/fixasetdet/fixasettmplist/installplcenm");
  187. model.makeNode("/root/main/fixasetdet/fixasettmplist/cntrdeptnm");
  188. model.makeNode("/root/main/fixasetdet/fixasettmplist/mngtdeptnm");
  189. model.makeNode("/root/main/fixasetdet/fixasettmplist/suplplcenm");
  190. model.makeNode("/root/main/fixasetdet/fixasettmplist/maineqmtnm");
  191. model.makeNode("/root/main/fixasetdet/fixasettmplist/prodcmpynm");
  192. }
  193. function fAllControlDisabled(check)
  194. {
  195. ipt_fixasetcd.disabled = check;
  196. ipt_goodflagengnm.disabled = check;
  197. ipt_goodspec.disabled = check;
  198. ipt_goodspec.disabled = check;
  199. ipt_goodmodel.disabled = check;
  200. rdo_asetflagmaineqmtflag.disabled = check;
  201. ipt_usge.disabled = check;
  202. cmb_lrgcd.disabled = check;
  203. ipt_acntcd.disabled = check;
  204. cmb_mdlcd.disabled = check;
  205. cmb_smlcd.disabled = check;
  206. ipt_installplcecd.disabled = check;
  207. ipt_cntrdeptcd.disabled = check;
  208. ipt_cntrdeptcd.disabled = check;
  209. rdo_moveflag.disabled = check;
  210. ipt_mngtdeptcd.disabled = check;
  211. ipt_suplplcecd.disabled = check;
  212. ipt_suplcntctel.disabled = check;
  213. cmb_prodplce.disabled = check;
  214. ipt_condd.disabled = check;
  215. ipt_possndd.disabled = check;
  216. ipt_delivetermmm.disabled = check;
  217. rdo_acqtflag.disabled = check;
  218. rdo_possnflagcd.disabled = check;
  219. ipt_forgncurncyamt.disabled = check;
  220. cmb_curncyunit.disabled = check;
  221. ipt_windd.disabled = check;
  222. ipt_winno.disabled = check;
  223. ipt_winseqno.disabled = check;
  224. ipt_mngtno.disabled = check;
  225. ipt_flwgrnttermfr.disabled = check;
  226. ipt_flwgrnttermto.disabled = check;
  227. // cmb_dsplflag.disabled = check;
  228. cmb_fixasetunit.disabled = check;
  229. ipt_cntsyearno.disabled = check;
  230. ipt_repayenddd.disabled = check
  231. rdo_lseyn.disabled = check;
  232. ipt_maineqmtcd.disabled = check;
  233. rdo_earnvaluyn.disabled = check;
  234. ipt_agency.disabled = check;
  235. ipt_agencycntctel.disabled = check;
  236. ipt_chkdd.disabled = check;
  237. ipt_smplce.disabled = check;
  238. rdo_prvnchkyn.disabled = check;
  239. ipt_possnamt.disabled = check;
  240. cmb_repayflag.disabled = check;
  241. rdo_repaymthd.disabled = check;
  242. ipt_repayrate.disabled = check;
  243. ipt_cmt.disabled = check;
  244. //ipt_lrgnm.disabled = check;
  245. //ipt_mdlnm.disabled = check;
  246. ipt_installplcenm.disabled = check;
  247. ipt_acntnm.disabled = check;
  248. //ipt_smlnm.disabled = check;
  249. ipt_cntrdeptnm.disabled = check;
  250. ipt_mngtdeptnm.disabled = check;
  251. ipt_suplplcenm.disabled = check;
  252. ipt_prodcmpynm.disabled = check;
  253. ipt_maineqmtnm.disabled = check;
  254. //btn_lrgcd.disabled = check;
  255. //btn_mdlcd.disabled = check;
  256. //btn_smlcd.disabled = check;
  257. btn_maineqmt.disabled = check;
  258. ipt_repaybal.disabled = check;
  259. //btn_comps.disabled = check; // 구성품
  260. //btn_rfchmandlist.disabled = check; //보수계약정보
  261. //btn_acntcd.disabled = check;
  262. //btn_installplcecd.disabled = check;
  263. //btn_cntrdeptcd.disabled = check;
  264. //btn_mngtdeptcd.disabled = check;
  265. //btn_suplplcecd.disabled = check;
  266. //btn_prodcmpy.disabled = check;
  267. //btn_addrow_.disabled = check;
  268. //btn_delrow_.disabled = check;
  269. //btn_image.disabled = check;
  270. //btn_set.disabled = check;
  271. //btn_chnghist.disabled = check;
  272. //btn_goodcdcopy.disabled = check;
  273. }
  274. function fSettingGoodList(pnode, nodename)
  275. {
  276. var codynode = instance1.selectNodes(pnode + "/*");
  277. var addRow = grd_comps.rows - grd_comps.fixedRows;
  278. for (var j = 1; j <= codynode.length ; j++)
  279. {
  280. if(addRow > grd_comps.rows - grd_comps.fixedRows)
  281. {
  282. misfGridIUD(grd_comps,"A");
  283. addRow = grd_comps.rows - grd_comps.fixedRows;
  284. }
  285. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
  286. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
  287. model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodspec" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodspec"));
  288. model.setValue(grd_comps.nodeset + "[" + addRow + "]/purcunit" , model.getValue(pnode +"/" + nodename + "[" + j + "]/purcunit"));
  289. addRow = addRow + 1;
  290. }
  291. model.recalculate();
  292. model.refresh();
  293. }
  294. function fDefaultSetting(prow)
  295. {
  296. model.setValue(grd_fixasetlist.nodeset +"[" + prow+ "]/instcd" ,model.getValue(cmb_instcd_search.attribute("ref")));
  297. model.setValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_search.attribute("ref"))); // 기관 설정
  298. model.setValue("/root/main/fixasetdet/fixasettmplist/goodflag", model.getValue(opt_goodflag_search.attribute("ref"))); // 물품구분
  299. model.setValue("/root/main/fixasetdet/fixasettmplist/goodqty", "1"); // 수량
  300. // model.setValue(grd_fixasetlist.nodeset +"[" + prow+ "]/goodflag" ,model.getValue(opt_goodflag_search.attribute("ref")));
  301. }
  302. function fGoodCdCopy()
  303. {
  304. if(model.getValue(opt_goodflag_search.attribute("ref")).length== 0 )
  305. {
  306. messageBox("물품구분을 " ,"C002");
  307. model.setFocus("opt_goodflag_search");
  308. return false;
  309. }
  310. if(model.getValue(cmb_lrgcd.attribute("ref")).length== 0 )
  311. {
  312. messageBox("대분류코드를 " ,"C002");
  313. model.setFocus("cmb_lrgcd");
  314. return false;
  315. }
  316. if(model.getValue(cmb_mdlcd.attribute("ref")).length== 0 )
  317. {
  318. messageBox("중분류코드를 " ,"C002");
  319. model.setFocus("cmb_mdlcd");
  320. return false;
  321. }
  322. if(model.getValue(cmb_smlcd.attribute("ref")).length== 0 )
  323. {
  324. messageBox("소분류코드를 " ,"C002");
  325. model.setFocus("cmb_smlcd");
  326. return false;
  327. }
  328. model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd_search.attribute("ref")));
  329. model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(opt_goodflag_search.attribute("ref")));
  330. model.setValue("/root/send/fixasetcopy/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
  331. model.setValue("/root/send/fixasetcopy/mdlcd", model.getValue(cmb_mdlcd.attribute("ref")));
  332. model.setValue("/root/send/fixasetcopy/smlcd", model.getValue(cmb_smlcd.attribute("ref")));
  333. submit("TRRFC00301");
  334. var fixasetcd = model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd");
  335. 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";
  336. model.setValue(ipt_fixasetcd.attribute("ref"), fixasetcd);
  337. model.refresh();
  338. }
  339. ]]>
  340. </script>
  341. </xhtml:head>
  342. <xhtml:body guideline="1,-2;2,733;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  343. <!--<group id="grp_btn" style="left:0px; top:755px; width:1195px; height:27px; ">
  344. <button id="button20" class="btn4_letter3" style="left:1067px; top:5px; width:68px; height:22px; ">
  345. <caption>초기화</caption>
  346. </button>
  347. <button id="button19" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  348. <caption>저장</caption>
  349. </button>
  350. </group>-->
  351. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  352. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:206px; height:14px; ">고정 자산 보유현황조회(부서별)</caption>
  353. </group>
  354. <group id="group4" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  355. <group id="group5" style="left:0px; top:10px; width:1195px; height:130px; vertical-align:top; ">
  356. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:130px; background-color:#fffbf2; border-color:#ffd799; "/>
  357. <caption id="cap_lrgcd_search" class="search_name" style="left:3px; top:57px; width:117px; height:17px; ">대 분 류 :</caption>
  358. <caption id="cap_mngtdeptcd_search" class="search_name" style="left:350px; top:11px; width:92px; height:17px; ">사용부서 :</caption>
  359. <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_search" style="left:442px; top:11px; width:95px; height:19px; ">
  360. <script type="javascript" ev:event="xforms-value-changed">
  361. <![CDATA[
  362. if(ipt_mngtdeptcd_search.value.length == 0){
  363. ipt_mngtdeptnm_search.value = "";
  364. }else{
  365. misfValidationCheck("02", "", "mngtdeptcd_search,mngtdeptnm_search" );
  366. }
  367. model.refresh();
  368. ]]>
  369. </script>
  370. </input>
  371. <button id="btn_mngtdeptcd_search" class="icon_search" style="left:541px; top:12px; width:16px; height:16px; ">
  372. <caption/>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. misfOpenPopUpList("02", ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search");
  376. model.refresh();
  377. ]]>
  378. </script>
  379. </button>
  380. <input id="ipt_mngtdeptnm_search" ref="/root/send/fixasetlist/mngtdeptnm_search" class="input_search" appearance="input" style="left:560px; top:11px; width:237px; height:19px; ">
  381. <script type="javascript" ev:event="xforms-value-changed">
  382. <![CDATA[
  383. if(ipt_mngtdeptnm_search.value.length == 0)
  384. ipt_mngtdeptcd_search.value = "";
  385. else
  386. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  387. "deptnm," + ipt_mngtdeptnm_search.value, "", "mngtdeptcd_search,mngtdeptnm_search",
  388. ipt_mngtdeptcd_search, "SPRPZ00200", "","");
  389. model.refresh();
  390. ]]>
  391. </script>
  392. </input>
  393. <button id="btn_search" class="btn1_letter2" style="left:1128px; top:46px; width:56px; height:22px; ">
  394. <caption>조회</caption>
  395. <script type="javascript" ev:event="DOMActivate">
  396. <![CDATA[
  397. /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
  398. //misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
  399. // var updtdata = getGridUpdateData(grd_fixasettmplist);
  400. //
  401. // if ( updtdata != "")
  402. // {
  403. // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  404. //
  405. // if (ret == 7) { // not OK
  406. // return;
  407. // }
  408. // }
  409. rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_search.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
  410. // misfMsterDetailRetrieve();
  411. submit("TRRFC00202");
  412. if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
  413. {
  414. grd_fixasetlist.row = 1;
  415. grd_fixasetlist.dispatch("onrowchanged");
  416. }else{
  417. model.removenode("/root/main/fixasetdet/fixasettmplist");
  418. }
  419. ]]>
  420. </script>
  421. </button>
  422. <caption id="cap_instcd_search" class="search_name" style="left:3px; top:11px; width:117px; height:17px; ">기관코드 :</caption>
  423. <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" appearance="minimal" style="left:95px; top:11px; width:195px; height:19px; ">
  424. <choices>
  425. <itemset>
  426. <label/>
  427. <value/>
  428. </itemset>
  429. </choices>
  430. </select1>
  431. <line id="line12" class="line_4" style="x1:1120px; y1:35px; x2:1120px; y2:77px; border-color:#ffd799; "/>
  432. <output id="opt_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" visibility="hidden" style="left:305px; top:35px; width:40px; height:19px; "/>
  433. <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" class="combo_search" appearance="minimal" style="left:95px; top:57px; width:195px; height:19px; ">
  434. <choices>
  435. <itemset>
  436. <label/>
  437. <value/>
  438. </itemset>
  439. </choices>
  440. <script type="javascript" ev:event="xforms-value-changed">
  441. <![CDATA[
  442. cmb_mdlcd_search.value="";
  443. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "", "Y");
  444. addComboItem( "cmb_mdlcd_search", "전체", "", "above");
  445. model.refresh();
  446. ]]>
  447. </script>
  448. </select1>
  449. <select1 id="cmb_goodflag" ref="/root/send/fixasetlist/goodflag_search" class="combo_s_essential" appearance="minimal" style="left:95px; top:34px; width:195px; height:19px; ">
  450. <choices>
  451. <itemset nodeset="/root/init/goodflag">
  452. <label ref="label"/>
  453. <value ref="value"/>
  454. </itemset>
  455. </choices>
  456. <script type="javascript" ev:event="xforms-value-changed">
  457. <![CDATA[
  458. // rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd_search", "", "L");
  459. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "", "Y");
  460. cmb_lrgcd_search.dispatch("xforms-value-changed");
  461. //alert("물품구분"+model.getValue("/root/send/fixasetlist/goodflag_search"));
  462. //model.setValue("/root/send/fixasetlist/dsplflag_search", "");
  463. ]]>
  464. </script>
  465. </select1>
  466. <caption id="cap_goodflag_search" class="search_name" style="left:3px; top:34px; width:117px; height:17px; ">물품구분 :</caption>
  467. <button id="btn_prodcmpycd_search" class="icon_search" style="left:541px; top:57px; width:16px; height:16px; ">
  468. <caption/>
  469. <script type="javascript" ev:event="DOMActivate">
  470. <![CDATA[
  471. rszfOpenPopUpListByWndName(ipt_prodcmpycd_search,"","prodcmpycd_search,prodcmpynm_search","SPRSD00160","","");
  472. model.refresh();
  473. ]]>
  474. </script>
  475. </button>
  476. <caption id="cap_prodcmpycd" class="search_name" style="left:350px; top:57px; width:92px; height:17px; ">제조회사 :</caption>
  477. <input id="ipt_prodcmpynm_search" ref="/root/send/fixasetlist/prodcmpynm_search" class="input_search" appearance="input" style="left:560px; top:57px; width:237px; height:19px; ">
  478. <script type="javascript" ev:event="xforms-value-changed">
  479. <![CDATA[
  480. if(ipt_prodcmpynm_search.value != ""){
  481. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  482. "prodcmpynm,," + ipt_prodcmpynm_search.value
  483. ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
  484. }else{
  485. ipt_prodcmpycd_search.value = "";
  486. }
  487. model.refresh();
  488. ]]>
  489. </script>
  490. </input>
  491. <input id="ipt_prodcmpycd_search" ref="/root/send/fixasetlist/prodcmpycd_search" class="input_search" style="left:442px; top:57px; width:95px; height:19px; ">
  492. <script type="javascript" ev:event="xforms-value-changed">
  493. <![CDATA[
  494. if(ipt_prodcmpycd_search.value != ""){
  495. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  496. "prodcmpycd," + ipt_prodcmpycd_search.value + ","
  497. ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
  498. }else{
  499. ipt_prodcmpynm_search.value = "";
  500. }
  501. model.refresh();
  502. ]]>
  503. </script>
  504. </input>
  505. <caption id="cap_suplcecd_search" class="search_name" style="left:350px; top:80px; width:92px; height:17px; ">공 급 처 :</caption>
  506. <button id="btn_suplcecd_search" class="icon_search" style="left:541px; top:80px; width:16px; height:16px; ">
  507. <caption/>
  508. <script type="javascript" ev:event="DOMActivate">
  509. <![CDATA[
  510. rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd_search,suplplcenm_search","SPRSD00220","instcd","cmb_instcd_search");
  511. ipt_suplplcecd_search.refresh();
  512. ipt_suplplcenm_search.refresh();
  513. ]]>
  514. </script>
  515. </button>
  516. <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="input_search" style="left:560px; top:80px; width:237px; height:19px; ">
  517. <script type="javascript" ev:event="xforms-value-changed">
  518. <![CDATA[
  519. if(ipt_suplplcenm_search.value != '')
  520. {
  521. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  522. cmb_instcd_search.value + "," + "custnm," + ipt_suplplcenm_search.value, "", "suplplcecd_search,suplplcenm_search",
  523. ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd_search");
  524. }else
  525. {
  526. ipt_suplplcecd_search.value = '';
  527. }
  528. ipt_suplplcecd_search.refresh();
  529. ipt_suplplcenm_search.refresh();
  530. ]]>
  531. </script>
  532. </input>
  533. <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_search" style="left:442px; top:80px; width:95px; height:19px; ">
  534. <script type="javascript" ev:event="xforms-value-changed">
  535. <![CDATA[
  536. if(ipt_suplplcecd_search.value != '')
  537. {
  538. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  539. cmb_instcd_search.value + "," + "entrregno," + ipt_suplplcecd_search.value, "", "suplplcecd_search,suplplcenm_search",
  540. ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd_search");
  541. }else
  542. {
  543. ipt_suplplcenm_search.value = '';
  544. }
  545. ipt_suplplcecd_search.refresh();
  546. ipt_suplplcenm_search.refresh();
  547. ]]>
  548. </script>
  549. </input>
  550. <input id="ipt_goodmodel_search" ref="/root/send/fixasetlist/goodmodel_search" class="input_search" style="left:95px; top:103px; width:195px; height:19px; "/>
  551. <caption id="cap_goodmodel_search" class="search_name" style="left:3px; top:103px; width:117px; height:17px; ">모 델 명 :</caption>
  552. <select1 id="cmb_acqtflag_search" ref="/root/send/fixasetlist/acqtflag_search" class="combo_search" appearance="minimal" style="left:910px; top:11px; width:195px; height:19px; text-align:center; ">
  553. <choices>
  554. <item>
  555. <label>전체</label>
  556. <value/>
  557. </item>
  558. <item>
  559. <label>기증</label>
  560. <value>1</value>
  561. </item>
  562. <item>
  563. <label>매입</label>
  564. <value>2</value>
  565. </item>
  566. <item>
  567. <label>임차</label>
  568. <value>3</value>
  569. </item>
  570. <item>
  571. <label>지불필</label>
  572. <value>4</value>
  573. </item>
  574. <item>
  575. <label>공동운영</label>
  576. <value>5</value>
  577. </item>
  578. <item>
  579. <label>사후관리</label>
  580. <value>6</value>
  581. </item>
  582. <item>
  583. <label>외자</label>
  584. <value>7</value>
  585. </item>
  586. </choices>
  587. </select1>
  588. <caption id="cap_acqtflag_search" class="search_name" style="left:808px; top:11px; width:117px; height:17px; ">도입 구분 :</caption>
  589. <caption id="cap_possndd_search" class="search_name" visibility="visible" style="left:350px; top:103px; width:92px; height:17px; ">취득일자 :</caption>
  590. <caption id="caption2" visibility="visible" style="left:611px; top:103px; width:15px; height:20px; font-weight:bold; ">~</caption>
  591. <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_essential" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:637px; top:103px; width:160px; height:19px; "/>
  592. <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_essential" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:442px; top:103px; width:160px; height:19px; "/>
  593. <caption id="cap_tempmngtdeptcd_search" class="search_name" style="left:350px; top:34px; width:92px; height:17px; ">관리부서 :</caption>
  594. <button id="button2" class="icon_search" style="left:541px; top:34px; width:16px; height:16px; ">
  595. <caption/>
  596. <script type="javascript" ev:event="DOMActivate">
  597. <![CDATA[
  598. if(ipt_tempmngtdeptcd_search.value.length == 0){
  599. ipt_tempmngtdeptnm_search.value = "";
  600. }else{
  601. misfValidationCheck("02", "", "tempmngtdeptcd_search,tempmngtdeptnm_search" );
  602. }
  603. model.refresh();
  604. ]]>
  605. </script>
  606. </button>
  607. <input id="ipt_tempmngtdeptnm_search" ref="/root/send/fixasetlist/tempmngtdeptnm_search" class="input_fix" appearance="input" style="left:560px; top:34px; width:237px; height:19px; ">
  608. <script type="javascript" ev:event="xforms-value-changed">
  609. <![CDATA[
  610. if(ipt_tempmngtdeptnm_search.value.length == 0)
  611. ipt_tempmngtdeptcd_search.value = "";
  612. else
  613. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  614. "deptnm," +ipt_tempmngtdeptnm_search.value, "", "tempmngtdeptcd_search,tempmngtdeptnm_search",
  615. ipt_tempmngtdeptnm_search, "SPRPZ00200", "","");
  616. model.refresh();
  617. ]]>
  618. </script>
  619. </input>
  620. <input id="ipt_tempmngtdeptcd_search" ref="/root/send/fixasetlist/tempmngtdeptcd_search" class="input_default" appearance="input" style="left:442px; top:34px; width:95px; height:19px; ">
  621. <script type="javascript" ev:event="xforms-value-changed">
  622. <![CDATA[
  623. if(ipt_tempmngtdeptcd_search.value.length == 0)
  624. ipt_tempmngtdeptnm_search.value = "";
  625. else
  626. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  627. "deptcd," +ipt_tempmngtdeptcd_search.value, "", "tempmngtdeptcd_search,tempmngtdeptnm_search",
  628. ipt_tempmngtdeptcd_search, "SPRPZ00200", "","");
  629. model.refresh();
  630. ]]>
  631. </script>
  632. </input>
  633. <select1 id="cmb_dsplflag_search" ref="/root/send/fixasetlist/dsplflag_search" class="combo_search" visibility="visible" appearance="minimal" style="left:910px; top:34px; width:195px; height:19px; text-align:center; ">
  634. <choices>
  635. <itemset>
  636. <label/>
  637. <value/>
  638. </itemset>
  639. </choices>
  640. </select1>
  641. <caption id="caption3" class="search_name" visibility="visible" style="left:808px; top:34px; width:117px; height:17px; ">처분 구분 :</caption>
  642. <caption id="caption8" class="search_name" style="left:3px; top:80px; width:117px; height:17px; ">중 분 류 :</caption>
  643. <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" appearance="minimal" style="left:95px; top:80px; width:195px; height:19px; ">
  644. <choices>
  645. <itemset>
  646. <label/>
  647. <value/>
  648. </itemset>
  649. </choices>
  650. </select1>
  651. <input id="input1" ref="/root/send/fixasetlist/goodflaghngnm_search" class="input_search" style="left:910px; top:58px; width:195px; height:19px; "/>
  652. <caption id="caption4" class="search_name" style="left:809px; top:58px; width:117px; height:17px; ">한글장비명:</caption>
  653. <input id="ipt_goodflagengnm_search" ref="/root/send/fixasetlist/goodflagengnm_search" class="input_search" navindex="3" style="left:910px; top:80px; width:195px; height:19px; "/>
  654. <caption id="cap_goodflagengnm_search" class="search_name" style="left:809px; top:80px; width:110px; height:17px; ">영문장비명:</caption>
  655. </group>
  656. <caption id="caption19" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
  657. <caption id="caption20" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
  658. <line id="line16" class="line_1" style="x1:0px; y1:166px; x2:1192px; y2:165px; "/>
  659. <!--</group>-->
  660. <caption id="caption21" class="tit_2" style="left:5px; top:145px; width:69px; height:13px; ">자산목록</caption>
  661. <caption id="cap_possnamt" class="cell_1" visibility="hidden" style="left:673px; top:493px; width:90px; height:23px; vertical-align:middle; ">구입금액</caption>
  662. <input id="ipt_possnamt" ref="/root/main/fixasetdet/fixasettmplist/possnamt" class="input_default" disabled="true" visibility="hidden" format="#,###" appearance="input" style="left:765px; top:495px; width:130px; height:19px; text-align:right; "/>
  663. <select1 id="rdo_earnvaluyn" ref="/root/main/fixasetdet/fixasettmplist/earnvaluyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1030px; top:495px; width:137px; height:20px; background-color:transparent; border-style:none; ">
  664. <choices>
  665. <itemset nodeset="/root/init/suik">
  666. <label ref="label"/>
  667. <value ref="value"/>
  668. </itemset>
  669. </choices>
  670. </select1>
  671. <input id="ipt_usge" ref="/root/main/fixasetdet/fixasettmplist/usge" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:38px; height:19px; "/>
  672. <input id="ipt_delivetermmm" ref="/root/main/fixasetdet/fixasettmplist/delivetermmm" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:136px; height:19px; "/>
  673. <button id="btn_maineqmt" class="icon_search" visibility="hidden" style="left:1030px; top:495px; width:16px; height:16px; ">
  674. <caption/>
  675. <script type="javascript" ev:event="DOMActivate">
  676. <![CDATA[
  677. rszfOpenPopUpListByWndName(ipt_maineqmtcd,"","maineqmtcd,maineqmtnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  678. model.refresh();
  679. ]]>
  680. </script>
  681. </button>
  682. <input id="ipt_forgncurncyamt" ref="/root/main/fixasetdet/fixasettmplist/forgncurncyamt" class="input_default" visibility="hidden" format="#,###" appearance="input" style="left:1030px; top:495px; width:47px; height:19px; text-align:right; "/>
  683. <input id="ipt_condd" ref="/root/main/fixasetdet/fixasettmplist/condd" class="input_default" visibility="hidden" inputtype="date" style="left:1030px; top:495px; width:84px; height:19px; "/>
  684. <input id="ipt_cntsyearno" ref="/root/main/fixasetdet/fixasettmplist/cntsyearno" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:119px; height:19px; "/>
  685. <input id="ipt_possndd" ref="/root/main/fixasetdet/fixasettmplist/possndd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1030px; top:495px; width:79px; height:19px; "/>
  686. <input id="ipt_winno" ref="/root/main/fixasetdet/fixasettmplist/winno" class="input_default" visibility="hidden" format="9999999999999" appearance="input" style="left:1030px; top:495px; width:131px; height:19px; "/>
  687. <input id="ipt_smplce" ref="/root/main/fixasetdet/fixasettmplist/smplce" class="input_default" visibility="hidden" style="left:1030px; top:495px; width:121px; height:19px; "/>
  688. <input id="ipt_maineqmtcd" ref="/root/main/fixasetdet/fixasettmplist/maineqmtcd" visibility="hidden" style="left:1030px; top:495px; width:131px; height:19px; ">
  689. <script type="javascript" ev:event="xforms-value-changed">
  690. <![CDATA[
  691. if(ipt_maineqmtcd.value.length == 0)
  692. ipt_maineqmtnm.value = "";
  693. else
  694. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  695. cmb_instcd_search.value + "," + "fixasetcd," + ipt_maineqmtcd.value + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
  696. ipt_maineqmtcd, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  697. model.refresh();
  698. ]]>
  699. </script>
  700. </input>
  701. <input id="ipt_mngtno" ref="/root/main/fixasetdet/fixasettmplist/mngtno" class="input_default" visibility="hidden" format="9999999999999" appearance="input" style="left:1030px; top:495px; width:87px; height:19px; "/>
  702. <input id="ipt_chkdd" ref="/root/main/fixasetdet/fixasettmplist/chkdd" class="input_default" visibility="hidden" inputtype="date" style="left:1030px; top:495px; width:124px; height:19px; "/>
  703. <input id="ipt_flwgrnttermfr" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermfr" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1030px; top:495px; width:117px; height:19px; "/>
  704. <input id="ipt_maineqmtnm" ref="/root/main/fixasetdet/fixasettmplist/maineqmtnm" class="input_fix" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:132px; height:19px; ">
  705. <script type="javascript" ev:event="xforms-value-changed">
  706. <![CDATA[
  707. if(ipt_maineqmtnm.value.length == 0)
  708. ipt_maineqmtcd.value = "";
  709. else
  710. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  711. cmb_instcd_search.value + "," + "goodflaghngnm," + ipt_maineqmtnm.value + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
  712. ipt_maineqmtnm, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
  713. model.refresh();
  714. ]]>
  715. </script>
  716. </input>
  717. <input id="ipt_repayenddd" ref="/root/main/fixasetdet/fixasettmplist/repayenddd" class="input_default" visibility="hidden" inputtype="date" style="left:1030px; top:495px; width:137px; height:19px; "/>
  718. <input id="ipt_winseqno" ref="/root/main/fixasetdet/fixasettmplist/winseqno" class="input_default" visibility="hidden" format="9999999999999" appearance="input" style="left:1030px; top:495px; width:124px; height:19px; "/>
  719. <input id="ipt_flwgrnttermto" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermto" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1030px; top:495px; width:111px; height:19px; "/>
  720. <input id="ipt_agency" ref="/root/main/fixasetdet/fixasettmplist/agency" class="input_default" visibility="hidden" style="left:1030px; top:495px; width:131px; height:19px; "/>
  721. <input id="ipt_repaybal" ref="/root/main/fixasetdet/fixasettmplist/repaybal" class="input_default" visibility="hidden" format="#,###" appearance="input" style="left:1030px; top:495px; width:139px; height:19px; text-align:right; "/>
  722. <input id="ipt_agencycntctel" ref="/root/main/fixasetdet/fixasettmplist/agencycntctel" class="input_default" visibility="hidden" style="left:1030px; top:495px; width:136px; height:19px; "/>
  723. <input id="ipt_suplcntctel" ref="/root/main/fixasetdet/fixasettmplist/suplcntctel" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:124px; height:19px; "/>
  724. <select1 id="rdo_moveflag" ref="/root/main/fixasetdet/fixasettmplist/moveflag" visibility="hidden" appearance="full" cols="4" overflow="visible" style="left:1030px; top:495px; width:122px; height:15px; background-color:transparent; border-style:none; ">
  725. <choices>
  726. <itemset nodeset="/root/init/moveflag">
  727. <label ref="label"/>
  728. <value ref="value"/>
  729. </itemset>
  730. </choices>
  731. </select1>
  732. <input id="ipt_repayrate" ref="/root/main/fixasetdet/fixasettmplist/repayrate" class="input_default" visibility="hidden" appearance="input" style="left:1030px; top:495px; width:127px; height:19px; "/>
  733. <select1 id="rdo_repaymthd" ref="/root/main/fixasetdet/fixasettmplist/repaymthd" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1030px; top:495px; width:148px; height:20px; border-style:none; ">
  734. <choices>
  735. <itemset nodeset="/root/init/repaymthd">
  736. <label ref="label"/>
  737. <value ref="value"/>
  738. </itemset>
  739. </choices>
  740. </select1>
  741. <select1 id="cmb_repayflag" ref="/root/main/fixasetdet/fixasettmplist/repayflag" visibility="hidden" appearance="minimal" style="left:1030px; top:495px; width:115px; height:19px; ">
  742. <choices>
  743. <itemset>
  744. <label/>
  745. <value/>
  746. </itemset>
  747. </choices>
  748. </select1>
  749. <select1 id="rdo_lseyn" ref="/root/main/fixasetdet/fixasettmplist/lseyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1030px; top:495px; width:137px; height:20px; background-color:transparent; border-style:none; ">
  750. <choices>
  751. <itemset nodeset="/root/init/lseyn">
  752. <label ref="label"/>
  753. <value ref="value"/>
  754. </itemset>
  755. </choices>
  756. </select1>
  757. <select1 id="cmb_curncyunit" ref="/root/main/fixasetdet/fixasettmplist/curncyunit" visibility="hidden" appearance="minimal" style="left:1030px; top:495px; width:52px; height:19px; ">
  758. <choices>
  759. <itemset>
  760. <label/>
  761. <value/>
  762. </itemset>
  763. </choices>
  764. </select1>
  765. <select1 id="rdo_asetflagmaineqmtflag" ref="/root/main/fixasetdet/fixasettmplist/asetflag_maineqmtflag" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:990px; top:495px; width:118px; height:15px; background-color:transparent; border-style:none; ">
  766. <choices>
  767. <itemset nodeset="/root/init/asetflagmaineqmtflag">
  768. <label ref="label"/>
  769. <value ref="value"/>
  770. </itemset>
  771. </choices>
  772. </select1>
  773. <select1 id="rdo_possnflagcd" ref="/root/main/fixasetdet/fixasettmplist/possnflagcd" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1000px; top:495px; width:85px; height:20px; background-color:transparent; border-style:none; ">
  774. <choices>
  775. <itemset nodeset="/root/init/possnflagcd">
  776. <label ref="label"/>
  777. <value ref="value"/>
  778. </itemset>
  779. </choices>
  780. </select1>
  781. <select1 id="rdo_prvnchkyn" ref="/root/main/fixasetdet/fixasettmplist/prvnchkyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:905px; top:495px; width:137px; height:20px; background-color:transparent; border-style:none; ">
  782. <choices>
  783. <itemset nodeset="/root/init/prvnchkyn">
  784. <label ref="label"/>
  785. <value ref="value"/>
  786. </itemset>
  787. </choices>
  788. </select1>
  789. <button id="btn_excel_all" class="btn2_letter4" style="left:1112px; top:143px; width:64px; height:19px; ">
  790. <caption>엑셀저장</caption>
  791. <script type="javascript" ev:event="DOMActivate">
  792. <![CDATA[
  793. var fileName = window.fileDialog("save", ",", false, "장비보유현황조회(부서별)", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  794. if (fileName != "")
  795. {
  796. grd_fixasetlist.saveExcel(fileName, "장비보유현황조회(부서별)", true, true, "");
  797. }
  798. ]]>
  799. </script>
  800. </button>
  801. <button id="btn_comps" class="btn_sw" group="tab" selected="true" style="left:0px; top:498px; width:100px; height:22px; ">
  802. <caption>구성품</caption>
  803. <toggle case="case3" ev:event="DOMActivate"/>
  804. </button>
  805. <button id="btn_rfchmandlist" class="btn_sw" group="tab" style="left:101px; top:498px; width:100px; height:22px; ">
  806. <caption>자산상세내역</caption>
  807. <toggle case="case1" ev:event="DOMActivate"/>
  808. </button>
  809. <switch id="switch1" style="left:0px; top:520px; width:1193px; height:180px; border-color:#c7a3cf; border-style:solid; ">
  810. <case id="case1" style="left:0px; top:0px; width:1193px; height:178px; ">
  811. <select1 id="cmb_smlcd" ref="/root/main/fixasetdet/fixasettmplist/smlcd" disabled="true" appearance="minimal" style="left:94px; top:104px; width:415px; height:19px; text-align:left; padding-left:10; ">
  812. <choices>
  813. <itemset>
  814. <label/>
  815. <value/>
  816. </itemset>
  817. </choices>
  818. </select1>
  819. <select1 id="cmb_lrgcd" ref="/root/main/fixasetdet/fixasettmplist/lrgcd" disabled="true" appearance="minimal" style="left:94px; top:56px; width:415px; height:19px; text-align:left; padding-left:10; ">
  820. <choices>
  821. <itemset>
  822. <label/>
  823. <value/>
  824. </itemset>
  825. </choices>
  826. <script type="javascript" ev:event="xforms-value-changed">
  827. <![CDATA[
  828. rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "Y");
  829. cmb_mdlcd.dispatch("xforms-value-changed");
  830. model.refresh();
  831. ]]>
  832. </script>
  833. </select1>
  834. <input id="ipt_installplcenm" ref="/root/main/fixasetdet/fixasettmplist/installplcenm" class="input_fix" disabled="true" appearance="input" style="left:701px; top:129px; width:161px; height:19px; ">
  835. <script type="javascript" ev:event="xforms-value-changed">
  836. <![CDATA[
  837. if(ipt_installplcenm.value.length == 0)
  838. ipt_installplcecd.value = "";
  839. else
  840. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  841. "deptnm," + ipt_installplcenm.value, "", "installplcecd,installplcenm",
  842. ipt_installplcenm, "PPRAC00700", "","");
  843. model.refresh();
  844. ]]>
  845. </script>
  846. </input>
  847. <select1 id="cmb_fixasetunit" ref="/root/main/fixasetdet/fixasettmplist/fixasetunit" disabled="true" appearance="minimal" style="left:359px; top:153px; width:150px; height:19px; ">
  848. <choices>
  849. <itemset>
  850. <label/>
  851. <value/>
  852. </itemset>
  853. </choices>
  854. </select1>
  855. <caption id="cap_goodflaghngnm" class="cell_1" style="left:2px; top:31px; width:90px; height:23px; vertical-align:middle; ">자산명칭</caption>
  856. <caption id="cap_suplplcecd" class="cell_1" style="left:512px; top:7px; width:90px; height:23px; vertical-align:middle; ">공급처</caption>
  857. <input id="ipt_installplcecd" ref="/root/main/fixasetdet/fixasettmplist/installplcecd" class="input_essential" disabled="true" appearance="input" style="left:604px; top:129px; width:95px; height:19px; ">
  858. <script type="javascript" ev:event="xforms-value-changed">
  859. <![CDATA[
  860. if(ipt_installplcecd.value.length == 0)
  861. ipt_installplcenm.value = "";
  862. else
  863. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  864. "deptcd," + ipt_installplcecd.value, "", "installplcecd,installplcenm",
  865. ipt_installplcecd, "PPRAC00700", "","");
  866. model.refresh();
  867. ]]>
  868. </script>
  869. </input>
  870. <select1 id="cmb_mdlcd" ref="/root/main/fixasetdet/fixasettmplist/mdlcd" disabled="true" appearance="minimal" style="left:94px; top:80px; width:415px; height:19px; text-align:left; padding-left:10; ">
  871. <choices>
  872. <itemset>
  873. <label/>
  874. <value/>
  875. </itemset>
  876. </choices>
  877. <script type="javascript" ev:event="xforms-value-changed">
  878. <![CDATA[
  879. rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S", "Y");
  880. model.refresh();
  881. ]]>
  882. </script>
  883. </select1>
  884. <input id="ipt_windd" ref="/root/main/fixasetdet/fixasettmplist/windd" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:152px; width:166px; height:19px; "/>
  885. <caption id="cap_prodcmpy" class="cell_1" visibility="visible" style="left:865px; top:78px; width:90px; height:23px; vertical-align:middle; ">제조회사</caption>
  886. <input id="ipt_cmt" ref="/root/main/fixasetdet/fixasettmplist/cmt" disabled="true" appearance="input" style="left:604px; top:153px; width:585px; height:19px; "/>
  887. <line id="line21" class="line_1" style="x1:0px; y1:0px; x2:1190px; y2:0px; "/>
  888. <input id="ipt_prodcmpy" ref="/root/main/fixasetdet/fixasettmplist/prodcmpy" visibility="hidden" style="left:1110px; top:77px; width:40px; height:19px; "/>
  889. <caption id="cap_fixasetunit" class="cell_1" style="left:264px; top:151px; width:92px; height:23px; vertical-align:middle; ">단위</caption>
  890. <input id="ipt_cntrdeptnm" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptnm" class="input_fix" disabled="true" appearance="input" style="left:1054px; top:104px; width:135px; height:19px; ">
  891. <script type="javascript" ev:event="xforms-value-changed">
  892. <![CDATA[
  893. if(ipt_cntrdeptnm.value.length == 0)
  894. ipt_cntrdeptcd.value = "";
  895. else
  896. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  897. "deptnm," + ipt_cntrdeptnm.value, "", "cntrdeptcd,cntrdeptnm",
  898. ipt_cntrdeptnm, "SPRPZ00200", "","");
  899. model.refresh();
  900. ]]>
  901. </script>
  902. </input>
  903. <line id="line45" class="line_2" style="x1:0px; y1:174px; x2:1190px; y2:174px; "/>
  904. <caption id="cap_mngtdeptcd" class="cell_1" style="left:865px; top:127px; width:90px; height:23px; vertical-align:middle; ">사용부서</caption>
  905. <caption id="cap_smlcd" class="cell_1" style="left:2px; top:103px; width:90px; height:23px; vertical-align:middle; ">소분류</caption>
  906. <caption id="cap_lrgcd" class="cell_1" style="left:2px; top:55px; width:90px; height:23px; vertical-align:middle; ">대분류</caption>
  907. <caption id="caption1" class="cell_1" style="left:512px; top:127px; width:90px; height:23px; vertical-align:middle; ">설치장소</caption>
  908. <input id="ipt_goodflagengnm" ref="/root/main/fixasetdet/fixasettmplist/goodflagengnm" class="input_essential" disabled="true" appearance="input" style="left:94px; top:32px; width:415px; height:19px; "/>
  909. <input id="ipt_cntrdeptcd" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptcd" class="input_default" disabled="true" appearance="input" style="left:957px; top:104px; width:95px; height:19px; ">
  910. <script type="javascript" ev:event="xforms-value-changed">
  911. <![CDATA[
  912. if(ipt_cntrdeptcd.value.length == 0)
  913. ipt_cntrdeptnm.value = "";
  914. else
  915. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  916. "deptcd," + ipt_cntrdeptcd.value, "", "cntrdeptcd,cntrdeptnm",
  917. ipt_cntrdeptcd, "SPRPZ00200", "","");
  918. model.refresh();
  919. ]]>
  920. </script>
  921. </input>
  922. <input id="ipt_suplplcenm" ref="/root/main/fixasetdet/fixasettmplist/suplplcenm" class="input_fix" disabled="true" appearance="input" style="left:748px; top:8px; width:441px; height:19px; ">
  923. <script type="javascript" ev:event="xforms-value-changed">
  924. <![CDATA[
  925. if(ipt_suplplcenm.value.length == 0)
  926. ipt_suplplcecd.value = "";
  927. else
  928. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  929. cmb_instcd_search.value + "," + "custnm," + ipt_suplplcenm.value, "", "suplplcecd,suplplcenm",
  930. ipt_suplplcenm, "SPRSD00220", "instcd","cmb_instcd_search");
  931. model.refresh();
  932. ]]>
  933. </script>
  934. </input>
  935. <caption id="caption22" visibility="hidden" style="left:1005px; top:77px; width:108px; height:20px; ">제조회사코드(히든)</caption>
  936. <caption id="cap_mdlcd" class="cell_1" style="left:2px; top:79px; width:90px; height:23px; vertical-align:middle; ">중분류</caption>
  937. <input id="ipt_goodspec" ref="/root/main/fixasetdet/fixasettmplist/goodspec" class="input_default" disabled="true" appearance="input" style="left:604px; top:80px; width:259px; height:19px; "/>
  938. <caption id="cap_goodspec" class="cell_1" style="left:512px; top:79px; width:90px; height:23px; vertical-align:middle; ">규격</caption>
  939. <input id="ipt_suplplcecd" ref="/root/main/fixasetdet/fixasettmplist/suplplcecd" class="input_default" disabled="true" appearance="input" style="left:604px; top:8px; width:138px; height:19px; ">
  940. <script type="javascript" ev:event="xforms-value-changed">
  941. <![CDATA[
  942. if(ipt_suplplcecd.value.length == 0)
  943. ipt_suplplcenm.value = "";
  944. else
  945. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  946. cmb_instcd_search.value + "," + "entrregno," + ipt_suplplcecd.value, "", "suplplcecd,suplplcenm",
  947. ipt_suplplcecd, "SPRSD00220", "instcd","cmb_instcd_search");
  948. model.refresh();
  949. ]]>
  950. </script>
  951. </input>
  952. <input id="ipt_goodmodel" ref="/root/main/fixasetdet/fixasettmplist/goodmodel" class="input_default" disabled="true" appearance="input" style="left:604px; top:56px; width:259px; height:19px; "/>
  953. <select1 id="rdo_acqtflag" ref="/root/main/fixasetdet/fixasettmplist/acqtflag" disabled="true" appearance="full" cellspacing="15" cols="6" overflow="visible" style="left:604px; top:32px; width:581px; height:15px; background-color:transparent; border-style:none; ">
  954. <choices>
  955. <item>
  956. <label>기증</label>
  957. <value>1</value>
  958. </item>
  959. <item>
  960. <label>매입</label>
  961. <value>2</value>
  962. </item>
  963. <item>
  964. <label>임차</label>
  965. <value>3</value>
  966. </item>
  967. <item>
  968. <label>지불필</label>
  969. <value>4</value>
  970. </item>
  971. <item>
  972. <label>공동운영</label>
  973. <value>5</value>
  974. </item>
  975. <item>
  976. <label>사후관리</label>
  977. <value>6</value>
  978. </item>
  979. </choices>
  980. </select1>
  981. <input id="ipt_mngtdeptnm" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptnm" class="input_fix" disabled="true" appearance="input" style="left:1054px; top:129px; width:135px; height:19px; ">
  982. <script type="javascript" ev:event="xforms-value-changed">
  983. <![CDATA[
  984. if(ipt_mngtdeptnm.value.length == 0)
  985. ipt_mngtdeptcd.value = "";
  986. else
  987. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  988. "deptnm," + ipt_mngtdeptnm.value, "", "mngtdeptcd,mngtdeptnm",
  989. ipt_mngtdeptnm, "SPRPZ00200", "","");
  990. model.refresh();
  991. ]]>
  992. </script>
  993. </input>
  994. <caption id="cap_cmt" class="cell_1" style="left:512px; top:151px; width:90px; height:23px; vertical-align:middle; ">비고</caption>
  995. <caption id="cap_goodmodel" class="cell_1" style="left:512px; top:55px; width:90px; height:23px; vertical-align:middle; ">모델명</caption>
  996. <caption id="cap_acqtflag" class="cell_1" style="left:512px; top:31px; width:90px; height:23px; vertical-align:middle; ">도입구분</caption>
  997. <input id="ipt_prodcmpynm" ref="/root/main/fixasetdet/fixasettmplist/prodcmpynm" class="input_fix" disabled="true" appearance="input" style="left:957px; top:80px; width:232px; height:19px; ">
  998. <script type="javascript" ev:event="xforms-value-changed">
  999. <![CDATA[
  1000. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  1001. "prodcmpynm,," + ipt_prodcmpynm.value, "", "prodcmpycd,prodcmpynm",
  1002. ipt_prodcmpynm, "SPRSD00160", "","");
  1003. model.refresh();
  1004. ]]>
  1005. </script>
  1006. </input>
  1007. <input id="ipt_mngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptcd" class="input_default" disabled="true" appearance="input" style="left:957px; top:129px; width:95px; height:19px; ">
  1008. <script type="javascript" ev:event="xforms-value-changed">
  1009. <![CDATA[
  1010. if(ipt_mngtdeptcd.value.length == 0)
  1011. ipt_mngtdeptnm.value = "";
  1012. else
  1013. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  1014. "deptcd," + ipt_mngtdeptcd.value, "", "mngtdeptcd,mngtdeptnm",
  1015. ipt_mngtdeptcd, "SPRPZ00200", "","");
  1016. model.refresh();
  1017. ]]>
  1018. </script>
  1019. </input>
  1020. <input id="ipt_fixasetcd" ref="/root/main/fixasetdet/fixasettmplist/fixasetcd" class="input_essential" disabled="true" appearance="input" style="left:94px; top:8px; width:415px; height:19px; "/>
  1021. <input id="ipt_acntnm" ref="/root/main/fixasetdet/fixasettmplist/acntnm" class="input_fix" disabled="true" appearance="input" style="left:701px; top:104px; width:161px; height:19px; ">
  1022. <script type="javascript" ev:event="xforms-value-changed">
  1023. <![CDATA[
  1024. if(ipt_acntnm.value.length == 0)
  1025. ipt_acntcd.value = "";
  1026. else
  1027. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
  1028. ",Y,2," + ipt_acntnm.value, "", "acntcd,acntnm",
  1029. ipt_acntnm, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd");
  1030. model.refresh();
  1031. ]]>
  1032. </script>
  1033. </input>
  1034. <caption id="cap_acntcd" class="cell_1" style="left:512px; top:103px; width:90px; height:23px; vertical-align:middle; ">계정코드</caption>
  1035. <caption id="cap_fixasetcd" class="cell_1" style="left:2px; top:7px; width:90px; height:23px; vertical-align:middle; ">자산코드</caption>
  1036. <caption id="cap_winno" class="cell_1" style="left:2px; top:151px; width:90px; height:23px; vertical-align:middle; ">검수일</caption>
  1037. <input id="ipt_acntcd" ref="/root/main/fixasetdet/fixasettmplist/acntcd" class="input_default" disabled="true" appearance="input" style="left:604px; top:103px; width:95px; height:19px; ">
  1038. <script type="javascript" ev:event="xforms-value-changed">
  1039. <![CDATA[
  1040. if(ipt_acntcd.value.length == 0)
  1041. ipt_acntnm.value = "";
  1042. else
  1043. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
  1044. ",Y,2," + ipt_acntcd.value, "", "acntcd,acntnm",
  1045. ipt_acntcd, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd");
  1046. model.refresh();
  1047. ]]>
  1048. </script>
  1049. </input>
  1050. <select1 id="cmb_dsplflag" ref="/root/main/fixasetdet/fixasettmplist/dsplflag" disabled="true" appearance="minimal" style="left:94px; top:129px; width:415px; height:19px; ">
  1051. <choices>
  1052. <itemset>
  1053. <label/>
  1054. <value/>
  1055. </itemset>
  1056. </choices>
  1057. </select1>
  1058. <caption id="cap_dsplflag" class="cell_1" style="left:2px; top:127px; width:90px; height:23px; vertical-align:middle; ">처분구분</caption>
  1059. <caption id="cap_cntrdeptcd" class="cell_1" style="left:865px; top:103px; width:90px; height:23px; vertical-align:middle; ">청구부서</caption>
  1060. <select1 id="cmb_prodplce" ref="/root/main/fixasetdet/fixasettmplist/prodplce" disabled="true" appearance="minimal" style="left:957px; top:56px; width:232px; height:19px; ">
  1061. <choices>
  1062. <itemset>
  1063. <label/>
  1064. <value/>
  1065. </itemset>
  1066. </choices>
  1067. </select1>
  1068. <caption id="cap_prodplce" class="cell_1" style="left:865px; top:53px; width:90px; height:23px; vertical-align:middle; ">제조국</caption>
  1069. <line id="line26" class="line_2" style="x1:0px; y1:30px; x2:1190px; y2:30px; "/>
  1070. <line id="line2" class="line_2" style="x1:0px; y1:54px; x2:1190px; y2:54px; "/>
  1071. <line id="line3" class="line_2" style="x1:0px; y1:78px; x2:1190px; y2:78px; "/>
  1072. <line id="line4" class="line_2" style="x1:0px; y1:102px; x2:1190px; y2:102px; "/>
  1073. <line id="line5" class="line_2" style="x1:0px; y1:126px; x2:1190px; y2:126px; "/>
  1074. <line id="line6" class="line_2" style="x1:0px; y1:150px; x2:1190px; y2:150px; "/>
  1075. </case>
  1076. <case id="case3" selected="true">
  1077. <datagrid id="grd_comps" nodeset="/root/main/list/compslist" disabled="true" 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="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1191px; height:177px; ">
  1078. <col ref="rpirgoodcd"/>
  1079. <col ref="prid" type="input"/>
  1080. <col ref="rpirgoodmodel" type="input"/>
  1081. <col ref="rpiruseqty" type="input"/>
  1082. <col ref="rpiramt" type="input" format="#,###"/>
  1083. <col ref="pririnnatiagtplcenm" type="inputbutton" style="left:767px; top:23px; width:130px; height:23px; "/>
  1084. <col ref="prirmngtno" type="input"/>
  1085. <col ref="goodnm" type="input" visibility="hidden"/>
  1086. <col ref="cmt" type="input"/>
  1087. <col ref="instcd" visibility="hidden"/>
  1088. <col ref="fixasetcd" visibility="hidden"/>
  1089. <col ref="pririnnatiagtplce" visibility="hidden"/>
  1090. <script type="javascript" ev:event="onbuttonclick">
  1091. <![CDATA[
  1092. if (grd_comps.col == grd_comps.colRef("goodcd")) {//물품코드 버튼을 눌렀을 때
  1093. model.removenode("/root/copynode");
  1094. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1095. model.makeNode("/root/copynode");
  1096. rszfOpenPopUpListByWndName(grd_comps,"",
  1097. "goodcd,goodnm,goodspec,purcunit","SPRSD00190",
  1098. "instcd,goodflag","cmb_instcd_search,B", "Y");
  1099. var cur_row = grd_comps.row;
  1100. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1101. setCSVToNode("/root/copynode", CSV, "compslist");
  1102. fSettingGoodList("/root/copynode", "compslist");
  1103. }
  1104. else if (grd_comps.col == grd_comps.colRef("pririnnatiagtplcenm")) {// 그리드 제조회사명 클릭
  1105. rszfOpenPopUpListByWndName(grd_comps,"","pririnnatiagtplce,pririnnatiagtplcenm","SPRSD00220","instcd","cmb_instcd_search");
  1106. model.refresh();
  1107. }
  1108. ]]>
  1109. </script>
  1110. <script type="javascript" ev:event="xforms-value-changed">
  1111. <![CDATA[
  1112. if(grd_comps.col == grd_comps.colRef("goodnm") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodnm")).length> 0)
  1113. {
  1114. model.removenode("/root/copynode");
  1115. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1116. model.makeNode("/root/copynode");
  1117. rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodnm,goodflag",
  1118. "goodnm," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodnm"))+ ",B",
  1119. "", "goodcd,goodnm,goodspec,purcunit",
  1120. grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
  1121. // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
  1122. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1123. setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
  1124. fSettingGoodList("/root/copynode", "goodbaseqtylist");
  1125. }
  1126. else if(grd_comps.col == grd_comps.colRef("goodcd") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodcd")).length> 0)
  1127. {
  1128. model.removenode("/root/copynode");
  1129. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1130. model.makeNode("/root/copynode");
  1131. rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodcd,goodflag",
  1132. "goodcd," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodcd"))+ ",B",
  1133. "", "goodcd,goodnm,goodspec,purcunit",
  1134. grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
  1135. // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
  1136. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1137. setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
  1138. fSettingGoodList("/root/copynode", "goodbaseqtylist");
  1139. }
  1140. ]]>
  1141. </script>
  1142. </datagrid>
  1143. </case>
  1144. </switch>
  1145. <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="자산코드^자산명^모델명^규격^S/N^취득일^거래처^제조원^제조국^사용부서^설치장소^청구부서^구코드^이미지^사용장소코드^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11" colsep="^" colwidth="85, 143, 150, 171, 76, 73, 100, 80, 80, 100, 100, 101, 92, 68, 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="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:170px; width:1192px; height:320px; ">
  1146. <col ref="fixasetcd"/>
  1147. <col ref="goodflagengnm"/>
  1148. <col ref="goodmodel"/>
  1149. <col ref="goodspec"/>
  1150. <col ref="mngtno" visibility="visible" style="text-align:right; "/>
  1151. <col ref="possndd" visibility="visible" format="yyyy-mm-dd" style="text-align:center; "/>
  1152. <col ref="suplplcenm" style="text-align:left; "/>
  1153. <col ref="prodcmpynm" style="text-align:left; "/>
  1154. <col ref="prodplce" type="combo" style="text-align:left; ">
  1155. <choices>
  1156. <itemset>
  1157. <label/>
  1158. <value/>
  1159. </itemset>
  1160. </choices>
  1161. </col>
  1162. <col ref="mngtdeptnm" style="text-align:left; "/>
  1163. <col ref="installplcenm" style="text-align:left; "/>
  1164. <col ref="cntrdeptnm" style="text-align:left; "/>
  1165. <col ref="oldcd" style="text-align:left; "/>
  1166. <col checkvalue="Y,N" disabled="true" ref="photoyn" type="checkbox"/>
  1167. <col ref="installplcecd" visibility="hidden"/>
  1168. <col ref="instcd" type="input" visibility="hidden"/>
  1169. <col ref="maineqmt" type="input" visibility="hidden"/>
  1170. <col ref="prodcmpy" visibility="hidden"/>
  1171. <col ref="suplplcecd" visibility="hidden"/>
  1172. <col ref="mngtdeptcd" visibility="hidden"/>
  1173. <col ref="acqtflag" visibility="hidden"/>
  1174. <col ref="fixasetunit" visibility="hidden"/>
  1175. <col ref="acntcd" visibility="hidden"/>
  1176. <col ref="acntnm" visibility="hidden"/>
  1177. <col ref="cmt" visibility="hidden"/>
  1178. <col ref="mdlcd" visibility="hidden"/>
  1179. <col ref="cntrdeptcd" visibility="hidden"/>
  1180. <col ref="dsplflag" visibility="hidden"/>
  1181. <col ref="lrgcd" visibility="hidden"/>
  1182. <col ref="windd" visibility="hidden"/>
  1183. <col ref="smlcd" visibility="hidden"/>
  1184. <script type="javascript" ev:event="onrowchanged">
  1185. <![CDATA[
  1186. var fInstcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("instcd"));
  1187. var fFixasetcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd"));
  1188. model.setValue("/root/send/instcd", fInstcd);
  1189. model.setValue("/root/send/fixasetcd", fFixasetcd);
  1190. model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
  1191. model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
  1192. model.copyNode("/root/main/fixasetdet/fixasettmplist", "/root/main/list/fixaset/fixasetlist[" + grd_fixasetlist.row + "]");
  1193. submit("TRRFC00205");
  1194. fMakeNode();
  1195. // 대분류 코드 콤보 설정.
  1196. rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd", "", "L", "Y");
  1197. cmb_lrgcd.dispatch("xforms-value-changed");
  1198. fAllControlDisabled("true");
  1199. ipt_fixasetcd.disabled = true;
  1200. ipt_goodflagengnm.disabled = true;
  1201. ipt_installplcecd.disabled = true;
  1202. model.setValue("/root/send/tmpnode/tmpfixasetnode", grd_fixasetlist.row);
  1203. grd_fixasetlist.dispatch("onmouseup");
  1204. model.refresh();
  1205. ]]>
  1206. </script>
  1207. <script type="javascript" ev:event="onaftersort">
  1208. <![CDATA[
  1209. grd_fixasetlist.gridToInstance();
  1210. ]]>
  1211. </script>
  1212. </datagrid>
  1213. </group>
  1214. <group id="group1" style="left:0px; top:12px; width:1195px; height:27px; ">
  1215. <button id="btn_print" class="btn3_letter2" visibility="hidden" style="left:3px; top:3px; width:56px; height:22px; ">
  1216. <caption>출력</caption>
  1217. </button>
  1218. <button id="btn_init" class="btn4_letter3" style="left:1113px; top:3px; width:68px; height:22px; ">
  1219. <caption>초기화</caption>
  1220. <script type="javascript" ev:event="DOMActivate">
  1221. <![CDATA[
  1222. model.resetInstanceNode("/root/send");
  1223. fInitialize();
  1224. ]]>
  1225. </script>
  1226. </button>
  1227. <line id="line14" class="line_6" style="x1:0; y1:25; x2:1194; y2:25; "/>
  1228. </group>
  1229. </xhtml:body>
  1230. </xhtml:html>