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

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