SMRSC12000_장비청구접수.xrw 106 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>장비청구접수</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <instutcnstrneedyn>
  11. <label>예</label>
  12. <value>Y</value>
  13. <label>아니오</label>
  14. <value>N</value>
  15. </instutcnstrneedyn>
  16. <calcscorgenryn>
  17. <label>있다</label>
  18. <value>Y</value>
  19. <label>없다</label>
  20. <value>N</value>
  21. </calcscorgenryn>
  22. <installspcepossnyn>
  23. <label>있다</label>
  24. <value>Y</value>
  25. <label>없다</label>
  26. <value>N</value>
  27. </installspcepossnyn>
  28. <instcd/>
  29. <reqdd/>
  30. <reqseqno/>
  31. <usemthd>
  32. <label>과전용</label>
  33. <value>1</value>
  34. <label>공동사용</label>
  35. <value>2</value>
  36. <label>중앙과</label>
  37. <value>3</value>
  38. </usemthd>
  39. <prcsstat>
  40. <label>신청</label>
  41. <value>A</value>
  42. <label>접수</label>
  43. <value>C</value>
  44. <label>발주</label>
  45. <value>P</value>
  46. <label>입고</label>
  47. <value>W</value>
  48. </prcsstat>
  49. <budgetflag>
  50. <label>기자재</label>
  51. <value>1</value>
  52. <label>응급</label>
  53. <value>2</value>
  54. <label>기타</label>
  55. <value>3</value>
  56. <label>Nego예산</label>
  57. <value>4</value>
  58. <label>교비</label>
  59. <value>5</value>
  60. <label>연구비</label>
  61. <value>6</value>
  62. </budgetflag>
  63. <chrgpsnid>
  64. </chrgpsnid>
  65. <detailprog>
  66. <label>입찰</label>
  67. <value>1</value>
  68. <label>수의계약</label>
  69. <value>2</value>
  70. <label>종합구매</label>
  71. <value>3</value>
  72. <label>기타</label>
  73. <value>4</value>
  74. </detailprog>
  75. <purcacptflag>
  76. <label>승인</label>
  77. <value>Y</value>
  78. <label>부결</label>
  79. <value>C</value>
  80. <label>미승인</label>
  81. <value>N</value>
  82. </purcacptflag>
  83. <acptflaglist>
  84. <acptflagcheck>N</acptflagcheck>
  85. <checkvalue1>Y</checkvalue1>
  86. <checkvalue2>Y</checkvalue2>
  87. </acptflaglist>
  88. </init>
  89. <send>
  90. <sendlist>
  91. <instcd/>
  92. <reqdeptcd/>
  93. <reqdeptnm/>
  94. <workflag/>
  95. <reqfrmdd/>
  96. <reqtodd/>
  97. <prcsstat/>
  98. <goodflag/>
  99. <deptaprvyn/>
  100. <cntrdeptcd/>
  101. <reqflag/>
  102. <budgetflag/>
  103. <goodflagengnm/>
  104. </sendlist>
  105. <save>
  106. <reqeqmtlist/>
  107. <publusedeptlist/>
  108. <smlartyeqmtlist/>
  109. <recmeqmtlist/>
  110. <psgedeptlist/>
  111. </save>
  112. </send>
  113. <main>
  114. <list>
  115. <reqeqmtlist/>
  116. <publusedeptlist/>
  117. <smlartyeqmtlist/>
  118. <recmeqmtlist/>
  119. <psgedeptlist/>
  120. <fixasetcd>
  121. <fixasetcdlist/>
  122. </fixasetcd>
  123. <mon1cdlist/>
  124. <mon2cdlist/>
  125. </list>
  126. <reqeqmtlist>
  127. <instcd/>
  128. <reqdd/>
  129. <reqseqno/>
  130. <reqdeptcd/>
  131. <reqdeptnm/>
  132. <workflag>1</workflag>
  133. <goodflagengnm/>
  134. <goodflaghngnm/>
  135. <reqpsnid/>
  136. <reqpsnnm/>
  137. <appqty/>
  138. <bugtyy/>
  139. <bugtflag/>
  140. <usemthd/>
  141. <cntrdeptcd/>
  142. <cntrdeptnm/>
  143. <mngtdeptcd/>
  144. <mngtdeptnm/>
  145. <installplcecd/>
  146. <installplcenm/>
  147. <presteqmtmmexeccnt/>
  148. <neweqmtmmexeccnt/>
  149. <calcscorprctnmpresteqmt/>
  150. <calcscorprctnmneweqmt/>
  151. <presteqmtmnpwr/>
  152. <prestneweqmtmnpwr/>
  153. <usgepurcneed/>
  154. <instutcnstrneedyn/>
  155. <installspcepossnyn/>
  156. <addmnpwrdr/>
  157. <addmnpwrnurs/>
  158. <addmnpwrengr/>
  159. <addmnpwretc/>
  160. <calcscorgenryn/>
  161. <bugtwncurncy/>
  162. <bugtforgnamt/>
  163. <bugtforgnamtunit/>
  164. <medcare/>
  165. <actamtincl/>
  166. <undecicurematr/>
  167. <medcareinsu/>
  168. <reqqty/>
  169. <acptflag/>
  170. <acptdd/>
  171. <acptseqno/>
  172. <prcsstat/>
  173. <plceorddd/>
  174. <plceordseqno/>
  175. <attfilenm/>
  176. <attfilepathnm/>
  177. <stdysubjno/>
  178. <stdysubjnm/>
  179. <fixasetcd/>
  180. <etccostrt/>
  181. <budgetflag/>
  182. <detailprog/>
  183. <chrgpsnid/>
  184. <iopsnflag/>
  185. <installplcecmt/>
  186. <fcstuseyearno/>
  187. <possesdocucd/>
  188. <onemodelcmt/>
  189. </reqeqmtlist>
  190. </main>
  191. <hidden/>
  192. <temp>
  193. </temp>
  194. </root>
  195. </instance>
  196. <script type="javascript" ev:event="xforms-ready">
  197. <![CDATA[
  198. fInitialize();
  199. ]]>
  200. </script>
  201. <submission id="TRRSC11901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist" resultref="/root/main/list/reqeqmtlist"/>
  202. <submission id="TRRSC11902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/publusedeptlist"/>
  203. <submission id="TRRSC11903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/smlartyeqmtlist"/>
  204. <submission id="TRRSC11904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/recmeqmtlist"/>
  205. <submission id="TRRSC11906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/psgedeptlist"/>
  206. <submission id="TXRSC11901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  207. <submission id="TRRFC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist" resultref="/root/main/list/fixasetcd"/>
  208. <submission id="TRRSC11908" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/mon1cdlist"/>
  209. <submission id="TRRSC11909" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/mon2cdlist"/>
  210. </model>
  211. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  212. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  213. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  214. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  215. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  216. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  217. <script type="javascript">
  218. <![CDATA[
  219. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  220. function fInitialize() {
  221. misfGridInit(grd_reqeqmtlist);
  222. misfGridInit(grd_publusedeptlist);
  223. misfGridInit(grd_smlartyeqmtlist);
  224. misfGridInit(grd_recmeqmtlist);
  225. misfGridInit(grd_psgedeptlist);
  226. misfGridInit(grd_mon1cdlist);
  227. misfGridInit(grd_mon2cdlist);
  228. misfGridInit(grd_fixasetcdlist);
  229. model.resetInstanceNode("/root/send");
  230. model.resetInstanceNode("/root/main/reqeqmtlist");
  231. misfGridComboComCdList("R0035", grd_recmeqmtlist, "prodplce");
  232. misfGridComboComCdList("R0047", grd_recmeqmtlist, "curncyunit");
  233. misfGridComboComCdList("R0047", grd_smlartyeqmtlist, "curncyunit");
  234. misfComboComCdList("030R0005", chk_possesdocu); //구비서류
  235. misfComboComCdListMulti("R0047,R0052,R0116,Z0007","cmb_bugtforgnamtunit,cmb_usemthd,cmb_prcsstat_search,cmb_instcd_search");
  236. //misfComboCopyItemSet(cmb_workflag_search, "", cmb_workflag, ""); //물품코드
  237. /* 2009/01/23 기관코드 설정으로 주석처리
  238. rszfUserReqInstList(cmb_instcd_search,getUserInfo("userid"),"4","B"); // preqpgmgubun : '4' : 장비., 'B' :처리
  239. */
  240. rszfComboBugtList(cmb_bugtflag,getUserInfo("dutplceinstcd"));
  241. // 전체
  242. rszfComboAppendBlankChild("cmb_prcsstat_search");
  243. //rszfComboAppendBlankChild("cmb_workflag_search");
  244. //alert(getUserInfo("userid"));
  245. //alert(getUserInfo("usernm"));
  246. model.setValue(cmb_instcd_search.attribute("ref") , getUserInfo("dutplceinstcd"));
  247. //model.setValue(ipt_reqdeptcd_search.attribute("ref") , getUserInfo("dutplcecd"));
  248. //model.setValue(ipt_reqdeptnm_search.attribute("ref") , getUserInfo("dutplcenm"));
  249. model.setValue(ipt_reqfrmdd_search.attribute("ref"), getCurrentDate() );
  250. model.setValue(ipt_reqtodd_search.attribute("ref"), getCurrentDate() );
  251. // hidden
  252. model.setValue(ipt_reqflag.attribute("ref") , "G");
  253. model.setValue(ipt_goodflag_search.attribute("ref"), "EQ" );
  254. // 조회시 부서증인이 된것만 가져온다.
  255. model.setValue(ipt_deptaprvyn_search.attribute("ref"), "Y" );
  256. misfMsterDetailSet(grd_reqeqmtlist ,null, "TRRSC11901", "Y");
  257. misfMsterDetailSet(grd_publusedeptlist, grd_reqeqmtlist, "TRRSC11902", "Y");
  258. misfMsterDetailSet(grd_smlartyeqmtlist, grd_reqeqmtlist, "TRRSC11903", "Y");
  259. misfMsterDetailSet(grd_recmeqmtlist, grd_reqeqmtlist, "TRRSC11904", "Y");
  260. misfMsterDetailSet(grd_psgedeptlist, grd_reqeqmtlist, "TRRSC11906", "Y");
  261. misfMsterDetailSet(grd_mon1cdlist, grd_reqeqmtlist, "TRRSC11908", "Y");
  262. misfMsterDetailSet(grd_mon2cdlist, grd_reqeqmtlist, "TRRSC11909", "Y");
  263. fAllControlDisabled("Y");
  264. btn_search.dispatch("DOMActivate");
  265. // 권한설정.
  266. fSetReqAuth();
  267. // rdo_medcare.select(0);
  268. // rdo_undecicurematr.select(0);
  269. model.refresh();
  270. }
  271. function fSettingGoodList(pnode, nodename){
  272. var codynode = instance1.selectNodes(pnode + "/*");
  273. //alert("song kwangho");
  274. // var addRow = grd_rfehdabplist.rows - grd_rfehdabplist.fixedRows;
  275. // if(model.getValue(grd_rfehdabplist.nodeset + "/rfehdabplist[" + addRow + "]/acsrscd").length > 0)addRow = addRow + 1;
  276. // for (var j = 1; j <= codynode.length ; j++) {
  277. // if(addRow > grd_rfehdabplist.rows - grd_rfehdabplist.fixedRows)
  278. // {
  279. // btn_insRfehdabp.dispatch("DOMActivate");
  280. // addRow = grd_rfehdabplist.rows - grd_rfehdabplist.fixedRows;
  281. //
  282. // }
  283. //
  284. // model.setValue(grd_rfehdabplist.nodeset + "[" + addRow + "]/acsrscd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
  285. // model.setValue(grd_rfehdabplist.nodeset + "[" + addRow + "]/acsrsnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
  286. // }
  287. //
  288. model.refresh();
  289. }
  290. /*--------------------------------------------------------------------------------*/
  291. /* 화면 open시 disable ..행추가시 또는 조회후 값 존재시 enable */
  292. /*--------------------------------------------------------------------------------*/
  293. function fAllControlDisabled(pDisableYn)
  294. {
  295. if(pDisableYn == "Y")
  296. {
  297. cmb_workflag.disabled="true"
  298. ipt_reqdeptcd.disabled="true"
  299. // ipt_reqpsnid.disabled="true"
  300. ipt_goodflagengnm.disabled="true"
  301. ipt_goodflaghngnm.disabled="true"
  302. cmb_bugtflag.disabled="true"
  303. ipt_stdysubjno.disabled="true"
  304. ipt_bugtyy.disabled="true"
  305. ipt_reqdeptcd.disabled="true"
  306. ipt_mngtdeptcd.disabled="true"
  307. cmb_usemthd.disabled="true"
  308. ipt_installplcecd.disabled="true"
  309. ipt_appqty.disabled="true"
  310. ipt_installplcecmt.disabled="true"
  311. cmb_bugtforgnamtunit.disabled="true"
  312. ipt_bugtwncurncy.disabled="true"
  313. ipt_bugtforgnamt.disabled="true"
  314. ipt_addmnpwrdr.disabled="true"
  315. ipt_addmnpwrnurs.disabled="true"
  316. ipt_addmnpwrengr.disabled="true"
  317. ipt_addmnpwretc.disabled="true"
  318. rdo_instutcnstrneedyn.disabled="true"
  319. rdo_calcscorgenryn.disabled="true"
  320. rdo_installspcepossnyn.disabled="true"
  321. tar_usgepurcneed.disabled="true"
  322. ipt_presteqmtmmexeccnt.disabled="true"
  323. ipt_neweqmtmmexeccnt.disabled="true"
  324. ipt_calcscorprctnmpresteqmt.disabled="true"
  325. ipt_calcscorprctnmneweqmt.disabled="true"
  326. ipt_presteqmtmnpwr.disabled="true"
  327. ipt_prestneweqmtmnpwr.disabled="true"
  328. btn_goodflagengnm.disabled="true"
  329. btn_stdysubjnm.disabled="true"
  330. btn_reqdeptcd.disabled="true"
  331. btn_mngtdeptcd.disabled="true"
  332. btn_installplcecd.disabled="true"
  333. ipt_etccostrt.disabled="true"
  334. ipt_chgrate.disabled="true"
  335. cmb_iopsnflag.disabled="true"
  336. tar_subestbcmt.disabled="true"
  337. tar_machcmt.disabled="true"
  338. tar_eleccmt.disabled="true"
  339. tar_mutplecmt.disabled="true"
  340. tar_compucmt.disabled="true"
  341. tar_onemodelcmt.disabled="true"
  342. tar_etccmt.disabled="true"
  343. cmb_detailprog.disabled="true"
  344. //cmb_chrgpsnid.disabled="true"
  345. cmb_budgetflag.disabled="true"
  346. ipt_mngtdeptnm.disabled="true"
  347. ipt_installplcenm.disabled="true"
  348. ipt_reqdeptnm.disabled="true"
  349. ipt_fcstuseyearno.disabled="true"
  350. chk_possesdocu.disabled="true"
  351. }
  352. else
  353. {
  354. cmb_workflag.disabled="false"
  355. ipt_reqdeptcd.disabled="false"
  356. // ipt_reqpsnid.disabled="false"
  357. ipt_goodflagengnm.disabled="false"
  358. ipt_goodflaghngnm.disabled="false"
  359. cmb_bugtflag.disabled="false"
  360. ipt_stdysubjno.disabled="false"
  361. ipt_bugtyy.disabled="false"
  362. ipt_reqdeptcd.disabled="false"
  363. ipt_mngtdeptcd.disabled="false"
  364. cmb_usemthd.disabled="false"
  365. ipt_installplcecd.disabled="false"
  366. ipt_appqty.disabled="false"
  367. ipt_installplcecmt.disabled="false"
  368. cmb_bugtforgnamtunit.disabled="false"
  369. ipt_bugtwncurncy.disabled="false"
  370. ipt_bugtforgnamt.disabled="false"
  371. ipt_addmnpwrdr.disabled="false"
  372. ipt_addmnpwrnurs.disabled="false"
  373. ipt_addmnpwrengr.disabled="false"
  374. ipt_addmnpwretc.disabled="false"
  375. rdo_instutcnstrneedyn.disabled="false"
  376. rdo_calcscorgenryn.disabled="false"
  377. rdo_installspcepossnyn.disabled="false"
  378. tar_usgepurcneed.disabled="false"
  379. ipt_presteqmtmmexeccnt.disabled="false"
  380. ipt_neweqmtmmexeccnt.disabled="false"
  381. ipt_calcscorprctnmpresteqmt.disabled="false"
  382. ipt_calcscorprctnmneweqmt.disabled="false"
  383. ipt_presteqmtmnpwr.disabled="false"
  384. ipt_prestneweqmtmnpwr.disabled="false"
  385. btn_goodflagengnm.disabled="false"
  386. btn_stdysubjnm.disabled="false"
  387. btn_reqdeptcd.disabled="false"
  388. btn_mngtdeptcd.disabled="false"
  389. btn_installplcecd.disabled="false"
  390. ipt_etccostrt.disabled="false"
  391. ipt_chgrate.disabled="false"
  392. cmb_iopsnflag.disabled="false"
  393. tar_subestbcmt.disabled="false"
  394. tar_machcmt.disabled="false"
  395. tar_eleccmt.disabled="false"
  396. tar_mutplecmt.disabled="false"
  397. tar_compucmt.disabled="false"
  398. tar_onemodelcmt.disabled="false"
  399. tar_etccmt.disabled="false"
  400. cmb_detailprog.disabled="false"
  401. //cmb_chrgpsnid.disabled="false"
  402. cmb_budgetflag.disabled="false"
  403. ipt_mngtdeptnm.disabled="false"
  404. ipt_installplcenm.disabled="false"
  405. ipt_reqdeptnm.disabled="false"
  406. ipt_fcstuseyearno.disabled="false"
  407. chk_possesdocu.disabled="false"
  408. }
  409. model.refresh();
  410. }
  411. function fAfterRetr()
  412. {
  413. /* 청구상태가 아니면 막는다*/
  414. for(var fRow = grd_reqeqmtlist.fixedRows; fRow < grd_reqeqmtlist.rows; fRow++)
  415. {
  416. if(grd_reqeqmtlist.valueMatrix(fRow, grd_reqeqmtlist.colRef("prcsstat")) == "1")
  417. {
  418. grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("acptflag")) = false;
  419. // 구매승인권한이 없으면
  420. if ( model.getValue("/root/init/reqflagpurcarth/reqflagpurcarthlist/purcarthyn") == "Y")
  421. grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("purcacptflag")) = false;
  422. else
  423. grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("purcacptflag")) = true;
  424. }
  425. else
  426. {
  427. grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("acptflag")) = true;
  428. grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("purcacptflag")) = true;
  429. }
  430. }
  431. }
  432. function fCheckRetrieveData(pmsg)
  433. {
  434. if(model.getValue(cmb_instcd_search.attribute("ref")).length== 0 )
  435. {
  436. if(pmsg == true)
  437. {
  438. messageBox("기관코드를 " ,"C002");
  439. }
  440. model.setFocus("cmb_instcd_search");
  441. return false;
  442. }
  443. if(model.getValue(ipt_reqfrmdd_search.attribute("ref")).length== 0 )
  444. {
  445. if(pmsg == true)
  446. {
  447. messageBox("청구일자를 " ,"C001");
  448. }
  449. model.setFocus("ipt_reqfrmdd_search");
  450. return false;
  451. }
  452. if(model.getValue(ipt_reqtodd_search.attribute("ref")).length== 0 )
  453. {
  454. if(pmsg == true)
  455. {
  456. messageBox("청구일자를 " ,"C001");
  457. }
  458. model.setFocus("ipt_reqtodd_search");
  459. return false;
  460. }
  461. return true;
  462. }
  463. // 접수 체크에 관한 추천장비 행추가,삭제,수정 설정.
  464. function fRecmeqmtSet(fBool)
  465. {
  466. grd_recmeqmtlist.isReadOnly(grd_recmeqmtlist.fixedRows-1, grd_recmeqmtlist.fixedCols-1, grd_recmeqmtlist.rows-1, grd_recmeqmtlist.cols-1) = fBool;
  467. button13.disabled = fBool;
  468. button14.disabled = fBool;
  469. grd_smlartyeqmtlist.isReadOnly(grd_smlartyeqmtlist.fixedRows-1, grd_smlartyeqmtlist.fixedCols-1, grd_smlartyeqmtlist.rows-1, grd_smlartyeqmtlist.cols-1) = fBool;
  470. button16.disabled = fBool;
  471. button18.disabled = fBool;
  472. grd_psgedeptlist.isReadOnly(grd_psgedeptlist.fixedRows-1, grd_psgedeptlist.fixedCols-1, grd_psgedeptlist.rows-1, grd_psgedeptlist.cols-1) = fBool;
  473. button17.disabled = fBool;
  474. button15.disabled = fBool;
  475. grd_publusedeptlist.isReadOnly(grd_publusedeptlist.fixedRows-1, grd_publusedeptlist.fixedCols-1, grd_publusedeptlist.rows-1, grd_publusedeptlist.cols-1) = fBool;
  476. button6.disabled = fBool;
  477. button4.disabled = fBool;
  478. grd_mon1cdlist.isReadOnly(grd_mon1cdlist.fixedRows-1, grd_mon1cdlist.fixedCols-1, grd_mon1cdlist.rows-1, grd_mon1cdlist.cols-1) = fBool;
  479. button20.disabled = fBool;
  480. button12.disabled = fBool;
  481. grd_mon2cdlist.isReadOnly(grd_mon2cdlist.fixedRows-1, grd_mon2cdlist.fixedCols-1, grd_mon2cdlist.rows-1, grd_mon2cdlist.cols-1) = fBool;
  482. button23.disabled = fBool;
  483. button21.disabled = fBool;
  484. grd_fixasetcdlist.isReadOnly(grd_fixasetcdlist.fixedRows-1, grd_fixasetcdlist.fixedCols-1, grd_fixasetcdlist.rows-1, grd_fixasetcdlist.cols-1) = fBool;
  485. }
  486. function fSetReqAuth()
  487. {
  488. // 궈한체크로직이 구매부서기준으로 체크해야한다. 잘못되어 있었다...HBH
  489. rszfGetReqFlagRurcAuthInfo(model.getValue(cmb_instcd_search.attribute("ref")), model.getValue(ipt_reqflag.attribute("ref")) , getUserInfo("dutplcecd"), getUserInfo("userid"));
  490. if ( model.getValue("/root/init/reqflagpurcarth/reqflagpurcarthlist/purcarthyn") == "Y")
  491. {
  492. //btn_saverece.disabled = true;
  493. brn_all_check.disabled = false;
  494. //btn_purcaprv.disabled = false;
  495. }
  496. else
  497. {
  498. brn_all_check.disabled = true;
  499. //btn_purcaprv.disabled = true;
  500. }
  501. model.refresh();
  502. }
  503. function fDataCheck( ) {
  504. if ( grd_reqeqmtlist.rows > 1 )misfGridRowStatusChange(grd_reqeqmtlist,"/root/main/list","/root/main");
  505. var updtdata = getGridUpdateData(grd_reqeqmtlist);
  506. model.refresh();
  507. if (updtdata != "" ) return true;
  508. updtdata = getGridUpdateData(grd_publusedeptlist);
  509. if (updtdata != "" ) return true;
  510. updtdata = getGridUpdateData(grd_smlartyeqmtlist);
  511. if (updtdata != "" ) return true;
  512. updtdata = getGridUpdateData(grd_recmeqmtlist);
  513. if (updtdata != "" ) return true;
  514. updtdata = getGridUpdateData(grd_psgedeptlist);
  515. if (updtdata != "" ) return true;
  516. updtdata = getGridUpdateData(grd_mon1cdlist);
  517. if (updtdata != "" ) return true;
  518. updtdata = getGridUpdateData(grd_mon2cdlist);
  519. if (updtdata != "" ) return true;
  520. else return false;
  521. }
  522. function fSetAddRow( grd_temp ) {
  523. misfGridIUD(grd_temp,"A","N");
  524. // grd_temp.addRow(false);
  525. model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/instcd", model.getValue(opt_instcd.attribute("ref")) );
  526. model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/reqdd", model.getValue(opt_reqdd.attribute("ref")) );
  527. model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/reqseqno", model.getValue(opt_reqseqno.attribute("ref")) );
  528. }
  529. function fCheckSaveData()
  530. {
  531. if(model.getValue(ipt_reqdeptcd.attribute("ref")).length==0)
  532. {
  533. messageBox("신청부서는" ,"I003");
  534. model.setFocus("ipt_reqdeptcd");
  535. return false;
  536. }
  537. if(model.getValue(cmb_workflag.attribute("ref")).length==0)
  538. {
  539. messageBox("청구구분은","I003");
  540. model.setFocus("cmb_workflag");
  541. return false;
  542. }
  543. if(model.getValue(ipt_appqty.attribute("ref")).length==0 || model.getValue(ipt_appqty.attribute("ref"))==0)
  544. {
  545. messageBox("청구수량은","I003");
  546. model.setFocus("ipt_appqty");
  547. return false;
  548. }
  549. if(model.getValue(ipt_goodflagengnm.attribute("ref")).length==0)
  550. {
  551. messageBox("장비영문명을","I003");
  552. model.setFocus("ipt_goodflagengnm");
  553. return false;
  554. }
  555. if(model.getValue(ipt_mngtdeptcd.attribute("ref")).length==0)
  556. {
  557. messageBox("관리부서를","I003");
  558. model.setFocus("ipt_mngtdeptcd");
  559. return false;
  560. }
  561. if(model.getValue(ipt_reqdeptcd.attribute("ref")).length==0)
  562. {
  563. messageBox("청구부서를","I003");
  564. model.setFocus("ipt_reqdeptcd");
  565. return false;
  566. }
  567. if( checkKeyColumn("grd_recmeqmtlist") == false) return;
  568. if( checkKeyColumn("grd_smlartyeqmtlist") == false) return;
  569. if( checkKeyColumn("grd_psgedeptlist") == false) return;
  570. if( checkKeyColumn("grd_publusedeptlist") == false) return;
  571. if( checkKeyColumn("grd_mon1cdlist") == false) return;
  572. if( checkKeyColumn("grd_mon2cdlist") == false) return;
  573. return true;
  574. }
  575. // 일괄 접수 처리 루틴
  576. // 진행상태가 청구이며 , 구매승인건이 아닌것만 일괄처리한다
  577. function fSettingReqRece()
  578. {
  579. for(var liRow = grd_reqeqmtlist.fixedRows ; liRow < grd_reqeqmtlist.rows ; liRow++)
  580. {
  581. if ( model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (liRow - grd_reqeqmtlist.fixedRows + 1) +"]/prcsstat") == "1" &&
  582. model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (liRow - grd_reqeqmtlist.fixedRows + 1) +"]/purcacptflag") != "C" &&
  583. model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (liRow - grd_reqeqmtlist.fixedRows + 1) +"]/purcacptflag") != "Y" )
  584. {
  585. if(model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag") == "Y")
  586. {
  587. model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag","N");
  588. grd_reqeqmtlist.rowStatus(liRow) = "2";
  589. }
  590. else
  591. {
  592. model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag" ,"Y");
  593. grd_reqeqmtlist.rowStatus(liRow) = "2";
  594. }
  595. }
  596. }
  597. model.refresh();
  598. }
  599. function fSettingPurcRece ()
  600. {
  601. for(var liRow = grd_reqeqmtlist.fixedRows ; liRow < grd_reqeqmtlist.rows ; liRow++)
  602. {
  603. if ( model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/prcsstat") == "1" )
  604. {
  605. if ( model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (liRow - grd_reqeqmtlist.fixedRows + 1) +"]/acptflag") == "Y" )
  606. {
  607. if(model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag") == "Y")
  608. {
  609. /*model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag","N");
  610. grd_reqeqmtlist.rowStatus(liRow) = "2";
  611. model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptdd","");*/
  612. }
  613. /*------------------------------------------------------------------------------------------------
  614. * 부결 제외
  615. ------------------------------------------------------------------------------------------------*/
  616. else if (model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag") != "Y" ||
  617. (model.getValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag") != "C") )
  618. {
  619. model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag" ,"Y");
  620. model.setValue(grd_reqeqmtlist.nodeset + "[" + (liRow - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptdd",getCurrentDate());
  621. grd_reqeqmtlist.rowStatus(liRow) = "2";
  622. }
  623. }
  624. }
  625. }
  626. model.refresh();
  627. }
  628. function fMovecd(pgrid_name)
  629. {
  630. if(model.GetValue(cmb_workflag.attribute("ref")).length == 0)
  631. {
  632. messageBox("행추가를 먼저하시거나 '청구구분' 란을 먼저 " ,"C002");
  633. //model.setFocus("cmb_instcd_search");
  634. return;
  635. }
  636. if (grd_fixasetcdlist.row > 0)
  637. {
  638. //model.setValue(ipt_fixasetcd.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("fixasetcd")));
  639. model.setValue(ipt_goodflaghngnm.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("goodflaghngnm")));
  640. model.setValue(ipt_goodflagengnm.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("goodflagengnm")));
  641. model.refresh();
  642. }
  643. }
  644. function fSetAmt()
  645. {
  646. if(cmb_iopsnflag.value == "H")
  647. {
  648. ipt_bugtwncurncy.disabled="false";
  649. ipt_bugtforgnamt.disabled="true";
  650. ipt_chgrate.disabled="true";
  651. ipt_etccostrt.disabled="true";
  652. model.setValue(ipt_chgrate.attribute("ref"),"0" );
  653. model.setValue(ipt_bugtforgnamt.attribute("ref"),"0" );
  654. model.setValue(ipt_etccostrt.attribute("ref"),"0" );
  655. }
  656. else
  657. {
  658. ipt_bugtwncurncy.disabled="true";
  659. ipt_bugtforgnamt.disabled="false";
  660. ipt_chgrate.disabled="false";
  661. ipt_etccostrt.disabled="false";
  662. // 원화 := 외화*환율 + ((외화*환율*부대비용율)/100)
  663. var bugtwncurncy = ( parseFloat(ipt_bugtforgnamt.value) * parseFloat(ipt_chgrate.value) ) ;
  664. var bugtwncurncy = ( parseFloat(ipt_bugtforgnamt.value) * parseFloat(ipt_chgrate.value) ) +
  665. ( ( parseFloat(ipt_bugtforgnamt.value) * parseFloat(ipt_chgrate.value) * parseFloat(ipt_etccostrt.value) ) / 100 ) ;
  666. // var bugtwncurncy = ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) ) ;
  667. // var bugtwncurncy = ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) ) +
  668. // ( ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) * parseInt(ipt_etccostrt.value) ) / 100 ) ;
  669. //var bugtwncurncy = ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) ) ;
  670. model.setValue(ipt_bugtwncurncy.attribute("ref"),bugtwncurncy );
  671. }
  672. model.refresh();
  673. }
  674. function fSettingGoodList(pnode, nodename)
  675. {
  676. var codynode = instance1.selectNodes(pnode + "/*");
  677. var addRow = grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows;
  678. for (var j = 1; j <= codynode.length ; j++)
  679. {
  680. if(addRow > grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows)
  681. {
  682. misfGridIUD(grd_mon2cdlist,"A");
  683. addRow = grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows;
  684. }
  685. model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/cstcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
  686. model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/cstcdnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
  687. model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/purcunitcost" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodunitcost"));
  688. model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/suplplce" , model.getValue(pnode +"/" + nodename + "[" + j + "]/maincustlastsuplplce"));
  689. model.setValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/suplplcenm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/maincustlastsuplplcenm"));
  690. addRow = addRow + 1;
  691. }
  692. model.recalculate();
  693. model.refresh();
  694. }
  695. function fSetNum(grd_temp, node)
  696. {
  697. var num = new String(grd_temp.row);
  698. if(num.length == 1){
  699. num = "00" + num;
  700. }
  701. else if(num.length == 2){
  702. num = "0" + num;
  703. }
  704. grd_temp.valueMatrix(grd_temp.row, grd_temp.colRef(node)) = num;
  705. }
  706. //접수체크시 경유부서 데이터 체크.
  707. function fAcptflagValueCheck()
  708. {
  709. if(grd_reqeqmtlist.col == grd_reqeqmtlist.colRef("acptflag"))
  710. {
  711. if(grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("acptflag")) == 'Y')
  712. {
  713. opt_checkvalue1.value = 'N';
  714. opt_checkvalue2.value = 'N';
  715. for(var s = grd_psgedeptlist.fixedRows; s < grd_psgedeptlist.rows; s++)
  716. {
  717. if( grd_psgedeptlist.valueMatrix(s, grd_psgedeptlist.colRef("psgedeptcd")) == '4070300000' )
  718. {
  719. opt_checkvalue1.value = 'Y';
  720. }
  721. if( grd_psgedeptlist.valueMatrix(s, grd_psgedeptlist.colRef("psgedeptcd")) == '4060100000' )
  722. {
  723. opt_checkvalue2.value = 'Y';
  724. }
  725. }
  726. if( (opt_checkvalue1.value == 'N') || (opt_checkvalue2.value == 'N') )
  727. {
  728. button1.selected = true;
  729. button1.dispatch("DOMActivate");
  730. /*if( messageBox("경유부서 Data가 없습니다. 기본설정 작업을","Q004") != 6 )
  731. {
  732. opt_checkvalue1.value = 'Y';
  733. opt_checkvalue2.value = 'Y';
  734. }else{
  735. //마스터디테일로 그리드가 모두 연결되어있어 지금 현시점에 데이터를 추가한 후에 모든그리드의 데이터를 조회하게된다.
  736. //이런상황이 발생하면 지금 경유부서에 데이터를 추가시킨 데이터가 없어지게 됨으로 모든 그리드의 데이터를 조회후
  737. //경유부서에 데이터를 추가 시켜주기 위해 임시 노드에 플래그를 저장하여 조회후 플래그 값이 'Y' 이면 경유부서에 데이터를 추가시킨다.
  738. opt_acptflagcheck.value = 'Y';
  739. }*/
  740. opt_acptflagcheck.value = 'Y';
  741. }
  742. }
  743. }
  744. }
  745. // 경유부서 기본 데이터 설정.
  746. function fAcptflagDataSetup()
  747. {
  748. if( opt_checkvalue1.value == 'N' )
  749. {
  750. button17.dispatch("DOMActivate");
  751. grd_psgedeptlist.valueMatrix(grd_psgedeptlist.row, grd_psgedeptlist.colRef("psgedeptcd")) = '4070300000';
  752. grd_psgedeptlist.valueMatrix(grd_psgedeptlist.row, grd_psgedeptlist.colRef("psgedeptnm")) = '보험팀';
  753. opt_checkvalue1.value = 'Y';
  754. }
  755. if( opt_checkvalue2.value == 'N' )
  756. {
  757. button17.dispatch("DOMActivate");
  758. grd_psgedeptlist.valueMatrix(grd_psgedeptlist.row, grd_psgedeptlist.colRef("psgedeptcd")) = '4060100000';
  759. grd_psgedeptlist.valueMatrix(grd_psgedeptlist.row, grd_psgedeptlist.colRef("psgedeptnm")) = '시설팀';
  760. opt_checkvalue2.value = 'Y';
  761. }
  762. }
  763. function fOpenPopupUserHelp(pCtrl, pInstance)
  764. {
  765. misfOpenPopUpList("01", pCtrl, "", pInstance);
  766. model.refresh();
  767. }
  768. ]]>
  769. </script>
  770. </xhtml:head>
  771. <xhtml:body guideline="1,-12;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  772. <group id="group1" style="left:0px; top:0px; width:1195px; height:14px; ">
  773. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">장비청구접수</caption>
  774. </group>
  775. <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195; height:744px; ">
  776. <line id="line2" class="line_3" style="x1:0px; y1:534px; x2:1195px; y2:534px; "/>
  777. <line id="line10" class="line_2" style="x1:0px; y1:370px; x2:1195; y2:370px; "/>
  778. <line id="line8" class="line_2" style="x1:0px; y1:346px; x2:1195; y2:346px; "/>
  779. <caption id="caption9" class="tit_2" style="left:5px; top:79px; width:100px; height:13px; ">장비청구 목록</caption>
  780. <line id="line9" class="line_1" style="x1:0px; y1:265px; x2:1195px; y2:265px; "/>
  781. <input id="ipt_goodflagengnm" ref="/root/main/reqeqmtlist/goodflagengnm" class="input_s_essential" navindex="16" style="left:103px; top:296px; width:417px; height:19px; "/>
  782. <line id="line36" class="line_2" style="x1:3px; y1:666px; x2:707px; y2:666px; "/>
  783. <caption id="caption52" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
  784. <caption id="caption54" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
  785. <datagrid id="grd_reqeqmtlist" nodeset="/root/main/list/reqeqmtlist" scroll="auto" caption="구매승인^전송여부^진행상태^청구번호^청구부서^장비명^모델^제조회사^외화금액^원화금액^신청자^귀속부서^관리부서^설치장소^수량^접수^승인^청구수량^예산년도^예산구분^사용방법^귀속부서^관리부서^설치장소^월간시행건수(현장비)^월간시행건수(신장비)^수가처방코드명(현장비)^수가처방코드명(신장비)^현장비운영인력(현장비)^현장비운영인력(신장비)^용도및구입필요성^시설공사필요여부^설치공간확보여부^추가인력의사^추가인력간호사^추가인력기사^추가인력기타^수가신설여부^예산원화^예산외화^예산외화화폐단위^요양급여^행위료포함^미결정치료재료^의료보험^접수여부^접수일자^접수순번^발주일자^발주순번^첨부파일명^첨부파일경로명^caption1^caption2^caption3" colsep="^" colwidth="56, 63, 71, 90, 72, 199, 148, 86, 72, 69, 94, 104, 99, 112, 49, 45, 54, 100, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 69, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="10" style="left:0px; top:99px; width:1195px; height:130px; ">
  786. <col ref="purcacptflag" type="combo" style="left:1110px; top:23px; width:56px; height:23px; ">
  787. <choices>
  788. <itemset nodeset="/root/init/purcacptflag">
  789. <label ref="label"/>
  790. <value ref="value"/>
  791. </itemset>
  792. </choices>
  793. </col>
  794. <col checkvalue="Y,N" disabled="false" ref="tranyn" type="checkbox" visibility="hidden"/>
  795. <col ref="prcsstatnm"/>
  796. <col ref="reqno" style="left:210px; top:23px; width:90px; height:23px; "/>
  797. <col ref="reqdeptnm"/>
  798. <col ref="goodflagengnm"/>
  799. <col ref="model"/>
  800. <col ref="prodcmpynm"/>
  801. <col ref="forgncurncyamt" format="#,###" style="text-align:right; "/>
  802. <col ref="wncurncyamt" format="#,###" style="text-align:right; "/>
  803. <col ref="reqpsnnm"/>
  804. <col ref="cntrdeptnm" visibility="hidden"/>
  805. <col ref="mngtdeptnm" visibility="hidden"/>
  806. <col ref="installplcenm"/>
  807. <col ref="appqty" format="#,###" style="text-align:right; "/>
  808. <col checkvalue="Y,N" ref="acptflag" type="checkbox"/>
  809. <col checkvalue="Y,N" ref="deptaprvyn" type="checkbox" visibility="hidden"/>
  810. <col ref="reqqty" visibility="hidden" format="#,###" style="text-align:right; "/>
  811. <col ref="bugtyy" visibility="hidden"/>
  812. <col ref="bugtflag" visibility="hidden"/>
  813. <col ref="usemthd" visibility="hidden"/>
  814. <col ref="cntrdeptcd" visibility="hidden"/>
  815. <col ref="mngtdeptcd" visibility="hidden"/>
  816. <col ref="installplcecd" visibility="hidden"/>
  817. <col ref="presteqmtmmexeccnt" visibility="hidden"/>
  818. <col ref="neweqmtmmexeccnt" visibility="hidden"/>
  819. <col ref="calcscorprctnmpresteqmt" visibility="hidden"/>
  820. <col ref="calcscorprctnmneweqmt" visibility="hidden"/>
  821. <col ref="presteqmtmnpwr" visibility="hidden"/>
  822. <col ref="prestneweqmtmnpwr" visibility="hidden"/>
  823. <col ref="usgepurcneed" visibility="hidden"/>
  824. <col ref="instutcnstrneedyn" visibility="hidden"/>
  825. <col ref="installspcepossnyn" visibility="hidden"/>
  826. <col ref="addmnpwrdr" visibility="hidden"/>
  827. <col ref="addmnpwrnurs" visibility="hidden"/>
  828. <col ref="addmnpwrengr" visibility="hidden"/>
  829. <col ref="addmnpwretc" visibility="hidden"/>
  830. <col ref="calcscorgenryn" visibility="hidden"/>
  831. <col ref="bugtwncurncy" visibility="hidden"/>
  832. <col ref="bugtforgnamt" visibility="hidden"/>
  833. <col ref="bugtforgnamtunit" visibility="hidden"/>
  834. <col ref="medcare" visibility="hidden"/>
  835. <col ref="actamtincl" visibility="hidden"/>
  836. <col ref="undecicurematr" visibility="hidden"/>
  837. <col ref="medcareinsu" visibility="hidden"/>
  838. <col ref="acptdd" visibility="hidden"/>
  839. <col ref="acptseqno" visibility="hidden"/>
  840. <col ref="plceorddd" visibility="hidden"/>
  841. <col ref="plceordseqno" visibility="hidden"/>
  842. <col ref="attfilenm" visibility="hidden"/>
  843. <col ref="attfilepathnm" visibility="hidden"/>
  844. <col ref="stdysubjno" visibility="hidden"/>
  845. <col ref="stdysubjnm" visibility="hidden"/>
  846. <col ref="prcsstat" visibility="hidden"/>
  847. <col ref="instcd" visibility="hidden"/>
  848. <col ref="reqdd" visibility="hidden"/>
  849. <col ref="reqseqno" visibility="hidden"/>
  850. <col ref="reqdeptcd" visibility="hidden"/>
  851. <col ref="workflag" visibility="hidden"/>
  852. <col ref="goodflaghngnm" visibility="hidden"/>
  853. <col ref="reqpsnid" visibility="hidden"/>
  854. <col ref="deptaprvdd" visibility="hidden"/>
  855. <col ref="etccostrt" visibility="hidden"/>
  856. <col ref="fixasetcd" visibility="hidden"/>
  857. <col ref="purcacptdd" visibility="hidden"/>
  858. <col ref="subestbcmt" visibility="hidden"/>
  859. <col ref="machcmt" visibility="hidden"/>
  860. <col ref="eleccmt" visibility="hidden"/>
  861. <col ref="mutplecmt" visibility="hidden"/>
  862. <col ref="compucmt" visibility="hidden"/>
  863. <col ref="onemodelcmt" visibility="hidden"/>
  864. <col ref="etccmt" visibility="hidden"/>
  865. <col ref="budgetflag" visibility="hidden"/>
  866. <col ref="detailprog" visibility="hidden"/>
  867. <col ref="chrgpsnid" visibility="hidden"/>
  868. <col ref="chrgpsnidnm" visibility="hidden"/>
  869. <col ref="installplcecmt" visibility="hidden"/>
  870. <col ref="fcstuseyearno" visibility="hidden"/>
  871. <col ref="possesdocucd" visibility="hidden"/>
  872. <script type="javascript" ev:event="onrowchanged">
  873. <![CDATA[
  874. fAllControlDisabled("Y");
  875. if( grd_reqeqmtlist.rows >= grd_reqeqmtlist.fixedRows )
  876. {
  877. model.copyNode("/root/main/reqeqmtlist" , grd_reqeqmtlist.nodeset + "["+ (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]");
  878. model.setValue( opt_instcd.attribute("ref") , model.getValue( grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]/instcd") );
  879. model.setValue( opt_reqdd.attribute("ref") , model.getValue( grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]/reqdd") );
  880. model.setValue( opt_reqseqno.attribute("ref") , model.getValue( grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]/reqseqno") );
  881. model.refresh();
  882. misfGridInit(grd_publusedeptlist);
  883. misfGridInit(grd_smlartyeqmtlist);
  884. misfGridInit(grd_recmeqmtlist);
  885. misfMsterDetailRetrieve();
  886. // 변경가능을 구매승인이 되면 수정못하게 한다.
  887. // if (grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("deptaprvyn")) == "Y" ||
  888. // grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("acptflag")) == "Y" )
  889. if (grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("purcacptflag")) == "Y" )
  890. fAllControlDisabled("Y");
  891. //alert("1");
  892. //
  893. if(grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("chrgpsnid"))!=""){
  894. model.resetInstanceNode("root/init/chrgpsnid");
  895. model.makeValue( "root/init/chrgpsnid/value", grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("chrgpsnid")) );
  896. model.makeValue( "root/init/chrgpsnid/label", grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("chrgpsnidnm")) );
  897. cmb_chrgpsnid.refresh();
  898. cmb_chrgpsnid.select(1);
  899. }
  900. else
  901. {
  902. //alert("2");
  903. fAllControlDisabled("N");
  904. fSetAmt();
  905. //---------------------사용자의 ID로 담당자 콤오에 넣게끔 수정함
  906. model.makeValue("root/init/chrgpsnid/label",getUserInfo("usernm"));
  907. model.makeValue("root/init/chrgpsnid/value",getUserInfo("userid"));
  908. //사용자아이디로 강제로 줬지만 밑에서 다시 grid의 값을로 세팅해서 뺌
  909. //model.setValue( cmb_chrgpsnid.attribute("ref") , getUserInfo("userid") );
  910. cmb_chrgpsnid.refresh();
  911. //------------------------------------------------------------------------------
  912. }
  913. }
  914. //접수체크에 관한 추천장비 행추가,삭제,수정 권한 설정.
  915. if(grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("purcacptflag")) == "Y")
  916. {
  917. fRecmeqmtSet(true);
  918. }else
  919. {
  920. fRecmeqmtSet(false);
  921. }
  922. for(var i = grd_smlartyeqmtlist.fixedRows; i < grd_smlartyeqmtlist.rows ; i++ ) {
  923. grd_smlartyeqmtlist.cellAttribute("disabled", i, grd_smlartyeqmtlist.colRef("curncyunit")) = "true";
  924. }
  925. ]]>
  926. </script>
  927. <script type="javascript" ev:event="xforms-value-changed">
  928. <![CDATA[
  929. //alert("2");
  930. if( grd_reqeqmtlist.col == grd_reqeqmtlist.colRef("purcacptflag"))
  931. {// if 시작
  932. if ( model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/prcsstat") != "1" ||
  933. model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/acptflag") != "Y" )
  934. {
  935. messageBox("청구진행상태 및 접수 상태를 확인하세요 구매승인상태변경을 하실수 ","E001");
  936. if(model.getValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag") == "Y")
  937. {
  938. model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag","N");
  939. grd_reqeqmtlist.rowStatus(grd_reqeqmtlist.Row) = "0";
  940. }
  941. else
  942. {
  943. model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptflag" ,"Y");
  944. grd_reqeqmtlist.rowStatus(grd_reqeqmtlist.Row) = "0";
  945. }
  946. }
  947. else
  948. {
  949. model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/purcacptdd" ,getCurrentDate());
  950. }
  951. }else if(grd_reqeqmtlist.col == grd_reqeqmtlist.colRef("acptflag"))
  952. {
  953. if ( model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/prcsstat") != "1" ||
  954. model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/purcacptflag") == "C" ||
  955. model.getValue( grd_reqeqmtlist.attribute("nodeset")+"["+ (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1) +"]/purcacptflag") == "Y" )
  956. {
  957. messageBox("청구진행상태 및 구매승인 상태를 확인하세요 접수변경을 하실수 ","E001");
  958. if(model.getValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag") == "Y")
  959. {
  960. model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag","N");
  961. grd_reqeqmtlist.rowStatus(grd_reqeqmtlist.Row) = "0";
  962. }
  963. else
  964. {
  965. model.setValue(grd_reqeqmtlist.nodeset + "[" + (grd_reqeqmtlist.Row - grd_reqeqmtlist.fixedRows + 1)+ "]/acptflag" ,"Y");
  966. grd_reqeqmtlist.rowStatus(grd_reqeqmtlist.Row) = "0";
  967. }
  968. }
  969. }
  970. // 접수구분에 따른 경유부서 Data Check
  971. fAcptflagValueCheck();
  972. model.refresh();
  973. ]]>
  974. </script>
  975. <script type="javascript" ev:event="onaftersort">
  976. <![CDATA[
  977. grd_reqeqmtlist.gridToInstance();
  978. ]]>
  979. </script>
  980. </datagrid>
  981. <line id="line3" class="line_1" style="x1:0px; y1:96px; x2:1195px; y2:97px; "/>
  982. <caption id="caption22" class="cell_1" style="left:0px; top:270px; width:101px; height:23px; vertical-align:middle; ">청구구분</caption>
  983. <select1 id="cmb_workflag" ref="/root/main/reqeqmtlist/workflag" class="combo_s_essential" navindex="14" appearance="minimal" style="left:103px; top:272px; width:167px; height:19px; ">
  984. <choices>
  985. <item>
  986. <label>신규</label>
  987. <value>1</value>
  988. </item>
  989. <item>
  990. <label>수량부족</label>
  991. <value>2</value>
  992. </item>
  993. <item>
  994. <label>노후교체</label>
  995. <value>3</value>
  996. </item>
  997. </choices>
  998. </select1>
  999. <caption id="caption23" class="cell_1" style="left:0px; top:318px; width:101px; height:23px; vertical-align:middle; ">장비명(한)</caption>
  1000. <caption id="caption27" class="cell_1" style="left:273px; top:270px; width:100px; height:23px; vertical-align:middle; ">신청자</caption>
  1001. <caption id="caption65" class="cell_1" style="left:0px; top:294px; width:101px; height:23px; vertical-align:middle; ">장비명(영)</caption>
  1002. <input id="ipt_goodflaghngnm" ref="/root/main/reqeqmtlist/goodflaghngnm" class="input_default" navindex="18" style="left:103px; top:320px; width:442px; height:19px; "/>
  1003. <!--</group>-->
  1004. <line id="line15" class="line_2" style="x1:4px; y1:642px; x2:710px; y2:642px; "/>
  1005. <input id="ipt_neweqmtmmexeccnt" ref="/root/main/reqeqmtlist/neweqmtmmexeccnt" class="input_default" visibility="hidden" style="left:1107px; top:295px; width:15px; height:19px; text-align:right; "/>
  1006. <input id="ipt_presteqmtmmexeccnt" ref="/root/main/reqeqmtlist/presteqmtmmexeccnt" class="input_default" visibility="hidden" style="left:1092px; top:295px; width:15px; height:19px; text-align:right; "/>
  1007. <input id="ipt_calcscorprctnmpresteqmt" ref="/root/main/reqeqmtlist/calcscorprctnmpresteqmt" class="input_default" visibility="hidden" style="left:1077px; top:295px; width:15px; height:19px; text-align:right; "/>
  1008. <input id="ipt_calcscorprctnmneweqmt" ref="/root/main/reqeqmtlist/calcscorprctnmneweqmt" class="input_default" visibility="hidden" style="left:1062px; top:295px; width:15px; height:19px; text-align:right; "/>
  1009. <input id="ipt_presteqmtmnpwr" ref="/root/main/reqeqmtlist/presteqmtmnpwr" class="input_default" visibility="hidden" style="left:1052px; top:295px; width:10px; height:19px; text-align:right; "/>
  1010. <input id="ipt_prestneweqmtmnpwr" ref="/root/main/reqeqmtlist/prestneweqmtmnpwr" class="input_default" visibility="hidden" style="left:1042px; top:295px; width:10px; height:19px; text-align:right; "/>
  1011. <caption id="caption17" class="cell_1" style="left:548px; top:294px; width:118px; height:23px; vertical-align:middle; ">설 치 공 간</caption>
  1012. <caption id="caption21" class="cell_1" style="left:801px; top:294px; width:110px; height:23px; vertical-align:middle; ">수가신설여부</caption>
  1013. <caption id="caption24" class="cell_1" style="left:548px; top:270px; width:118px; height:23px; vertical-align:middle; ">추 가 인 력</caption>
  1014. <input id="ipt_addmnpwrengr" ref="/root/main/reqeqmtlist/addmnpwrengr" class="input_default" navindex="44" style="left:932px; top:272px; width:38px; height:19px; text-align:right; "/>
  1015. <input id="ipt_addmnpwretc" ref="/root/main/reqeqmtlist/addmnpwretc" class="input_default" navindex="45" style="left:1032px; top:272px; width:33px; height:19px; text-align:right; "/>
  1016. <input id="ipt_addmnpwrnurs" ref="/root/main/reqeqmtlist/addmnpwrnurs" class="input_default" navindex="43" style="left:830px; top:272px; width:33px; height:19px; text-align:right; "/>
  1017. <input id="ipt_addmnpwrdr" ref="/root/main/reqeqmtlist/addmnpwrdr" class="input_default" navindex="42" style="left:705px; top:272px; width:33px; height:19px; text-align:right; "/>
  1018. <select1 id="rdo_instutcnstrneedyn" ref="/root/main/reqeqmtlist/instutcnstrneedyn" visibility="hidden" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:1032px; top:295px; width:24px; height:16px; background-color:transparent; border-style:none; ">
  1019. <choices>
  1020. <itemset nodeset="/root/init/instutcnstrneedyn">
  1021. <label ref="label"/>
  1022. <value ref="value"/>
  1023. </itemset>
  1024. </choices>
  1025. </select1>
  1026. <textarea id="tar_usgepurcneed" ref="/root/main/reqeqmtlist/usgepurcneed" navindex="48" style="left:668px; top:318px; width:522px; height:68px; "/>
  1027. <caption id="caption16" class="cell_1" style="left:548px; top:318px; width:119px; height:68px; vertical-align:middle; ">기 대 효 과</caption>
  1028. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:60px; "/>
  1029. <button id="btn_search" class="btn1_letter2" navindex="9" style="left:1110px; top:35px; width:56px; height:22px; ">
  1030. <caption>조회</caption>
  1031. <script type="javascript" ev:event="DOMActivate">
  1032. <![CDATA[
  1033. if(fCheckRetrieveData(false) == false)return;
  1034. if ( fDataCheck() ) {
  1035. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  1036. if (ret != 6) { // not OK
  1037. return;
  1038. } else {
  1039. misfMsterDetailRetrieve();
  1040. }
  1041. } else {
  1042. misfMsterDetailRetrieve();
  1043. }
  1044. fAfterRetr()
  1045. if ( grd_reqeqmtlist.rows <= 1 ) {
  1046. model.resetInstanceNode("/root/main/reqeqmtlist");
  1047. model.refresh();
  1048. }
  1049. ]]>
  1050. </script>
  1051. </button>
  1052. <button id="button5" class="icon_search" navindex="6" style="left:517px; top:45px; width:16px; height:16px; ">
  1053. <caption/>
  1054. <script type="javascript" ev:event="DOMActivate">
  1055. <![CDATA[
  1056. var recv_list = "reqdeptcd,reqdeptnm";
  1057. misfOpenPopUpList("02", ipt_reqdeptcd_search,"", recv_list, cmb_instcd_search.value, "instcd") ;
  1058. model.refresh();
  1059. ]]>
  1060. </script>
  1061. </button>
  1062. <select1 id="cmb_instcd_search" ref="/root/send/sendlist/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:100px; top:18px; width:165px; height:19px; text-align:center; ">
  1063. <choices>
  1064. <itemset>
  1065. <label/>
  1066. <value/>
  1067. </itemset>
  1068. </choices>
  1069. <script type="javascript" ev:event="xforms-value-changed">
  1070. <![CDATA[
  1071. rszfComboBugtList(cmb_bugtflag,model.getValue(cmb_instcd_search.attribute("ref")));
  1072. ]]>
  1073. </script>
  1074. </select1>
  1075. <caption id="caption4" class="search_name" style="left:15px; top:19px; width:117px; height:17px; ">기관코드 :</caption>
  1076. <line id="line18" class="line_4" style="x1:1085px; y1:20px; x2:1085px; y2:72px; border-color:#ffe4bb; border-left-style:solid; "/>
  1077. <input id="ipt_reqdeptcd_search" ref="/root/send/sendlist/reqdeptcd" class="input_default" navindex="5" style="left:411px; top:43px; width:103px; height:19px; ">
  1078. <script type="javascript" ev:event="xforms-value-changed">
  1079. <![CDATA[
  1080. if(ipt_reqdeptcd_search.value.length == 0)
  1081. ipt_reqdeptnm_search.value = "";
  1082. else
  1083. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  1084. "deptcd," + ipt_reqdeptcd_search.value, "", "reqdeptcd,reqdeptnm",
  1085. ipt_reqdeptcd_search, "SPRPZ00200", "","");
  1086. model.refresh();
  1087. ]]>
  1088. </script>
  1089. </input>
  1090. <caption id="caption8" class="search_name" style="left:327px; top:44px; width:117px; height:17px; ">청구부서 :</caption>
  1091. <input id="ipt_reqdeptnm_search" ref="/root/send/sendlist/reqdeptnm" class="input_fix" navindex="7" appearance="input" style="left:536px; top:43px; width:139px; height:19px; ">
  1092. <script type="javascript" ev:event="xforms-value-changed">
  1093. <![CDATA[
  1094. if(ipt_reqdeptnm_search.value.length == 0)
  1095. ipt_reqdeptcd_search.value = "";
  1096. else
  1097. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  1098. "deptnm," + ipt_reqdeptnm_search.value, "", "reqdeptcd,reqdeptnm",
  1099. ipt_reqdeptnm_search, "SPRPZ00200", "","");
  1100. model.refresh();
  1101. ]]>
  1102. </script>
  1103. </input>
  1104. <input id="ipt_reqdeptcd" ref="/root/main/reqeqmtlist/reqdeptcd" class="input_essential" visibility="hidden" style="left:1112px; top:275px; width:12px; height:19px; ">
  1105. <script type="javascript" ev:event="xforms-value-changed">
  1106. <![CDATA[
  1107. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  1108. model.refresh();
  1109. model.setFocus("ipt_reqdeptcd");
  1110. ]]>
  1111. </script>
  1112. </input>
  1113. <input id="ipt_reqpsnid" ref="/root/main/reqeqmtlist/reqpsnid" class="input_default" disabled="true" navindex="15" style="left:374px; top:272px; width:62px; height:19px; "/>
  1114. <output id="opt_reqpsnnm" ref="/root/main/reqeqmtlist/reqpsnnm" class="output_fix" appearance="output" style="left:437px; top:272px; width:108px; height:19px; "/>
  1115. <caption id="caption35" class="cell_1" visibility="hidden" style="left:112px; top:238px; width:28px; height:23px; vertical-align:middle; ">예산계정</caption>
  1116. <caption id="caption7" class="cell_1" style="left:0px; top:413px; width:101px; height:23px; vertical-align:middle; ">사용부서</caption>
  1117. <caption id="caption18" class="cell_1" style="left:0px; top:342px; width:101px; height:23px; vertical-align:middle; ">청구부서</caption>
  1118. <caption id="caption20" class="cell_1" style="left:405px; top:437px; width:65px; height:23px; vertical-align:middle; ">예산년도</caption>
  1119. <caption id="caption29" class="cell_1" style="left:0px; top:366px; width:101px; height:23px; vertical-align:middle; ">설치장소</caption>
  1120. <select1 id="cmb_bugtflag" ref="/root/main/reqeqmtlist/bugtflag" class="combo_default" visibility="hidden" appearance="minimal" style="left:140px; top:238px; width:30px; height:19px; ">
  1121. <choices>
  1122. <itemset>
  1123. <label/>
  1124. <value/>
  1125. </itemset>
  1126. </choices>
  1127. </select1>
  1128. <input id="ipt_bugtyy" ref="/root/main/reqeqmtlist/bugtyy" class="input_search" navindex="33" format="yyyy" style="left:473px; top:439px; width:72px; height:19px; text-align:center; "/>
  1129. <button id="btn_mngtdeptcd" class="icon_search" navindex="29" style="left:225px; top:417px; width:16px; height:16px; ">
  1130. <caption/>
  1131. <script type="javascript" ev:event="DOMActivate">
  1132. <![CDATA[
  1133. var recv_list = "mngtdeptcd,mngtdeptnm";
  1134. misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list) ;
  1135. model.refresh();
  1136. ]]>
  1137. </script>
  1138. </button>
  1139. <input id="ipt_mngtdeptcd" ref="/root/main/reqeqmtlist/mngtdeptcd" class="input_s_essential" navindex="28" style="left:103px; top:416px; width:117px; height:19px; ">
  1140. <script type="javascript" ev:event="xforms-value-changed">
  1141. <![CDATA[
  1142. if(ipt_mngtdeptcd.value.length == 0)
  1143. ipt_mngtdeptnm.value = "";
  1144. else
  1145. misfValidationCheck("02", "", "mngtdeptcd,mngtdeptnm" );
  1146. model.refresh();
  1147. model.setFocus("ipt_mngtdeptcd");
  1148. ]]>
  1149. </script>
  1150. </input>
  1151. <input id="ipt_installplcecd" ref="/root/main/reqeqmtlist/installplcecd" class="input_default" navindex="23" style="left:103px; top:368px; width:97px; height:19px; "/>
  1152. <button id="btn_installplcecd" class="icon_search" navindex="24" style="left:204px; top:370px; width:16px; height:16px; ">
  1153. <caption/>
  1154. <script type="javascript" ev:event="DOMActivate">
  1155. <![CDATA[
  1156. var recv_list = "installplcecd,installplcenm";
  1157. misfOpenPopUpList("19", ipt_installplcecd,"", recv_list) ;
  1158. model.refresh();
  1159. ]]>
  1160. </script>
  1161. </button>
  1162. <input id="ipt_mngtdeptnm" ref="/root/main/reqeqmtlist/mngtdeptnm" class="input_fix" navindex="30" appearance="input" style="left:245px; top:416px; width:300px; height:19px; ">
  1163. <script type="javascript" ev:event="xforms-value-changed">
  1164. <![CDATA[
  1165. if(ipt_mngtdeptnm.value.length == 0)
  1166. ipt_mngtdeptcd.value = "";
  1167. else
  1168. misfValidationCheck("02", "", "mngtdeptcd,mngtdeptnm" );
  1169. model.refresh();
  1170. ]]>
  1171. </script>
  1172. </input>
  1173. <input id="ipt_installplcenm" ref="/root/main/reqeqmtlist/installplcenm" class="input_fix" navindex="25" appearance="input" style="left:225px; top:368px; width:135px; height:19px; ">
  1174. <script type="javascript" ev:event="xforms-value-changed">
  1175. <![CDATA[
  1176. if(ipt_installplcenm.value.length == 0)
  1177. ipt_installplcecd.value = "";
  1178. else
  1179. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  1180. "deptnm," + ipt_installplcenm.value, "", "installplcecd,installplcenm",
  1181. ipt_installplcenm, "PPRAC00700", "","");
  1182. model.refresh();
  1183. ]]>
  1184. </script>
  1185. </input>
  1186. <caption id="caption14" class="search_name" style="left:327px; top:20px; width:117px; height:17px; ">청구일자 :</caption>
  1187. <input id="ipt_reqfrmdd_search" ref="/root/send/sendlist/reqfrmdd" class="input_s_essential" navindex="3" inputtype="date" style="left:412px; top:19px; width:95px; height:19px; "/>
  1188. <caption id="caption42" style="left:510px; top:21px; width:15px; height:20px; font-weight:bold; ">~</caption>
  1189. <input id="ipt_reqtodd_search" ref="/root/send/sendlist/reqtodd" class="input_s_essential" navindex="4" inputtype="date" style="left:527px; top:19px; width:95px; height:19px; "/>
  1190. <select1 id="cmb_prcsstat_search" ref="/root/send/sendlist/prcsstat" class="combo_default" navindex="2" appearance="minimal" style="left:100px; top:42px; width:165px; height:19px; text-align:center; ">
  1191. <choices>
  1192. <itemset>
  1193. <label/>
  1194. <value/>
  1195. </itemset>
  1196. </choices>
  1197. </select1>
  1198. <select1 id="rdo_installspcepossnyn" ref="/root/main/reqeqmtlist/installspcepossnyn" navindex="46" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:668px; top:296px; width:116px; height:16px; background-color:transparent; border-style:none; ">
  1199. <choices>
  1200. <itemset nodeset="/root/init/installspcepossnyn">
  1201. <label ref="label"/>
  1202. <value ref="value"/>
  1203. </itemset>
  1204. </choices>
  1205. </select1>
  1206. <select1 id="rdo_calcscorgenryn" ref="/root/main/reqeqmtlist/calcscorgenryn" navindex="47" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:913px; top:296px; width:116px; height:16px; background-color:transparent; border-style:none; ">
  1207. <choices>
  1208. <itemset nodeset="/root/init/calcscorgenryn">
  1209. <label ref="label"/>
  1210. <value ref="value"/>
  1211. </itemset>
  1212. </choices>
  1213. </select1>
  1214. <button id="button3" class="btn_sw" group="tab2" selected="true" style="left:0px; top:545px; width:144px; height:22px; ">
  1215. <caption>추천장비</caption>
  1216. <toggle case="recmeqmt_case" ev:event="DOMActivate"/>
  1217. </button>
  1218. <button id="button2" class="btn_sw" group="tab2" style="left:143px; top:545px; width:144px; height:22px; ">
  1219. <caption>부서동일유사장비</caption>
  1220. <toggle case="smlartyeqmt_case" ev:event="DOMActivate"/>
  1221. </button>
  1222. <switch id="switch1" style="left:0px; top:568px; width:1195px; height:172px; ">
  1223. <case id="recmeqmt_case" selected="true">
  1224. <button id="button13" class="btn2_letter3" navindex="57" style="left:1085px; top:4px; width:53px; height:19px; ">
  1225. <caption>행추가</caption>
  1226. <script type="javascript" ev:event="DOMActivate">
  1227. <![CDATA[
  1228. fSetAddRow( grd_recmeqmtlist );
  1229. fSetNum(grd_recmeqmtlist, "recmseqno");
  1230. /* ----------------------------------------------------------------------------
  1231. 추천장비 입력시 제일 처음건에 대하여 금액 및 단위를 기본으로 뿌려달라
  1232. ----------------------------------------------------------------------------*/
  1233. if ( grd_recmeqmtlist.row == 1 )
  1234. {
  1235. model.setValue(grd_recmeqmtlist.nodeset + "[" + (grd_recmeqmtlist.row - grd_recmeqmtlist.fixedRows + 1) + "]/wncurncyamt" ,
  1236. model.getValue(ipt_bugtwncurncy.attribute("ref") ) );
  1237. model.setValue(grd_recmeqmtlist.nodeset + "[" + (grd_recmeqmtlist.row - grd_recmeqmtlist.fixedRows + 1) + "]/forgncurncyamt" ,
  1238. model.getValue(ipt_bugtforgnamt.attribute("ref") ) );
  1239. model.setValue(grd_recmeqmtlist.nodeset + "[" + (grd_recmeqmtlist.row - grd_recmeqmtlist.fixedRows + 1) + "]/curncyunit" ,
  1240. model.getValue(cmb_bugtforgnamtunit.attribute("ref") ) );
  1241. }
  1242. model.refresh();
  1243. ]]>
  1244. </script>
  1245. </button>
  1246. <button id="button14" class="btn2_letter3" navindex="58" style="left:1140px; top:4px; width:53px; height:19px; ">
  1247. <caption>행삭제</caption>
  1248. <script type="javascript" ev:event="DOMActivate">
  1249. <![CDATA[
  1250. misfGridIUD(grd_recmeqmtlist,"D");
  1251. ]]>
  1252. </script>
  1253. </button>
  1254. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:1193px; y2:26px; "/>
  1255. <caption id="caption19" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">추천장비</caption>
  1256. <datagrid id="grd_recmeqmtlist" nodeset="/root/main/list/recmeqmtlist" caption="추천순위^모델^원화금액^화폐단위^외화금액^제조회사^제조국^거래처^담당자^담당자전화번호^담당자핸드폰" colsep="^" colwidth="66, 116, 100, 100, 100, 131, 120, 130, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="59" style="left:0px; top:30px; width:1193px; height:130px; ">
  1257. <col ref="recmseqno"/>
  1258. <col ref="model" type="input"/>
  1259. <col ref="wncurncyamt" type="input" format="#,###" style="text-align:right; "/>
  1260. <col ref="curncyunit" type="combo">
  1261. <choices>
  1262. <itemset>
  1263. <label/>
  1264. <value/>
  1265. </itemset>
  1266. </choices>
  1267. </col>
  1268. <col ref="forgncurncyamt" type="input" format="#,###" style="text-align:right; "/>
  1269. <col ref="prodcmpynm" type="inputbutton"/>
  1270. <col ref="prodplce" type="combo">
  1271. <choices>
  1272. <itemset>
  1273. <label/>
  1274. <value/>
  1275. </itemset>
  1276. </choices>
  1277. </col>
  1278. <col ref="innatiagtplcenm" type="inputbutton"/>
  1279. <col ref="chrgpsnid" type="input"/>
  1280. <col ref="chrgtel" type="input" maxlength="15"/>
  1281. <col ref="chrghptel" type="input" maxlength="15"/>
  1282. <script type="javascript" ev:event="onbuttonclick">
  1283. <![CDATA[
  1284. if (grd_recmeqmtlist.col == grd_recmeqmtlist.colRef("prodcmpynm") ) {// 그리드 제조회사명 클릭
  1285. rszfOpenPopUpListByWndName(grd_recmeqmtlist,"","prodcmpy,prodcmpynm","SPRSD00160","","");
  1286. model.refresh();
  1287. } else if (grd_recmeqmtlist.col == grd_recmeqmtlist.colRef("innatiagtplcenm")) {// 그리드 제조회사명 클릭
  1288. rszfOpenPopUpListByWndName(grd_recmeqmtlist,"","innatiagtplce,innatiagtplcenm","SPRSD00220","instcd","opt_instcd");
  1289. model.refresh();
  1290. }
  1291. ]]>
  1292. </script>
  1293. <col ref="instcd" visibility="hidden"/>
  1294. <col ref="reqdd" visibility="hidden"/>
  1295. <col ref="reqseqno" visibility="hidden"/>
  1296. <col ref="prodcmpy" visibility="hidden"/>
  1297. <col ref="innatiagtplce" visibility="hidden"/>
  1298. <script type="javascript" ev:event="onaftersort">
  1299. <![CDATA[
  1300. grd_recmeqmtlist.gridToInstance();
  1301. ]]>
  1302. </script>
  1303. </datagrid>
  1304. </case>
  1305. <case id="smlartyeqmt_case">
  1306. <caption id="caption10" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">동일유사장비</caption>
  1307. <line id="line25" class="line_1" style="x1:4px; y1:25px; x2:961px; y2:25px; "/>
  1308. <button id="button16" class="btn2_letter3" navindex="61" style="left:1085px; top:4px; width:53px; height:19px; ">
  1309. <caption>행추가</caption>
  1310. <script type="javascript" ev:event="DOMActivate">
  1311. <![CDATA[
  1312. fSetAddRow( grd_smlartyeqmtlist );
  1313. // model.refresh();
  1314. ]]>
  1315. </script>
  1316. </button>
  1317. <button id="button18" class="btn2_letter3" navindex="62" style="left:1140px; top:4px; width:53px; height:19px; ">
  1318. <caption>행삭제</caption>
  1319. <script type="javascript" ev:event="DOMActivate">
  1320. <![CDATA[
  1321. misfGridIUD(grd_smlartyeqmtlist,"D");
  1322. ]]>
  1323. </script>
  1324. </button>
  1325. <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:1193; y2:25px; "/>
  1326. <datagrid id="grd_smlartyeqmtlist" nodeset="/root/main/list/smlartyeqmtlist" caption="장비코드^장비명^모델^원화^외화^화폐단위^입고일자^설치일자^제조회사^거래처" colsep="^" colwidth="124, 236, 140, 100, 100, 100, 87, 84, 86, 105, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="60" style="left:0px; top:30px; width:1193px; height:130px; ">
  1327. <col ref="eqmtcd" type="inputbutton" _key="true"/>
  1328. <col ref="eqmtnm"/>
  1329. <col ref="goodmodel"/>
  1330. <col ref="forgncurncyamt" format="#,###" style="text-align:right; "/>
  1331. <col ref="possnamt" format="#,###" style="text-align:right; "/>
  1332. <col disabled="true" ref="curncyunit" type="combo" readonly="readonly">
  1333. <choices>
  1334. <itemset>
  1335. <label/>
  1336. <value/>
  1337. </itemset>
  1338. </choices>
  1339. </col>
  1340. <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
  1341. <col format="yyyy-mm-dd" style="text-align:center; "/>
  1342. <col ref="prodcmpynm"/>
  1343. <col ref="suplplcenm"/>
  1344. <col ref="instcd" visibility="hidden"/>
  1345. <col ref="reqdd" visibility="hidden"/>
  1346. <col ref="reqseqno" visibility="hidden"/>
  1347. <col ref="cntrdeptcd" visibility="hidden"/>
  1348. <col ref="installplcenm" visibility="hidden"/>
  1349. <col ref="possnflagcd" visibility="hidden"/>
  1350. <col ref="possnflagcdnm" visibility="hidden"/>
  1351. <col ref="prodcmpy" visibility="hidden"/>
  1352. <col ref="suplplcecd" visibility="hidden"/>
  1353. <col ref="empthnm" visibility="hidden"/>
  1354. <script type="javascript" ev:event="onbuttonclick">
  1355. <![CDATA[
  1356. if(grd_smlartyeqmtlist.col == grd_smlartyeqmtlist.colRef("eqmtcd"))
  1357. {
  1358. rszfOpenPopUpListByWndName(grd_smlartyeqmtlist,"","eqmtcd,empthnm,goodmodel,cntrdeptcd,installplcenm,prodcmpy,prodcmpynm,windd,suplplcecd,suplplcenm,possnflagcd,possnflagcdnm,forgncurncyamt,possnamt,eqmtnm,curncyunit","SPRSD00240","instcd,goodflag","cmb_instcd_search,ipt_goodflag_search");
  1359. // rszfOpenPopUpListByWndName(grd_smlartyeqmtlist,"","eqmtcd,eqmtnm,goodmodel,cntrdeptcd,installplcenm,prodcmpy,prodcmpynm,windd,suplplcecd,suplplcenm,possnflagcd,possnflagcdnm,forgncurncyamt,possnamt","SPRSD00240","instcd,goodflag","cmb_instcd_search,ipt_goodflag_search");
  1360. model.refresh();
  1361. }
  1362. ]]>
  1363. </script>
  1364. <script type="javascript" ev:event="onaftersort">
  1365. <![CDATA[
  1366. grd_smlartyeqmtlist.gridToInstance();
  1367. ]]>
  1368. </script>
  1369. </datagrid>
  1370. </case>
  1371. <case id="psge_case">
  1372. <button id="button15" class="btn2_letter3" navindex="65" style="left:1140px; top:4px; width:53px; height:19px; ">
  1373. <caption>행삭제</caption>
  1374. <script type="javascript" ev:event="DOMActivate">
  1375. <![CDATA[
  1376. misfGridIUD(grd_psgedeptlist,"D");
  1377. ]]>
  1378. </script>
  1379. </button>
  1380. <button id="button17" class="btn2_letter3" navindex="64" style="left:1085px; top:4px; width:53px; height:19px; ">
  1381. <caption>행추가</caption>
  1382. <script type="javascript" ev:event="DOMActivate">
  1383. <![CDATA[
  1384. fSetAddRow( grd_psgedeptlist );
  1385. model.refresh();
  1386. ]]>
  1387. </script>
  1388. </button>
  1389. <datagrid id="grd_psgedeptlist" nodeset="/root/main/list/psgedeptlist" caption="기관코드^신청일자^신청순번^경유부서코드^ 경유부서^접수^의견 및 평가" colsep="^" colwidth="21, 17, 16, 85, 130, 49, 770" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="63" style="left:0px; top:30px; width:1193px; height:130px; ">
  1390. <col ref="instcd" visibility="hidden"/>
  1391. <col ref="reqdd" visibility="hidden"/>
  1392. <col ref="reqseqno" visibility="hidden"/>
  1393. <col ref="psgedeptcd" visibility="hidden"/>
  1394. <col ref="psgedeptnm" type="inputbutton" _key="true"/>
  1395. <col ref="psgedeptaprvnm"/>
  1396. <col ref="psgecmt" type="input"/>
  1397. <script type="javascript" ev:event="onclick">
  1398. <![CDATA[
  1399. // 접수구분에 따른 경유부서 Data 설정.
  1400. if(opt_acptflagcheck.value == 'Y')
  1401. {
  1402. fAcptflagDataSetup();
  1403. opt_acptflagcheck.value = 'N';
  1404. }
  1405. ]]>
  1406. </script>
  1407. <script type="javascript" ev:event="onbuttonclick">
  1408. <![CDATA[
  1409. if (grd_psgedeptlist.col == grd_psgedeptlist.colRef("psgedeptnm") ) {// 그리드 부서명 버튼 클릭
  1410. var recv_list = "psgedeptcd,psgedeptnm";
  1411. misfOpenPopUpList("02", grd_psgedeptlist,"", recv_list) ;
  1412. var cur_row = grd_psgedeptlist.row;
  1413. var status = grd_psgedeptlist.valueMatrix(cur_row, grd_psgedeptlist.colRef("m"));
  1414. if(status !="insert" && status !="delete") grd_psgedeptlist.addStatus(cur_row,"update");
  1415. }
  1416. // model.refresh();
  1417. ]]>
  1418. </script>
  1419. <script type="javascript" ev:event="onaftersort">
  1420. <![CDATA[
  1421. grd_psgedeptlist.gridToInstance();
  1422. ]]>
  1423. </script>
  1424. </datagrid>
  1425. <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">경유부서</caption>
  1426. <line id="line28" class="line_1" style="x1:0; y1:25px; x2:1193; y2:25px; "/>
  1427. </case>
  1428. <case id="publusedeptcd_case">
  1429. <button id="button4" class="btn2_letter3" navindex="68" style="left:1130px; top:5px; width:53px; height:19px; ">
  1430. <caption>행삭제</caption>
  1431. <script type="javascript" ev:event="DOMActivate">
  1432. <![CDATA[
  1433. misfGridIUD(grd_publusedeptlist,"D");
  1434. ]]>
  1435. </script>
  1436. </button>
  1437. <button id="button6" class="btn2_letter3" navindex="67" style="left:1075px; top:5px; width:53px; height:19px; ">
  1438. <caption>행추가</caption>
  1439. <script type="javascript" ev:event="DOMActivate">
  1440. <![CDATA[
  1441. fSetAddRow( grd_publusedeptlist );
  1442. fSetNum(grd_publusedeptlist, "useseq");
  1443. // model.refresh();
  1444. ]]>
  1445. </script>
  1446. </button>
  1447. <caption id="caption13" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">공동사용부서</caption>
  1448. <datagrid id="grd_publusedeptlist" nodeset="/root/main/list/publusedeptlist" caption="기관코드^신청일자^신청순번^순번^사용부서^사용부서^책임자^책임자^전화번호^비율^용도" colsep="^" colwidth="21, 17, 16, 46, 89, 91, 106, 96, 100, 62, 510" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="66" style="left:0px; top:30px; width:1185px; height:130px; ">
  1449. <col ref="instcd" visibility="hidden"/>
  1450. <col ref="reqdd" visibility="hidden"/>
  1451. <col ref="reqseqno" visibility="hidden"/>
  1452. <col ref="useseq"/>
  1453. <col ref="usedeptcd" type="inputbutton" _key="true"/>
  1454. <col ref="usedeptnm"/>
  1455. <col ref="usepsnid" type="inputbutton"/>
  1456. <col ref="usepsnidnm"/>
  1457. <col ref="usechrgtel" type="input" maxlength="15"/>
  1458. <col ref="rate" type="input" style="text-align:right; "/>
  1459. <col ref="usecmt" type="input" maxlength="100"/>
  1460. <script type="javascript" ev:event="onbuttonclick">
  1461. <![CDATA[
  1462. if (grd_publusedeptlist.col == grd_publusedeptlist.colRef("usedeptcd") ) {// 그리드 부서명 버튼 클릭
  1463. var recv_list = "usedeptcd,usedeptnm";
  1464. misfOpenPopUpList("02", grd_publusedeptlist,"", recv_list) ;
  1465. var cur_row = grd_publusedeptlist.row;
  1466. var status = grd_publusedeptlist.valueMatrix(cur_row, grd_publusedeptlist.colRef("m"));
  1467. if(status !="insert" && status !="delete") grd_publusedeptlist.addStatus(cur_row,"update");
  1468. }
  1469. else if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usepsnid"))
  1470. {
  1471. var recv_list = "usepsnid,usepsnidnm";
  1472. //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
  1473. misfOpenPopUpList("12", grd_publusedeptlist,"", recv_list, "%","instcd") ;
  1474. }
  1475. model.refresh();
  1476. ]]>
  1477. </script>
  1478. <script type="javascript" ev:event="xforms-value-changed">
  1479. <![CDATA[
  1480. if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usedeptcd"))
  1481. {
  1482. var recv_list = "usedeptcd,usedeptnm";
  1483. //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
  1484. misfValidationCheck("02","", recv_list) ;
  1485. model.refresh();
  1486. }
  1487. else if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usepsnid"))
  1488. {
  1489. var recv_list = "usepsnid,usepsnidnm";
  1490. //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
  1491. misfValidationCheck("12","", recv_list) ;
  1492. model.refresh();
  1493. }
  1494. ]]>
  1495. </script>
  1496. <script type="javascript" ev:event="onaftersort">
  1497. <![CDATA[
  1498. grd_publusedeptlist.gridToInstance();
  1499. ]]>
  1500. </script>
  1501. </datagrid>
  1502. <line id="line6" class="line_1" style="x1:0px; y1:25px; x2:1182px; y2:25px; "/>
  1503. </case>
  1504. <case id="moncd_1_case">
  1505. <caption id="caption50" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">월간시행건수</caption>
  1506. <line id="line16" class="line_1" style="x1:0px; y1:25px; x2:1193; y2:25px; "/>
  1507. <button id="button12" class="btn2_letter3" navindex="71" style="left:1140px; top:4px; width:53px; height:19px; ">
  1508. <caption>행삭제</caption>
  1509. <script type="javascript" ev:event="DOMActivate">
  1510. <![CDATA[
  1511. misfGridIUD(grd_mon1cdlist,"D");
  1512. ]]>
  1513. </script>
  1514. </button>
  1515. <button id="button20" class="btn2_letter3" navindex="70" style="left:1085px; top:4px; width:53px; height:19px; ">
  1516. <caption>행추가</caption>
  1517. <script type="javascript" ev:event="DOMActivate">
  1518. <![CDATA[
  1519. fSetAddRow( grd_mon1cdlist );
  1520. // model.refresh();
  1521. ]]>
  1522. </script>
  1523. </button>
  1524. <datagrid id="grd_mon1cdlist" nodeset="/root/main/list/mon1cdlist" caption="수가코드^수가명^급여^금액^월건수^소요시간^주처방의사^주처방의사" colsep="^" colwidth="124, 449, 129, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="69" style="left:0px; top:30px; width:1193px; height:130; ">
  1525. <col ref="cstcd" type="input" _key="true"/>
  1526. <col ref="cstcdnm" type="input"/>
  1527. <col ref="insu_nopyyn" type="combo">
  1528. <choices>
  1529. <item>
  1530. <label>급여</label>
  1531. <value>0</value>
  1532. </item>
  1533. <item>
  1534. <label>비급여</label>
  1535. <value>1</value>
  1536. </item>
  1537. </choices>
  1538. </col>
  1539. <col ref="purcunitcost" type="input" format="#,###" style="text-align:right; "/>
  1540. <col ref="mmuseqty" type="input" format="#,###" style="text-align:right; "/>
  1541. <col ref="usetm" type="input" style="text-align:center; "/>
  1542. <col class="text_center" ref="mainprcpdrid" type="inputbutton" style="text-align:center; "/>
  1543. <col ref="mainprcpdrnm" style="text-align:center; "/>
  1544. <col ref="instcd" visibility="hidden"/>
  1545. <col ref="reqdd" visibility="hidden"/>
  1546. <col ref="reqseqno" visibility="hidden"/>
  1547. <col ref="cstflag" visibility="hidden"/>
  1548. <col ref="reqseq" visibility="hidden"/>
  1549. <col ref="suplplce" visibility="hidden"/>
  1550. <col ref="suplplcenm" visibility="hidden"/>
  1551. <col ref="mainusge" visibility="hidden"/>
  1552. <script type="javascript" ev:event="onbuttonclick">
  1553. <![CDATA[
  1554. if(grd_mon1cdlist.col == grd_mon1cdlist.colRef("mainprcpdrid"))
  1555. {
  1556. fOpenPopupUserHelp(grd_mon1cdlist, "mainprcpdrid,mainprcpdrnm");
  1557. }
  1558. ]]>
  1559. </script>
  1560. </datagrid>
  1561. </case>
  1562. <case id="moncd_2_case">
  1563. <button id="button21" class="btn2_letter3" navindex="74" style="left:1140px; top:4px; width:53px; height:19px; ">
  1564. <caption>행삭제</caption>
  1565. <script type="javascript" ev:event="DOMActivate">
  1566. <![CDATA[
  1567. misfGridIUD(grd_mon2cdlist,"D");
  1568. ]]>
  1569. </script>
  1570. </button>
  1571. <line id="line19" class="line_1" style="x1:0px; y1:25px; x2:1193; y2:25px; "/>
  1572. <button id="button23" class="btn2_letter3" navindex="73" style="left:1085px; top:4px; width:53px; height:19px; ">
  1573. <caption>행추가</caption>
  1574. <script type="javascript" ev:event="DOMActivate">
  1575. <![CDATA[
  1576. fSetAddRow( grd_mon2cdlist );
  1577. // model.refresh();
  1578. ]]>
  1579. </script>
  1580. </button>
  1581. <caption id="caption49" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">월간재료비</caption>
  1582. <datagrid id="grd_mon2cdlist" nodeset="/root/main/list/mon2cdlist" caption="재료코드^품명^급여^월소요량^구입단가^공급업체^공급업체명^주요용도" colsep="^" colwidth="111, 332, 90, 64, 110, 94, 100, 224, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="72" style="left:0px; top:30px; width:1193px; height:130px; ">
  1583. <col ref="cstcd" type="inputbutton" _chartype="upper" _key="true"/>
  1584. <col ref="cstcdnm"/>
  1585. <col ref="insu_nopyyn" type="combo">
  1586. <choices>
  1587. <item>
  1588. <label>급여</label>
  1589. <value>0</value>
  1590. </item>
  1591. <item>
  1592. <label>비급여</label>
  1593. <value>1</value>
  1594. </item>
  1595. </choices>
  1596. </col>
  1597. <col ref="mmuseqty" type="input"/>
  1598. <col ref="purcunitcost" type="input" format="#,###" style="text-align:right; "/>
  1599. <col ref="suplplce" type="input"/>
  1600. <col ref="suplplcenm"/>
  1601. <col ref="mainusge" type="input"/>
  1602. <col ref="instcd" visibility="hidden"/>
  1603. <col ref="reqdd" visibility="hidden"/>
  1604. <col ref="reqseqno" visibility="hidden"/>
  1605. <col ref="cstflag" visibility="hidden"/>
  1606. <col ref="reqseq" visibility="hidden"/>
  1607. <col ref="goodcd" visibility="hidden"/>
  1608. <col ref="goodnm" visibility="hidden"/>
  1609. <col ref="goodunitcost" visibility="hidden"/>
  1610. <col ref="maincustlastsuplplce" visibility="hidden"/>
  1611. <col ref="maincustlastsuplplcenm" visibility="hidden"/>
  1612. <script type="javascript" ev:event="onbuttonclick">
  1613. <![CDATA[
  1614. if (grd_mon2cdlist.col == grd_mon2cdlist.colRef("cstcd") && grd_mon2cdlist.rowStatus(grd_mon2cdlist.row) == "1" ) {//구성물품코드를 눌렀을 경우
  1615. model.removenode("/root/copynode");
  1616. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1617. model.makeNode("/root/copynode");
  1618. rszfOpenPopUpListByWndName(grd_mon2cdlist,"","goodcd,goodnm","SPRSD00190","instcd","cmb_instcd_search");
  1619. var cur_row = grd_mon2cdlist.row;
  1620. var status = grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("m"));
  1621. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1622. setCSVToNode("/root/copynode", CSV, "goodreqlist");
  1623. fSettingGoodList("/root/copynode", "goodreqlist");
  1624. }
  1625. ]]>
  1626. </script>
  1627. <script type="javascript" ev:event="xforms-value-changed">
  1628. <![CDATA[
  1629. if(grd_mon2cdlist.col == grd_mon2cdlist.colRef("cstcd") && grd_mon2cdlist.valueMatrix(grd_mon2cdlist.row, grd_mon2cdlist.colRef("cstcd")).length> 0)
  1630. {
  1631. model.removenode("/root/copynode");
  1632. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1633. model.makeNode("/root/copynode");
  1634. // rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm,workflag","cstcd," + model.getValue(cmb_instcd_search.attribute("ref")) + ",," + model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/goodcd") + ",,,,," ,"goodcd,goodnm",grd_mon2cdlist,"SPRSD00190","instcd","cmb_instcd_search" ,"Y");
  1635. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodcd","goodcd," + model.getValue(cmb_instcd_search.attribute("ref")) + "," + model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd") ,"","goodcd,goodnm,goodunitcost,maincustlastsuplplce,maincustlastsuplplcenm",grd_mon2cdlist,"SPRSD00190","instcd","cmb_instcd_search","Y");
  1636. model.refresh();
  1637. var cur_row = grd_mon2cdlist.row;
  1638. var status = grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("m"));
  1639. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  1640. if (CSV.length == 0 && grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("goodnm")).length == 0)
  1641. {
  1642. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd" , "");
  1643. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/cstcdnm" , "");
  1644. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/purcunitcost" , "");
  1645. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplce" , "");
  1646. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplcenm" , "");
  1647. grd_mon2cdlist.col = grd_mon2cdlist.colRef("cstcd");
  1648. grd_mon2cdlist.editCell();
  1649. }
  1650. else if (CSV.length == 0 && grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("goodnm")).length > 0)
  1651. {
  1652. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/goodcd") );
  1653. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/cstcdnm" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/goodnm") );
  1654. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/purcunitcost" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/goodunitcost"));
  1655. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplce" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/maincustlastsuplplce") );
  1656. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplcenm" , model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/maincustlastsuplplcenm") );
  1657. grd_mon2cdlist.col = grd_mon2cdlist.colRef("insu_nopyyn");
  1658. grd_mon2cdlist.editCell();
  1659. }
  1660. else if (CSV.length > 0)
  1661. {
  1662. model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd","");
  1663. setCSVToNode("/root/copynode", CSV, "goodreqlist");
  1664. fSettingGoodList("/root/copynode", "goodreqlist" );
  1665. }
  1666. }
  1667. ]]>
  1668. </script>
  1669. <script type="javascript" ev:event="onaftersort">
  1670. <![CDATA[
  1671. grd_mon2cdlist.gridToInstance();
  1672. ]]>
  1673. </script>
  1674. </datagrid>
  1675. </case>
  1676. <case id="fixasetcd_case" style="left:0px; top:0px; width:1193px; height:170px; ">
  1677. <button id="button24" class="btn2_letter2" navindex="76" style="left:1146px; top:4px; width:42px; height:19px; ">
  1678. <caption>조회</caption>
  1679. <script type="javascript" ev:event="DOMActivate">
  1680. <![CDATA[
  1681. misfGridInit(grd_fixasetcdlist);
  1682. model.setValue("/root/send/sendlist/reqdeptcd" , model.getValue(ipt_reqdeptcd_search.attribute("ref")));
  1683. submit("TRRFC00201");
  1684. ]]>
  1685. </script>
  1686. </button>
  1687. <line id="line21" class="line_1" style="x1:3px; y1:25px; x2:1192px; y2:25px; "/>
  1688. <caption id="caption51" class="tit_2" style="left:5px; top:10px; width:113px; height:13px; ">부서내 자산코드</caption>
  1689. <datagrid id="grd_fixasetcdlist" nodeset="/root/main/list/fixasetcd/fixasetcdlist" caption="대분류^중분류^소분류^품목영문명^규격^모델^입고일^제조사^거래처^수량" colsep="^" colwidth="113, 107, 120, 240, 135, 139, 93, 84, 83, 48, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="75" style="left:0px; top:30px; width:1193px; height:130px; ">
  1690. <col ref="lrgnm"/>
  1691. <col ref="mdlnm"/>
  1692. <col ref="smlnm"/>
  1693. <col ref="goodflagengnm"/>
  1694. <col ref="goodspec"/>
  1695. <col ref="goodmodel"/>
  1696. <col ref="windd"/>
  1697. <col ref="prodcmpynm"/>
  1698. <col ref="suplplcenm"/>
  1699. <col ref="goodqty" style="text-align:right; "/>
  1700. <col ref="lrgcd" visibility="hidden"/>
  1701. <col ref="mdlcd" visibility="hidden"/>
  1702. <col ref="smlcd" visibility="hidden"/>
  1703. <col ref="fixasetcd" visibility="hidden"/>
  1704. <col ref="goodflaghngnm" visibility="hidden"/>
  1705. <script type="javascript" ev:event="ondblclick">
  1706. <![CDATA[
  1707. //접수체크에 관한 추천장비 행추가,삭제,수정 권한 설정.
  1708. if(grd_reqeqmtlist.valueMatrix(grd_reqeqmtlist.row, grd_reqeqmtlist.colRef("purcacptflag")) != "Y")
  1709. {
  1710. fMovecd("grd_fixasetcdlist");
  1711. }
  1712. ]]>
  1713. </script>
  1714. </datagrid>
  1715. </case>
  1716. </switch>
  1717. <button id="button1" class="btn_sw" group="tab2" style="left:286px; top:545px; width:144px; height:22px; ">
  1718. <caption>경유부서</caption>
  1719. <toggle case="psge_case" ev:event="DOMActivate"/>
  1720. </button>
  1721. <button id="button8" class="btn_sw" group="tab2" style="left:718px; top:545px; width:144px; height:22px; ">
  1722. <caption>공동사용부서</caption>
  1723. <toggle case="publusedeptcd_case" ev:event="DOMActivate"/>
  1724. </button>
  1725. <caption id="caption3" class="cell_1" visibility="hidden" style="left:175px; top:238px; width:30px; height:23px; vertical-align:middle; ">연구과제</caption>
  1726. <input id="ipt_stdysubjno" ref="/root/main/reqeqmtlist/stdysubjno" class="input_search" visibility="hidden" maxlength="4" style="left:204px; top:238px; width:21px; height:19px; ">
  1727. <script type="javascript" ev:event="xforms-value-changed">
  1728. <![CDATA[
  1729. if(ipt_stdysubjno.value.length == 0)
  1730. ipt_stdysubjnm.value = "";
  1731. else
  1732. rszfValidationCheck("TRRSD00261", "studylist", "instcd,refcond,stdysubjno",
  1733. cmb_instcd_search.value + ",stdysubjno," + ipt_stdysubjno.value, "", "stdysubjno,stdysubjnm",
  1734. ipt_stdysubjno, "SPRSD00260", "","");
  1735. model.refresh();
  1736. ]]>
  1737. </script>
  1738. </input>
  1739. <input id="ipt_stdysubjnm" ref="/root/main/reqeqmtlist/stdysubjnm" class="input_fix" visibility="hidden" appearance="input" style="left:250px; top:238px; width:30px; height:19px; ">
  1740. <script type="javascript" ev:event="xforms-value-changed">
  1741. <![CDATA[
  1742. if(ipt_stdysubjnm.value.length == 0)
  1743. ipt_stdysubjno.value = "";
  1744. else
  1745. rszfValidationCheck("TRRSD00261", "studylist", "instcd,refcond,stdysubjnm",
  1746. cmb_instcd_search.value + ",stdysubjnm," + ipt_stdysubjnm.value, "", "stdysubjno,stdysubjnm",
  1747. ipt_stdysubjnm, "SPRSD00260", "","");
  1748. model.refresh();
  1749. ]]>
  1750. </script>
  1751. </input>
  1752. <button id="btn_stdysubjnm" class="icon_search" visibility="hidden" style="left:230px; top:238px; width:16px; height:16px; ">
  1753. <caption/>
  1754. <script type="javascript" ev:event="DOMActivate">
  1755. <![CDATA[
  1756. rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd","cmb_instcd_search");
  1757. model.refresh();
  1758. ]]>
  1759. </script>
  1760. </button>
  1761. <caption id="caption45" class="search_name" style="left:15px; top:43px; width:117px; height:17px; ">진행상태 :</caption>
  1762. <input id="ipt_goodflag_search" ref="/root/send/sendlist/goodflag" visibility="hidden" style="left:980px; top:20px; width:35px; height:19px; "/>
  1763. <input id="ipt_prcsstat" ref="/root/main/reqeqmtlist/prcsstat" class="input_essential" visibility="hidden" style="left:1102px; top:275px; width:12px; height:19px; ">
  1764. <script type="javascript" ev:event="xforms-value-changed">
  1765. <![CDATA[
  1766. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  1767. model.refresh();
  1768. model.setFocus("ipt_reqdeptcd");
  1769. ]]>
  1770. </script>
  1771. </input>
  1772. <input id="ipt_deptaprvyn_search" ref="/root/send/sendlist/deptaprvyn" visibility="hidden" style="left:980px; top:40px; width:65px; height:19px; "/>
  1773. <button id="button9" class="btn2_letter7" navindex="11" style="left:921px; top:73px; width:97px; height:19px; ">
  1774. <caption>전체접수/취소</caption>
  1775. <script type="javascript" ev:event="DOMActivate">
  1776. <![CDATA[
  1777. // fChangeStatus( "C", "접수" );
  1778. // model.refresh();
  1779. fSettingReqRece();
  1780. ]]>
  1781. </script>
  1782. </button>
  1783. <button id="brn_all_check" class="btn2_letter10" navindex="12" style="left:1020px; top:73px; width:130px; height:19px; ">
  1784. <caption>전체구매승인/미승인</caption>
  1785. <script type="javascript" ev:event="DOMActivate">
  1786. <![CDATA[
  1787. // fChangeStatus( "C", "접수" );
  1788. // model.refresh();
  1789. fSettingPurcRece();
  1790. ]]>
  1791. </script>
  1792. </button>
  1793. <button id="btn_purcaprv" class="btn2_letter2" navindex="13" style="left:1152px; top:73px; width:42px; height:19px; ">
  1794. <caption>처리</caption>
  1795. <script type="javascript" ev:event="DOMActivate">
  1796. <![CDATA[
  1797. var updtdata = getGridUpdateData(grd_reqeqmtlist);
  1798. if( updtdata!="" ) {
  1799. misfSave("TXRSC11901");
  1800. btn_search.dispatch("DOMActivate");
  1801. //misfMsterDetailRetrieve();
  1802. model.refresh();
  1803. }
  1804. ]]>
  1805. </script>
  1806. </button>
  1807. <button id="btn_goodflagengnm" class="icon_search" navindex="17" style="left:524px; top:297px; width:16px; height:16px; ">
  1808. <caption/>
  1809. <script type="javascript" ev:event="DOMActivate">
  1810. <![CDATA[
  1811. rszfOpenPopUpListByWndName(ipt_goodflagengnm,"", "goodflaghngnm,goodflagengnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,ipt_goodflag_search","Y");
  1812. model.refresh();
  1813. ]]>
  1814. </script>
  1815. </button>
  1816. <button id="button19" class="btn_sw" visibility="hidden" group="tab2" style="left:1013px; top:545px; width:144px; height:22px; ">
  1817. <caption>부서내 장비현황</caption>
  1818. <toggle case="fixasetcd_case" ev:event="onclick"/>
  1819. </button>
  1820. <select1 id="cmb_usemthd" ref="/root/main/reqeqmtlist/usemthd" class="combo_default" navindex="31" appearance="minimal" style="left:103px; top:439px; width:147px; height:19px; ">
  1821. <choices>
  1822. <itemset nodeset="/root/init/usemthd">
  1823. <label ref="label"/>
  1824. <value ref="value"/>
  1825. </itemset>
  1826. </choices>
  1827. </select1>
  1828. <caption id="caption32" class="cell_1" style="left:0px; top:437px; width:101px; height:23px; vertical-align:middle; ">사용방법</caption>
  1829. <input id="ipt_appqty" ref="/root/main/reqeqmtlist/appqty" class="input_s_essential" navindex="32" format="#,###" style="left:322px; top:439px; width:77px; height:19px; text-align:right; "/>
  1830. <caption id="caption28" class="cell_1" style="left:254px; top:437px; width:65px; height:23px; vertical-align:middle; ">청구수량</caption>
  1831. <caption id="caption48" class="tit_2" style="left:5px; top:245px; width:100px; height:13px; ">장비청구 내역</caption>
  1832. <caption id="caption40" style="left:898px; top:272px; width:38px; height:20px; vertical-align:middle; ">기사 :</caption>
  1833. <caption id="caption41" style="left:997px; top:272px; width:38px; height:20px; vertical-align:middle; ">기타 :</caption>
  1834. <caption id="caption43" style="left:743px; top:272px; width:14px; height:20px; vertical-align:middle; ">명</caption>
  1835. <caption id="caption44" style="left:866px; top:272px; width:14px; height:20px; vertical-align:middle; ">명</caption>
  1836. <caption id="caption46" style="left:973px; top:272px; width:14px; height:20px; vertical-align:middle; ">명</caption>
  1837. <caption id="caption47" style="left:1067px; top:272px; width:14px; height:20px; vertical-align:middle; ">명</caption>
  1838. <caption id="caption37" style="left:784px; top:272px; width:46px; height:19px; vertical-align:middle; ">간호사 :</caption>
  1839. <caption id="caption15" style="left:671px; top:272px; width:34px; height:19px; vertical-align:middle; ">의사 :</caption>
  1840. <button id="button7" class="btn_sw" group="tab2" style="left:430px; top:545px; width:144px; height:22px; ">
  1841. <caption>월간시행건수</caption>
  1842. <toggle case="moncd_1_case" ev:event="DOMActivate"/>
  1843. </button>
  1844. <button id="button11" class="btn_sw" group="tab2" style="left:573px; top:545px; width:144px; height:22px; ">
  1845. <caption>월간재료비</caption>
  1846. <toggle case="moncd_2_case" ev:event="DOMActivate"/>
  1847. </button>
  1848. <input id="ipt_reqflag" ref="/root/send/sendlist/reqflag" visibility="hidden" style="left:1015px; top:20px; width:35px; height:19px; "/>
  1849. <input id="ipt_bugtwncurncy" ref="/root/main/reqeqmtlist/bugtwncurncy" class="input_default" navindex="38" format="#,###" style="left:435px; top:486px; width:110px; height:19px; text-align:right; "/>
  1850. <input id="ipt_chgrate" ref="/root/main/reqeqmtlist/chgrate" class="input_default" navindex="40" format="#,###" style="left:305px; top:511px; width:155px; height:19px; text-align:right; ">
  1851. <script type="javascript" ev:event="xforms-value-changed">
  1852. <![CDATA[
  1853. fSetAmt()
  1854. ]]>
  1855. </script>
  1856. </input>
  1857. <caption id="caption31" class="cell_1" style="left:338px; top:485px; width:96px; height:23px; vertical-align:middle; ">예산금액(내자)</caption>
  1858. <select1 id="cmb_iopsnflag" ref="/root/main/reqeqmtlist/iopsnflag" class="combo_default" navindex="34" appearance="minimal" style="left:103px; top:463px; width:62px; height:19px; text-align:center; ">
  1859. <choices>
  1860. <item>
  1861. <label>내자</label>
  1862. <value>H</value>
  1863. </item>
  1864. <item>
  1865. <label>외자</label>
  1866. <value>F</value>
  1867. </item>
  1868. </choices>
  1869. <script type="javascript" ev:event="xforms-value-changed">
  1870. <![CDATA[
  1871. fSetAmt()
  1872. ]]>
  1873. </script>
  1874. </select1>
  1875. <select1 id="cmb_bugtforgnamtunit" ref="/root/main/reqeqmtlist/bugtforgnamtunit" class="combo_default" navindex="39" appearance="minimal" style="left:140px; top:511px; width:160px; height:19px; ">
  1876. <choices>
  1877. <itemset>
  1878. <label/>
  1879. <value/>
  1880. </itemset>
  1881. </choices>
  1882. </select1>
  1883. <caption id="caption12" class="cell_1" style="left:0px; top:509px; width:139px; height:23px; vertical-align:middle; ">화폐단위/환율/부대비용</caption>
  1884. <caption id="caption34" class="cell_1" style="left:338px; top:461px; width:95px; height:23px; vertical-align:middle; ">예산금액(외자)</caption>
  1885. <caption id="caption25" class="cell_1" style="left:0px; top:461px; width:101px; height:23px; vertical-align:middle; ">내,외자/부대비용</caption>
  1886. <caption id="caption1" class="search_no_b" style="left:525px; top:511px; width:17px; height:17px; font-size:12pt; ">%</caption>
  1887. <input id="ipt_etccostrt" ref="/root/main/reqeqmtlist/etccostrt" class="input_default" navindex="41" format="#,###" style="left:465px; top:511px; width:60px; height:19px; text-align:right; ">
  1888. <script type="javascript" ev:event="xforms-value-changed">
  1889. <![CDATA[
  1890. fSetAmt()
  1891. ]]>
  1892. </script>
  1893. </input>
  1894. <input id="ipt_bugtforgnamt" ref="/root/main/reqeqmtlist/bugtforgnamt" class="input_default" navindex="36" format="#,###" style="left:435px; top:463px; width:110px; height:19px; text-align:right; ">
  1895. <script type="javascript" ev:event="xforms-value-changed">
  1896. <![CDATA[
  1897. fSetAmt()
  1898. ]]>
  1899. </script>
  1900. </input>
  1901. <caption id="caption2" class="cell_1" style="left:548px; top:388px; width:118px; height:94px; vertical-align:middle; ">구 매 시 고 려 사 항</caption>
  1902. <button id="button26" class="btn_sw" group="tab" style="left:870px; top:387px; width:50px; height:22px; ">
  1903. <caption>배 관</caption>
  1904. <toggle case="mutplecmt_case" ev:event="onclick"/>
  1905. </button>
  1906. <button id="button27" class="btn_sw" group="tab" style="left:920px; top:387px; width:130px; height:22px; ">
  1907. <caption>전산화(EMR/PACS)</caption>
  1908. <toggle case="compucmt_case" ev:event="onclick"/>
  1909. </button>
  1910. <button id="button30" class="btn_sw" group="tab" style="left:1050px; top:387px; width:90px; height:22px; ">
  1911. <caption>단일모델사유</caption>
  1912. <toggle case="onemodelcmt_case" ev:event="onclick"/>
  1913. </button>
  1914. <button id="button28" class="btn_sw" group="tab" style="left:1140px; top:387px; width:50px; height:22px; ">
  1915. <caption>etc</caption>
  1916. <toggle case="etccmt_case" ev:event="onclick"/>
  1917. </button>
  1918. <button id="button10" class="btn_sw" group="tab" selected="true" style="left:667px; top:387px; width:75px; height:22px; ">
  1919. <caption>2. 부대시설</caption>
  1920. <toggle case="subestbcmt_case" ev:event="onclick"/>
  1921. </button>
  1922. <switch id="switch2" style="left:667px; top:409px; width:523px; height:72px; ">
  1923. <case id="subestbcmt_case" selected="true">
  1924. <textarea id="tar_subestbcmt" ref="/root/main/reqeqmtlist/subestbcmt" navindex="49" style="left:0px; top:0px; width:520px; height:70px; "/>
  1925. </case>
  1926. <case id="machcmt_case">
  1927. <textarea id="tar_machcmt" ref="/root/main/reqeqmtlist/machcmt" navindex="50" style="left:0px; top:0px; width:520px; height:70px; "/>
  1928. </case>
  1929. <case id="eleccmt_case">
  1930. <textarea id="tar_eleccmt" ref="/root/main/reqeqmtlist/eleccmt" navindex="51" style="left:0px; top:0px; width:520px; height:70px; "/>
  1931. </case>
  1932. <case id="mutplecmt_case">
  1933. <textarea id="tar_mutplecmt" ref="/root/main/reqeqmtlist/mutplecmt" navindex="52" style="left:0px; top:0px; width:520px; height:70px; "/>
  1934. </case>
  1935. <case id="compucmt_case">
  1936. <textarea id="tar_compucmt" ref="/root/main/reqeqmtlist/compucmt" navindex="53" style="left:0px; top:0px; width:520px; height:70px; "/>
  1937. </case>
  1938. <case id="onemodelcmt_case">
  1939. <textarea id="tar_onemodelcmt" ref="/root/main/reqeqmtlist/onemodelcmt" navindex="54" style="left:0px; top:0px; width:520px; height:70px; "/>
  1940. </case>
  1941. <case id="etccmt_case">
  1942. <textarea id="tar_etccmt" ref="/root/main/reqeqmtlist/etccmt" navindex="55" style="left:0px; top:0px; width:520px; height:70px; "/>
  1943. </case>
  1944. </switch>
  1945. <button id="button22" class="btn_sw" group="tab" style="left:742px; top:387px; width:78px; height:22px; ">
  1946. <caption>3. 기계장치</caption>
  1947. <toggle case="machcmt_case" ev:event="onclick"/>
  1948. </button>
  1949. <button id="button25" class="btn_sw" group="tab" style="left:820px; top:387px; width:50px; height:22px; ">
  1950. <caption>전 원</caption>
  1951. <toggle case="eleccmt_case" ev:event="onclick"/>
  1952. </button>
  1953. <output id="opt_acptflagcheck" ref="/root/init/acptflaglist/acptflagcheck" visibility="hidden" style="left:1045px; top:20px; width:15px; height:19px; "/>
  1954. <output id="opt_checkvalue1" ref="/root/init/acptflaglist/checkvalue1" visibility="hidden" style="left:1045px; top:40px; width:15px; height:19px; "/>
  1955. <output id="opt_checkvalue2" ref="/root/init/acptflaglist/checkvalue2" visibility="hidden" style="left:1060px; top:40px; width:15px; height:19px; "/>
  1956. <line id="line11" class="line_2" style="x1:0px; y1:408px; x2:1195px; y2:408px; "/>
  1957. <caption id="caption5" class="cell_1" style="left:170px; top:461px; width:65px; height:23px; vertical-align:middle; ">예산구분</caption>
  1958. <select1 id="cmb_budgetflag" ref="/root/main/reqeqmtlist/budgetflag" class="combo_default" navindex="35" appearance="minimal" style="left:235px; top:463px; width:100px; height:19px; ">
  1959. <choices>
  1960. <item>
  1961. <label>기자재</label>
  1962. <value>1</value>
  1963. </item>
  1964. <item>
  1965. <label>응급</label>
  1966. <value>2</value>
  1967. </item>
  1968. <item>
  1969. <label>기타</label>
  1970. <value>3</value>
  1971. </item>
  1972. <item>
  1973. <label>Nego예산</label>
  1974. <value>4</value>
  1975. </item>
  1976. <item>
  1977. <label>교비</label>
  1978. <value>5</value>
  1979. </item>
  1980. <item>
  1981. <label>연구비</label>
  1982. <value>6</value>
  1983. </item>
  1984. </choices>
  1985. </select1>
  1986. <select1 id="cmb_budgetflag_search" ref="/root/send/sendlist/budgetflag" class="combo_default" navindex="8" appearance="minimal" style="left:765px; top:20px; width:165px; height:19px; text-align:center; ">
  1987. <choices>
  1988. <item>
  1989. <label>전체</label>
  1990. <value/>
  1991. </item>
  1992. <item>
  1993. <label>기자재</label>
  1994. <value>1</value>
  1995. </item>
  1996. <item>
  1997. <label>응급</label>
  1998. <value>2</value>
  1999. </item>
  2000. <item>
  2001. <label>기타</label>
  2002. <value>3</value>
  2003. </item>
  2004. <item>
  2005. <label>Nego예산</label>
  2006. <value>4</value>
  2007. </item>
  2008. <item>
  2009. <label>교비</label>
  2010. <value>5</value>
  2011. </item>
  2012. <item>
  2013. <label>연구비</label>
  2014. <value>6</value>
  2015. </item>
  2016. </choices>
  2017. </select1>
  2018. <caption id="caption26" class="search_name" style="left:680px; top:21px; width:117px; height:17px; ">예산구분 :</caption>
  2019. <caption id="caption30" class="cell_1" style="left:363px; top:342px; width:60px; height:23px; vertical-align:middle; ">세부진행</caption>
  2020. <caption id="caption33" class="cell_1" style="left:363px; top:366px; width:60px; height:23px; vertical-align:middle; ">담당자</caption>
  2021. <select1 id="cmb_detailprog" ref="/root/main/reqeqmtlist/detailprog" class="combo_default" navindex="22" appearance="minimal" style="left:428px; top:343px; width:117px; height:19px; ">
  2022. <choices>
  2023. <item>
  2024. <label>입찰</label>
  2025. <value>1</value>
  2026. </item>
  2027. <item>
  2028. <label>수의계약</label>
  2029. <value>2</value>
  2030. </item>
  2031. <item>
  2032. <label>종합구매</label>
  2033. <value>3</value>
  2034. </item>
  2035. <item>
  2036. <label>기타</label>
  2037. <value>4</value>
  2038. </item>
  2039. </choices>
  2040. </select1>
  2041. <select1 id="cmb_chrgpsnid" ref="/root/main/reqeqmtlist/chrgpsnid" class="combo_default" navindex="26" appearance="minimal" style="left:428px; top:368px; width:117px; height:19px; ">
  2042. <choices>
  2043. <itemset nodeset="root/init/chrgpsnid">
  2044. <label ref="label"/>
  2045. <value ref="value"/>
  2046. </itemset>
  2047. </choices>
  2048. </select1>
  2049. <caption id="caption36" class="search_name" style="left:680px; top:44px; width:117px; height:17px; ">장비명 :</caption>
  2050. <input id="ipt_goodflagengnm_search" ref="/root/send/sendlist/goodflagengnm" class="input_search" style="left:765px; top:44px; width:165px; height:19px; "/>
  2051. <button id="btn_reqdeptcd" class="icon_search" navindex="20" style="left:204px; top:343px; width:16px; height:16px; ">
  2052. <caption/>
  2053. <script type="javascript" ev:event="DOMActivate">
  2054. <![CDATA[
  2055. var recv_list = "reqdeptcd,reqdeptnm";
  2056. misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
  2057. model.refresh();
  2058. ]]>
  2059. </script>
  2060. </button>
  2061. <input id="ipt_reqdeptnm" ref="/root/main/reqeqmtlist/reqdeptnm" class="input_fix" navindex="21" appearance="input" style="left:225px; top:343px; width:135px; height:19px; ">
  2062. <script type="javascript" ev:event="xforms-value-changed">
  2063. <![CDATA[
  2064. if(ipt_reqdeptnm.value.length == 0)
  2065. ipt_reqdeptcd.value = "";
  2066. else
  2067. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  2068. model.refresh();
  2069. ]]>
  2070. </script>
  2071. </input>
  2072. <input id="input1" ref="/root/main/reqeqmtlist/reqdeptcd" class="input_s_essential" navindex="19" style="left:103px; top:343px; width:97px; height:19px; ">
  2073. <script type="javascript" ev:event="xforms-value-changed">
  2074. <![CDATA[
  2075. if(ipt_reqdeptcd.value.length == 0)
  2076. ipt_reqdeptnm.value = "";
  2077. else
  2078. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  2079. model.refresh();
  2080. model.setFocus("ipt_reqdeptcd");
  2081. ]]>
  2082. </script>
  2083. </input>
  2084. <caption id="caption38" class="cell_1" style="left:0px; top:389px; width:101px; height:23px; vertical-align:middle; ">설치장소(기타)</caption>
  2085. <input id="ipt_installplcecmt" ref="/root/main/reqeqmtlist/installplcecmt" class="input_fix" navindex="27" appearance="input" style="left:103px; top:392px; width:442px; height:19px; "/>
  2086. <caption id="caption39" class="cell_1" style="left:0px; top:485px; width:101px; height:23px; vertical-align:middle; ">예상 운용연수</caption>
  2087. <input id="ipt_fcstuseyearno" ref="/root/main/reqeqmtlist/fcstuseyearno" class="input_fix" navindex="37" maxlength="2" format="#,###" style="left:103px; top:487px; width:75px; height:19px; text-align:right; ">
  2088. <script type="javascript" ev:event="xforms-value-changed">
  2089. <![CDATA[
  2090. //fSetAmt()
  2091. ]]>
  2092. </script>
  2093. </input>
  2094. <caption id="caption53" class="cell_1" style="left:548px; top:483px; width:118px; height:50px; vertical-align:middle; ">구비서류</caption>
  2095. </group>
  2096. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  2097. <button id="btn_init" class="btn4_letter3" navindex="80" style="left:1127px; top:3px; width:68px; height:22px; ">
  2098. <caption>초기화</caption>
  2099. <script type="javascript" ev:event="DOMActivate">
  2100. <![CDATA[
  2101. // model.makeNode("root/init/chrgpsnid/label");
  2102. // model.makeNode("root/init/chrgpsnid/value");
  2103. // model.makeValue("root/init/chrgpsnid/label",getUserInfo("usernm"));
  2104. // model.makeValue("root/init/chrgpsnid/value",getUserInfo("userid"));
  2105. if ( fDataCheck() ) {
  2106. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  2107. if (ret != 6) { // not OK
  2108. return;
  2109. } else {
  2110. fInitialize();
  2111. }
  2112. } else {
  2113. fInitialize();
  2114. }
  2115. ]]>
  2116. </script>
  2117. </button>
  2118. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  2119. <button id="btn_save" class="btn4_letter2" navindex="79" style="left:1070px; top:3px; width:56px; height:22px; ">
  2120. <caption>저장</caption>
  2121. <script type="javascript" ev:event="DOMActivate">
  2122. <![CDATA[
  2123. if( fCheckSaveData() ) {
  2124. if ( grd_reqeqmtlist.rows <= 1 ) {
  2125. misfGridInit(grd_reqeqmtlist);
  2126. misfGridIUD(grd_reqeqmtlist, "A");
  2127. model.refresh();
  2128. }
  2129. if ( fDataCheck() ) {
  2130. misfSave("TXRSC11901");
  2131. if (model.getValue(gvErrorMsgPath + "/type") != "error") btn_search.dispatch("DOMActivate");
  2132. } else {
  2133. messageBox("변경된 데이터가","I004");
  2134. return;
  2135. }
  2136. }
  2137. ]]>
  2138. </script>
  2139. </button>
  2140. <button id="btn_print" class="btn6_letter5" navindex="77" visibility="hidden" style="left:0; top:3px; width:87px; height:22px; ">
  2141. <caption>청구서출력</caption>
  2142. <script type="javascript" ev:event="DOMActivate">
  2143. <![CDATA[
  2144. ]]>
  2145. </script>
  2146. </button>
  2147. <output id="opt_instcd" ref="/root/main/reqeqmtlist/instcd" class="output_fix" visibility="hidden" appearance="output" style="left:490px; top:5px; width:78px; height:19px; "/>
  2148. <output id="opt_reqdd" ref="/root/main/reqeqmtlist/reqdd" class="output_fix" visibility="hidden" appearance="output" style="left:575px; top:5px; width:78px; height:19px; "/>
  2149. <output id="opt_reqseqno" ref="/root/main/reqeqmtlist/reqseqno" class="output_fix" visibility="hidden" appearance="output" style="left:660px; top:5px; width:78px; height:19px; "/>
  2150. <button id="button29" class="btn4_letter6" navindex="78" visibility="visible" style="left:965px; top:3px; width:104px; height:22px; ">
  2151. <caption>거래처 관리</caption>
  2152. <script type="javascript" ev:event="DOMActivate">
  2153. <![CDATA[
  2154. modalUrl("../../../mis/acntbaseinfoweb/xrw/SMRAC00600_거래처관리.xrw", 1, 0, 0, "", "", "");
  2155. ]]>
  2156. </script>
  2157. </button>
  2158. </group>
  2159. <select id="chk_possesdocu" ref="/root/main/reqeqmtlist/possesdocucd" disabled="false" navindex="56" visibility="visible" overflow="visible" appearance="full" cols="3" sep="," vcellspacing="2" style="left:667px; top:525px; width:523px; height:50px; text-align:left; border-style:none; ">
  2160. <choices>
  2161. <itemset>
  2162. <label/>
  2163. <value/>
  2164. </itemset>
  2165. </choices>
  2166. <script type="javascript" ev:event="xforms-value-changed">
  2167. <![CDATA[
  2168. ]]>
  2169. </script>
  2170. <script type="javascript" ev:event="onclick">
  2171. <![CDATA[
  2172. ]]>
  2173. </script>
  2174. </select>
  2175. </xhtml:body>
  2176. </xhtml:html>