12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>장비신청상세내역</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <reqeqmtlist>
- <workflag/>
- <reqpsnid/>
- <reqpsnnm/>
- <goodflagengnm/>
- <goodflaghngnm/>
- <reqdeptcd/>
- <reqdeptnm/>
- <installplcecd/>
- <installplcenm/>
- <mngtdeptcd/>
- <mngtdeptnm/>
- <usemthd/>
- <appqty/>
- <goodunitcost/>
- <welfcd/>
- <bugtforgnamt/>
- <fcstuseyearno/>
- <bugtyy/>
- <bugtforgnamtunit/>
- <chgrate/>
- <etccostrt/>
- <bugtwncurncy/>
- <addmnpwrdr/>
- <addmnpwrnurs/>
- <addmnpwrengr/>
- <addmnpwretc/>
- <installspcepossnyn/>
- <calcscorgenryn/>
- <usgepurcneed/>
- <possesdocucd/>
- <requsrtel/>
- <rowstatus/>
- <instcd/>
- <revwopin1/>
- <revwopin2/>
- <revwopin3/>
- <revwopin4/>
- <usepsn/>
- <goodflag/>
- <reqdd/>
- <fileyn1/>
- <fileyn2/>
- <fileyn3/>
- <fileyn4/>
- <fileyn5/>
- <fileyn6/>
- <fileyn7/>
- <fileyn8/>
- <comusedept/>
- <comusedeptnm/>
- <commissionyn/>
- <kreqmtcmt/>
- <kreqmtyn/>
- <deprdistprf1/>
- <deprdistper1/>
- <deprdistprf2/>
- <deprdistper2/>
- <deprdistprf3/>
- <deprdistper3/>
- <deprdistprf4/>
- <deprdistper4/>
- <deprdistprf5/>
- <deprdistper5/>
- <deprdistprf6/>
- <deprdistper6/>
- <deprdistprf7/>
- <deprdistper7/>
- <deprdistprf8/>
- <deprdistper8/>
- <deprdistprf9/>
- <deprdistper9/>
- <deprdistprf10/>
- <deprdistper10/>
- <introtype/>
- <rental/>
- <smkindeqyn>Y</smkindeqyn>
- <prcpcntyn>Y</prcpcntyn>
- <deprdistpyn>Y</deprdistpyn>
- </reqeqmtlist>
- <list>
- <recmeqmtlist/>
- <smlartyeqmtlist/>
- <fixasetcd>
- <fixasetcdlistv/>
- </fixasetcd>
- <mon1cdlist/>
- <mon2cdlist/>
- <introductioneqmtlist/>
- <purcprcsprescondlist/>
- </list>
- <calc/>
- </main>
- <send>
- <instcd/>
- <mngtdeptcd/>
- <reqdeptcd/>
- <cntrdeptcd/>
- <save>
- <smlartyeqmtlist/>
- <recmeqmtlist/>
- <mon1cdlist/>
- <mon2cdlist/>
- <reqeqmtlist/>
- <purcprcsprescondlist/>
- </save>
- </send>
- <hidden>
- <file/>
- </hidden>
- <temp>
- <qchgrate/>
- </temp>
- <emplno>
- <emplno/>
- <dutplcedeptcd/>
- </emplno>
- <delete>
- <fiepath/>
- </delete>
- <introgrid>
- <search>
- <fixasetcd/>
- <introflag>search</introflag>
- <instcd/>
- </search>
- <result/>
- <save>
- <introductioneqmtlist/>
- </save>
- </introgrid>
- <garbage>
- <goodflag>EQ</goodflag>
- </garbage>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_recmeqlist);
- misfGridInit(grd_introductioneqmt);
- misfGridInit(grd_purcprcsprescond);
- // misfGridInit(grd_smlartyeqmtlist);
- // misfGridInit(grd_recmeqlist);
- // misfGridInit(grd_psgedeptlist);
- // misfGridInit(grd_fixasetcdlistv);
- // misfGridInit(grd_fixasetcdlist);
- //
- // misfGridInit(grd_mon1cdlist);
- // misfGridInit(grd_mon2cdlist);
-
- // misfGridComboComCdList("M0044", grd_mon1cdlist, "insu_nopyyn"); // 급여,비급여.
-
- // misfComboComCdList("030R0005", chk_possesdocu); //구비서류
- misfGridComboComCdList("030R0027",grd_purcprcsprescond,"purcprcsstat");
- misfComboComCdListMulti("R0052,R0047,R0047,R0035","cmb_usemthd,cmb_bugtforgnamtunit,grd_recmeqlist.curncyunit,grd_recmeqlist.prodplce"); //공동사용여부,화폐단위,추천장비.화폐단위
-
- submit("TRRSC20201");
- // submit("TRRSC20202");
- // submit("TRRSC20203");
- // submit("TRRSC20204");
- model.makeNode("/root/main/reqeqmtlist/introtype");
- model.makeNode("/root/main/reqeqmtlist/rental");
- model.makeNode("/root/main/reqeqmtlist/smkindeqyn");
- if(model.getValue("/root/main/reqeqmtlist/smkindeqyn") == ""){
- model.setValue("/root/main/reqeqmtlist/smkindeqyn","Y");
- }
- if(model.getValue("/root/main/reqeqmtlist/smkindeqyn") == "N"){
- btn_addsmlart.disabled = true;
- btn_delsmlart.disabled = true;
- }
- model.makeNode("/root/main/reqeqmtlist/prcpcntyn");
- if(model.getValue("/root/main/reqeqmtlist/prcpcntyn") == ""){
- model.setValue("/root/main/reqeqmtlist/prcpcntyn","Y");
- }
- if(model.getValue("/root/main/reqeqmtlist/prcpcntyn") == "N"){
- btn_addmon1.disabled = true;
- btn_delmon1.disabled = true;
- }
- model.makeNode("/root/main/reqeqmtlist/deprdistpyn");
- if(model.getValue("/root/main/reqeqmtlist/deprdistpyn") == ""){
- model.setValue("/root/main/reqeqmtlist/deprdistpyn","Y");
- }
- if(model.getValue("/root/main/reqeqmtlist/deprdistpyn") == "N"){
- ipt_deprdistprf1.disabled = true;
- ipt_deprdistper1.disabled = true;
- ipt_deprdistprf2.disabled = true;
- ipt_deprdistper2.disabled = true;
- ipt_deprdistprf3.disabled = true;
- ipt_deprdistper3.disabled = true;
- ipt_deprdistprf4.disabled = true;
- ipt_deprdistper4.disabled = true;
- ipt_deprdistprf5.disabled = true;
- ipt_deprdistper5.disabled = true;
- ipt_deprdistprf6.disabled = true;
- ipt_deprdistper6.disabled = true;
- ipt_deprdistprf7.disabled = true;
- ipt_deprdistper7.disabled = true;
- ipt_deprdistprf8.disabled = true;
- ipt_deprdistper8.disabled = true;
- ipt_deprdistprf9.disabled = true;
- ipt_deprdistper9.disabled = true;
- ipt_deprdistprf10.disabled = true;
- ipt_deprdistper10.disabled = true; ;
- }
- filedeletebtnvisible();
-
- var instcd = model.getValue("/root/main/reqeqmtlist/instcd");
- var commissionyn = model.getValue("/root/main/reqeqmtlist/commissionyn");
- if(model.getValue("/root/main/reqeqmtlist/rowstatus") == "disabled")
- {
- buydisabled("all");
- group3.disabled = true;
- btn_save.disabled = true;
- //2014.06.30 박준범 - comment처리
- //btn_print.visible = true;
- btn_smlartyeqmt.dispatch("onclick");
- }else if(model.getValue("/root/main/reqeqmtlist/rowstatus") == "buy"){
- group3.disabled = true;
- buydisabled("buy");
- btn_purcprcsprescond.dispatch("onclick");
- }else if(model.getValue("/root/main/reqeqmtlist/rowstatus") == "review"){
- group3.disabled = true;
- model.setValue("/root/emplno/emplno", getUserInfo("userid"));
- model.setValue("/root/emplno/dutplcedeptcd", getUserInfo("dutplcecd"));
- submit("TRRSC20102");
- var deprtmangr = model.getValue("/root/deprtmangr/deprtmangr");
- var dutplcedeptcd = model.getValue("/root/deprtmangr/dutplcedeptcd");
-
- //기자재도입심의 ※ 본원일 경우 위원회여부 상관없이 이제문선생님 , 칠곡일경우 위원회여부가 Y이면 이제문선생님, N이면 서보성선생님
- if((instcd == "032" && commissionyn == "Y" && getUserInfo("userid") == "08190") || getUserInfo("userid") == "MIS" || getUserInfo("userid") == "95034"
- || (instcd == "031" && getUserInfo("userid") == "08190") || (instcd == "032" && commissionyn == "N" && getUserInfo("userid") == "10326")){
- tx_revwopin1.disabled = false;
- }
- if(dutplcedeptcd == "4090500000" || getUserInfo("userid") == "MIS"){ //의공학과장
- tx_revwopin2.disabled = false;
- }
- if(dutplcedeptcd == "4060100000" || getUserInfo("userid") == "MIS"){ //시설팀
- tx_revwopin3.disabled = false;
- }
- if(dutplcedeptcd == "4130116000" || getUserInfo("userid") == "MIS"){ //의료정보센터장
- tx_revwopin4.disabled = false;
- }
-
- buydisabled("review");
- group3.disabled = true;
- btn_reviewdeptopin.dispatch("onclick");
- }else if(model.getValue("/root/main/reqeqmtlist/rowstatus") == "i"){
- model.setValue("/root/main/reqeqmtlist/reqdd",getCurrentDate().substr(0,8));
- model.setValue("/root/main/reqeqmtlist/goodflag","EQ");
- model.setValue("/root/main/reqeqmtlist/reqpsnid",getUserInfo("userid"));
- model.setValue("/root/main/reqeqmtlist/reqpsnnm",getUserInfo("usernm"));
- model.setValue("/root/main/reqeqmtlist/prcsstat", "1");
- btn_reviewdeptopin.visible = false;
- btn_introductioneqmt.visible = false;
- btn_purcprcsprescond.visible = false;
- btn_smlartyeqmt.dispatch("onclick");
- }else{
- grd_purcprcsprescond.disabled = true;
- btn_addpurc.disabled = true;
- btn_delpurc.disabled = true;
- //2014.06.30 박준범 - comment처리
- //btn_print.visible = true;
- btn_smlartyeqmt.dispatch("onclick");
- }
- model.refresh();
-
- //2014.06.30 박준범 추가
- messageBox("2014. 7. 1.부터 장비신청은 전자결재로 전환됩니다. " + "\n\n" +
- "전자결재 진행시 수신자(기획조정팀, 치과지원팀, 칠곡병원 기획팀)가 신청부서의 장비 위원회를 관리하는지 재확인하시고, " + "\n" +
- "필요서류 붙임이 누락되지 않도록 유념하여 주시기 바랍니다. ", "I999", "");
-
- ]]>
- </script>
- <submission id="TRRSC11902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/publusedeptlist"/>
- <submission id="TRRSC11906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/psgedeptlist"/>
- <submission id="TXRSC11903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TRRFC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist" resultref="/root/main/list/fixasetcd"/>
- <submission id="TRRSC20102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/emplno" resultref="/root/temp"/>
- <submission id="TXRSC20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
- <submission id="TRRSC20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list"/>
- <submission id="TRRSC20202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/smlartyeqmtlist"/>
- <submission id="TRRSC20203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/mon1cdlist"/>
- <submission id="TRRSC20204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/mon2cdlist"/>
- <submission id="TRRSC20205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqeqmtlist" resultref="/root/main/list/fixasetcd"/>
- <submission id="TXRSC20202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TXRSC20203" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/hidden/file" resultref="/root/main/filepath"/>
- <submission id="TXRSC20204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/delete" resultref="/root/temp"/>
- <submission id="TRRSC20206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/introgrid/search" resultref="/root/introgrid/result"/>
- <submission id="TXRSC20206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/introgrid/save" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- var printsaveyn = "N";
-
- function filedeletebtnvisible(){
-
- }
-
- function fAfterRetr()
- {
- /* 접수부서의 접수가 되었으면*/
- for(var fRow = grd_reqeqmtlist.fixedRows; fRow < grd_reqeqmtlist.rows; fRow++)
- {
- if(grd_reqeqmtlist.valueMatrix(fRow, grd_reqeqmtlist.colRef("acptflag")) == "Y")
- {
- grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("deptaprvyn")) = true;
- }
- else
- {
- grd_reqeqmtlist.isReadOnly(fRow,grd_reqeqmtlist.colRef("deptaprvyn")) = false;
- }
- }
- }
-
- function fupload(flag){
- var files = window.fileDialog("open", ",", false);
- var replacepath = "";
- if ( files.length <= 0 ) return;
-
- model.makeValue(ipt_updpath.attribute("ref") , files); //전체파일경로와이름을 셋팅
- var filename = files.substring(files.lastIndexOf('\\')+1 , files.length ); //파일이름만 나오게 문자정리
- model.setValue("/root/main/reqeqmtlist/filenm"+flag, filename);
-
- submit("TXRSC20203");
- if(model.getValue("/root/main/filepath[1]/filepath") != ""){
- model.setValue("/root/main/reqeqmtlist/filepath"+flag,model.getValue("/root/main/filepath[1]/filepath"));
- }
- }
-
- function fdelete(flag){
- model.setValue("/root/delete/fiepath",model.getValue("/root/main/reqeqmtlist/filepath"+flag));
- if(submit("TXRSC20204") == true){
- model.setValue("/root/main/reqeqmtlist/fileyn"+flag, "N");
- model.setValue("/root/main/reqeqmtlist/filepath"+flag, "");
- model.setValue("/root/main/reqeqmtlist/filenm"+flag, "");
- }
- }
-
- function fdown(flag){
- var filepath = model.getValue("/root/main/reqeqmtlist/filepath"+flag);
- var filenm = model.getValue("/root/main/reqeqmtlist/filenm"+flag);
- var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- if (localfile != "") {
- model.download(getActionURL("TRRWC03003")+"&filepath="+filepath,localfile);
- var rtn = messageBox("파일을", "Q004");
- if( rtn == 6 ) {
- window.exec(localfile);
- }
- }
- }
-
- function saveChk()
- {
- if(model.getValue("/root/main/reqeqmtlist/goodflagengnm") == ""){
- messageBox("장비명(영)은 필수 입력입니다. 확인하십시오.", "E999", "");
- model.setFocus("ipt_goodflagengnm");
- return false;
- }
- if(model.getValue("/root/main/reqeqmtlist/goodflaghngnm") == ""){
- messageBox("장비명(한)은 필수 입력입니다. 확인하십시오.", "E999", "");
- model.setFocus("ipt_goodflaghngnm");
- return false;
- }
- if(model.getValue("/root/main/reqeqmtlist/workflag") == ""){
- messageBox("신청구분을 선택하십시오.", "E999", "");
- model.setFocus("cmb_workflag");
- return false;
- }
- if(model.getValue("/root/main/reqeqmtlist/reqdeptcd") == ""){
- messageBox("신청부서는 필수 입력입니다. 확인하십시오.", "E999", "");
- model.setFocus("ipt_reqdeptcd");
- return false;
- }
- if(model.getValue("/root/main/reqeqmtlist/mngtdeptcd") == ""){
- messageBox("사용부서는 필수 입력입니다. 확인하십시오.", "E999", "");
- model.setFocus("ipt_mngtdeptcd");
- return false;
- }
- // if(model.getValue("/root/main/reqeqmtlist/appqty") == ""){
- // messageBox("청구수량은 필수 입력입니다. 확인하십시오.", "E999", "");
- // model.setFocus("ipt_appqty");
- // return false;
- // }
- // if(model.getValue("/root/main/reqeqmtlist/goodunitcost") == ""){
- // messageBox("단가는 필수 입력입니다. 확인하십시오.", "E999", "");
- // model.setFocus("ipt_goodunitcost");
- // return false;
- // }
- }
-
-
- function buydisabled(flag)
- {
- // grd_smlartyeqmtlist.disabled = true;
- // grd_fixasetcdlistv.disabled = true;
-
- btn_addsmlart.disabled = true;
- btn_delsmlart.disabled = true;
- button22.disabled = true;
- // btn_eqip.disabled = true;
-
- // grd_mon1cdlist.disabled = true;
- btn_addmon1.disabled = true;
- btn_delmon1.disabled = true;
-
- //grd_mon2cdlist.disabled = true;
- btn_addmon2.disabled = true;
- btn_delmon2.disabled = true;
-
- //grd_introductioneqmt.disabled = true;
-
- //grd_recmeqlist.disabled = true;
- button1.disabled = true;
- button8.disabled = true;
-
- btn_introsave.disabled = true;
- btn_addintroductioneqmt.disabled = true;
- btn_delintroductioneqmt.disabled = true;
-
- if(flag == "review"){
- //grd_purcprcsprescond.disabled = true;
- btn_addpurc.disabled = true;
- btn_delpurc.disabled = true;
- }
- if(flag == "all"){
- //grd_purcprcsprescond.disabled = true;
- btn_addpurc.disabled = true;
- btn_delpurc.disabled = true;
- }
-
- }
-
-
- function fSettingGoodList(pnode, nodename)
- {
- var codynode = instance1.selectNodes(pnode + "/*");
-
- var addRow = grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows;
-
- if(model.getValue(grd_mon2cdlist.nodeset + "[" + addRow + "]/goodcd").length > 0)addRow = addRow + 1;
- for (var j = 1; j <= codynode.length ; j++) {
-
- if((grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows == 0) || (addRow > grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows))
- {
-
- misfGridIUD(grd_mon2cdlist,"A");
- // grd_mon2cdlist.addRow(true, true);
- // misfGridDefaultSet(grd_mon2cdlist);
-
- addRow = grd_mon2cdlist.rows - grd_mon2cdlist.fixedRows;
- }
-
- model.setValue(grd_mon2cdlist.attribute("nodeset") + "[" + grd_mon2cdlist.row + "]/cstcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
- model.setValue(grd_mon2cdlist.attribute("nodeset") + "[" + grd_mon2cdlist.row + "]/cstcdnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
- model.setValue(grd_mon2cdlist.attribute("nodeset") + "[" + grd_mon2cdlist.row + "]/suplplce" , model.getValue(pnode +"/" + nodename + "[" + j + "]/maincustlastsuplplce"));
- model.setValue(grd_mon2cdlist.attribute("nodeset") + "[" + grd_mon2cdlist.row + "]/suplplcenm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/maincustlastsuplplcenm"));
- model.setValue(grd_mon2cdlist.attribute("nodeset") + "[" + grd_mon2cdlist.row + "]/purcunitcost" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodunitcost"));
- model.setValue(grd_mon2cdlist.attribute("nodeset") + "[" + grd_mon2cdlist.row + "]/instcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/instcd"));
-
- // [2011.04.04] by J.woo
- // 내용: 월간재료비 추가로 인한 REQDD 세팅
-
- model.setValue(grd_mon2cdlist.attribute("nodeset") + "[" + grd_mon2cdlist.row + "]/reqdd" , model.getValue("/root/main/reqeqmtlist/reqdd"));
-
- addRow = addRow + 1;
-
-
- }
-
- //model.removenode(pnode);
- model.refresh();
- }
-
- // function fCheckRetrieveData(pmsg)
- // {
- //
- // if(model.getValue(opt_instcd.attribute("ref")).length== 0 )
- // {
- // if(pmsg == true)
- // {
- // messageBox("기관코드를 " ,"C002");
- // model.setFocus("opt_instcd");
- // }
- // return false;
- // }
- //
- // //pmsg == "fselect" --> 조회시
- // //pmsg == "true" --> 행추가시
- // //구매팀에서 부서코드 없이 조회시 전체를 조회해서 볼수있도록 조건을 바꾸고 행추가시에는 구매팀이더라도 부서를 세팅하고 행추가 할수 있도록 수정함
- //
- // var ideptcd = getUserInfo("dutplcecd");
- // if( (ideptcd=="4080101000" || ideptcd=="4080100000" || ideptcd=="4080102000"|| ideptcd=="4080300000") && pmsg == "fselect" ){
- // }else{
- // if(model.getValue(ipt_reqdeptcd_search.attribute("ref")).length== 0 )
- // {
- // if(pmsg == true || pmsg == "fselect")
- // {
- //
- // messageBox("청구부서를 " ,"C002");
- // model.setFocus("ipt_reqdeptcd_search");
- // }
- // return false;
- // }
- // }
- //
- //
- //
- //
- // if(model.getValue(ipt_reqfrmdd_search.attribute("ref")).length== 0 )
- // {
- // if(pmsg == true)
- // {
- // messageBox("청구조회시작일자를 " ,"C001");
- // model.setFocus("ipt_reqfrmdd_search");
- // }
- // return false;
- // }
- //
- // if(model.getValue(ipt_reqtodd_search.attribute("ref")).length== 0 )
- // {
- // if(pmsg == true)
- // {
- // messageBox("청구조회종료일자를 " ,"C001");
- // model.setFocus("ipt_reqtodd_search");
- // }
- // return false;
- // }
- //
- // return true;
- // }
-
- // function fDataCheck( ) {
- // if ( grd_reqeqmtlist.rows > 1 )
- // misfGridRowStatusChange(grd_reqeqmtlist,"/root/main/list","/root/main");
- // var updtdata = getGridUpdateData(grd_reqeqmtlist);
- //
- // model.refresh();
- // if (updtdata != "" ) return true;
- //
- // updtdata = getGridUpdateData(grd_publusedeptlist);
- // if (updtdata != "" ) return true;
- // updtdata = getGridUpdateData(grd_smlartyeqmtlist);
- // if (updtdata != "" ) return true;
- // updtdata = getGridUpdateData(grd_recmeqlist);
- // if (updtdata != "" ) return true;
- // updtdata = getGridUpdateData(grd_psgedeptlist);
- // if (updtdata != "" ) return true;
- // updtdata = getGridUpdateData(grd_mon1cdlist);
- // if (updtdata != "" ) return true;
- // updtdata = getGridUpdateData(grd_mon2cdlist);
- // if (updtdata != "" ) return true;
- // else return false;
- // }
-
- function fSetAddRow( grd_temp ) {
- misfGridIUD(grd_temp,"A","N");
-
- model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/instcd", model.getValue("/root/main/reqeqmtlist/instcd"));
- model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/reqdd", model.getValue("/root/main/reqeqmtlist/reqdd"));
- model.setValue( grd_temp.attribute("nodeset")+"["+grd_temp.row+"]/reqseqno", model.getValue("/root/main/reqeqmtlist/reqseqno"));
- }
-
- // function fCheckSaveData()
- // {
- // if(model.getValue(ipt_reqdeptcd.attribute("ref")).length==0)
- // {
- // messageBox("신청부서는" ,"I003");
- // model.setFocus("ipt_reqdeptcd");
- // return false;
- // }
- // if(model.getValue(cmb_workflag.attribute("ref")).length==0)
- // {
- // messageBox("청구구분은","I003");
- // model.setFocus("cmb_workflag");
- // return false;
- // }
- // if(model.getValue(ipt_appqty.attribute("ref")).length==0 || model.getValue(ipt_appqty.attribute("ref"))==0)
- // {
- // messageBox("청구수량은","I003");
- // model.setFocus("ipt_appqty");
- // return false;
- // }
- //
- // if(model.getValue(ipt_goodflagengnm.attribute("ref")).length==0)
- // {
- // messageBox("장비영문명을","I003");
- // model.setFocus("ipt_goodflagengnm");
- // return false;
- // }
- // if(model.getValue(ipt_mngtdeptcd.attribute("ref")).length==0)
- // {
- // messageBox("관리부서를","I003");
- // model.setFocus("ipt_mngtdeptcd");
- // return false;
- // }
- // if(model.getValue(ipt_reqdeptcd.attribute("ref")).length==0)
- // {
- // messageBox("청구부서를","I003");
- // model.setFocus("ipt_reqdeptcd");
- // return false;
- // }
- // if(model.getValue(ipt_goodunitcost.attribute("ref")) < 0)
- // {
- // messageBox("단가를","I003");
- // model.setFocus("ipt_goodunitcost");
- // return false;
- // }
- //
- // if( checkKeyColumn("grd_recmeqlist") == false) return;
- // if( checkKeyColumn("grd_smlartyeqmtlist") == false) return;
- // if( checkKeyColumn("grd_psgedeptlist") == false) return;
- // if( checkKeyColumn("grd_publusedeptlist") == false) return;
- //
- // if( checkKeyColumn("grd_mon1cdlist") == false) return;
- // if( checkKeyColumn("grd_mon2cdlist") == false) return;
- //
- // return true;
- // }
-
- // function fDefaultSetting()
- // {
- // model.copyNode("/root/main/reqeqmtlist" , grd_reqeqmtlist.nodeset + "["+ (grd_reqeqmtlist.row-grd_reqeqmtlist.fixedrows+1) + "]");
- //
- // model.setValue(opt_reqdd.attribute("ref"), getCurrentDate() );
- // model.setValue(ipt_reqdeptcd.attribute("ref"), ipt_reqdeptcd_search.value);
- // model.setValue(ipt_reqpsnid.attribute("ref"), getUserInfo("userid"));
- // model.setValue(opt_reqpsnnm.attribute("ref"), getUserInfo("usernm"));
- //
- // // 진행상태 "1" :청구
- // model.setValue(ipt_prcsstat.attribute("ref"), "1");
- // model.setValue(cmb_iopsnflag.attribute("ref"), "H");
- //
- // var curdate = getCurrentDate();
- // var cvtdate = curdate.toDate("YYYYMMDD");
- //
- // model.setValue(ipt_bugtyy.attribute("ref"), cvtdate.getYear());
- //
- // // 청구부서,관리부서 셋팅
- // model.setValue(ipt_mngtdeptcd.attribute("ref"), ipt_reqdeptcd_search.value);
- // model.setValue(ipt_mngtdeptnm.attribute("ref"), opt_reqdeptnm_search.value);
- // model.setValue(ipt_reqdeptcd.attribute("ref"), ipt_reqdeptcd_search.value);
- // model.setValue(ipt_reqdeptnm.attribute("ref"), opt_reqdeptnm_search.value);
- //
- // model.refresh();
- // }
-
- // function fMovecd(pgrid_name)
- // {
- // if(model.GetValue(cmb_workflag.attribute("ref")).length == 0)
- // {
- // messageBox("행추가를 먼저하시거나 '청구구분' 란을 먼저 " ,"C002");
- // //model.setFocus("opt_instcd");
- // return;
- // }
- //
- // if (grd_fixasetcdlist.row > 0)
- // {
- // //model.setValue(ipt_fixasetcd.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("fixasetcd")));
- // model.setValue(ipt_goodflaghngnm.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("goodflaghngnm")));
- // model.setValue(ipt_goodflagengnm.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("goodflagengnm")));
- //
- // model.refresh();
- // }
- //
- // }
-
- // function fSetAmt()
- // {
- // if(cmb_iopsnflag.value == "H")
- // {
- //
- // ipt_bugtwncurncy.disabled="false";
- // ipt_bugtforgnamt.disabled="true";
- // ipt_chgrate.disabled="true";
- // ipt_etccostrt.disabled="true";
- //
- // model.setValue(ipt_chgrate.attribute("ref"),"0" );
- // model.setValue(ipt_bugtforgnamt.attribute("ref"),"0" );
- // model.setValue(ipt_etccostrt.attribute("ref"),"0" );
- // }
- // else
- // {
- // ipt_bugtwncurncy.disabled="true";
- // ipt_bugtforgnamt.disabled="false";
- // ipt_chgrate.disabled="false";
- // ipt_etccostrt.disabled="false";
- //
- // // 원화 := 외화*환율 + ((외화*환율*부대비용율)/100)
- // var bugtwncurncy = ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) ) +
- // ( ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) * parseInt(ipt_etccostrt.value) ) / 100 ) ;
- // //var bugtwncurncy = ( parseInt(ipt_bugtforgnamt.value) * parseInt(ipt_chgrate.value) ) ;
- //
- // model.setValue(ipt_bugtwncurncy.attribute("ref"),bugtwncurncy );
- // }
- // model.refresh();
- // }
-
- // function fSetReqAuth()
- // {
- // if(getUserInfo("dutplceinstcd") == '001')
- // {
- // return;
- // }
- // /* ---------------------------------------------------------------------------------------
- // * [2007.12.12 HBH ] 청구주기 추가.
- // * 수리,장비등 청구주기가 없는 것들은 '1'로셋팅
- // ---------------------------------------------------------------------------------------*/
- // rszfGetPurcReqAuthInfo(model.getValue(opt_instcd.attribute("ref")), model.getValue(ipt_reqflag.attribute("ref")) , ipt_reqdeptcd_search.value, getUserInfo("userid"),"1");
- // /*
- // if(purcGetPurcAuthInfoByCond("reqauth") != "Y")btn_save.disabled = true;
- // else btn_save.disabled = false;
- //
- // if(purcGetPurcAuthInfoByCond("reqaprvflag") != "2")btn_accept.disabled = true;
- // else btn_accept.disabled = false;
- // */
- //
- // btn_accept.disabled = true;
- // // btn_save.disabled = true;
- // btnselect.disabled = true;
- //
- // // if(rszfGetPurcAuthInfoByCond("reqaprvflag") =="1" || (getUserInfo("dutplcecd") == '4080102000'))
- //
- // if(rszfGetPurcAuthInfoByCond("reqaprvflag") =="1" || (rszfGetPurcDeptCd(cmb_instcd.value) == getUserInfo("dutplcecd")))
- // {
- // btn_save.disabled = false;
- //
- // for(var fRow = grd_reqeqmtlist.fixedRows; fRow < grd_reqeqmtlist.rows; fRow++)
- // {
- // grd_reqeqmtlist.isReadOnly(fRow, grd_reqeqmtlist.colRef("deptaprvyn")) = true;
- // }
- // }
- //
- // if(rszfGetPurcAuthInfoByCond("reqaprvflag") == "2" || (rszfGetPurcDeptCd(cmb_instcd.value) == getUserInfo("dutplcecd")))
- // // if(rszfGetPurcAuthInfoByCond("reqaprvflag") == "2" || (getUserInfo("dutplcecd") == '4080102000'))
- // {
- // btn_save.disabled = false;
- // btn_accept.disabled = false;
- // btnselect.disabled = false;
- // }
- //
- //
- // model.refresh();
- // }
-
- // function fControlDisabled(fBool)
- // {
- // button13.disabled = fBool;
- // button14.disabled = fBool;
- // grd_recmeqlist.disabled = fBool;
- //
- // button16.disabled = fBool;
- // button18.disabled = fBool;
- // grd_smlartyeqmtlist.disabled = fBool;
- //
- // button17.disabled = fBool;
- // button15.disabled = fBool;
- // grd_psgedeptlist.disabled = fBool;
- //
- // button6.disabled = fBool;
- // button4.disabled = fBool;
- // grd_publusedeptlist.disabled = fBool;
- //
- // button12.disabled = fBool;
- // button11.disabled = fBool;
- // grd_mon1cdlist.disabled = fBool;
- //
- // button20.disabled = fBool;
- // button19.disabled = fBool;
- // grd_mon2cdlist.disabled = fBool;
- //
- // grd_fixasetcdlist.disabled = fBool;
- // }
-
- function fSetNum(grd_temp, node)
- {
- var num = new String(grd_temp.row);
-
- if(num.length == 1){
- num = "00" + num;
- }
- else if(num.length == 2){
- num = "0" + num;
- }
-
- grd_temp.valueMatrix(grd_temp.row, grd_temp.colRef(node)) = num;
- }
-
- function fDispCalc()
- {
-
- // 그룹위치 설정.
- var pos = event.y + 360;
-
- //group3.disabled = true;
- //grp_btn.disabled= true;
-
- grd_calc.valueMatrix(grd_calc.rows-1, grd_calc.colRef("money")) = grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("forgncurncyamt"));
- grd_calc.valueMatrix(grd_calc.rows-1, grd_calc.colRef("persent")) = 0;
- grd_calc.valueMatrix(grd_calc.rows-1, grd_calc.colRef("exchange")) = 0;
- grd_calc.valueMatrix(grd_calc.rows-1, grd_calc.colRef("currency")) = 0;
-
- grd_calc.isReadOnly(grd_calc.rows-1, grd_calc.colRef("money")) = false;
-
- // gro_calc.attribute("style") = 'left:350px; top:185px; width:375px; height:99px; top:' + pos + 'px';
- gro_calc.attribute("visibility") = 'visible';
-
- grd_calc.col = grd_calc.colRef("persent");
- grd_calc.editCell();
-
- model.refresh();
-
- }
-
- function fOpenPopupUserHelp(pCtrl, pInstance)
- {
- misfOpenPopUpList("01", pCtrl, "", pInstance);
-
- model.refresh();
- }
-
- function autoamt(){
- if(grd_recmeqlist.rows != "1"){
- var maxamt = grd_recmeqlist.valueMatrix(1, grd_recmeqlist.colRef("wncurncyamt"));
- var maxrowid = 1;
-
- for(i = 2 ; i < grd_recmeqlist.rows ; i++){
- var wncurncyamt = grd_recmeqlist.valueMatrix(i, grd_recmeqlist.colRef("wncurncyamt"));
- if( parseInt(maxamt) > parseInt(wncurncyamt) ) {
- maxamt = wncurncyamt;
- maxrowid = i;
- }
- }
- var introtype = model.getValue("/root/main/reqeqmtlist/introtype");
- if (introtype == ""){
- messageBox("도입형태를 입력해주세요.", "E999", "");
- return;
- }else{
- if(introtype == "A" || introtype == "C"){
- model.setValue("/root/main/reqeqmtlist/bugtwncurncy", model.getValue("/root/main/list/recmeqmtlist["+maxrowid+"]/wncurncyamt"));
- }else if (introtype == "B"){
- model.setValue("/root/main/reqeqmtlist/bugtwncurncy", "0");
- }
- }
- model.setValue("/root/main/reqeqmtlist/bugtforgnamt", model.getValue("/root/main/list/recmeqmtlist["+maxrowid+"]/forgncurncyamt"));
- model.setValue("/root/main/reqeqmtlist/bugtforgnamtunit", model.getValue("/root/main/list/recmeqmtlist["+maxrowid+"]/curncyunit"));
- ipt_bugtwncurncy.refresh();
- ipt_bugtforgnamt.refresh();
- cmb_bugtforgnamtunit.refresh();
- }
- }
-
- function fDelautoamt(){
- //if(grd_recmeqlist.rows != "1"){
- var maxamt = grd_recmeqlist.valueMatrix(1, grd_recmeqlist.colRef("wncurncyamt"));
- var maxrowid = 1;
- for(i = 2 ; i < grd_recmeqlist.rows ; i++){
- if (grd_recmeqlist.rowStatus(i) != "4"){
- var wncurncyamt = grd_recmeqlist.valueMatrix(i, grd_recmeqlist.colRef("wncurncyamt"));
- if( parseInt(maxamt) > parseInt(wncurncyamt) ) {
- maxamt = wncurncyamt;
- maxrowid = i;
- }
- }
- }
- var introtype = model.getValue("/root/main/reqeqmtlist/introtype");
- if (introtype == ""){
- messageBox("도입형태를 입력해주세요.", "E999", "");
- return;
- }else{
- if(introtype == "A" || introtype == "C"){
- model.setValue("/root/main/reqeqmtlist/bugtwncurncy", model.getValue("/root/main/list/recmeqmtlist["+maxrowid+"]/wncurncyamt"));
- }else if (introtype == "B"){
- model.setValue("/root/main/reqeqmtlist/bugtwncurncy", "0");
- }
- }
- model.setValue("/root/main/reqeqmtlist/bugtforgnamt", model.getValue("/root/main/list/recmeqmtlist["+maxrowid+"]/forgncurncyamt"));
- model.setValue("/root/main/reqeqmtlist/bugtforgnamtunit", model.getValue("/root/main/list/recmeqmtlist["+maxrowid+"]/curncyunit"));
- ipt_bugtwncurncy.refresh();
- ipt_bugtforgnamt.refresh();
- cmb_bugtforgnamtunit.refresh();
- //}
- }
-
- //========================================================================================
- // 전자결재
- //========================================================================================
- function fElecapproval(){
- var instcd = model.getValue("/root/main/reqeqmtlist/instcd");
- var reqdd = model.getValue("/root/main/reqeqmtlist/reqdd");
- var reqseqno = model.getValue("/root/main/reqeqmtlist/reqseqno");
-
- var pmaprefcol = "knuhdomain,instId";
- var pmaprefvalue = "KnuhMisAssetsReview,"+instcd+"-"+reqdd+"-"+reqseqno;
-
- misfMakeElctSanct("assetsReview",pmaprefcol,pmaprefvalue);
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1100" pageheight="740" guideline="1,-12;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1075px; height:14px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">장비 세부 내역</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:43px; width:1075px; height:692px; ">
- <caption id="caption66" class="cell_1" style="left:0px; top:85px; width:100px; height:23px; vertical-align:middle; background-color:#ccccff; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:3px; x2:1075px; y2:3px; "/>
- <input id="ipt_goodflagengnm" ref="/root/main/reqeqmtlist/goodflagengnm" class="input_s_essential" navindex="1" style="left:103px; top:10px; width:687px; height:19px; "/>
- <caption id="caption22" class="cell_1" style="left:818px; top:8px; width:127px; height:23px; vertical-align:middle; background-color:#ccccff; ">신청구분</caption>
- <select1 id="cmb_workflag" ref="/root/main/reqeqmtlist/workflag" class="combo_s_essential" navindex="3" appearance="minimal" style="left:818px; top:36px; width:127px; height:19px; ">
- <choices>
- <item>
- <label>신규</label>
- <value>1</value>
- </item>
- <item>
- <label>수량부족</label>
- <value>2</value>
- </item>
- <item>
- <label>노후교체</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption23" class="cell_1" style="left:0px; top:34px; width:101px; height:23px; vertical-align:middle; background-color:#ccccff; ">장비명(한)</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:433px; width:101px; height:23px; vertical-align:middle; background-color:#ccccff; ">신청자</caption>
- <caption id="caption28" class="cell_1" visibility="hidden" style="left:700px; top:304px; width:70px; height:23px; vertical-align:middle; ">청구수량</caption>
- <caption id="caption65" class="cell_1" style="left:0px; top:8px; width:101px; height:23px; vertical-align:middle; background-color:#ccccff; ">장비명(영)</caption>
- <input id="ipt_goodflaghngnm" ref="/root/main/reqeqmtlist/goodflaghngnm" class="input_s_essential" navindex="2" style="left:103px; top:36px; width:712px; height:19px; "/>
- <!--</group>-->
- <caption id="caption17" class="cell_1" style="left:555px; top:316px; width:118px; height:23px; vertical-align:middle; ">설치공간 확보여부</caption>
- <caption id="caption21" class="cell_1" style="left:825px; top:316px; width:110px; height:23px; vertical-align:middle; ">수가신설여부</caption>
- <caption id="caption24" class="cell_1" style="left:0px; top:316px; width:101px; height:23px; vertical-align:middle; ">소요인력</caption>
- <input id="ipt_addmnpwrengr" ref="/root/main/reqeqmtlist/addmnpwrengr" class="input_default" navindex="20" style="left:369px; top:318px; width:35px; height:19px; text-align:right; "/>
- <caption id="caption15" style="left:104px; top:319px; width:34px; height:19px; vertical-align:middle; ">의사 :</caption>
- <caption id="caption37" style="left:217px; top:319px; width:46px; height:19px; vertical-align:middle; ">간호사 :</caption>
- <caption id="caption40" style="left:335px; top:319px; width:38px; height:20px; vertical-align:middle; ">기사 :</caption>
- <caption id="caption41" style="left:444px; top:319px; width:38px; height:20px; vertical-align:middle; ">기타 :</caption>
- <input id="ipt_addmnpwretc" ref="/root/main/reqeqmtlist/addmnpwretc" class="input_default" navindex="21" style="left:478px; top:318px; width:35px; height:19px; text-align:right; "/>
- <input id="ipt_addmnpwrnurs" ref="/root/main/reqeqmtlist/addmnpwrnurs" class="input_default" navindex="19" style="left:263px; top:318px; width:35px; height:19px; text-align:right; "/>
- <input id="ipt_addmnpwrdr" ref="/root/main/reqeqmtlist/addmnpwrdr" class="input_default" navindex="18" style="left:139px; top:318px; width:35px; height:19px; text-align:right; "/>
- <caption id="caption43" style="left:178px; top:320px; width:14px; height:20px; vertical-align:middle; ">명</caption>
- <caption id="caption44" style="left:301px; top:320px; width:14px; height:20px; vertical-align:middle; ">명</caption>
- <caption id="caption46" style="left:412px; top:320px; width:14px; height:20px; vertical-align:middle; ">명</caption>
- <caption id="caption47" style="left:516px; top:320px; width:14px; height:20px; vertical-align:middle; ">명</caption>
- <input id="ipt_appqty" ref="/root/main/reqeqmtlist/appqty" class="input_default" navindex="77" visibility="hidden" format="#,###" style="left:775px; top:307px; width:90px; height:19px; text-align:right; "/>
- <input id="ipt_reqpsnid" ref="/root/main/reqeqmtlist/reqpsnid" class="input_s_essential" disabled="true" navindex="25" style="left:103px; top:435px; width:82px; height:19px; "/>
- <output id="opt_reqpsnnm" ref="/root/main/reqeqmtlist/reqpsnnm" class="output_fix" appearance="output" style="left:186px; top:435px; width:115px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:255px; top:290px; width:101px; height:23px; vertical-align:middle; ">총금액(내자)</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:238px; width:101px; height:23px; vertical-align:middle; background-color:#ccccff; ">사용부서</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:212px; width:101px; height:23px; vertical-align:middle; background-color:#ccccff; ">신청부서</caption>
- <caption id="caption20" class="cell_1" visibility="visible" style="left:490px; top:264px; width:69px; height:23px; vertical-align:middle; ">예산년도</caption>
- <caption id="caption29" class="cell_1" style="left:552px; top:212px; width:101px; height:23px; vertical-align:middle; ">설치장소</caption>
- <caption id="caption32" class="cell_1" style="left:0px; top:264px; width:101px; height:23px; vertical-align:middle; ">공동사용여부</caption>
- <input id="ipt_bugtforgnamt" ref="/root/main/reqeqmtlist/bugtforgnamt" class="input_default" disabled="true" navindex="14" format="#,###" style="left:103px; top:292px; width:147px; height:19px; text-align:right; "/>
- <caption id="caption34" class="cell_1" style="left:0px; top:290px; width:101px; height:23px; vertical-align:middle; ">총금액(외자)</caption>
- <select1 id="cmb_usemthd" ref="/root/main/reqeqmtlist/usemthd" class="combo_default" navindex="10" appearance="minimal" style="left:103px; top:267px; width:147px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //if (cmb_usemthd.value== "2") btn_publusedeptcd_case.dispatch("onclick");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_bugtforgnamtunit" ref="/root/main/reqeqmtlist/bugtforgnamtunit" class="combo_default" navindex="16" appearance="minimal" style="left:565px; top:292px; width:90px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_bugtwncurncy" ref="/root/main/reqeqmtlist/bugtwncurncy" class="input_default" disabled="true" navindex="15" format="#,###" style="left:360px; top:292px; width:125px; height:19px; text-align:right; "/>
- <input id="ipt_bugtyy" ref="/root/main/reqeqmtlist/bugtyy" class="input_search" navindex="12" visibility="visible" format="yyyy" style="left:565px; top:267px; width:105px; height:19px; text-align:center; "/>
- <button id="btn_mngtdeptcd" class="icon_search" navindex="75" style="left:240px; top:239px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "mngtdeptcd,mngtdeptnm";
- misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list, ipt_instcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptcd" ref="/root/main/reqeqmtlist/mngtdeptcd" class="input_s_essential" navindex="7" style="left:103px; top:240px; width:132px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "mngtdeptcd,mngtdeptnm", ipt_instcd.value, "instcd");
- model.refresh();
- model.setFocus("ipt_mngtdeptcd");
- ]]>
- </script>
- </input>
- <input id="ipt_installplcecd" ref="/root/main/reqeqmtlist/installplcecd" class="input_search" navindex="8" style="left:656px; top:214px; width:127px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcecd.value.length == 0)
- ipt_installplcenm.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm,instcd",
- "deptcd," + ipt_installplcecd.value + "," + ipt_instcd.value, "", "installplcecd,installplcenm",
- ipt_installplcecd, "PPRAC00700", "instcd","ipt_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_installplcecd" class="icon_search" navindex="72" style="left:787px; top:215px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "installplcecd,installplcenm";
- misfOpenPopUpList("19", ipt_installplcecd,"", recv_list, ipt_instcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="rdo_installspcepossnyn" ref="/root/main/reqeqmtlist/installspcepossnyn" navindex="22" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:680px; top:318px; width:117px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_calcscorgenryn" ref="/root/main/reqeqmtlist/calcscorgenryn" navindex="23" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:945px; top:318px; width:116px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <button id="btn_goodflagengnm" class="icon_search" navindex="68" style="left:799px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodflagengnm,"", "goodflaghngnm,goodflagengnm","SPRSD00240","instcd,goodflag","ipt_instcd,ipt_goodflag_search", "Y");
- // rszfOpenPopUpListByWndName(ipt_goodflagengnm,"", "goodflaghngnm,goodflagengnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,ipt_goodflag_search","Y");
-
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption12" class="cell_1" style="left:490px; top:290px; width:70px; height:23px; vertical-align:middle; ">화폐단위</caption>
- <input id="ipt_mngtdeptnm" ref="/root/main/reqeqmtlist/mngtdeptnm" class="input_fix" navindex="76" appearance="input" style="left:260px; top:240px; width:290px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptnm.value.length == 0)
- ipt_mngtdeptcd.value = "";
- else
- misfValidationCheck("02", "", "mngtdeptcd,mngtdeptnm", ipt_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_installplcenm" ref="/root/main/reqeqmtlist/installplcenm" class="input_fix" navindex="73" appearance="input" style="left:805px; top:214px; width:265px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcenm.value.length == 0)
- ipt_installplcecd.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm,instcd",
- "deptnm," + ipt_installplcenm.value + "," + ipt_instcd.value, "", "installplcecd,installplcenm",
- ipt_installplcenm, "PPRAC00700", "instcd","ipt_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_reqdeptcd" class="icon_search" navindex="69" style="left:240px; top:215px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list, ipt_instcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqdeptnm" ref="/root/main/reqeqmtlist/reqdeptnm" class="input_fix" navindex="70" appearance="input" style="left:260px; top:214px; width:290px; height:19px; ">
- <script type="javascript" ev:event="xforms-valid">
- <![CDATA[
- if(ipt_reqdeptnm.value.length == 0)
- ipt_reqdeptcd.value = "";
- else
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm", ipt_instcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqdeptcd" ref="/root/main/reqeqmtlist/reqdeptcd" class="input_s_essential" navindex="6" style="left:103px; top:214px; width:132px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm", ipt_instcd.value, "instcd");
- model.refresh();
- model.setFocus("ipt_reqdeptcd");
- ]]>
- </script>
- </input>
- <caption id="caption16" class="cell_1" style="left:0px; top:343px; width:101px; height:87px; vertical-align:middle; ">
- <![CDATA[도입필요성
- 및
- 기대효과
- (500자 이하)]]>
- </caption>
- <textarea id="tar_usgepurcneed" ref="/root/main/reqeqmtlist/usgepurcneed" navindex="24" style="left:103px; top:343px; width:967px; height:87px; "/>
- <caption id="caption33" class="cell_1" style="left:255px; top:264px; width:101px; height:23px; vertical-align:middle; ">예상 운용연수</caption>
- <input id="ipt_fcstuseyearno" ref="/root/main/reqeqmtlist/fcstuseyearno" class="input_default" navindex="11" maxlength="2" format="#,###" style="left:360px; top:267px; width:125px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSetAmt()
- ]]>
- </script>
- </input>
- <caption id="caption38" class="cell_1" visibility="hidden" style="left:870px; top:304px; width:67px; height:23px; vertical-align:middle; ">단가</caption>
- <input id="ipt_goodunitcost" ref="/root/main/reqeqmtlist/goodunitcost" class="input_default" navindex="78" visibility="hidden" format="#,###" style="left:940px; top:307px; width:140px; height:19px; text-align:right; "/>
- <caption id="caption39" class="cell_1" style="left:948px; top:8px; width:125px; height:23px; vertical-align:middle; ">복지부코드</caption>
- <input id="ipt_welfcd" ref="/root/main/reqeqmtlist/welfcd" class="input_default" navindex="4" style="left:948px; top:36px; width:125px; height:19px; text-align:right; "/>
- <input id="input2" ref="/root/main/reqeqmtlist/requsrtel" navindex="26" style="left:302px; top:435px; width:68px; height:19px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:32px; x2:1075px; y2:32px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:58px; x2:1075px; y2:58px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:314px; x2:1075px; y2:314px; "/>
- <caption id="caption2" class="cell_1" style="left:660px; top:290px; width:67px; height:23px; vertical-align:middle; ">사용자</caption>
- <input id="input4" ref="/root/main/reqeqmtlist/usepsn" navindex="17" maxlength="15" style="left:730px; top:292px; width:340px; height:19px; "/>
- <button id="button1" class="btn2_letter3" navindex="79" style="left:960px; top:90px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_recmeqlist );
- fSetNum(grd_recmeqlist, "recmseqno");
-
- /* ----------------------------------------------------------------------------
- 추천장비 입력시 제일 처음건에 대하여 금액 및 단위를 기본으로 뿌려달라
- ----------------------------------------------------------------------------*/
- if ( grd_recmeqlist.row == 1 )
- {
- model.setValue(grd_recmeqlist.nodeset + "[" + (grd_recmeqlist.row - grd_recmeqlist.fixedRows + 1) + "]/wncurncyamt" ,
- model.getValue(ipt_bugtwncurncy.attribute("ref") ) );
- model.setValue(grd_recmeqlist.nodeset + "[" + (grd_recmeqlist.row - grd_recmeqlist.fixedRows + 1) + "]/forgncurncyamt" ,
- model.getValue(ipt_bugtforgnamt.attribute("ref") ) );
- model.setValue(grd_recmeqlist.nodeset + "[" + (grd_recmeqlist.row - grd_recmeqlist.fixedRows + 1) + "]/curncyunit" ,
- model.getValue(cmb_bugtforgnamtunit.attribute("ref") ) );
- }
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("appqty")) = 0;
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("goodunitcost")) = 0; //외화금액
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:5px; top:93px; width:95px; height:13px; ">추천장비</caption>
- <button id="button8" class="btn2_letter3" navindex="80" style="left:1015px; top:90px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_recmeqlist.rows == "2"){
- messageBox("추천장비는 하나이상 필수입니다.", "E999", "");
- return;
- }
- var introtype = model.getValue("/root/main/reqeqmtlist/introtype");
- if (introtype == ""){
- grd_recmeqlist.refresh();
- messageBox("도입형태를 입력해주세요.", "E999", "");
- return;
- }else{
- misfGridIUD(grd_recmeqlist,"D");
- fDelautoamt();
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_recmeqlist" nodeset="/root/main/list/recmeqmtlist" caption="추천순위^모델^화폐단위^신청수량^단가^외화금액[계산기]^외화금액[계산기]^원화총금액^제조회사^제조국^거래처^담당자^담당자전화번호^담당자핸드폰" colsep="^" colwidth="58, 116, 100, 60, 70, 102, 18, 100, 122, 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="5" style="left:0px; top:110px; width:1070px; height:100px; ">
- <col ref="recmseqno"/>
- <col imemode="alpha" ref="model" type="input" maxlength="64"/>
- <col class="gridcombo" ref="curncyunit" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="appqty" type="input" format="#" style="text-align:center; "/>
- <col ref="goodunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="forgncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="calc" type="inputbutton"/>
- <col ref="wncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="prodcmpynm" type="inputbutton"/>
- <col class="gridcombo" ref="prodplce" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="innatiagtplcenm" type="inputbutton" style="left:767px; top:23px; width:130px; height:23px; "/>
- <col ref="chrgpsnid" type="input" style="left:725px; top:23px; width:130px; height:23px; "/>
- <col ref="chrgtel" type="input" maxlength="15"/>
- <col ref="chrghptel" type="input" maxlength="15"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_recmeqlist.col == grd_recmeqlist.colRef("prodcmpynm") ) {// 그리드 제조회사명 클릭
- rszfOpenPopUpListByWndName(grd_recmeqlist,"","prodcmpy,prodcmpynm","SPRSD00160","","");
- model.refresh();
- } else if (grd_recmeqlist.col == grd_recmeqlist.colRef("innatiagtplcenm")) {// 그리드 제조회사명 클릭
- rszfOpenPopUpListByWndName(grd_recmeqlist,"","innatiagtplce,innatiagtplcenm","SPRSD00220","instcd","ipt_instcd");
- model.refresh();
- }
- /// 추가 사항 계산기
- else if(grd_recmeqlist.col == grd_recmeqlist.colRef("calc"))
- {
- var curncyunit = grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("curncyunit"));
- if(curncyunit == "13"){
- messageBox("화폐단위가 WON일경우 해당사항이 없습니다.", "E999", "");
- return;
- }
- fDispCalc();
- }
- ]]>
- </script>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="innatiagtplce" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_recmeqlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
-
- if(grd_recmeqlist.col == grd_recmeqlist.colRef("curncyunit"))
- {
- if (grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("curncyunit")) == "13" )
- {
- grd_recmeqlist.isReadOnly(grd_recmeqlist.row,grd_recmeqlist.colRef("forgncurncyamt")) = true
- grd_recmeqlist.isReadOnly(grd_recmeqlist.row,grd_recmeqlist.colRef("calc")) = true
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("forgncurncyamt")) = 0; //외화금액
- }
- else
- {
- grd_recmeqlist.isReadOnly(grd_recmeqlist.row,grd_recmeqlist.colRef("forgncurncyamt")) = false
- grd_recmeqlist.isReadOnly(grd_recmeqlist.row,grd_recmeqlist.colRef("calc")) = false
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("wncurncyamt")) = 0; //원화총금액
- }
- }
-
- var appqty = grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("appqty"));
- var goodunitcost = grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("goodunitcost"));
- var curncyunit = grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("curncyunit"));
- var amt = 0;
- if(grd_recmeqlist.col == grd_recmeqlist.colRef("curncyunit") || grd_recmeqlist.col == grd_recmeqlist.colRef("appqty") || grd_recmeqlist.col == grd_recmeqlist.colRef("goodunitcost")){
-
- if((parseInt(appqty) > 0 && parseInt(goodunitcost) != 0) || (parseInt(goodunitcost) > 0 && parseInt(appqty) != 0)){
- amt = parseInt(appqty) * parseInt(goodunitcost);
- if(curncyunit == "13"){
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("wncurncyamt")) = amt; //원화총금액
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("forgncurncyamt")) = 0; //외화금액
- grd_recmeqlist.refresh();
- }else{
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("forgncurncyamt")) = amt; //외화금액
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("wncurncyamt")) = 0; //원화총금액
- grd_recmeqlist.refresh();
- fDispCalc();
- }
- }
- }
- autoamt();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if (grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("curncyunit")) == "13" )
- {
- grd_recmeqlist.isReadOnly(grd_recmeqlist.row,grd_recmeqlist.colRef("forgncurncyamt")) = true
- grd_recmeqlist.isReadOnly(grd_recmeqlist.row,grd_recmeqlist.colRef("calc")) = true
- }
- else
- {
- grd_recmeqlist.isReadOnly(grd_recmeqlist.row,grd_recmeqlist.colRef("forgncurncyamt")) = false
- grd_recmeqlist.isReadOnly(grd_recmeqlist.row,grd_recmeqlist.colRef("calc")) = false
- }
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_2" style="x1:0px; y1:210px; x2:1075px; y2:210px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:236px; x2:1075px; y2:236px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:262px; x2:1075px; y2:262px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:340px; x2:1075px; y2:340px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:431px; x2:1075px; y2:431px; "/>
- <line id="line11" class="line_2" style="x1:1px; y1:457px; x2:1076px; y2:457px; "/>
- <button id="btn_publusedeptcd_case" class="btn_sw" visibility="hidden" group="tab2" style="left:925px; top:510px; width:144px; height:22px; ">
- <caption>공동사용부서</caption>
- <toggle case="publusedeptcd_case" ev:event="onclick"/>
- </button>
- <line id="line15" class="line_2" style="x1:0px; y1:509px; x2:1075px; y2:509px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:288px; x2:1075px; y2:288px; "/>
- <input id="ipt_instcd" ref="/root/main/reqeqmtlist/instcd" visibility="hidden" style="left:930px; top:292px; width:30px; height:19px; "/>
- <input id="ipt_goodflag" ref="/root/main/reqeqmtlist/goodflag" visibility="hidden" style="left:960px; top:292px; width:25px; height:19px; "/>
- <caption id="caption19" class="cell_1" style="left:46px; top:459px; width:73px; height:23px; vertical-align:middle; ">1. 견적서</caption>
- <caption id="caption25" class="cell_1" style="left:46px; top:485px; width:73px; height:23px; vertical-align:middle; ">5. 카탈로그</caption>
- <caption id="caption26" class="cell_1" style="left:255px; top:459px; width:105px; height:23px; vertical-align:middle; ">2.규격서</caption>
- <caption id="caption30" class="cell_1" style="left:494px; top:459px; width:208px; height:23px; vertical-align:middle; ">3. 비교사양서 or 단일모델지정사유서</caption>
- <caption id="caption35" class="cell_1" style="left:812px; top:459px; width:143px; height:23px; vertical-align:middle; ">4. 제품설명서</caption>
- <caption id="caption42" class="cell_1" style="left:255px; top:485px; width:105px; height:23px; vertical-align:middle; ">6.수입품목허가증</caption>
- <caption id="caption45" class="cell_1" style="left:494px; top:485px; width:208px; height:23px; vertical-align:middle; ">7. 구입/무상임차 수익성 비교</caption>
- <caption id="caption48" class="cell_1" style="left:812px; top:485px; width:143px; height:23px; vertical-align:middle; ">8. 의공학과의견 외 기타</caption>
- <line id="line20" class="line_2" style="x1:47px; y1:483px; x2:1075px; y2:483px; "/>
- <caption id="caption36" class="cell_1" style="left:0px; top:459px; width:45px; height:49px; text-align:center; vertical-align:middle; ">
- <![CDATA[구비
- 서류]]>
- </caption>
- <upload id="upload1" nodeset="/root/hidden/file" style="left:930px; top:435px; width:15px; height:20px; "/>
- <input id="ipt_comusedeptnm" ref="/root/main/reqeqmtlist/comusedeptnm" class="input_fix" navindex="74" appearance="input" style="left:805px; top:240px; width:265px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_comusedeptnm.value.length == 0)
- ipt_comusedept.value = "";
- else
- misfValidationCheck("02", "", "comusedept,comusedeptnm", ipt_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_comusedept" ref="/root/main/reqeqmtlist/comusedept" class="input_search" navindex="9" style="left:656px; top:240px; width:127px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "comusedept,comusedeptnm", ipt_instcd.value, "instcd");
- model.refresh();
- model.setFocus("ipt_comusedept");
- ]]>
- </script>
- </input>
- <button id="btn_comusedept" class="icon_search" navindex="71" style="left:787px; top:240px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "comusedept,comusedeptnm";
- misfOpenPopUpList("02", ipt_comusedept,"", recv_list, ipt_instcd.value, "instcd") ;
- model.refresh()
- ]]>
- </script>
- </button>
- <caption id="caption51" class="cell_1" style="left:552px; top:238px; width:101px; height:23px; vertical-align:middle; ">공동사용부서</caption>
- <input id="ipt_commissionyn" ref="/root/main/reqeqmtlist/commissionyn" visibility="hidden" style="left:985px; top:292px; width:20px; height:19px; "/>
- <select1 id="rbo_fileyn1" ref="/root/main/reqeqmtlist/fileyn1" navindex="27" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:120px; top:461px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio1" ref="/root/main/reqeqmtlist/fileyn5" navindex="31" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:120px; top:485px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/main/reqeqmtlist/fileyn2" navindex="28" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:361px; top:461px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio3" ref="/root/main/reqeqmtlist/fileyn6" navindex="32" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:361px; top:485px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio4" ref="/root/main/reqeqmtlist/fileyn3" navindex="29" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:703px; top:461px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio5" ref="/root/main/reqeqmtlist/fileyn7" navindex="33" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:703px; top:485px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio6" ref="/root/main/reqeqmtlist/fileyn4" navindex="30" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:961px; top:461px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio7" ref="/root/main/reqeqmtlist/fileyn8" navindex="34" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:961px; top:485px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption53" class="cell_1" style="left:685px; top:264px; width:110px; height:23px; vertical-align:middle; background-color:#ccccff; ">국산동급장비유무</caption>
- <select1 id="rbo_kreqmtyn" ref="/root/main/reqeqmtlist/kreqmtyn" navindex="13" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:810px; top:268px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line10" class="line_2" style="x1:0px; y1:84px; x2:1075px; y2:84px; "/>
- <caption id="caption54" class="cell_1" style="left:0px; top:60px; width:101px; height:23px; vertical-align:middle; ">도입형태</caption>
- <select1 id="rdo_introtype" ref="/root/main/reqeqmtlist/introtype" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:105px; top:62px; width:290px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>구매/제조</label>
- <value>A</value>
- </item>
- <item>
- <label>무상임차</label>
- <value>B</value>
- </item>
- <item>
- <label>렌탈도입</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var introtype = model.getValue("/root/main/reqeqmtlist/introtype");
- if (introtype == "C"){
- ipt_rental.disabled= false;
- messageBox("월 렌탈료를 ", "C001", "");
- model.setFocus("ipt_rental");
- }else if(introtype == "B"){
- model.setValue("/root/main/reqeqmtlist/bugtwncurncy","0");
- ipt_rental.value="";
- ipt_rental.disabled= true;
- }else{
- ipt_rental.value="";
- ipt_rental.disabled= true;
- }
- model.refresh();
- autoamt();
- ]]>
- </script>
- </select1>
- <caption id="caption63" style="left:400px; top:60px; width:35px; height:20px; ">(월</caption>
- <input id="ipt_rental" ref="/root/main/reqeqmtlist/rental" disabled="true" format="999999" style="left:420px; top:60px; width:100px; height:19px; "/>
- <caption id="caption64" style="left:520px; top:60px; width:100px; height:20px; ">천원)</caption>
- </group>
- <group id="group2" style="left:0px; top:553px; width:1045px; height:25px; ">
- <button id="btn_reviewdeptopin" class="btn_sw" group="tab2" style="left:607px; top:0px; width:120px; height:22px; ">
- <caption>검토부서의견</caption>
- <toggle case="reviewdeptopin_case" ev:event="onclick"/>
- </button>
- <button id="btn_introductioneqmt" class="btn_sw" group="tab2" style="left:728px; top:0px; width:120px; height:22px; ">
- <caption>도입장비</caption>
- <toggle case="introductioneqmt_case" ev:event="onclick"/>
- </button>
- <button id="btn_purcprcsprescond" class="btn_sw" group="tab2" style="left:849px; top:0px; width:120px; height:22px; ">
- <caption>구매진행현황</caption>
- <toggle case="purcprcsprescond_case" ev:event="onclick"/>
- </button>
- <button id="btn_smlartyeqmt" navindex="35" group="tab2" style="left:0px; top:0px; width:120px; height:22px; background-color:#ccccff; ">
- <caption>부서동일유사장비</caption>
- <toggle case="smlartyeqmt_case" ev:event="onclick"/>
- </button>
- <button id="bnt_moncd_1" group="tab2" style="left:121px; top:0px; width:120px; height:22px; background-color:#ccccff; ">
- <caption>예상진료건수</caption>
- <toggle case="moncd_1_case" ev:event="onclick"/>
- </button>
- <button id="btn_moncd_2" class="btn_sw" group="tab2" style="left:486px; top:0px; width:120px; height:22px; ">
- <caption>월간재료비</caption>
- <toggle case="moncd_2_case" ev:event="onclick"/>
- </button>
- <button id="button2" class="btn_sw" group="tab2" style="left:242px; top:0px; width:140px; height:22px; ">
- <caption>국산장비미신청사유서</caption>
- <toggle case="kreqmtcmt_case" ev:event="onclick"/>
- </button>
- <button id="button3" group="tab2" style="left:383px; top:0px; width:102px; height:22px; background-color:#ccccff; ">
- <caption>감가상각액배분</caption>
- <toggle case="deprdist_case" ev:event="onclick"/>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1075px; height:27px; font-weight:bold; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1075px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1015px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var bugtwncurncy = model.getValue("/root/main/reqeqmtlist/bugtwncurncy");
- if(parseInt(bugtwncurncy) >= 30000000){
- var fileyn1 = model.getValue("/root/main/reqeqmtlist/fileyn1");
- var fileyn2 = model.getValue("/root/main/reqeqmtlist/fileyn2");
- var fileyn3 = model.getValue("/root/main/reqeqmtlist/fileyn3");
- if(!(fileyn1 == "Y" && fileyn2 == "Y" && fileyn3 == "Y")){
- messageBox("총금액이 30,000,000원이상일경우 1,2,3번 구비서류는 필수입니다. 확인하십시오.", "E999", "");
- return;
- }
- }
- if(rdo_introtype.value == ""){
- messageBox("도입형태는 필수 입력입니다.", "E999", "");
- return;
- }
-
- var introtype = model.getValue("/root/main/reqeqmtlist/introtype");
- var rental = model.getValue("/root/main/reqeqmtlist/rental");
- if(introtype == "C" && rental == ""){
- messageBox("도입형태가 렌탈도입이면 렌탈료는 필수 입력입니다.", "E999", "");
- model.setFocus("ipt_rental");
- return;
- }
-
- if(grd_recmeqlist.rows == "1"){
- messageBox("추천장비는 하나이상 필수 입력입니다.", "E999", "");
- return;
- }
-
- //2014.06.30 박준범 추가
- if (rbo_kreqmtyn.value == "") {
- messageBox("국산동급장비유무는 필수 입력입니다.", "E999", "");
- return;
- }
- if (rbo_kreqmtyn.value == "Y" && txt_kreqmtcmt.value.getTrim() == "") {
- messageBox("국산동급장비유무가 'Y' 인 경우, 국산장비미신청사유서가 필수 입력입니다.", "E999", "");
- return;
- }
-
- //동일유사장비 해당유무
- if(rdo_smkindeqyn.value == "Y"){
- if(grd_smlartyeqmtlist.rows == "1"){
- messageBox("동일유사장비 해당있음인 경우 내역은 필수 입력입니다.\n 해당없을경우 해당없음을 체크하여주세요" , "E999", "");
- return;
- }
- }
-
- //동일유사 장비
- if(grd_smlartyeqmtlist.rows != "1"){
- for(var i = 1 ; i < grd_smlartyeqmtlist.rows ; i++){
- var eqmtcd = grd_smlartyeqmtlist.valueMatrix(i, grd_smlartyeqmtlist.colRef("eqmtcd"));
- if(eqmtcd == ""){
- messageBox("동일유사장비 "+i+"번째 행에 장비코드가 비었습니다. 확인해주십시오", "I999", "");
- return;
- }
- }
- }
-
- //예상진료건수 해당유무
- if(rdo_prcpcntyn.value == "Y"){
- if(grd_mon1cdlist.rows == "1"){
- messageBox("예상진료건수가 해당있음인 경우 내역은 필수 입력입니다.\n 해당없을경우 해당없음을 체크하여주세요" , "E999", "");
- return;
- }
- }
-
- //월간시행건수
- if(grd_mon1cdlist.rows != "1"){
- for(var i = 1 ; i < grd_mon1cdlist.rows ; i++){
- var cstcd = grd_mon1cdlist.valueMatrix(i, grd_mon1cdlist.colRef("cstcd"));
- if(cstcd == ""){
- messageBox("월간시행건수 "+i+"번째 행에 수가코드가 비었습니다. 확인해주십시오", "I999", "");
- return;
- }
- }
- }
- //월간재료비
- if(grd_mon2cdlist.rows != "1"){
- for(var i = 1 ; i < grd_mon2cdlist.rows ; i++){
- var cstcd = grd_mon2cdlist.valueMatrix(i, grd_mon2cdlist.colRef("cstcd"));
- if(cstcd == ""){
- messageBox("월간재료비 "+i+"번째 행에 수가코드가 비었습니다. 확인해주십시오", "I999", "");
- return;
- }
- }
- }
- //감가상각액배분
- if(rdo_deprdistpyn.value == "Y"){
- if(ipt_deprdistprf1.value == "" && ipt_deprdistper1.value == "" ){
- messageBox("감가상각액배분이 해당있음인 경우 내역은 필수 입력입니다.\n 해당없을경우 해당없음을 체크하여주세요" , "E999", "");
- model.setFocus("ipt_deprdistprf1");
- return;
- }
-
- }
-
- model.setValue("/root/main/reqeqmtlist/appqty", grd_recmeqlist.valueMatrix(1, grd_recmeqlist.colRef("appqty")));
-
- if(model.getValue("/root/main/reqeqmtlist/rowstatus") == "buy"){ //구매진행현황관리에서 접근하였을시
- if(grd_purcprcsprescond.rows != "1") model.setValue("/root/send/save/purcprcsprescondlist", grd_purcprcsprescond.getUpdateData());
- submit("TXRSC20202");
- }else if(model.getValue("/root/main/reqeqmtlist/rowstatus") == "review"){ //장비도입검토부서의견입력에서 접근하였을시
- model.setValue("/root/main/reqeqmtlist/rowstatus","u");
- model.copyNode("/root/send/save/reqeqmtlist","/root/main/reqeqmtlist");
- submit("TXRSC20201");
- }else{
- var rowstatus = model.getValue("/root/main/reqeqmtlist/rowstatus")
- if(rowstatus == "i"){
- //필수조건 체크
- if(saveChk() == false){
- return;
- }
-
- //저장하기위해 COPYNODE
- model.copyNode("/root/send/save/reqeqmtlist","/root/main/reqeqmtlist");
-
- //하단 그리드 업데이트
- if(grd_recmeqlist.rows != "1") model.setValue("/root/send/save/recmeqmtlist", grd_recmeqlist.getUpdateData());
- if(grd_smlartyeqmtlist.rows != "1") model.setValue("/root/send/save/smlartyeqmtlist", grd_smlartyeqmtlist.getUpdateData());
- if(grd_mon1cdlist.rows != "1") model.setValue("/root/send/save/mon1cdlist", grd_mon1cdlist.getUpdateData());
- if(grd_mon2cdlist.rows != "1") model.setValue("/root/send/save/mon2cdlist", grd_mon2cdlist.getUpdateData());
-
- if(submit("TXRSC20201")){
- if(printsaveyn == "N"){
- window.close();
- }
- };
- }else if(rowstatus == "u"){
- if(saveChk() == false){
- return;
- }
-
- //저장하기위해 COPYNODE
- model.copyNode("/root/send/save/reqeqmtlist","/root/main/reqeqmtlist");
-
- //하단 그리드 업데이트
- if(grd_recmeqlist.rows != "1") model.setValue("/root/send/save/recmeqmtlist", grd_recmeqlist.getUpdateData());
- if(grd_smlartyeqmtlist.rows != "1") model.setValue("/root/send/save/smlartyeqmtlist", grd_smlartyeqmtlist.getUpdateData());
- if(grd_mon1cdlist.rows != "1") model.setValue("/root/send/save/mon1cdlist", grd_mon1cdlist.getUpdateData());
- if(grd_mon2cdlist.rows != "1") model.setValue("/root/send/save/mon2cdlist", grd_mon2cdlist.getUpdateData());
-
- if(submit("TXRSC20201")){
- if(printsaveyn == "N"){
- window.close();
- }
- };
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter5" visibility="hidden" style="left:85px; top:3px; width:92px; height:22px; ">
- <caption>청구서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var req = messageBox("청구서출력 전 자동저장합니다.", "Q003");
- if(req == 6){
- printsaveyn = "Y";
- btn_save.dispatch("DOMActivate");
- exeReportPreview("RPRSC20201", "XMLSTR");
- printsaveyn = "N";
- }else{
- return;
- }
- ]]>
- </script>
- </button>
- <input id="ipt_goodflag_search" ref="/root/garbage/goodflag" visibility="hidden" style="left:185px; top:5px; width:20px; height:19px; "/>
- <button id="btn_reqapp" class="btn6_letter4" visibility="visible" style="left:2px; top:3px; width:80px; height:22px; ">
- <caption>전자결재</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fElecapproval();
- ]]>
- </script>
- </button>
- <shape id="rectangle1" appearance="rectangle" style="left:860px; top:5px; width:35px; height:15px; background-color:#ccccff; "/>
- <caption id="caption89" style="left:900px; top:5px; width:100px; height:15px; ">: 필수입력사항</caption>
- </group>
- <group id="gro_calc" visibility="hidden" style="left:690px; top:155px; width:375px; height:99px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:375px; height:96px; "/>
- <line id="line24" class="line_3" style="x1:2px; y1:20px; x2:372px; y2:20px; "/>
- <datagrid id="grd_calc" nodeset="/root/main/calc" caption="외화금액^부대비용(%)^환율^원화금액" colsep="^" colwidth="100, 75, 93, 93" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" navindex="81" style="left:0px; top:18px; width:373px; height:50px; ">
- <col ref="money" visibility="visible" format="#,###" style="text-align:center; "/>
- <col ref="persent" type="input" format="#,###" style="text-align:center; "/>
- <col ref="exchange" type="input" format="#,###" style="text-align:center; "/>
- <col disabled="true" ref="currency" format="#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 원화 := 외화*환율 + ((외화*환율*부대비용율)/100)
- grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("currency")) =( grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("money")) * grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("exchange")) )
- + Math.round(( ( grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("money")) * grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("persent")) * grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("exchange"))) /100 ));
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="cap_calc" class="tit_1" style="left:0px; top:0px; width:111px; height:14px; ">원화금액 계산기</caption>
- <button id="btn_calc" class="btn6_letter10" navindex="82" style="left:35px; top:70px; width:156px; height:22px; ">
- <caption>확 인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("currency")) == ""){
- grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("currency")) = 0;
- }
-
- gro_calc.attribute("visibility") = 'hidden';
-
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("wncurncyamt")) = grd_calc.valueMatrix(grd_calc.row, grd_calc.colRef("currency"));
-
- gro_calc.visible = false;
- group3.disabled = false;
-
- autoamt();
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button23" class="btn6_letter10" style="left:205px; top:70px; width:156px; height:22px; ">
- <caption>취 소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("wncurncyamt")) == "0"){
- messageBox("계산이 이루어지지 않았습니다.. 확인해주십시오.", "E999", "");
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("appqty")) = 0;
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("goodunitcost")) = 0;
- grd_recmeqlist.valueMatrix(grd_recmeqlist.row, grd_recmeqlist.colRef("forgncurncyamt")) = 0;
- }
- gro_calc.attribute("visibility") = 'hidden';
-
- gro_calc.visible = false;
- group3.disabled = false;
-
- autoamt();
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <switch id="switch1" style="left:0px; top:575px; width:1075px; height:158px; ">
- <case id="smlartyeqmt_case">
- <datagrid id="grd_smlartyeqmtlist" nodeset="/root/main/list/smlartyeqmtlist" caption="장비코드^장비명^모델^입고일자^설치일자^제조회사^거래처^금액" colsep="^" colwidth="120, 200, 140, 80, 80, 90, 90, 77, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="36" style="left:0px; top:30px; width:720px; height:125px; ">
- <col ref="eqmtcd" type="inputbutton" _key="true"/>
- <col ref="eqmtnm" style="left:115px; top:23px; width:200px; height:23px; "/>
- <col ref="goodmodel"/>
- <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col visibility="hidden"/>
- <col ref="prodcmpynm"/>
- <col ref="suplplcenm"/>
- <col ref="possnamt" format="#,###" style="text-align:right; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="cntrdeptcd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="possnflagcd" visibility="hidden"/>
- <col ref="possnflagcdnm" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="empthnm" visibility="hidden"/>
- <col ref="forgncurncyamt" visibility="hidden"/>
- <col ref="possnamt" visibility="hidden"/>
- <col ref="curncyunit" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="goodflaghngnm" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_smlartyeqmtlist.col == grd_smlartyeqmtlist.colRef("eqmtcd"))
- {
- rszfOpenPopUpListByWndName(grd_smlartyeqmtlist,"","fixasetcd,goodflaghngnm,eqmtcd,eqmtnm,goodmodel,cntrdeptcd,installplcenm,prodcmpy,prodcmpynm,windd,suplplcecd,suplplcenm,possnflagcd,possnflagcdnm,forgncurncyamt,possnamt,eqmtnm,curncyunit","SPRSD00240","instcd,goodflag","ipt_instcd,ipt_goodflag_search","Y");
- grd_smlartyeqmtlist.valueMatrix(grd_smlartyeqmtlist.row, grd_smlartyeqmtlist.colRef("eqmtcd")) = grd_smlartyeqmtlist.valueMatrix(grd_smlartyeqmtlist.row, grd_smlartyeqmtlist.colRef("fixasetcd"));
- grd_smlartyeqmtlist.valueMatrix(grd_smlartyeqmtlist.row, grd_smlartyeqmtlist.colRef("eqmtnm")) = grd_smlartyeqmtlist.valueMatrix(grd_smlartyeqmtlist.row, grd_smlartyeqmtlist.colRef("goodflaghngnm"));
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_smlartyeqmtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_fixasetcdlistv" nodeset="/root/main/list/fixasetcd/fixasetcdlistv" caption="^품목영문명^규격^모델^입고일^제조사^거래처^수량^자산코드^대분류^중분류^소분류^caption1" colsep="^" colwidth="26, 160, 80, 102, 190, 80, 110, 100, 100, 100, 48, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="37" style="left:760px; top:30px; width:310px; height:125px; ">
- <col checkvalue="Y,N" ref="che" type="checkbox"/>
- <col ref="goodflagengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="windd" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden"/>
- <col ref="suplplcenm" visibility="hidden">
- <![CDATA[re]]>
- </col>
- <col ref="goodqty" visibility="hidden" style="text-align:right; "/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="lrgnm" visibility="hidden"/>
- <col ref="mdlnm" visibility="hidden"/>
- <col ref="smlnm" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="possnamt" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetcdlistv.gridToInstance();
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption10" class="tit_2" style="left:760px; top:10px; width:113px; height:13px; ">부서내 보유장비</caption>
- <caption id="caption5" class="tit_2" style="left:0px; top:10px; width:113px; height:13px; ">동일유사장비</caption>
- <line id="line25" class="line_1" style="x1:0px; y1:25px; x2:720px; y2:25px; "/>
- <button id="btn_eqip" class="btn2_letter2" style="left:1030px; top:4px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_mngtdeptnm.value == ""){
- messageBox("사용부서를 선택하십시오.","");
- model.setFocus("ipt_mngtdeptnm");
- return;
- }
- submit("TRRSC20205");
- ]]>
- </script>
- </button>
- <button id="btn_addsmlart" class="btn2_letter3" style="left:610px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_smlartyeqmtlist );
- // model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_delsmlart" class="btn2_letter3" style="left:665px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_smlartyeqmtlist,"D");
- ]]>
- </script>
- </button>
- <line id="line23" class="line_1" style="x1:760px; y1:25px; x2:1070px; y2:25px; "/>
- <button id="button22" class="icon_left" style="left:727px; top:90px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_fixasetcdlistv.rows - grd_fixasetcdlistv.fixedRows == 0)
- {
- messageBox("적용할 내역이","I004");
- return;
- }
-
- for(var row = grd_fixasetcdlistv.fixedRows ; row < grd_fixasetcdlistv.rows; row++)
- {
- if(grd_fixasetcdlistv.valueMatrix(row, grd_fixasetcdlistv.colRef("che")) == 'Y')
- {
-
- var sGoodflagengnm = model.getValue(grd_fixasetcdlistv.nodeset + "[" + row + "]/goodflagengnm");
- var sGoodmodel = model.getValue(grd_fixasetcdlistv.nodeset + "[" + row + "]/goodmodel");
- var sFixasetcd = model.getValue(grd_fixasetcdlistv.nodeset + "[" + row + "]/fixasetcd");
- var sWindd = model.getValue(grd_fixasetcdlistv.nodeset + "[" + row + "]/windd");
- var sProdcmpynm = model.getValue(grd_fixasetcdlistv.nodeset + "[" + row + "]/prodcmpynm");
- var sSuplplcenm = model.getValue(grd_fixasetcdlistv.nodeset + "[" + row + "]/suplplcenm");
- var sPossnamt = model.getValue(grd_fixasetcdlistv.nodeset + "[" + row + "]/possnamt");
-
- fSetAddRow( grd_smlartyeqmtlist );
-
- model.setValue(grd_smlartyeqmtlist.nodeset + "[" + grd_smlartyeqmtlist.row + "]/eqmtcd" , sFixasetcd );
- model.setValue(grd_smlartyeqmtlist.nodeset + "[" + grd_smlartyeqmtlist.row + "]/eqmtnm" , sGoodflagengnm );
- model.setValue(grd_smlartyeqmtlist.nodeset + "[" + grd_smlartyeqmtlist.row + "]/goodmodel" , sGoodmodel );
-
- model.setValue(grd_smlartyeqmtlist.nodeset + "[" + grd_smlartyeqmtlist.row + "]/windd" , sWindd );
- model.setValue(grd_smlartyeqmtlist.nodeset + "[" + grd_smlartyeqmtlist.row + "]/prodcmpynm" , sProdcmpynm );
- model.setValue(grd_smlartyeqmtlist.nodeset + "[" + grd_smlartyeqmtlist.row + "]/suplplcenm" , sSuplplcenm );
- model.setValue(grd_smlartyeqmtlist.nodeset + "[" + grd_smlartyeqmtlist.row + "]/possnamt" , sPossnamt );
-
- grd_fixasetcdlistv.valueMatrix(row, grd_fixasetcdlistv.colRef("che")) = 'N';
- }
- }
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_smkindeqyn" ref="/root/main/reqeqmtlist/smkindeqyn" appearance="full" cols="2" overflow="visible" style="left:445px; top:5px; width:155px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당있음</label>
- <value>Y</value>
- </item>
- <item>
- <label>해당없음</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var smkindeqyn = model.getValue("/root/main/reqeqmtlist/smkindeqyn");
- if (smkindeqyn == "Y"){
- btn_addsmlart.disabled = false;
- btn_delsmlart.disabled = false;
- }else{
- if(grd_smlartyeqmtlist.rows != "1"){
- messageBox("동일유사장비 내역이 존재하여 선택","E001");
- model.setValue("/root/main/reqeqmtlist/smkindeqyn","Y");
- model.refresh();
- return;
- }else{
- btn_addsmlart.disabled = true;
- btn_delsmlart.disabled = true;
- }
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- </case>
- <case id="publusedeptcd_case">
- <button id="button4" class="btn2_letter3" style="left:1015px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_publusedeptlist,"D");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:960px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_publusedeptlist );
- fSetNum(grd_publusedeptlist, "useseq");
- // model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption13" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">공동사용부서</caption>
- <datagrid id="grd_publusedeptlist" nodeset="/root/main/list/publusedeptlist" caption="기관코드^신청일자^신청순번^순번^사용부서^사용부서^책임자^책임자^전화번호^비율^용도" colsep="^" colwidth="21, 17, 16, 51, 100, 79, 93, 83, 100, 80, 516" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="38" style="left:0px; top:30px; width:1070px; height:120px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="useseq"/>
- <col ref="usedeptcd" type="inputbutton" _key="true"/>
- <col ref="usedeptnm"/>
- <col ref="usepsnid" type="inputbutton"/>
- <col ref="usepsnidnm"/>
- <col ref="usechrgtel" type="input" maxlength="15"/>
- <col ref="rate" type="input" style="text-align:right; "/>
- <col ref="usecmt" type="input" maxlength="100"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_publusedeptlist.col == grd_publusedeptlist.colRef("usedeptcd") ) {// 그리드 부서명 버튼 클릭
- var recv_list = "usedeptcd,usedeptnm";
- misfOpenPopUpList("02", grd_publusedeptlist,"", recv_list,opt_instcd.value,"instcd") ;
- //misfOpenPopUpList("02", grd_publusedeptlist,"", recv_list) ;
- var cur_row = grd_publusedeptlist.row;
- var status = grd_publusedeptlist.valueMatrix(cur_row, grd_publusedeptlist.colRef("m"));
- if(status !="insert" && status !="delete") grd_publusedeptlist.addStatus(cur_row,"update");
- }
- else if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usepsnid"))
- {
- var recv_list = "usepsnid,usepsnidnm";
- //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
- //misfOpenPopUpList("12", grd_publusedeptlist,"", recv_list, "%","instcd") ;
- misfOpenPopUpList("12", grd_publusedeptlist, "", recv_list, opt_instcd.value + "," + grd_publusedeptlist.valueMatrix(grd_publusedeptlist.row, grd_publusedeptlist.colRef("usedeptcd")) + "," + grd_publusedeptlist.valueMatrix(grd_publusedeptlist.row, grd_publusedeptlist.colRef("usedeptnm")), "instcd,deptcd,depthngnm");
- }
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usedeptcd"))
- {
- var recv_list = "usedeptcd,usedeptnm";
- //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
- misfValidationCheck("02","", recv_list, opt_instcd.value + "," + getUserInfo("dutplcecd") + "," + getUserInfo("dutplcenm"), "instcd,deptcd,depthngnm") ;
- model.refresh();
- }
- else if(grd_publusedeptlist.col == grd_publusedeptlist.colRef("usepsnid"))
- {
- var recv_list = "usepsnid,usepsnidnm";
- //misfOpenPopUpList("12", cmb_emplno,"", recv_list, "%","instcd") ;
- rszfValidationCheckS("12","", recv_list, opt_instcd.value + "," +grd_publusedeptlist.valueMatrix(grd_publusedeptlist.row, grd_publusedeptlist.colRef("usedeptcd")) + "," + grd_publusedeptlist.valueMatrix(grd_publusedeptlist.row, grd_publusedeptlist.colRef("usedeptnm")), "instcd,deptcd,depthngnm") ;
- model.refresh();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_publusedeptlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line12" class="line_1" style="x1:0px; y1:25px; x2:1070px; y2:25px; "/>
- </case>
- <case id="moncd_1_case">
- <button id="btn_delmon1" class="btn2_letter3" style="left:1015px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_mon1cdlist,"D");
- ]]>
- </script>
- </button>
- <button id="btn_addmon1" class="btn2_letter3" style="left:960px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_mon1cdlist );
- ]]>
- </script>
- </button>
- <caption id="caption50" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">월간시행건수</caption>
- <line id="line13" class="line_1" style="x1:0px; y1:25px; x2:1070px; y2:25px; "/>
- <datagrid id="grd_mon1cdlist" nodeset="/root/main/list/mon1cdlist" caption="수가코드^수가명^급여/비급여^금액^월건수^소요시간^주처방의사^주처방의사" colsep="^" colwidth="124, 449, 129, 100, 100, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" navindex="39" style="left:0px; top:30px; width:1070px; height:120px; ">
- <col ref="cstcd" type="input" _key="true"/>
- <col ref="cstcdnm" type="input"/>
- <col ref="insu_nopyyn" type="combo">
- <choices>
- <item>
- <label>급여</label>
- <value>0</value>
- </item>
- <item>
- <label>비급여</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="purcunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="mmuseqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="usetm" type="input" style="text-align:center; "/>
- <col class="text_center" ref="mainprcpdrid" type="inputbutton" style="text-align:center; "/>
- <col ref="mainprcpdrnm" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="cstflag" visibility="hidden"/>
- <col ref="reqseq" visibility="hidden"/>
- <col ref="suplplce" visibility="hidden"/>
- <col ref="suplplcenm" visibility="hidden"/>
- <col ref="mainusge" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
-
- grd_mon1cdlist.gridToInstance();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- if(grd_mon1cdlist.col == grd_mon1cdlist.colRef("mainprcpdrid"))
- {
- fOpenPopupUserHelp(grd_mon1cdlist, "mainprcpdrid,mainprcpdrnm");
- }
-
- ]]>
- </script>
- </datagrid>
- <select1 id="rdo_prcpcntyn" ref="/root/main/reqeqmtlist/prcpcntyn" appearance="full" cols="2" overflow="visible" style="left:810px; top:5px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당있음</label>
- <value>Y</value>
- </item>
- <item>
- <label>해당없음</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var prcpcntyn = model.getValue("/root/main/reqeqmtlist/prcpcntyn");
- if (prcpcntyn == "Y"){
- btn_addmon1.disabled = false;
- btn_delmon1.disabled = false;
- }else{
- if(grd_mon1cdlist.rows != "1"){
- messageBox("예상진료건수 내역이 존재하여 선택","E001");
- model.setValue("/root/main/reqeqmtlist/prcpcntyn","Y");
- model.refresh();
- return;
- }else{
- btn_addmon1.disabled = true;
- btn_delmon1.disabled = true;
- }
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- </case>
- <case id="moncd_2_case" selected="true">
- <caption id="caption49" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">월간재료비</caption>
- <line id="line14" class="line_1" style="x1:0px; y1:25px; x2:1070px; y2:25px; "/>
- <button id="btn_delmon2" class="btn2_letter3" style="left:1015px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_mon2cdlist,"D");
- ]]>
- </script>
- </button>
- <button id="btn_addmon2" class="btn2_letter3" style="left:960px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_mon2cdlist );
- // model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_mon2cdlist" nodeset="/root/main/list/mon2cdlist" caption="재료코드^품명^급여/비급여^월소요량^구입단가^공급업체^공급업체명^주요용도^caption1" colsep="^" colwidth="111, 332, 90, 64, 110, 94, 100, 224, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="update" rowsep="|" tooltip="true" navindex="40" style="left:0px; top:30px; width:1070px; height:120px; ">
- <col ref="cstcd" type="inputbutton" _chartype="upper" _key="true"/>
- <col ref="cstcdnm"/>
- <col ref="insu_nopyyn" type="combo">
- <choices>
- <item>
- <label>급여</label>
- <value>0</value>
- </item>
- <item>
- <label>비급여</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="mmuseqty" type="input"/>
- <col ref="purcunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="suplplce" type="inputbutton"/>
- <col ref="suplplcenm"/>
- <col ref="mainusge" type="input" style="text-align:left; "/>
- <col ref="instcd"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="cstflag" visibility="hidden"/>
- <col ref="reqseq" visibility="hidden"/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="goodnm" visibility="hidden"/>
- <col ref="goodunitcost" visibility="hidden"/>
- <col ref="maincustlastsuplplce" visibility="hidden"/>
- <col ref="maincustlastsuplplcenm" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_mon2cdlist.col == grd_mon2cdlist.colRef("cstcd") && grd_mon2cdlist.rowStatus(grd_mon2cdlist.row) == "1" ) {//구성물품코드를 눌렀을 경우
-
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- rszfOpenPopUpListByWndName(grd_mon2cdlist,"","goodcd,goodnm,goodunitcost,maincustlastsuplplce","SPRSD00190","instcd","ipt_instcd");
-
- var cur_row = grd_mon2cdlist.row;
- var status = grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("m"));
-
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- setCSVToNode("/root/copynode", CSV, "goodreqlist");
-
- fSettingGoodList("/root/copynode", "goodreqlist");
- }else if (grd_mon2cdlist.col == grd_mon2cdlist.colRef("suplplce")) {// 그리드 제조회사명 클릭
- rszfOpenPopUpListByWndName(grd_mon2cdlist,"","suplplce,suplplcenm","SPRSD00220","instcd","ipt_instcd");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if(grd_mon2cdlist.col == grd_mon2cdlist.colRef("cstcd") && grd_mon2cdlist.valueMatrix(grd_mon2cdlist.row, grd_mon2cdlist.colRef("cstcd")).length> 0)
- // {
- //
- // model.removenode("/root/copynode");
- // model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- // model.makeNode("/root/copynode");
- // // purfValidationCheck("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");
- // rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd","goodcd," + ipt_instcd + "," + ipt_goodflag_search + "," +model.getValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd") ,"","goodcd,goodnm,goodunitcost,maincustlastsuplplce,maincustlastsuplplcenm",grd_mon2cdlist,"SPRSD00190","instcd","ipt_instcd","Y");
- //
- // var sGoodunitcost = model.getValue(grd_mon2cdlist.nodeset + "[" + grd_mon2cdlist.row + "]/goodunitcost");
- //
- // model.setValue(grd_mon2cdlist.nodeset + "[" + grd_mon2cdlist.row + "]/purcunitcost", sGoodunitcost);
- //
- // model.refresh();
- //
- // var cur_row = grd_mon2cdlist.row;
- // var status = grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("m"));
- //
- // var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- //
- // if (CSV.length == 0 && grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("goodnm")).length == 0)
- // {
- // model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd" , "");
- // model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/cstcdnm" , "");
- // model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplce" , "");
- // model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1) + "]/suplplcenm" , "");
- // grd_mon2cdlist.col = grd_mon2cdlist.colRef("cstcd");
- // grd_mon2cdlist.editCell();
- // }
- // else if (CSV.length == 0 && grd_mon2cdlist.valueMatrix(cur_row, grd_mon2cdlist.colRef("goodnm")).length > 0)
- // {
- // 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") );
- // 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") );
- // 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") );
- // 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") );
- // grd_mon2cdlist.col = grd_mon2cdlist.colRef("insu_nopyyn");
- // grd_mon2cdlist.editCell();
- // }
- // else if (CSV.length > 0)
- // {
- // model.setValue(grd_mon2cdlist.nodeset + "[" + (grd_mon2cdlist.row - grd_mon2cdlist.fixedRows + 1)+ "]/cstcd","");
- // setCSVToNode("/root/copynode", CSV, "goodreqlist");
- //
- // fSettingGoodList("/root/copynode", "goodreqlist" );
- // }
- // }
-
- // if(grd_mon2cdlist.col == grd_mon2cdlist.colRef("suplplce"))
- // {
- //
- // if(grd_mon2cdlist.valueMatrix(grd_mon2cdlist.row, grd_mon2cdlist.colRef("suplplce")) != ""){
- // rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- // ipt_instcd.value + ",," + grd_mon2cdlist.valueMatrix(grd_mon2cdlist.row, grd_mon2cdlist.colRef("suplplce"))
- // ,"","suplplce,suplplcenm",grd_mon2cdlist,"SPRSD00220","instcd","ipt_instcd");
- // }else{
- // grd_mon2cdlist.valueMatrix(grd_mon2cdlist.row, grd_mon2cdlist.colRef("suplplcenm")) = "";
- // }
- //
- // }
-
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_mon2cdlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_mon2cdlist.col == grd_mon2cdlist.colRef("cstcd") && grd_mon2cdlist.rowStatus(grd_mon2cdlist.row) == "1" ){
- grd_mon2cdlist.dispatch("onbuttonclick");
- }else if(grd_mon2cdlist.col == grd_mon2cdlist.colRef("suplplce") && grd_mon2cdlist.rowStatus(grd_mon2cdlist.row) == "1" ){
- grd_mon2cdlist.dispatch("onbuttonclick");
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="reviewdeptopin_case">
- <textarea id="tx_revwopin1" ref="/root/main/reqeqmtlist/revwopin1" disabled="true" navindex="41" style="left:0px; top:26px; width:530px; height:49px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:2px; width:530px; height:23px; vertical-align:middle; ">가. 기자재도입심의(의료기기분야) 위원회</caption>
- <caption id="caption4" class="cell_1" style="left:535px; top:2px; width:535px; height:23px; vertical-align:middle; ">나. 의공학과장</caption>
- <textarea id="tx_revwopin2" ref="/root/main/reqeqmtlist/revwopin2" disabled="true" navindex="42" style="left:535px; top:26px; width:535px; height:49px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:75px; width:530px; height:23px; vertical-align:middle; ">다. 정보통신실장</caption>
- <textarea id="tx_revwopin3" ref="/root/main/reqeqmtlist/revwopin3" disabled="true" navindex="43" style="left:0px; top:99px; width:530px; height:49px; "/>
- <caption id="caption9" class="cell_1" style="left:535px; top:75px; width:535px; height:23px; vertical-align:middle; ">라. 시설팀장</caption>
- <textarea id="tx_revwopin4" ref="/root/main/reqeqmtlist/revwopin4" disabled="true" navindex="44" style="left:535px; top:99px; width:535px; height:49px; "/>
- </case>
- <case id="introductioneqmt_case">
- <datagrid id="grd_introductioneqmt" nodeset="/root/main/list/introductioneqmtlist" caption="기관^자산코드^자산명^규격^모델^수량^제조사^제조국^거래처(공급처)^자산명(한글)" colsep="^" colwidth="140, 120, 157, 90, 90, 56, 130, 110, 140, 0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="45" style="left:0px; top:30px; width:1070px; height:120px; ">
- <col ref="instcd" type="combo">
- <choices>
- <item>
- <label>경북대학교병원</label>
- <value>031</value>
- </item>
- <item>
- <label>칠곡경북대학교병원</label>
- <value>032</value>
- </item>
- </choices>
- </col>
- <col ref="fixasetcd" type="inputbutton" style="text-align:center; "/>
- <col ref="goodflagengnm"/>
- <col ref="goodspec" style="text-align:center; "/>
- <col ref="goodmodel" style="text-align:center; "/>
- <col ref="fixasetqty" style="text-align:right; "/>
- <col ref="prodcmpy"/>
- <col ref="prodplce"/>
- <col ref="suplplcenm"/>
- <col ref="goodflaghngnm" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_introductioneqmt.colAttribute(grd_introductioneqmt.col,"ref") == "fixasetcd"){
- rszfOpenPopUpListByWndName(grd_introductioneqmt,"", "fixasetcd,goodflaghngnm", "SPRSD00240","instcd,goodflag","ipt_instcd,ipt_goodflag");
-
- if(model.getValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/fixasetcd") != ""){
- model.setValue("/root/introgrid/search/fixasetcd",model.getValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/fixasetcd"));
- model.setValue("/root/introgrid/search/instcd",model.getValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/instcd"));
- submit("TRRSC20206");
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/fixasetcd",model.getValue("/root/introgrid/result/introresult[1]/fixasetcd"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/goodflaghngnm",model.getValue("/root/introgrid/result/introresult[1]/goodflaghngnm"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/goodflagengnm",model.getValue("/root/introgrid/result/introresult[1]/goodflagengnm"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/goodspec",model.getValue("/root/introgrid/result/introresult[1]/goodspec"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/goodmodel",model.getValue("/root/introgrid/result/introresult[1]/goodmodel"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/fixasetqty",model.getValue("/root/introgrid/result/introresult[1]/fixasetqty"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/prodcmpy",model.getValue("/root/introgrid/result/introresult[1]/prodcmpy"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/prodplce",model.getValue("/root/introgrid/result/introresult[1]/prodplce"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/suplplcecd",model.getValue("/root/introgrid/result/introresult[1]/suplplcecd"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/suplplcenm",model.getValue("/root/introgrid/result/introresult[1]/suplplcenm"));
-
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/reqdd",model.getValue("/root/main/reqeqmtlist/reqdd"));
- model.setValue("/root/main/list/introductioneqmtlist["+grd_introductioneqmt.row+"]/reqseqno",model.getValue("/root/main/reqeqmtlist/reqseqno"));
- }else{
- messageBox("자산코드를 입력하여 주십시오.", "E999", "");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(grd_introductioneqmt.colAttribute(grd_introductioneqmt.col,"ref") == "fixasetcd"){
- if(event.keyCode == "13"){
- grd_introductioneqmt.dispatch("onbuttonclick");
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption14" class="tit_2" style="left:0px; top:10px; width:113px; height:14px; ">도입장비</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:25px; x2:1070px; y2:25px; "/>
- <button id="btn_addintroductioneqmt" class="btn2_letter3" style="left:960px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_introductioneqmt );
- grd_introductioneqmt.valueMatrix(grd_introductioneqmt.row, grd_introductioneqmt.colRef("instcd")) = model.getValue("/root/main/reqeqmtlist/instcd");
- ]]>
- </script>
- </button>
- <button id="btn_delintroductioneqmt" class="btn2_letter3" style="left:1015px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- messageBox("자산마스터에 장비신청코드만 지웁니다.", "E999", "");
- misfGridIUD(grd_introductioneqmt,"D");
- grd_introductioneqmt.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_introsave" class="btn5_letter2" style="left:917px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/introgrid/save/introductioneqmtlist", grd_introductioneqmt.getUpdateData());
- submit("TXRSC20206");
- grd_introductioneqmt.refresh();
- ]]>
- </script>
- </button>
- </case>
- <case id="purcprcsprescond_case">
- <caption id="caption11" class="tit_2" style="left:0px; top:10px; width:113px; height:14px; ">구매진행현황</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:25px; x2:1070px; y2:25px; "/>
- <datagrid id="grd_purcprcsprescond" nodeset="/root/main/list/purcprcsprescondlist" caption="순번^기준일자^구매진행상태^구매진행비고" colsep="^" colwidth="70, 100, 120, 717, 0, 0, 0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="46" style="left:0px; top:30px; width:1070px; height:120px; ">
- <col ref="seq" visibility="hidden" style="text-align:center; "/>
- <col ref="badd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="purcprcsstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="purcprcscmt" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- </datagrid>
- <button id="btn_delpurc" class="btn2_letter3" style="left:1015px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_purcprcsprescond,"D");
- ]]>
- </script>
- </button>
- <button id="btn_addpurc" class="btn2_letter3" style="left:960px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddRow( grd_purcprcsprescond );
- ]]>
- </script>
- </button>
- </case>
- <case id="kreqmtcmt_case">
- <textarea id="txt_kreqmtcmt" ref="/root/main/reqeqmtlist/kreqmtcmt" navindex="47" style="left:0px; top:20px; width:1070px; height:130px; "/>
- <caption id="caption52" class="tit_2" style="left:0px; top:2px; width:147px; height:15px; ">국산장비미신청사유서</caption>
- </case>
- <case id="deprdist_case">
- <input id="ipt_deprdistper1" ref="/root/main/reqeqmtlist/deprdistper1" navindex="49" style="left:210px; top:9px; width:40px; height:19px; text-align:right; "/>
- <caption id="caption55" style="left:175px; top:9px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <caption id="caption56" style="left:250px; top:9px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <input id="ipt_deprdistprf1" ref="/root/main/reqeqmtlist/deprdistprf1" navindex="48" style="left:105px; top:9px; width:65px; height:19px; "/>
- <line id="line22" class="line_2" style="x1:0px; y1:36px; x2:1055px; y2:36px; "/>
- <caption id="caption60" style="left:250px; top:83px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption61" style="left:250px; top:121px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption62" style="left:175px; top:121px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <input id="ipt_deprdistper2" ref="/root/main/reqeqmtlist/deprdistper2" navindex="51" style="left:210px; top:46px; width:40px; height:19px; text-align:right; "/>
- <input id="ipt_deprdistper3" ref="/root/main/reqeqmtlist/deprdistper3" navindex="53" style="left:210px; top:83px; width:40px; height:19px; text-align:right; "/>
- <input id="ipt_deprdistper4" ref="/root/main/reqeqmtlist/deprdistper4" navindex="55" style="left:210px; top:121px; width:40px; height:19px; text-align:right; "/>
- <caption id="caption57" style="left:175px; top:46px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <caption id="caption58" style="left:250px; top:46px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption59" style="left:175px; top:83px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <input id="ipt_deprdistprf2" ref="/root/main/reqeqmtlist/deprdistprf2" navindex="50" style="left:105px; top:46px; width:65px; height:19px; "/>
- <input id="ipt_deprdistprf3" ref="/root/main/reqeqmtlist/deprdistprf3" navindex="52" style="left:105px; top:83px; width:65px; height:19px; "/>
- <input id="ipt_deprdistprf4" ref="/root/main/reqeqmtlist/deprdistprf4" navindex="54" style="left:105px; top:121px; width:65px; height:19px; "/>
- <line id="line26" class="line_2" style="x1:0px; y1:73px; x2:1055px; y2:73px; "/>
- <line id="line27" class="line_2" style="x1:0px; y1:110px; x2:1055px; y2:110px; "/>
- <line id="line28" class="line_2" style="x1:0px; y1:147px; x2:1055px; y2:147px; "/>
- <caption id="caption67" style="left:250px; top:158px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption68" style="left:175px; top:158px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <input id="ipt_deprdistper5" ref="/root/main/reqeqmtlist/deprdistper5" navindex="57" style="left:210px; top:158px; width:40px; height:19px; text-align:right; "/>
- <input id="ipt_deprdistprf5" ref="/root/main/reqeqmtlist/deprdistprf5" navindex="56" style="left:105px; top:158px; width:65px; height:19px; "/>
- <caption id="caption69" class="cell_1" style="left:0px; top:2px; width:101px; height:32px; vertical-align:middle; ">감가상각액배분1</caption>
- <caption id="caption70" class="cell_1" style="left:0px; top:39px; width:101px; height:32px; vertical-align:middle; ">감가상각액배분2</caption>
- <caption id="caption71" class="cell_1" style="left:0px; top:76px; width:101px; height:32px; vertical-align:middle; ">감가상각액배분3</caption>
- <caption id="caption72" class="cell_1" style="left:0px; top:113px; width:101px; height:32px; vertical-align:middle; ">감가상각액배분4</caption>
- <caption id="caption73" class="cell_1" style="left:0px; top:150px; width:101px; height:30px; vertical-align:middle; ">감가상각액배분5</caption>
- <caption id="caption74" class="cell_1" style="left:270px; top:39px; width:110px; height:32px; vertical-align:middle; ">감가상각액배분7</caption>
- <caption id="caption75" class="cell_1" style="left:270px; top:76px; width:110px; height:32px; vertical-align:middle; ">감가상각액배분8</caption>
- <caption id="caption76" class="cell_1" style="left:270px; top:113px; width:110px; height:32px; vertical-align:middle; ">감가상각액배분9</caption>
- <caption id="caption77" class="cell_1" style="left:270px; top:150px; width:110px; height:30px; vertical-align:middle; ">감가상각액배분10</caption>
- <caption id="caption78" class="cell_1" style="left:270px; top:2px; width:110px; height:32px; vertical-align:middle; ">감가상각액배분6</caption>
- <caption id="caption79" style="left:532px; top:83px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption80" style="left:532px; top:121px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption81" style="left:457px; top:121px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <input id="ipt_deprdistper6" ref="/root/main/reqeqmtlist/deprdistper6" navindex="59" style="left:492px; top:9px; width:40px; height:19px; text-align:right; "/>
- <input id="ipt_deprdistper7" ref="/root/main/reqeqmtlist/deprdistper7" navindex="61" style="left:492px; top:46px; width:40px; height:19px; text-align:right; "/>
- <input id="ipt_deprdistper8" ref="/root/main/reqeqmtlist/deprdistper8" navindex="63" style="left:492px; top:83px; width:40px; height:19px; text-align:right; "/>
- <caption id="caption82" style="left:457px; top:9px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <caption id="caption83" style="left:532px; top:158px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <input id="ipt_deprdistper9" ref="/root/main/reqeqmtlist/deprdistper9" navindex="65" style="left:492px; top:121px; width:40px; height:19px; text-align:right; "/>
- <caption id="caption84" style="left:532px; top:9px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption85" style="left:457px; top:158px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <caption id="caption86" style="left:457px; top:46px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <caption id="caption87" style="left:532px; top:46px; width:13px; height:19px; vertical-align:middle; ">%</caption>
- <input id="ipt_deprdistper10" ref="/root/main/reqeqmtlist/deprdistper10" navindex="67" style="left:492px; top:158px; width:40px; height:19px; text-align:right; "/>
- <caption id="caption88" style="left:457px; top:83px; width:34px; height:19px; vertical-align:middle; ">교수</caption>
- <input id="ipt_deprdistprf10" ref="/root/main/reqeqmtlist/deprdistprf10" navindex="66" style="left:387px; top:158px; width:65px; height:19px; "/>
- <input id="ipt_deprdistprf6" ref="/root/main/reqeqmtlist/deprdistprf6" navindex="58" style="left:387px; top:9px; width:65px; height:19px; "/>
- <input id="ipt_deprdistprf7" ref="/root/main/reqeqmtlist/deprdistprf7" navindex="60" style="left:387px; top:46px; width:65px; height:19px; "/>
- <input id="ipt_deprdistprf8" ref="/root/main/reqeqmtlist/deprdistprf8" navindex="62" style="left:387px; top:83px; width:65px; height:19px; "/>
- <input id="ipt_deprdistprf9" ref="/root/main/reqeqmtlist/deprdistprf9" navindex="64" style="left:387px; top:121px; width:65px; height:19px; "/>
- <select1 id="rdo_deprdistpyn" ref="/root/main/reqeqmtlist/deprdistpyn" appearance="full" cols="2" overflow="visible" style="left:860px; top:10px; width:165px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당있음</label>
- <value>Y</value>
- </item>
- <item>
- <label>해당없음</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var deprdistpyn = model.getValue("/root/main/reqeqmtlist/deprdistpyn");
- if (deprdistpyn == "Y"){
- ipt_deprdistprf1.disabled = false;
- ipt_deprdistper1.disabled = false;
- ipt_deprdistprf2.disabled = false;
- ipt_deprdistper2.disabled = false;
- ipt_deprdistprf3.disabled = false;
- ipt_deprdistper3.disabled = false;
- ipt_deprdistprf4.disabled = false;
- ipt_deprdistper4.disabled = false;
- ipt_deprdistprf5.disabled = false;
- ipt_deprdistper5.disabled = false;
- ipt_deprdistprf6.disabled = false;
- ipt_deprdistper6.disabled = false;
- ipt_deprdistprf7.disabled = false;
- ipt_deprdistper7.disabled = false;
- ipt_deprdistprf8.disabled = false;
- ipt_deprdistper8.disabled = false;
- ipt_deprdistprf9.disabled = false;
- ipt_deprdistper9.disabled = false;
- ipt_deprdistprf10.disabled = false;
- ipt_deprdistper10.disabled = false;
- }else{
- ipt_deprdistprf1.value = "";
- ipt_deprdistper1.value = "";
- ipt_deprdistprf2.value = "";
- ipt_deprdistper2.value = "";
- ipt_deprdistprf3.value = "";
- ipt_deprdistper3.value = "";
- ipt_deprdistprf4.value = "";
- ipt_deprdistper4.value = "";
- ipt_deprdistprf5.value = "";
- ipt_deprdistper5.value = "";
- ipt_deprdistprf6.value = "";
- ipt_deprdistper6.value = "";
- ipt_deprdistprf7.value = "";
- ipt_deprdistper7.value = "";
- ipt_deprdistprf8.value = "";
- ipt_deprdistper8.value = "";
- ipt_deprdistprf9.value = "";
- ipt_deprdistper9.value = "";
- ipt_deprdistprf10.value = "";
- ipt_deprdistper10.value = "";
- ipt_deprdistprf1.disabled = true;
- ipt_deprdistper1.disabled = true;
- ipt_deprdistprf2.disabled = true;
- ipt_deprdistper2.disabled = true;
- ipt_deprdistprf3.disabled = true;
- ipt_deprdistper3.disabled = true;
- ipt_deprdistprf4.disabled = true;
- ipt_deprdistper4.disabled = true;
- ipt_deprdistprf5.disabled = true;
- ipt_deprdistper5.disabled = true;
- ipt_deprdistprf6.disabled = true;
- ipt_deprdistper6.disabled = true;
- ipt_deprdistprf7.disabled = true;
- ipt_deprdistper7.disabled = true;
- ipt_deprdistprf8.disabled = true;
- ipt_deprdistper8.disabled = true;
- ipt_deprdistprf9.disabled = true;
- ipt_deprdistper9.disabled = true;
- ipt_deprdistprf10.disabled = true;
- ipt_deprdistper10.disabled = true;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- </case>
- </switch>
- <input id="ipt_updpath" ref="/root/hidden/file" visibility="hidden" style="left:965px; top:480px; width:100px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|