12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="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>
- <list>
- <fixaset>
- <fixasetlist/>
- </fixaset>
- <fixasetdet>
- <fixasettmplist/>
- </fixasetdet>
- <rfchmandlist/>
- <compslist/>
- </list>
- <fixasetdet>
- <fixasettmplist>
- <instcd/>
- <fixasetcd/>
- <installplcecd/>
- <installplcenm/>
- <goodflag/>
- <goodqty/>
- <goodflaghngnm/>
- <goodflagengnm/>
- <goodspec/>
- <goodmodel/>
- <asetflag_maineqmtflag/>
- <lrgcd/>
- <lrgnm/>
- <mdlcd/>
- <mdlnm/>
- <smlcd/>
- <smlnm/>
- <catalog/>
- <fixasetunit/>
- <usge/>
- <acntcd/>
- <acntnm/>
- <cntrdeptcd/>
- <cntrdeptnm/>
- <moveflag/>
- <suplplcecd/>
- <suplplcenm/>
- <suppcustcd/>
- <prodplce/>
- <prodcmpy/>
- <prodcmpynm/>
- <chkdd/>
- <delivetermmm/>
- <condd/>
- <conno/>
- <conseq/>
- <flwgrnttermfr/>
- <flwgrnttermto/>
- <windd/>
- <winno/>
- <winseqno/>
- <mngtno/>
- <profno/>
- <incmreptno/>
- <incmlicnsdd/>
- <custmsenddd/>
- <expttaxpostno/>
- <custms/>
- <innatitax/>
- <custmscrnscthouscd/>
- <lonno/>
- <possnflagcd/>
- <possndd/>
- <forgncurncyamt/>
- <curncyunit/>
- <fixasetqty/>
- <possnamt/>
- <etcaddamt/>
- <cntsyearno/>
- <repayflag/>
- <repaymthd/>
- <repayrate/>
- <dsplflag/>
- <repayenddd/>
- <repayappdd/>
- <maineqmtcd/>
- <lseyn/>
- <cmt/>
- <mngtdeptcd/>
- <maineqmt/>
- <barcdprntyn/>
- <usedd/>
- <suplcntctel/>
- <acqtflag/>
- <earnvaluyn/>
- <agency/>
- <agencycntctel/>
- <smplce/>
- <repaybal/>
- <prvnchkyn/>
- <fundorigin/>
- <incmpemtno/>
- <mtlmngtno/>
- <tempmngtdeptcd/>
- <tempmngtdeptnm/>
- <suplplcetel/>
- <suppcusttel/>
- <mngtdeptnm/>
- <maineqmtnm/>
- <flwgrntterm/>
- <ntsubsidyyn>N</ntsubsidyyn>
- <fixtrflag>1</fixtrflag>
- <amtacnt/>
- <amtacntnm/>
- <fixasetcdcnt/>
- <welfcd/>
- <entrasetyn/>
- <purcdmnddd/>
- <purcdmndno/>
- <purcdmndseq/>
- <mngtgrade/>
- <proddd/>
- <notino/>
- <notifullnm/>
- <prenotifulldd/>
- <notifullno/>
- <mfdsnm/>
- <costdeptcd/>
- <costdeptnm/>
- </fixasettmplist>
- <rfcdincmlist/>
- </fixasetdet>
- <fixasetcopy>
- <fixasetlist/>
- </fixasetcopy>
- </main>
- <send>
- <fixasetlist>
- <instcd_search/>
- <goodflag_search/>
- <lrgcd_search/>
- <goodflagengnm_search/>
- <cntrdeptcd_search/>
- <installplcecd_search/>
- <possndd_search/>
- <fixasetcd_search/>
- <goodmodel_search/>
- <lrgnm_search/>
- <cntrdeptnm_search/>
- <installplcenm_search/>
- <possntodd_search/>
- <possnfrdd_search/>
- <tempmngtdeptcd_search/>
- <tempmngtdeptnm_search/>
- <rfchmandlist_search/>
- <mdlcd_search/>
- <mdlnm_search/>
- <mngtdeptcd_search/>
- <mngtdept_search/>
- <cmt_search/>
- <suplplcecd_search/>
- <suplplcenm_search/>
- <mainmngtdeptcd_search/>
- <mainmngtdeptnm_search/>
- <welfcd_search/>
- <goodnm_search/>
- <goodspec_search/>
- <dsplflag_search/>
- <scrnid>SMRFC00200</scrnid>
- <userid/>
- </fixasetlist>
- <tmpnode>
- <tmpfixasetnode/>
- <tmpgridrow/>
- </tmpnode>
- <fixasetcd/>
- <instcd/>
- <save>
- <compslist/>
- <rfchmandlist/>
- <fixasettmplist/>
- <fixasetlist/>
- <fixasetdellist/>
- </save>
- <fixasetcopy>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- </fixasetcopy>
- <tempmngtcd/>
- <fixaset>
- <fixasetlist/>
- </fixaset>
- <scrnid>SMRFC00200X</scrnid>
- <chksrch>
- <instcd/>
- <goodflag/>
- <purcchkdd/>
- <purcchkno/>
- <purcchkseq/>
- </chksrch>
- </send>
- <init>
- <goodflag>
- <label>의료장비</label>
- <value>EQ</value>
- <label>시험용(데모)</label>
- <value>DE</value>
- <label>대여</label>
- <value>RE</value>
- <label>임상시험용</label>
- <value>CT</value>
- </goodflag>
- <asetflagmaineqmtflag>
- <label>주요자산</label>
- <value>M</value>
- <label>기타자산</label>
- <value>E</value>
- </asetflagmaineqmtflag>
- <possnflagcd>
- <label>내자</label>
- <value>H</value>
- <label>외자</label>
- <value>F</value>
- </possnflagcd>
- <lseyn>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </lseyn>
- <acqtflag>
- <label>기증</label>
- <value>1</value>
- <label>매입</label>
- <value>2</value>
- <label>임차</label>
- <value>3</value>
- <label>지불필</label>
- <value>4</value>
- <label>공동관리</label>
- <value>5</value>
- <label>사후관리</label>
- <value>6</value>
- </acqtflag>
- <suik>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </suik>
- <prvnchkyn>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </prvnchkyn>
- <moveflag>
- <label>Portable</label>
- <value>P</value>
- <label>Fixed</label>
- <value>F</value>
- </moveflag>
- <repaymthd>
- <label>정액</label>
- <value>1</value>
- <label>정률</label>
- <value>2</value>
- </repaymthd>
- <copycnt/>
- <createyn/>
- <fixasetcd/>
- <ntsubsidyyn>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </ntsubsidyyn>
- <entrasetyn>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </entrasetyn>
- <lonno>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </lonno>
- </init>
- <temp>
- <attfilecount/>
- </temp>
- <copynode/>
- <copyrent/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
- <submission id="TRRFC00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetdet"/>
- <submission id="TXRFC00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TXRFC00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/fixasetdellist" resultref="/root/temp"/>
- <submission id="TRRFC00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/compslist"/>
- <submission id="TRRFC00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/fixasetdet/fixasettmplist" resultref="/root/main/fixasetdet/rfcdincmlist"/>
- <submission id="TRRFC00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/fixasetdet/fixasettmplist" resultref="/root/main/list/rfchmandlist"/>
- <submission id="TRRFC00210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/chksrch" resultref="/root/main/list/fixasetdet"/>
- <submission id="TRRFC00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetcopy" resultref="/root/main/fixasetcopy"/>
- <submission id="TXRFC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixaset/fixasetlist" resultref="/root/temp"/>
- <submission id="TXRFC00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixaset" resultref="/root/temp"/>
- <submission id="TXRFC00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" 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" src="../../../com/commonweb/js/tfHelperAsync.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript">
- <![CDATA[
- var grwlow=grd_fixasetlist.row = 1;
- var preDsplflag = "";
-
- function fInitialize()
- {
- ipt_vFlag.value = "";
-
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfchmandlist);
- misfGridInit(grd_comps);
- misfGridInit(grd_fixasettmplist);
- misfComboComCdListMulti("C0048,C0048,R0035,R0047,R0042,R0044,R0316,R0348,R0292,030R0006,030R0033,030R0033,R0044",
- "cmb_instcd_search,cmb_instcd,cmb_prodplce,cmb_curncyunit,cmb_repayflag,cmb_dsplflag,cmb_fundorigin,cmb_flwgrntterm,cmb_acqtflag,cmb_repaymthd,cmb_mngtgrade,grd_fixasetlist.mngtgrade,rdo_dsplflag_search");
-
- addComboItem( "cmb_mngtgrade", " ", "", "above");
- addComboItem("rdo_dsplflag_search", "전체", "", "below" );
- model.setValue(rdo_dsplflag_search.attribute("ref"), "0"); // 처분구분 Default 정상
-
- model.setValue("/root/send/fixasetlist/instcd_search", getUserInfo("dutplceinstcd")); // 기관 설정
-
- var sBaseDate = getCurrentDate();
-
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
-
- misfMsterDetailSet(grd_fixasetlist, null, "TRRFC00202", "Y", "byrow");
- // misfMsterDetailSet(grd_fixasettmplist, grd_fixasetlist, "TRRFC00203", "Y");
- misfMsterDetailSet(grd_fixasettmplist, null, "TRRFC00203", "Y");
- misfMsterDetailSet(grd_comps, null, "TRRFC00205", "Y");
- misfMsterDetailSet(grd_rfchmandlist, null, "TRRFC00207", "Y");
-
- if(checkAuth('X')){
- fAllControlDisabled("false");
- //alert(getUserInfo("userid") + "승인"+ checkAuth('X') + checkAuth('R') + checkAuth('P'));
- }else{
- fAllControlDisabled("true");
- }
-
- model.makeNode(ipt_fixasetcdcnt.attribute("ref"));
-
- //물품구분의 설정으로 대,중,소 분류 콤보를 Setting.
- rszfLMSComboList("EQ", "", "", "cmb_lrgcd", "", "L", "N", "Y");
- rszfLMSComboList("EQ", "ALL", "", "cmb_mdlcd", "", "M", "N", "Y");
-
- var instcd = getUserInfo("dutplceinstcd");
- var deptcd = getUserInfo("dutplcecd");
- if (instcd == "032" && deptcd == "4090500000"){ // 칠곡 의공학과 4020334000:물류 4280000000:정보통신 의공학과 :4090500000
- // if ( deptcd == "4090500000"){ // 칠곡 의공학과 4020334000:물류 4280000000:정보통신 의공학과 :4090500000
- cmb_goodflag_search.disabled = false;
- btn_delrow.disabled = true;
- cmb_goodflag_search.select(0);
- }else{
- cmb_goodflag_search.disabled = true;
- cmb_goodflag_search.select(0);
- }
- // if(grd_fixasetlist.rows == "1"){
- // btn_update.disabled = true;
- // }else{
- // btn_update.disabled = false;
- // }
-
- model.refresh();
-
- model.setFocus("ipt_fixasetcd_search");
- }
- function fSetting()
- {
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); // 기관 설정
- model.setValue(cmb_dsplflag.attribute("ref"), "0"); // 처분구분 설정
-
- var instcd1 = getUserInfo("dutplceinstcd");
- var deptcd1= getUserInfo("dutplcecd");
- if (instcd1 == "032" && deptcd1 == "4090500000"){ // 칠곡의공학과 4020334000:물류 4280000000:정보통신
- var goodflag = model.getValue("/root/send/fixasetlist/goodflag_search");
- model.setValue(cmb_goodflag.attribute("ref"), goodflag); // 물품구분 설정
- model.setValue(ipt_acntcd.attribute("ref"), "");
- model.setValue(ipt_acntnm.attribute("ref"), "");
- }else{
- model.setValue(cmb_goodflag.attribute("ref"), "EQ"); // 물품구분 설정
- model.setValue(ipt_acntcd.attribute("ref"), "12250101");
- model.setValue(ipt_acntnm.attribute("ref"), "의료기기(의과)");
- }
-
- model.setValue(rdo_asetflagmaineqmtflag.attribute("ref"), "M");
- model.setValue(rdo_moveflag.attribute("ref"), "P");
- model.setValue(ipt_fixasetunit.attribute("ref"), "ST");
- model.setValue(ipt_forgncurncyamt.attribute("ref"), 0);
- model.setValue(cmb_curncyunit.attribute("ref"), "13");
- model.setValue(rdo_possnflagcd.attribute("ref"), "H");
- model.setValue(rdo_earnvaluyn.attribute("ref"), "Y");
- model.setValue(rdo_lseyn.attribute("ref"), "N");
-
-
- }
-
- function fMakeNode()
- {
- model.makeNode("/root/main/fixasetdet/fixasettmplist/acntnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/installplcenm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/cntrdeptnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/mngtdeptnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/suplplcenm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/maineqmtnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/prodcmpynm");
- }
-
- function fAllControlDisabled(check)
- {
- cmb_instcd.disabled = check;
- ipt_fixasetcd.disabled = check;
- ipt_goodflagengnm.disabled = check;
- ipt_goodflaghngnm.disabled = check;
- ipt_goodspec.disabled = check;
- ipt_goodspec.disabled = check;
- ipt_goodmodel.disabled = check;
- rdo_asetflagmaineqmtflag.disabled = check;
- ipt_usge.disabled = check;
- ipt_acntcd.disabled = check;
- ipt_installplcecd.disabled = check;
- ipt_cntrdeptcd.disabled = check;
- ipt_cntrdeptcd.disabled = check;
- rdo_moveflag.disabled = check;
- ipt_mngtdeptcd.disabled = check;
- ipt_suplplcecd.disabled = check;
- ipt_suplcntctel.disabled = check;
- cmb_prodplce.disabled = check;
- ipt_condd.disabled = check;
- ipt_possndd.disabled = check;
- ipt_delivetermmm.disabled = check;
- cmb_goodflag.disabled = check;
- cmb_acqtflag.disabled = check;
- rdo_possnflagcd.disabled = check;
- ipt_forgncurncyamt.disabled = check;
- cmb_curncyunit.disabled = check;
- ipt_windd.disabled = check;
- ipt_mngtno.disabled = check;
- ipt_flwgrnttermfr.disabled = check;
- ipt_flwgrnttermto.disabled = check;
- // cmb_dsplflag.disabled = check;
- ipt_fixasetunit.disabled = check;
- ipt_cntsyearno.disabled = check;
- ipt_repayenddd.disabled = check;
- ipt_repayappdd.disabled = check;
- rdo_lseyn.disabled = check;
- rdo_earnvaluyn.disabled = check;
- ipt_agency.disabled = check;
- ipt_agencycntctel.disabled = check;
- ipt_chkdd.disabled = check;
- ipt_smplce.disabled = check;
- rdo_prvnchkyn.disabled = check;
- ipt_possnamt.disabled = check;
- cmb_repayflag.disabled = check;
- cmb_repaymthd.disabled = check;
- ipt_repayrate.disabled = check;
- ipt_cmt.disabled = check;
- ipt_suplplcenm.disabled = check;
- ipt_prodcmpynm.disabled = check;
- ipt_maineqmtnm.disabled = check;
- btn_acntcd.disabled = check;
- btn_installplcecd.disabled = check;
- btn_cntrdeptcd.disabled = check;
- btn_mngtdeptcd.disabled = check;
- btn_suplplcecd.disabled = check;
- btn_prodcmpy.disabled = check;
- btn_prodcmpy.disabled = check;
- btn_maineqmt.disabled = check;
- ipt_repaybal.disabled = check;
- ipt_maineqmtcd.disabled =check;
- // btn_addinfo.disabled = check;
- // btn_comps.disabled = check;
- // btn_addrow_.disabled = check;
- // btn_delrow_.disabled = check;
- // btn_rfchmandlist.disabled = check;
- // btn_image.disabled = check;
- // btn_set.disabled = check;
- // btn_chnghist.disabled = check;
- cmb_lrgcd.disabled = check;
- cmb_mdlcd.disabled = check;
- cmb_smlcd.disabled = check;
- btn_goodcdcopy.disabled = check;
- ipt_incmpemtno.disabled =check;
- ipt_mtlmngtno.disabled=check;
- cmb_fundorigin.disabled = check;
- ipt_amtacnt.disabled = check;
- btn_amtacnt.disabled = check;
- ipt_welfcd.disabled = check;
- ipt_tempmngtdeptcd.disabled = check;
- btn_tempmngtdeptcd.disabled = check;
- rdo_ntsubsidyyn.disabled = check;
- ipt_etcaddamt.disabled = check;
- rdo_entrasetyn.disabled = check;
- cmb_flwgrntterm.disabled = check;
- cmb_mngtgrade.disabled = check;
- rdo_lonno.disabled = check;
- ipt_proddd.disabled = check;
- }
-
- function fSettingGoodList(pnode, nodename)
- {
- var codynode = instance1.selectNodes(pnode + "/*");
-
- var addRow = grd_comps.rows - grd_comps.fixedRows;
-
- for (var j = 1; j <= codynode.length ; j++)
- {
- if(addRow > grd_comps.rows - grd_comps.fixedRows)
- {
- misfGridIUD(grd_comps,"A");
- addRow = grd_comps.rows - grd_comps.fixedRows;
- }
-
- //model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
- //model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
- //model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodspec" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodspec"));
- //model.setValue(grd_comps.nodeset + "[" + addRow + "]/purcunit" , model.getValue(pnode +"/" + nodename + "[" + j + "]/purcunit"));
- addRow = addRow + 1;
- }
-
- model.recalculate();
- model.refresh();
- }
-
- function fGoodCdCopy(pCls)
- {
- var instcd1 = getUserInfo("dutplceinstcd");
- var deptcd1= getUserInfo("dutplcecd");
- if (instcd1 == "032" && deptcd1 == "4090500000"){
- // if ( deptcd1 == "4090500000"){
- if(grd_fixasetlist.rowStatus(1) != "1"){
- messageBox("행추가버튼을 먼저 클릭" ,"I008");
- return;
- }else{
- var goodflag = model.getValue("/root/send/fixasetlist/goodflag_search");
- if (goodflag == "EQ"){
- messageBox("의료장비에 대한" ,"E002");
- model.resetInstanceNode("/root/send");
- fInitialize();
- return;
- }else{
- var lrgcd = getCurrentDate().substr(0,2);
- var mdlcd = getCurrentDate().substr(2, 2);
- var smlcd = getCurrentDate().substr(4, 2);
- model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(cmb_goodflag.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/lrgcd", lrgcd);
- model.setValue("/root/send/fixasetcopy/mdlcd", mdlcd);
- model.makeValue("/root/send/fixasetcopy/smlcd", smlcd);
- submit("TRRFC00301");
-
- var fixasetcd = model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd");
-
- if(fixasetcd.length == 0){
- fixasetcd = (cmb_goodflag.value + cmb_lrgcd.value + cmb_mdlcd.value) + "0001";
- }else{
- //fixasetcd = fixasetcd.substr(0,6) + smlcd + fixasetcd.substr(8,5);
- }
- model.refresh();
- }
- }
- }else{
- if(model.getValue(cmb_goodflag.attribute("ref")).length== 0 )
- {
- messageBox("물품구분을 " ,"C002");
- return false;
- }
- if(model.getValue(cmb_lrgcd.attribute("ref")).length== 0 )
- {
- messageBox("대분류코드를 " ,"C002");
- model.setFocus("cmb_lrgcd");
- return false;
- }
- if(model.getValue(cmb_mdlcd.attribute("ref")).length== 0 )
- {
- messageBox("중분류코드를 " ,"C002");
- model.setFocus("cmb_mdlcd");
- return false;
- }
-
- model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(cmb_goodflag.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/mdlcd", model.getValue(cmb_mdlcd.attribute("ref")));
- //model.setValue("/root/send/fixasetcopy/smlcd", model.getValue(cmb_smlcd.attribute("ref")));
-
- submit("TRRFC00301");
-
- var fixasetcd = model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd");
- if(fixasetcd.length == 0) fixasetcd = (cmb_goodflag.value + cmb_lrgcd.value + cmb_mdlcd.value) + "0001";
-
- }
- if (pCls == "C") {
- model.setValue(ipt_fixasetcd_copy.attribute("ref"), fixasetcd);
- } else {
- model.setValue(ipt_fixasetcd.attribute("ref"), fixasetcd);
- }
- model.refresh();
- }
-
- function fGoodCdCopy1(pCls)
- {
- var lrgcd = getCurrentDate().substr(0,2);
- var mdlcd = getCurrentDate().substr(2, 2);
- var smlcd = getCurrentDate().substr(4, 2);
- model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(cmb_goodflag.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/lrgcd", lrgcd);
- model.setValue("/root/send/fixasetcopy/mdlcd", mdlcd);
-
- submit("TRRFC00301");
-
- var fixasetcd = model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd");
-
- if(fixasetcd.length == 0){
- fixasetcd = (cmb_goodflag.value + cmb_lrgcd.value + cmb_mdlcd.value) + "0001";
- }else{
- fixasetcd = fixasetcd.substr(0,6) + smlcd + fixasetcd.substr(8,5);
- }
- model.refresh();
- }
-
- function fSettingSaveInData()
- {
- for(var liRow = grd_fixasetlist.fixedRows; liRow < grd_fixasetlist.rows ; liRow++)
- {
- model.setValue(grd_fixasetlist.nodeset + "[" + (liRow - grd_fixasetlist.fixedRows + 1) + "]/tempmngtdeptcd" , model.getValue(ipt_tempmngtdeptcd.attribute("ref")));
- }
- }
-
- function fSearchInfo() {
- //model.removeNodeset("/root/init/lmsflag");
-
- /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
- // misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
- //
- // var updtdata = getGridUpdateData(grd_fixasettmplist);
- // if ( updtdata != "")
- // {
- // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- //
- // if( ret == 6)
- // {
- // if(grd_fixasetlist.rowStatus(grd_fixasetlist.rows - grd_fixasetlist.fixedRows) == 1){
- // grd_fixasetlist.deleteRow(grd_fixasetlist.rows - grd_fixasetlist.fixedRows);
- // }
- // }
- // else if (ret == 7) { // not OK
- // grd_fixasetlist.row= model.getValue("/root/send/tmpnode/tmpfixasetnode");
- // return;
- // }
- // }
-
- var fInstcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("instcd"));
- var fFixasetcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd"));
-
- model.setValue("/root/send/instcd", fInstcd);
- model.setValue("/root/send/fixasetcd", fFixasetcd);
-
- var dsplflag = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("dsplflag"));
-
- preDsplflag = dsplflag;
- if (dsplflag == "1" || dsplflag == "2" || dsplflag == "3") {
- //grp_detail.disabled = true;
- fAllControlDisabled(true);
- btn_save.disabled = true;
-
- cmb_dsplflag.disabled = true;
- } else {
- //grp_detail.disabled= false;
- fAllControlDisabled(false);
- btn_save.disabled = false;
-
- if((dsplflag == "0" || dsplflag == "4") && getUserInfo("dutplcecd") == "4090500000") {
- cmb_dsplflag.disabled = false;
- } else {
- cmb_dsplflag.disabled = true;
- }
- }
- btn_chksrch.disabled = true;
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
-
- submit("TRRFC00203");
-
- if(fInstcd == "" && fFixasetcd == "")
- {
- misfGridIUD(grd_fixasettmplist, "A");
- }
-
- grd_fixasettmplist.row = 1;
-
- model.copyNode("/root/main/fixasetdet/fixasettmplist", "/root/main/list/fixasetdet/fixasettmplist");
- fMakeNode();
-
- //fAllControlDisabled("true");
-
- cmb_instcd.disabled = true;
-
- submit("TRRFC00205");
- submit("TRRFC00206");
- submit("TRRFC00207");
-
- model.makeNode("/root/main/fixasetdet/fixasettmplist/flwgrntterm");
- model.setValue("/root/send/tmpnode/tmpfixasetnode", grd_fixasetlist.row);
- grd_fixasetlist.dispatch("onmouseup");
- cmb_lrgcd.dispatch("xforms-value-changed");
-
- // 마스터에 공급처 전화번호 정보없을경우 거래처 정보에서 전화번호 복사함. A/S 거래처 정보 없을경우 공급처 정보 복사. 거래처명만 있고 전화번호가 없을경우 거래처 정보에서 복사
- if(model.getValue("/root/main/fixasetdet/fixasettmplist/suplcntctel") == "")
- {
- model.setValue("/root/main/fixasetdet/fixasettmplist/suplcntctel", model.getValue("/root/main/fixasetdet/fixasettmplist/suplplcetel"));
- }
- if(model.getValue("/root/main/fixasetdet/fixasettmplist/agency") == "")
- {
- model.setValue("/root/main/fixasetdet/fixasettmplist/agency", model.getValue("/root/main/fixasetdet/fixasettmplist/suplplcenm"));
- model.setValue("/root/main/fixasetdet/fixasettmplist/agencycntctel", model.getValue("/root/main/fixasetdet/fixasettmplist/suplcntctel"));
- }
- if(model.getValue("/root/main/fixasetdet/fixasettmplist/agency") != "" && model.getValue("/root/main/fixasetdet/fixasettmplist/agencycntctel") == "")
- {
- model.setValue("/root/main/fixasetdet/fixasettmplist/agencycntctel", model.getValue("/root/main/fixasetdet/fixasettmplist/suppcusttel"));
- }
- // 첨부이미지,파일 카운터 조회
- fRefreshAttFileCount();
-
- //임차장비 정리
- var acqtflag = model.getValue("/root/main/fixasetdet/fixasettmplist/acqtflag");
- var delivetermmm = model.getValue("/root/main/fixasetdet/fixasettmplist/delivetermmm");
- // alert(acqtflag);
- // alert(delivetermmm);
- if (acqtflag == "3" && delivetermmm != ""){ //도입구분이 임대, 계약만료일 있을경우
- btn_update.visible = true;
- }else{
- btn_update.visible = false;
- }
- model.refresh();
- }
-
- function fRefreshAttFileCount() {
- //<submission id="TRRFC01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/fixasetdet/fixasettmplist" resultref="/root/temp/attfilecount"/>
- asyncSend("TRRFC01103", "/root/main/list/fixasetdet/fixasettmplist", "/root/temp/attfilecount", "responseHandlerTRRFC01103");
- }
-
- function responseHandlerTRRFC01103(submitUUID, response, responseType) {
- // 서버에서 전달된 결과를 instance에 맵핑
- //defualtResponseHandler(submitUUID, response, responseType);
- var img_cnt = model.getValue("/root/temp/attfilecount/img_cnt");
- var attfile_cnt = model.getValue("/root/temp/attfilecount/attfile_cnt");
-
-
- btn_image.text = "이미지 [" + img_cnt + "]";
- btn_image.refresh();
- btn_attach.text = "첨부파일 [" + attfile_cnt + "]";
- btn_attach.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1250" pageheight="850" guideline="1,-2;1,1199;2,782;1,479;2,848;2,856;2,835;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:27px; ">
- <input id="ipt_purcdmnddd" ref="/root/main/fixasetdet/fixasettmplist/purcdmnddd" visibility="hidden" style="left:215px; top:3px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_purcdmndno" ref="/root/main/fixasetdet/fixasettmplist/purcdmndno" visibility="hidden" style="left:315px; top:3px; width:55px; height:19px; text-align:center; "/>
- <input id="ipt_purcdmndseq" ref="/root/main/fixasetdet/fixasettmplist/purcdmndseq" visibility="hidden" style="left:375px; top:3px; width:50px; height:19px; text-align:center; "/>
- <button id="btn_print" class="btn3_letter2" navindex="97" visibility="hidden" style="left:155px; top:0px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="101" style="left:1119px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send");
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="100" style="left:1061px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grwlow= grd_fixasetlist.row;
- /* 보수계약정보 */
- if(!checkKeyColumn("grd_rfchmandlist")) return;
-
- /* 구성품,소모품 */
- if(!checkKeyColumn("grd_comps")) return;
-
- /* 새로운 데이터를 입력시 */
- if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 1)
- {
- if(!isRequiredControls("ipt_fixasetcd")) return;
- if(!isRequiredControls("cmb_instcd")) return;
- if(!isRequiredControls("cmb_goodflag")) return;
- if(!isRequiredControls("ipt_goodflaghngnm")) return;
- if(!isRequiredControls("ipt_installplcecd")) return;
- model.makeNode("/root/main/list/fixasetdet/fixasettmplist");
- model.copyNode("/root/main/list/fixasetdet/fixasettmplist", "/root/main/fixasetdet/fixasettmplist");
- model.refresh();
- grd_fixasettmplist.rowStatus(grd_fixasettmplist.fixedRows) = "1"
- misfSave("TXRFC00204");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
- model.setValue(ipt_mngtdeptcd_search.attribute("ref") , model.getValue(ipt_mngtdeptcd.attribute("ref")));
- model.setValue(ipt_deptnm_search.attribute("ref") , model.getValue(ipt_mngtdeptnm.attribute("ref")));
- model.setValue(ipt_goodnm_search.attribute("ref") , model.getValue(ipt_goodflagengnm.attribute("ref")));
- model.setValue(cmb_lrgcd_search.attribute("ref") , model.getValue(cmb_lrgcd.attribute("ref")));
- cmb_lrgcd_search.dispatch("xforms-value-changed");
- model.setValue(cmb_mdlcd_search.attribute("ref") , model.getValue(cmb_mdlcd.attribute("ref")));
- btn_search.dispatch("DOMActivate");
- }
- }
-
- /* 조회된 데이터를 수정 할때 */
- else if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 0)
- {
- misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
- model.refresh();
-
- misfSave("TXRFC00204");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ) btn_search.dispatch("DOMActivate");
- }
- // grd_fixasetlist.dispatch("onrowchanged");
- model.refresh()
- ]]>
- </script>
- </button>
- <line id="line14" class="line_2" style="x1:0; y1:25; x2:1194; y2:25; "/>
- <button id="button8" class="btn4_letter6" navindex="102" visibility="visible" style="left:950px; top:3px; width:104px; height:22px; ">
- <caption>거래처 관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modalUrl("../../../mis/acntbaseinfoweb/xrw/SMRAC00600_거래처관리.xrw", 1, 0, 0, "", "", "");
- ]]>
- </script>
- </button>
- <caption id="caption30" class="search_name" style="left:800px; top:5px; width:89px; height:17px; ">자산수량 :</caption>
- <button id="button5" class="btn4_letter4" navindex="98" visibility="hidden" style="left:630px; top:3px; width:80px; height:22px; ">
- <caption>입고생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (model.getValue(grd_fixasettmplist.nodeset+"[" + 1 + "]/winno") != "") {
- messageBox("이미 입고된 자료입니다. 확인해주시기 바랍니다.", "E");
- return;
- }
- grd_fixasettmplist.rowStatus(1) = "1";
- model.makeValue("/root/send/fixaset/fixasettmplist", getGridUpdateData(grd_fixasettmplist));
- if(submit("TXRFC00205")) {
- messageBox("입고생성이 완료되었습니다.", "I");
- grd_fixasetlist.dispatch("onrowchanged");
- }
- //grd_fixasetlist.gridToInstance();
- model.refresh()
- ]]>
- </script>
- </button>
- <input id="ipt_fixasetcdcnt" ref="/root/main/fixasetdet/fixasettmplist/fixasetcdcnt" class="input_default" navindex="99" appearance="input" style="left:895px; top:3px; width:50px; height:19px; text-align:right; "/>
- <button id="btn_chksrch" class="btn4_letter4" disabled="true" navindex="18" visibility="visible" style="left:715px; top:3px; width:80px; height:22px; ">
- <caption>검수내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- modal("SPRFC01000");
-
- if (getParameter("para_closeyn") != ""){
-
- model.setValue(ipt_goodflaghngnm.attribute("ref") , getParameter("para_goodnm" ));
- model.setValue(ipt_goodflagengnm.attribute("ref") , getParameter("para_goodnm" ));
- model.setValue(ipt_goodspec.attribute("ref") , getParameter("para_goodspect" ));
- model.setValue(ipt_cntrdeptcd.attribute("ref") , getParameter("para_cntrdeptcd" ));
- model.setValue(ipt_cntrdeptnm.attribute("ref") , getParameter("para_cntrdeptnm" ));
- model.setValue(ipt_mngtdeptcd.attribute("ref") , getParameter("para_mngtdeptcd" ));
- model.setValue(ipt_mngtdeptnm.attribute("ref") , getParameter("para_mngtdeptnm" ));
- model.setValue(ipt_tempmngtdeptcd.attribute("ref") , getParameter("para_tempmngtdeptcd"));
- model.setValue(ipt_tempmngtdeptnm.attribute("ref") , getParameter("para_tempmngtdeptnm"));
- model.setValue(ipt_installplcecd.attribute("ref") , getParameter("para_installplcecd" ));
- model.setValue(ipt_installplcenm.attribute("ref") , getParameter("para_installplcenm" ));
- model.setValue(ipt_suplplcecd.attribute("ref") , getParameter("para_suplplcecd" ));
- model.setValue(ipt_suplplcenm.attribute("ref") , getParameter("para_suplplcenm" ));
- model.setValue(ipt_acntcd.attribute("ref") , getParameter("para_acntcd" ));
- model.setValue(ipt_acntnm.attribute("ref") , getParameter("para_acntnm" ));
- model.setValue(ipt_amtacnt.attribute("ref") , getParameter("para_amtacnt" ));
- model.setValue(ipt_amtacntnm.attribute("ref") , getParameter("para_amtacntnm" ));
- model.setValue(ipt_fixasetunit.attribute("ref") , getParameter("para_fixasetunit" ));
- model.setValue(ipt_possnamt.attribute("ref") , getParameter("para_possnamt" ));
-
- model.makeValue(ipt_purcdmnddd.attribute("ref") , getParameter("para_purcdmnddd" ));
- model.makeValue(ipt_purcdmndno.attribute("ref") , getParameter("para_purcdmndno" ));
- model.makeValue(ipt_purcdmndseq.attribute("ref") , getParameter("para_purcdmndseq" ));
- model.makeValue(ipt_fixasetcdcnt.attribute("ref") , getParameter("para_fixasetcdcnt" ));
- model.makeValue(ipt_possndd.attribute("ref") , getParameter("para_purcchkdd" ));
- model.makeValue(ipt_chkdd.attribute("ref") , getParameter("para_purcchkdd" ));
- model.makeValue(ipt_condd.attribute("ref") , getParameter("para_purccondd" ));
- model.makeValue(ipt_repayappdd.attribute("ref") , getParameter("para_purcchkdd" ));
-
- model.makeValue(ipt_conno.attribute("ref") , getParameter("para_purcconno" ));
- model.makeValue(ipt_conseq.attribute("ref") , getParameter("para_purcconseq" ));
- model.makeValue(ipt_notino.attribute("ref") , getParameter("para_notino" ));
- model.makeValue(ipt_notifullnm.attribute("ref") , getParameter("para_notifullnm" ));
- model.makeValue(ipt_prenotifulldd.attribute("ref") , getParameter("para_prenotifulldd" ));
- // model.makeValue(ipt_preamt.attribute("ref") , getParameter("para_preamt" ));
- // model.makeValue(ipt_preamtunit.attribute("ref") , getParameter("para_preamtunit"));
- model.makeValue(ipt_notifullno.attribute("ref") , getParameter("para_notifullno" ));
- }
- model.refresh()
- ]]>
- </script>
- </button>
- <button id="btn_rent" class="btn4_letter4" navindex="18" visibility="visible" style="left:490px; top:3px; width:80px; height:22px; ">
- <caption>임차내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- modal("SPRFC00203");
-
- var fixasetcd = model.getValue("/root/copynode/para_fixasetcd");
- var closeyn = model.getValue("/root/copynode/para_closeyn");
-
- btn_init.dispatch("DOMActivate"); //초기화
- if (closeyn != ""){
- model.setValue(ipt_fixasetcd_search.attribute("ref") , fixasetcd);
- }
- if(fixasetcd != ""){
- model.setValue("/root/send/fixasetlist/scrnid", "SMRFC00200");
- btn_search.dispatch("DOMActivate");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_update" class="btn3_letter2" navindex="18" visibility="hidden" style="left:570px; top:3px; width:56px; height:22px; ">
- <caption>정리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TXRFC00207")) {
- messageBox("임차장비가 정리되었습니다.", "I");
- btn_init.dispatch("DOMActivate"); //초기화
- }
-
- model.refresh()
- ]]>
- </script>
- </button>
- <input id="ipt_conseq" ref="/root/main/fixasetdet/fixasettmplist/conseq" visibility="hidden" style="left:430px; top:5px; width:50px; height:19px; text-align:center; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:25px; width:1195px; height:756px; ">
- <input id="ipt_prodcmpy" ref="/root/main/fixasetdet/fixasettmplist/prodcmpy" visibility="hidden" style="left:420px; top:270px; width:38px; height:19px; "/>
- <caption id="caption1" visibility="hidden" style="left:315px; top:270px; width:108px; height:20px; ">제조회사코드(히든)</caption>
- <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" scroll="auto" caption="기관코드^자산코드^자산명(한)^자산명(영)^규 격 ^취득금액^입고계정코드^입고계정명^제조회사^제조국^공급처명^메인장비^취득일자^사용부서^설치장소^관리부서^S/N^허가번호^분류등급^구성품유무^관리등급^보사부코드^심평원등록대상^부서변경^관리부서코드^공급처코드^비고^처분구분^고유목적 사업자산여부^국고보조금여부^비용계정코드^비용계정^식약처형명^fixasetcdcnt^복지부코드^예방점검여부^제조년월^계약일자^계약번호^계약순번^공고번호^입찰공고명^입찰공고일^입찰일^ ^^" colsep="^" colwidth="29, 105, 176, 176, 129, 100, 80, 100, 80, 80, 90, 76, 90, 90, 90, 80, 80, 80, 80, 80, 75, 70, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 80, 100,100,100,100,100,100,100,100,100,100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="21" style="left:0px; top:335px; width:480px; height:421px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodflaghngnm" style="text-align:left; padding-left:5; "/>
- <col ref="goodflagengnm" style="text-align:left; padding-left:5; ">
- <![CDATA[리정]]>
- </col>
- <col ref="goodspec" visibility="visible" style="left:325px; top:23px; width:129px; height:23px; text-align:left; padding-left:5; "/>
- <col ref="possnamt" format="#,###" style="text-align:center; "/>
- <col ref="acntcd" style="text-align:center; "/>
- <col ref="acntnm" style="text-align:center; "/>
- <col ref="prodcmpynm"/>
- <col ref="prodplcenm" style="text-align:center; "/>
- <col ref="suplplcenm"/>
- <col ref="maineqmt" visibility="hidden"/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="mngtdeptnm"/>
- <col ref="installplcenm"/>
- <col ref="tempmngtdeptnm"/>
- <col ref="mngtno"/>
- <col ref="incmpemtno"/>
- <col ref="mtlmngtno"/>
- <col ref="chkcnt" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="mngtgrade" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="welfcd"/>
- <col ref="lonno"/>
- <col checkvalue="Y,N" ref="chk" type="checkbox" visibility="hidden"/>
- <col ref="tempmngtdeptcd" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="cmt"/>
- <col ref="dsplflag" visibility="hidden"/>
- <col ref="entrasetyn" visibility="hidden"/>
- <col ref="ntsubsidyyn" visibility="hidden"/>
- <col ref="amtacnt"/>
- <col ref="amtacntnm"/>
- <col ref="mfdsnm"/>
- <col ref="fixasetcdcnt" visibility="hidden"/>
- <col ref="welfcd" visibility="hidden"/>
- <col ref="prvnchkyn" visibility="hidden" style="text-align:center; "/>
- <col ref="proddd" visibility="hidden" style="text-align:center; "/>
- <col ref="condd" visibility="hidden"/>
- <col ref="conno" visibility="hidden"/>
- <col ref="conseq" visibility="hidden"/>
- <col ref="notino" visibility="hidden"/>
- <col ref="notifullnm" visibility="hidden"/>
- <col ref="prenotifulldd" visibility="hidden"/>
- <col ref="notifullno" visibility="hidden"/>
- <col ref="preamt" visibility="hidden"/>
- <col ref="preamtunit" visibility="hidden"/>
- <col ref="costdeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_vFlag.value = "Y";
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if (ipt_vFlag.value == "" && false) {
- fSearchInfo();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (ipt_vFlag.value == "") {
- fSearchInfo();
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_detail" scroll="auto" style="left:485px; top:10px; width:705px; height:746px; ">
- <input id="ipt_goodmodel" ref="/root/main/fixasetdet/fixasettmplist/goodmodel" class="input_default" visibility="hidden" appearance="input" style="left:442px; top:25px; width:155px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:46px; x2:704px; y2:46px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:94px; x2:704px; y2:94px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:22px; x2:704px; y2:22px; "/>
- <line id="line19" class="line_2" style="x1:0px; y1:70px; x2:704px; y2:70px; "/>
- <line id="line21" class="line_2" style="x1:0px; y1:142px; x2:704px; y2:142px; "/>
- <line id="line22" class="line_2" style="x1:0px; y1:118px; x2:704px; y2:118px; "/>
- <line id="line24" class="line_2" style="x1:0px; y1:166px; x2:704px; y2:166px; "/>
- <line id="line30" class="line_2" style="x1:0px; y1:334px; x2:704px; y2:334px; "/>
- <line id="line33" class="line_2" style="x1:0px; y1:262px; x2:704px; y2:262px; "/>
- <line id="line36" class="line_2" style="x1:0px; y1:190px; x2:704px; y2:190px; "/>
- <line id="line37" class="line_2" style="x1:0px; y1:238px; x2:704px; y2:238px; "/>
- <caption id="cap_installplcecd" class="cell_1" visibility="visible" style="left:0px; top:504px; width:90px; height:23px; vertical-align:middle; ">설치장소</caption>
- <input id="ipt_installplcecd" ref="/root/main/fixasetdet/fixasettmplist/installplcecd" class="input_essential" navindex="84" visibility="visible" appearance="input" style="left:92px; top:505px; width:98px; 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",
- "deptcd," + ipt_installplcecd.value, "", "installplcecd,installplcenm",
- ipt_installplcecd, "PPRAC00700", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_installplcecd" class="icon_search" navindex="-1" visibility="visible" style="left:193px; top:505px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_installplcecd,"", "installplcecd,installplcenm", model.getValue(cmb_instcd_search.attribute("ref")),"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_installplcenm" ref="/root/main/fixasetdet/fixasettmplist/installplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:210px; top:505px; width:139px; height:19px; "/>
- <line id="line38" class="line_2" style="x1:0px; y1:310px; x2:704px; y2:310px; "/>
- <line id="line39" class="line_2" style="x1:0px; y1:286px; x2:704px; y2:286px; "/>
- <line id="line40" class="line_2" style="x1:0px; y1:406px; x2:704px; y2:406px; "/>
- <line id="line41" class="line_2" style="x1:0px; y1:430px; x2:704px; y2:430px; "/>
- <caption id="cap_repayenddd" class="cell_1" style="left:0px; top:456px; width:90px; height:23px; vertical-align:middle; ">완료일자</caption>
- <input id="ipt_repayenddd" ref="/root/main/fixasetdet/fixasettmplist/repayenddd" class="input_default" navindex="62" inputtype="date" style="left:92px; top:457px; width:138px; height:19px; "/>
- <line id="line42" class="line_2" style="x1:0px; y1:478px; x2:704px; y2:478px; "/>
- <caption id="cap_repaymthd" class="cell_1" style="left:235px; top:432px; width:90px; height:23px; vertical-align:middle; ">상각방법</caption>
- <caption id="cap_cntsyearno" class="cell_1" style="left:235px; top:456px; width:90px; height:23px; vertical-align:middle; ">내용년수</caption>
- <line id="line43" class="line_2" style="x1:0px; y1:454px; x2:704px; y2:454px; "/>
- <line id="line44" class="line_2" style="x1:339px; y1:382px; x2:704px; y2:382px; "/>
- <input id="ipt_agency" ref="/root/main/fixasetdet/fixasettmplist/agency" class="input_default" navindex="77" style="left:562px; top:337px; width:138px; height:19px; "/>
- <input id="ipt_agencycntctel" ref="/root/main/fixasetdet/fixasettmplist/agencycntctel" class="input_default" navindex="79" style="left:562px; top:386px; width:138px; height:19px; "/>
- <caption id="cap_agency" class="cell_1" style="left:470px; top:336px; width:90px; height:23px; vertical-align:middle; ">A/S대리점</caption>
- <caption id="cap_agencycntctel" class="cell_1" style="left:470px; top:384px; width:90px; height:23px; vertical-align:middle; ">A/S연락처</caption>
- <select1 id="rdo_prvnchkyn" ref="/root/main/fixasetdet/fixasettmplist/prvnchkyn" navindex="78" appearance="full" cols="2" overflow="visible" style="left:562px; top:361px; width:138px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_delrow_" class="btn2_letter3" navindex="95" style="left:647px; top:608px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_rfchmandlist.selected == true)
- {
- misfGridIUD(grd_rfchmandlist, "D");
- model.refresh();
- return;
- }
- else if(btn_comps.selected == true)
- {
- misfGridIUD(grd_comps, "D");
- model.refresh();
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_addrow_" class="btn2_letter3" navindex="94" style="left:591px; top:608px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(btn_rfchmandlist.selected == true)
- {
- misfGridIUD(grd_rfchmandlist, "A");
-
- var cur_row = grd_rfchmandlist.row;
-
- //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
- model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
- model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
-
- model.refresh();
- return;
- }
- else if(btn_comps.selected == true)
- {
-
- misfGridIUD(grd_comps, "A");
-
- var cur_row = grd_comps.row;
-
- //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
- model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
- model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
-
- model.refresh();
- return;
- }
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:625px; width:700px; height:105px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1">
- <datagrid id="grd_rfchmandlist" nodeset="/root/main/list/rfchmandlist" caption="계약기간^계약기간^계약금액^계약처^계약처^계약사항^대리점^대리점역락처^기관코드^자산코드" colsep="^" colwidth="92, 76, 82, 90, 89, 179, 90, 90, 100, 100" dataheight="60" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:5px; width:696px; height:120px; ">
- <col class="input_essential" ref="rpirconfromdd" type="inputdate" format="yyyy-mm-dd" _key="true"/>
- <col ref="rpircontodd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="conamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="suplplcecd" type="inputbutton"/>
- <col ref="suplplcenm" type="input"/>
- <col ref="concond" type="input"/>
- <col ref="agency" type="input"/>
- <col ref="agencycntctel" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd")) {//물품코드 버튼을 눌렀을 때
- rszfOpenPopUpListByWndName(grd_rfchmandlist,"",
- "suplplcecd,suplplcenm","SPRSD00220","instcd,goodflag",
- "cmb_instcd_search,cmb_goodflag_search","Y");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcenm") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length> 0)
- {
- if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length == 0)
- grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")) = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "custnm," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")), "", "suplplcecd,suplplcenm",
- grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
- }
- else if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length> 0)
- {
- if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length == 0)
- grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")) = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "entrregno," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")), "", "suplplcecd,suplplcenm",
- grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line45" class="line_1" style="x1:0px; y1:2px; x2:696px; y2:2px; "/>
- </case>
- <case id="case2">
- <line id="line46" class="line_1" style="x1:0px; y1:2px; x2:690px; y2:2px; "/>
- <line id="line47" class="line_2" style="x1:0px; y1:53px; x2:690px; y2:53px; "/>
- <line id="line48" class="line_2" style="x1:0px; y1:29px; x2:690px; y2:29px; "/>
- <caption id="cap_hsno" class="cell_1" style="left:0px; top:7px; width:85px; height:23px; vertical-align:middle; ">H.S NO</caption>
- <caption id="cap_judgamt" class="cell_1" style="left:0px; top:31px; width:85px; height:23px; vertical-align:middle; ">과세표준액</caption>
- <caption id="cap_custms" class="cell_1" style="left:172px; top:31px; width:85px; height:23px; vertical-align:middle; ">관세</caption>
- <input id="ipt_custms" ref="/root/main/fixasetdet/rfcdincmlist/custms" class="input_default" style="left:260px; top:32px; width:87px; height:19px; "/>
- <input id="ipt_hsno" ref="/root/main/fixasetdet/rfcdincmlist/hsno" class="input_default" style="left:87px; top:7px; width:83px; height:19px; "/>
- <input id="ipt_custmsreductamt" ref="/root/main/fixasetdet/rfcdincmlist/custmsreductamt" class="input_default" style="left:260px; top:56px; width:87px; height:19px; "/>
- <input id="ipt_redurate" ref="/root/main/fixasetdet/rfcdincmlist/redurate" class="input_default" style="left:87px; top:56px; width:83px; height:19px; "/>
- <caption id="cap_lcno" class="cell_1" style="left:172px; top:7px; width:85px; height:23px; vertical-align:middle; ">LC / NO</caption>
- <input id="ipt_lcno" ref="/root/main/fixasetdet/rfcdincmlist/lcno" class="input_default" style="left:260px; top:7px; width:87px; height:19px; "/>
- <caption id="cap_addtax" class="cell_1" style="left:350px; top:31px; width:85px; height:23px; vertical-align:middle; ">부가세</caption>
- <input id="ipt_incmreptno" ref="/root/main/fixasetdet/rfcdincmlist/incmreptno" class="input_default" style="left:87px; top:80px; width:83px; height:19px; "/>
- <line id="line49" class="line_2" style="x1:2px; y1:101px; x2:692px; y2:101px; "/>
- <caption id="cap_incmreptdd" class="cell_1" style="left:172px; top:79px; width:85px; height:23px; vertical-align:middle; ">수입신고일</caption>
- <line id="line50" class="line_3" style="x1:0px; y1:127px; x2:690px; y2:127px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:103px; width:85px; height:23px; vertical-align:middle; ">비고</caption>
- <caption id="cap_aftmngtdd" class="cell_1" style="left:350px; top:79px; width:85px; height:23px; vertical-align:middle; ">사후관리일자</caption>
- <caption id="cap_incmreptno" class="cell_1" style="left:0px; top:79px; width:85px; height:23px; vertical-align:middle; ">수입신고번호</caption>
- <input id="ipt_incmreptdd" ref="/root/main/fixasetdet/rfcdincmlist/incmreptdd" class="input_default" inputtype="date" appearance="input" style="left:260px; top:80px; width:87px; height:19px; "/>
- <line id="line51" class="line_2" style="x1:0px; y1:77px; x2:690px; y2:77px; "/>
- <caption id="cap_redurate" class="cell_1" style="left:0px; top:55px; width:85px; height:23px; vertical-align:middle; ">감면율</caption>
- <caption id="cap_custmsreductamt" class="cell_1" style="left:172px; top:55px; width:85px; height:23px; vertical-align:middle; ">관세감면액</caption>
- <caption id="cap_addtaxcutamt" class="cell_1" style="left:350px; top:55px; width:85px; height:23px; vertical-align:middle; ">부가세감면액</caption>
- <input id="ipt_judgamt" ref="/root/main/fixasetdet/rfcdincmlist/judgamt" class="input_default" style="left:87px; top:32px; width:83px; height:19px; "/>
- <input id="ipt_aftmngtdd1" ref="/root/main/fixasetdet/rfcdincmlist/aftmngtdd1" class="input_default" inputtype="date" style="left:437px; top:80px; width:120px; height:19px; "/>
- <input id="ipt_addtaxcutamt" ref="/root/main/fixasetdet/rfcdincmlist/addtaxcutamt" class="input_default" style="left:437px; top:56px; width:82px; height:19px; "/>
- <input id="ipt_addtax" ref="/root/main/fixasetdet/rfcdincmlist/addtax" class="input_default" style="left:437px; top:32px; width:82px; height:19px; "/>
- <caption id="cap_blno" class="cell_1" style="left:350px; top:7px; width:85px; height:23px; vertical-align:middle; ">BL / NO</caption>
- <input id="ipt_blno" ref="/root/main/fixasetdet/rfcdincmlist/blno" class="input_default" style="left:437px; top:7px; width:82px; height:19px; "/>
- <caption id="cap_sumtaxamt" class="cell_1" style="left:523px; top:31px; width:85px; height:23px; vertical-align:middle; ">세액합계</caption>
- <caption id="cap_sumdistaxamt" class="cell_1" style="left:523px; top:55px; width:85px; height:23px; vertical-align:middle; ">감면세액합계</caption>
- <caption id="cap_scthouscd" class="cell_1" style="left:523px; top:7px; width:85px; height:23px; vertical-align:middle; ">세관명칭</caption>
- <input id="ipt_aftmngtdd2" ref="/root/main/fixasetdet/rfcdincmlist/aftmngtdd2" class="input_default" inputtype="date" style="left:560px; top:80px; width:130px; height:19px; "/>
- <input id="ipt_sumdistaxamt" ref="/root/main/fixasetdet/rfcdincmlist/sumdistaxamt" class="input_default" style="left:610px; top:55px; width:80px; height:19px; "/>
- <input id="ipt_sumtaxamt" ref="/root/main/fixasetdet/rfcdincmlist/sumtaxamt" class="input_default" style="left:610px; top:31px; width:80px; height:19px; "/>
- <input id="ipt_scthous" ref="/root/main/fixasetdet/rfcdincmlist/scthous" class="input_default" style="left:610px; top:7px; width:80px; height:19px; "/>
- <input id="ipt_listcmt" ref="/root/main/fixasetdet/rfcdincmlist/cmt" disabled="true" style="left:87px; top:104px; width:603px; height:19px; "/>
- </case>
- <case id="case3" selected="true" style="left:0px; top:0px; width:698px; height:129px; ">
- <datagrid id="grd_comps" nodeset="/root/main/list/compslist" caption="순번^품명^모델^수량^단가^거래처명^S/N^품명_old^비고^기관코드^고정자산코드" colsep="^" colwidth="46, 196, 75, 45, 70, 115, 102, 100, 100, 100, 100, 100" dataheight="25" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" navindex="96" style="left:0px; top:5px; width:696px; height:105px; text-align:center; ">
- <col ref="rpirgoodcd"/>
- <col ref="prid" type="input"/>
- <col ref="rpirgoodmodel" type="input"/>
- <col ref="rpiruseqty" type="input"/>
- <col ref="rpiramt" type="input" format="#,###"/>
- <col ref="pririnnatiagtplcenm" type="inputbutton" style="left:767px; top:23px; width:130px; height:23px; "/>
- <col ref="prirmngtno" type="input"/>
- <col ref="goodnm" type="input" visibility="hidden"/>
- <col ref="cmt" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="pririnnatiagtplce" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_comps.col == grd_comps.colRef("goodcd")) {//물품코드 버튼을 눌렀을 때
-
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- rszfOpenPopUpListByWndName(grd_comps,"",
- "goodcd,goodnm,goodspec,purcunit","SPRSD00190",
- "instcd,goodflag","cmb_instcd_search,B", "Y");
-
- var cur_row = grd_comps.row;
-
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
-
- setCSVToNode("/root/copynode", CSV, "compslist");
-
- fSettingGoodList("/root/copynode", "compslist");
- }
- else if (grd_comps.col == grd_comps.colRef("pririnnatiagtplcenm")) {// 그리드 제조회사명 클릭
- rszfOpenPopUpListByWndName(grd_comps,"","pririnnatiagtplce,pririnnatiagtplcenm","SPRSD00220","instcd","cmb_instcd_search");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_comps.col == grd_comps.colRef("goodnm") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodnm")).length> 0)
- {
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodnm,goodflag",
- "goodnm," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodnm"))+ ",B",
- "", "goodcd,goodnm,goodspec,purcunit",
- grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
-
- // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
-
- setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
-
- fSettingGoodList("/root/copynode", "goodbaseqtylist");
- }
- else if(grd_comps.col == grd_comps.colRef("goodcd") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodcd")).length> 0)
- {
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodcd,goodflag",
- "goodcd," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodcd"))+ ",B",
- "", "goodcd,goodnm,goodspec,purcunit",
- grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
-
- // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
-
- setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
-
- fSettingGoodList("/root/copynode", "goodbaseqtylist");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line52" class="line_1" style="x1:0px; y1:2px; x2:696px; y2:2px; "/>
- </case>
- </switch>
- <button id="btn_rfchmandlist" class="btn_sw" group="tab" style="left:130px; top:606px; width:84px; height:22px; ">
- <caption>보수계약정보</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <caption id="cap_prvnchkyn" class="cell_1" style="left:470px; top:360px; width:90px; height:23px; vertical-align:middle; ">예방점검여부</caption>
- <input id="ipt_smplce" ref="/root/main/fixasetdet/fixasettmplist/smplce" class="input_default" navindex="76" style="left:562px; top:313px; width:138px; height:19px; "/>
- <button id="btn_image" class="btn2_letter5" navindex="90" style="left:228px; top:607px; width:75px; height:19px; ">
- <caption>이미지 [0]</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
- //window.load("SPRSC00201_이미지.xrw","modeless", "SPRSC00201_이미지.xrw", "width:330px; height:390;min:hidden;max:hidden;align:center", "" ,"");
-
- // rszfOpenPopUpListByWndName(grd_rfehdabplist,"","acsrscd,acsrsnm,acsrsspec,acsrsqty,acsrsunit,acsrsamt","SPRSD00190","instcd,goodflag","cmb_instcd,B");
- // modal("SPRSC00201_이미지.xrw", "", "500", "300", "popup", "/root/temp", "/root/temp");
-
- // 이미지 저장
- /* goodcd : 물품코드
- 물품코드를 PopUp창인 SPRSC00201 에 넘겨주면 이 물품코드에 대한 이미지를 저장및 변경 삭제가 가능함.
- (단. 물품코드를 넘겨줄 노드명은 goodcd로 넘겨줘야함!! - 필수 사항. )
- */
- if(grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd")) != ""){
- rszfOpenPopUpListByWndName(grd_fixasetlist,"","","SPRSC00201_이미지.xrw","goodcd", grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd")) );
-
- // 첨부이미지,파일 카운터 조회
- fRefreshAttFileCount();
- }else{
- messageBox("자산을", "C002");
- }
- ]]>
- </script>
- </button>
- <button id="btn_set" class="btn2_letter3" navindex="91" style="left:406px; top:607px; width:53px; height:19px; ">
- <caption>소모품</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
- //window.load("SPRSC00211_ALLSIZE.xrw","modeless", "SPRSC00211_ALLSIZE.xrw", "width:810px; height:730;min:hidden;max:hidden;align:center", "" ,"");
- modal("SMRFE00100","","","","popup", "/root/main/fixasetdet/fixasettmplist" ,"/root/temp");
- ]]>
- </script>
- </button>
- <button id="btn_chnghist" class="btn2_letter4" navindex="92" style="left:462px; top:607px; width:64px; height:19px; ">
- <caption>변동이력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
- //window.load("SPRSC00211_ALLSIZE.xrw","modeless", "SPRSC00211_ALLSIZE.xrw", "width:810px; height:730;min:hidden;max:hidden;align:center", "" ,"");
- modal("SMRFE00200_자산변동사항관리","20","20","","popup", "/root/main/fixasetdet/fixasettmplist" ,"/root/temp");
- grd_fixasetlist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <caption id="cap_smplce" class="cell_1" style="left:470px; top:312px; width:90px; height:23px; vertical-align:middle; ">매뉴얼장소</caption>
- <caption id="cap_repaybal" class="cell_1" visibility="hidden" style="left:385px; top:590px; width:75px; height:23px; vertical-align:middle; ">상각후잔액</caption>
- <input id="ipt_repaybal" ref="/root/main/fixasetdet/fixasettmplist/repaybal" class="input_default" navindex="82" visibility="hidden" editable="false" format="#,###" appearance="input" style="left:465px; top:590px; width:33px; height:19px; text-align:right; "/>
- <button id="btn_comps" class="btn_sw" group="tab" selected="true" style="left:0px; top:606px; width:65px; height:22px; ">
- <caption>구성품</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <caption id="cap_repayflag" class="cell_1" style="left:0px; top:432px; width:90px; height:23px; vertical-align:middle; ">상각구분</caption>
- <select1 id="cmb_repayflag" ref="/root/main/fixasetdet/fixasettmplist/repayflag" navindex="61" appearance="minimal" style="left:92px; top:433px; width:138px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 20100217 [최형진] 감가상각관련
-
- if(model.getValue(cmb_repayflag.attribute("ref")) == "3")
- {
- cmb_repaymthd.disabled = true;
- ipt_cntsyearno.disabled = true;
- }
- else
- {
- cmb_repaymthd.disabled = false;
- ipt_cntsyearno.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_repayrate" class="cell_1" style="left:470px; top:432px; width:90px; height:23px; vertical-align:middle; ">상각율</caption>
- <input id="ipt_repayrate" ref="/root/main/fixasetdet/fixasettmplist/repayrate" class="input_default" navindex="81" editable="true" appearance="input" style="left:562px; top:433px; width:138px; height:19px; "/>
- <select1 id="cmb_repaymthd" ref="/root/main/fixasetdet/fixasettmplist/repaymthd" navindex="71" appearance="minimal" overflow="visible" style="left:327px; top:433px; width:138px; height:20px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <!-- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 20100217 [최형진] 감가상각관련
- if(model.getValue(cmb_repaymthd.attribute("ref")) != "")
- {
- radfGetCntsYearNOList(cmb_repaymthd,ipt_cntsyearno,ipt_repayrate);
- }
- ]]>
- </script>-->
- </select1>
- <button id="btn_excel" class="btn5_letter3" navindex="93" style="left:535px; top:608px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_rfchmandlist.selected == true)
- {
- var fileName = window.fileDialog("save", ",", false, "보수계약정보", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_rfchmandlist.saveExcel(fileName, "보수계약정보List",true,true, "");
- }
- return;
- }
- else if(btn_comps.selected == true)
- {
- var fileName = window.fileDialog("save", ",", false, "구성품", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_comps.saveExcel(fileName, "구성품List",true,true, "");
- }
- return;
- }
-
- ]]>
- </script>
- </button>
- <line id="line53" class="line_2" style="x1:0px; y1:214px; x2:704px; y2:214px; "/>
- <button id="btn_tempmngtdeptcd" class="icon_search" navindex="-1" style="left:525px; top:505px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_tempmngtdeptcd,"", "tempmngtdeptcd,tempmngtdeptnm", model.getValue(cmb_instcd_search.attribute("ref")),"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:350px; top:502px; width:90px; height:23px; vertical-align:middle; ">관리부서</caption>
- <input id="ipt_tempmngtdeptnm" ref="/root/main/fixasetdet/fixasettmplist/tempmngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:543px; top:505px; width:159px; height:19px; "/>
- <input id="ipt_tempmngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/tempmngtdeptcd" class="input_default" navindex="85" appearance="input" style="left:442px; top:505px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_tempmngtdeptnm);
- ]]>
- </script>
- </input>
- <line id="line55" class="line_2" style="x1:0px; y1:430px; x2:704px; y2:430px; "/>
- <input id="ipt_suppcusttel" ref="/root/main/fixasetdet/fixasettmplist/suppcusttel" class="input_default" visibility="hidden" style="left:605px; top:350px; width:92px; height:19px; "/>
- <caption id="cap_possndd" class="cell_1" style="left:470px; top:408px; width:90px; height:23px; vertical-align:middle; ">취득일자</caption>
- <select1 id="cmb_smlcd" ref="/root/main/fixasetdet/fixasettmplist/smlcd" class="combo_default" navindex="35" appearance="minimal" style="left:92px; top:144px; width:257px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_lrgcd" ref="/root/main/fixasetdet/fixasettmplist/lrgcd" class="combo_essential" navindex="31" appearance="minimal" style="left:92px; top:96px; width:257px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_mdlcd.choices.itemset.attribute("nodeset") = "/root/init/lmsflag/M/cmb_mdlcd/lmslist[lrgcd=null or lrgcd='"+cmb_lrgcd.value+"']";
- cmb_mdlcd.refresh();
- cmb_mdlcd.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <input id="ipt_fixasetunit" ref="/root/main/fixasetdet/fixasettmplist/fixasetunit" navindex="59" appearance="minimal" style="left:92px; top:385px; width:138px; height:19px; "/>
- <caption id="cap_goodflaghngnm" class="cell_1" style="left:0px; top:48px; width:90px; height:23px; vertical-align:middle; ">자산명(한)</caption>
- <button id="btn_mngtdeptcd" class="icon_search" navindex="-1" style="left:525px; top:144px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*misfOpenPopUpList("02", ipt_mngtdeptcd,"", "mngtdeptcd,mngtdeptnm", model.getValue(cmb_instcd_search.attribute("ref")),"instcd");
- model.refresh();*/
- rszfOpenPopUpListByWndName(ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm","SPRPZ00800","instcd","cmb_instcd_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_flwgrnttermfr" class="cell_1" style="left:0px; top:528px; width:90px; height:23px; vertical-align:middle; ">하자보증기간</caption>
- <caption id="cap_mngtno" class="cell_1" style="left:0px; top:336px; width:90px; height:23px; vertical-align:middle; ">SERIAL NO</caption>
- <caption id="cap_suplplcecd" class="cell_1" style="left:0px; top:168px; width:90px; height:23px; vertical-align:middle; ">공급처</caption>
- <caption id="cap_usge" class="cell_1" style="left:351px; top:48px; width:90px; height:23px; vertical-align:middle; ">용도</caption>
- <input id="ipt_windd" ref="/root/main/fixasetdet/fixasettmplist/windd" class="input_essential" navindex="67" inputtype="date" format="yyyy-mm-dd" style="left:327px; top:337px; width:138px; height:19px; "/>
- <input id="ipt_cmt" ref="/root/main/fixasetdet/fixasettmplist/cmt" navindex="89" appearance="input" style="left:91px; top:579px; width:609px; height:19px; "/>
- <caption id="cap_prodcmpy" class="cell_1" visibility="visible" style="left:0px; top:216px; width:90px; height:23px; vertical-align:middle; ">제조회사</caption>
- <button id="btn_prodcmpy" class="icon_search" navindex="37" style="left:218px; top:219px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpy,"","prodcmpy,prodcmpynm","SPRSD00160","","");
- ipt_prodcmpynm.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_mdlcd" ref="/root/main/fixasetdet/fixasettmplist/mdlcd" class="combo_essential" navindex="34" appearance="minimal" style="left:92px; top:122px; width:257px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(cmb_goodflag.value, cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S", "N", "Y");
- cmb_smlcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_instcd" ref="/root/main/fixasetdet/fixasettmplist/instcd" class="combo_essential" navindex="26" appearance="minimal" style="left:92px; top:0px; width:257px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_possnamt" class="cell_1" style="left:235px; top:384px; width:90px; height:23px; vertical-align:middle; ">취득금액</caption>
- <input id="ipt_possnamt" ref="/root/main/fixasetdet/fixasettmplist/possnamt" class="input_default" navindex="69" visibility="visible" format="#,###" appearance="input" style="left:327px; top:385px; width:138px; height:19px; text-align:right; "/>
- <caption id="cap_fixasetunit" class="cell_1" style="left:0px; top:384px; width:90px; height:23px; vertical-align:middle; ">단위</caption>
- <input id="ipt_mngtno" ref="/root/main/fixasetdet/fixasettmplist/mngtno" class="input_default" navindex="56" appearance="input" style="left:92px; top:337px; width:138px; height:19px; "/>
- <caption id="cap_moveflag" class="cell_1" style="left:235px; top:264px; width:90px; height:23px; vertical-align:middle; ">이동구분</caption>
- <select1 id="rdo_moveflag" ref="/root/main/fixasetdet/fixasettmplist/moveflag" navindex="64" appearance="full" cols="4" overflow="visible" style="left:327px; top:264px; width:138px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/moveflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cntrdeptnm" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:543px; top:122px; width:159px; height:19px; "/>
- <button id="btn_goodcdcopy" class="btn2_letter4" navindex="41" style="left:638px; top:0px; width:64px; height:19px; ">
- <caption>코드생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_fixasettmplist.rowStatus(1) != "1"){
- if(messageBox('신규코드로 자산을 복사 합니다.', "Q003") == "7") return;
- }
-
- fGoodCdCopy();
-
- //대분류, 중분류에 따른 상각정보 가져오기.
- fDeprcBaseList("/root/send/fixasetcopy", "/root/main/deprcbaseinfo");
-
- model.setValue(cmb_repaymthd.attribute("ref") , model.getValue("/root/main/deprcbaseinfo/deprcbaselist/repaymthd"));
- model.setValue(ipt_cntsyearno.attribute("ref"), model.getValue("/root/main/deprcbaseinfo/deprcbaselist/cntsyearno"));
- model.setValue(ipt_repayrate.attribute("ref") , model.getValue("/root/main/deprcbaseinfo/deprcbaselist/repayrate"));
-
- cmb_repaymthd.refresh();
- ipt_cntsyearno.refresh();
- ipt_repayrate.refresh();
-
- grd_fixasettmplist.rowStatus(1) = "1";
- ]]>
- </script>
- </button>
- <select1 id="cmb_flwgrntterm" ref="/root/main/fixasetdet/fixasettmplist/flwgrntterm" class="input_search" navindex="88" appearance="minimal" style="left:261px; top:529px; width:40px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var flwgrntterm = parseInt(model.getValue(cmb_flwgrntterm.attribute("ref")));
- var flwgrnttermfr = model.getValue(ipt_flwgrnttermfr.attribute("ref")).toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD");
- //var flwgrnttermfr = model.getValue(ipt_flwgrnttermfr.attribute("ref"));
- flwgrnttermfr_dt = flwgrnttermfr.toDate("YYYYMMDD");
- model.setValue(ipt_flwgrnttermto.attribute("ref"), flwgrnttermfr_dt.getAddDate(+flwgrntterm,"Y").getDateFormat("YYYYMMDD"));
- ipt_flwgrnttermto.refresh();
-
- ]]>
- </script>
- </select1>
- <input id="ipt_incmpemtno" ref="/root/main/fixasetdet/fixasettmplist/incmpemtno" navindex="57" appearance="input" style="left:92px; top:361px; width:138px; height:19px; text-align:left; "/>
- <caption id="cap_condd" class="cell_1" style="left:0px; top:264px; width:90px; height:23px; vertical-align:middle; ">계약일</caption>
- <caption id="cap_smlcd" class="cell_1" style="left:0px; top:144px; width:90px; height:23px; vertical-align:middle; ">소분류</caption>
- <caption id="cap_lrgcd" class="cell_1" style="left:0px; top:96px; width:90px; height:23px; vertical-align:middle; ">대분류</caption>
- <caption id="cap_mngtdeptcd" class="cell_1" style="left:351px; top:144px; width:90px; height:23px; vertical-align:middle; ">사용부서</caption>
- <caption id="cap_maineqmt" class="cell_1" style="left:0px; top:192px; width:90px; height:23px; vertical-align:middle; ">메인장비</caption>
- <button id="btn_maineqmt" class="icon_search" navindex="-1" style="left:193px; top:194px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maineqmtcd,"","maineqmtcd,maineqmtnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,cmb_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_forgncurncyamt" class="cell_1" style="left:351px; top:192px; width:90px; height:23px; vertical-align:middle; ">외화액</caption>
- <input id="ipt_goodflagengnm" ref="/root/main/fixasetdet/fixasettmplist/goodflagengnm" class="input_default" navindex="27" imemode="alpha" appearance="input" style="left:92px; top:25px; width:257px; height:19px; "/>
- <caption id="cap_asetflagmaineqmtflag" class="cell_1" style="left:235px; top:240px; width:90px; height:23px; vertical-align:middle; ">관리구분</caption>
- <input id="ipt_cntrdeptcd" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptcd" class="input_default" navindex="46" appearance="input" style="left:442px; top:122px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_cntrdeptnm);
- ]]>
- </script>
- </input>
- <caption id="caption3" class="cell_1" style="left:351px; top:168px; width:90px; height:23px; vertical-align:middle; ">연락처</caption>
- <input id="ipt_suplplcenm" ref="/root/main/fixasetdet/fixasettmplist/suplplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:210px; top:169px; width:139px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcenm.value.length == 0)
- ipt_suplplcecd.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "custnm," + ipt_suplplcenm.value, "", "suplplcecd,suplplcenm",
- ipt_suplplcenm, "SPRSD00220", "instcd","cmb_instcd_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_lseyn" class="cell_1" style="left:470px; top:288px; width:91px; height:23px; vertical-align:middle; ">리스자산유무</caption>
- <select1 id="rdo_lseyn" ref="/root/main/fixasetdet/fixasettmplist/lseyn" navindex="75" appearance="full" cols="2" overflow="visible" style="left:562px; top:290px; width:138px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/lseyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_delivetermmm" ref="/root/main/fixasetdet/fixasettmplist/delivetermmm" class="input_default" navindex="54" inputtype="date" appearance="input" style="left:92px; top:290px; width:138px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:360px; width:90px; height:23px; vertical-align:middle; ">허가번호</caption>
- <input id="ipt_forgncurncyamt" ref="/root/main/fixasetdet/fixasettmplist/forgncurncyamt" class="input_default" navindex="50" format="#,###" appearance="input" style="left:442px; top:194px; width:128px; height:19px; text-align:right; "/>
- <caption id="cap_mdlcd" class="cell_1" style="left:0px; top:120px; width:90px; height:23px; vertical-align:middle; ">중분류</caption>
- <caption id="cap_goodspec" class="cell_1" style="left:0px; top:72px; width:90px; height:23px; vertical-align:middle; ">규격</caption>
- <input id="ipt_goodspec" ref="/root/main/fixasetdet/fixasettmplist/goodspec" class="input_default" navindex="29" appearance="input" style="left:92px; top:73px; width:257px; height:19px; "/>
- <select1 id="rdo_asetflagmaineqmtflag" ref="/root/main/fixasetdet/fixasettmplist/asetflag_maineqmtflag" navindex="63" appearance="full" cols="2" overflow="visible" style="left:327px; top:242px; width:138px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/asetflagmaineqmtflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_delivetermmm" class="cell_1" style="left:0px; top:288px; width:90px; height:23px; vertical-align:middle; ">계약 만료일</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:312px; width:90px; height:23px; vertical-align:middle; ">검수일</caption>
- <input id="ipt_maineqmtnm" ref="/root/main/fixasetdet/fixasettmplist/maineqmtnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:210px; top:194px; width:139px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_maineqmtnm.value.length == 0)
- ipt_maineqmtcd.value = "";
- else
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
- cmb_instcd_search.value + "," + "goodflaghngnm," + ipt_maineqmtnm.value + "," + cmb_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
- ipt_maineqmtnm, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,cmb_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suplplcecd" ref="/root/main/fixasetdet/fixasettmplist/suplplcecd" class="input_default" navindex="38" appearance="input" style="left:92px; top:169px; width:98px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(ipt_suplplcenm,cmb_instcd);
- ]]>
- </script>
- </input>
- <input id="ipt_goodflaghngnm" ref="/root/main/fixasetdet/fixasettmplist/goodflaghngnm" class="input_essential" navindex="28" imemode="hangul" appearance="input" style="left:92px; top:49px; width:257px; height:19px; "/>
- <caption id="cap_earnvaluyn" class="cell_1" style="left:470px; top:264px; width:91px; height:23px; vertical-align:middle; ">수익성평가유무</caption>
- <input id="ipt_mtlmngtno" ref="/root/main/fixasetdet/fixasettmplist/mtlmngtno" navindex="60" appearance="input" style="left:92px; top:410px; width:138px; height:19px; text-align:left; "/>
- <caption id="cap_cmt" class="cell_1" style="left:305px; top:526px; width:60px; height:23px; vertical-align:middle; ">제조년월</caption>
- <input id="ipt_mngtdeptnm" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:543px; top:144px; width:159px; height:19px; "/>
- <caption id="cap_possnflagcd" class="cell_1" style="left:470px; top:240px; width:91px; height:23px; vertical-align:middle; ">내외자구분</caption>
- <input id="ipt_possndd" ref="/root/main/fixasetdet/fixasettmplist/possndd" class="input_default" navindex="80" inputtype="date" format="yyyy-mm-dd" style="left:562px; top:410px; width:138px; height:19px; "/>
- <input id="ipt_flwgrnttermfr" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermfr" class="input_default" navindex="86" inputtype="date" format="yyyy-mm-dd" style="left:92px; top:529px; width:83px; height:19px; "/>
- <input id="ipt_flwgrnttermto" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermto" class="input_default" navindex="87" inputtype="date" format="yyyy-mm-dd" style="left:176px; top:529px; width:83px; height:19px; "/>
- <input id="ipt_maineqmtcd" ref="/root/main/fixasetdet/fixasettmplist/maineqmtcd" navindex="39" style="left:92px; top:193px; width:98px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_maineqmtcd.value.length == 0)
- ipt_maineqmtnm.value = "";
- else
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
- cmb_instcd_search.value + "," + "fixasetcd," + ipt_maineqmtcd.value + "," + cmb_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
- ipt_maineqmtcd, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,cmb_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_acqtflag" class="cell_1" style="left:235px; top:312px; width:90px; height:23px; vertical-align:middle; ">도입구분</caption>
- <select1 id="cmb_acqtflag" ref="/root/main/fixasetdet/fixasettmplist/acqtflag" class="combo_default" navindex="66" appearance="minimal" style="left:327px; top:313px; width:138px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_condd" ref="/root/main/fixasetdet/fixasettmplist/condd" class="input_default" navindex="53" inputtype="date" style="left:92px; top:266px; width:83px; height:19px; "/>
- <input id="ipt_lrgcd" ref="/root/main/fixasetdet/fixasettmplist/lrgcd" class="input_default" navindex="30" visibility="hidden" appearance="input" style="left:92px; top:96px; width:58px; height:19px; "/>
- <caption id="cap_instcd" class="cell_1" style="left:0px; top:0px; width:90px; height:23px; vertical-align:middle; ">기관코드</caption>
- <input id="ipt_usge" ref="/root/main/fixasetdet/fixasettmplist/usge" class="input_default" navindex="43" appearance="input" style="left:442px; top:50px; width:260px; height:19px; "/>
- <button id="btn_cntrdeptcd" class="icon_search" navindex="-1" style="left:525px; top:122px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_cntrdeptcd,"","cntrdeptcd,cntrdeptnm", model.getValue(cmb_instcd_search.attribute("ref")),"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_goodmodel" class="cell_1" style="left:351px; top:24px; width:90px; height:23px; vertical-align:middle; ">보사부 코드</caption>
- <caption id="cap_fundorigin" class="cell_1" style="left:235px; top:360px; width:90px; height:23px; vertical-align:middle; ">자금출처</caption>
- <input id="ipt_prodcmpynm" ref="/root/main/fixasetdet/fixasettmplist/prodcmpynm" class="input_fix" navindex="36" appearance="input" style="left:92px; top:216px; width:118px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpynm,," + ipt_prodcmpynm.value, "", "prodcmpycd,prodcmpynm",
- ipt_prodcmpynm, "SPRSD00160", "","");
- ipt_prodcmpynm.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_fixasetcd" ref="/root/main/fixasetdet/fixasettmplist/fixasetcd" class="input_essential" navindex="40" editable="false" appearance="input" style="left:442px; top:0px; width:188px; height:19px; text-align:left; "/>
- <input id="ipt_mngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptcd" class="input_default" navindex="47" appearance="input" style="left:442px; top:144px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_mngtdeptnm);
- ]]>
- </script>
- </input>
- <select1 id="cmb_fundorigin" ref="/root/main/fixasetdet/fixasettmplist/fundorigin" disabled="true" navindex="68" appearance="minimal" style="left:327px; top:361px; width:138px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_fixasetcd" class="cell_1" style="left:351px; top:0px; width:90px; height:23px; vertical-align:middle; ">자산코드</caption>
- <caption id="cap_acntcd" class="cell_1" style="left:351px; top:72px; width:90px; height:23px; vertical-align:middle; ">입고계정</caption>
- <input id="ipt_acntnm" ref="/root/main/fixasetdet/fixasettmplist/acntnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:543px; top:72px; width:159px; height:19px; "/>
- <select1 id="rdo_possnflagcd" ref="/root/main/fixasetdet/fixasettmplist/possnflagcd" navindex="73" appearance="full" cols="2" overflow="visible" style="left:562px; top:241px; width:138px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/possnflagcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_suplplcecd" class="icon_search" navindex="-1" style="left:193px; top:169px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mdlcd" ref="/root/main/fixasetdet/fixasettmplist/mdlcd" class="input_default" navindex="32" visibility="hidden" appearance="input" style="left:92px; top:122px; width:58px; height:19px; "/>
- <caption id="cap_winno" class="cell_1" style="left:235px; top:336px; width:90px; height:23px; vertical-align:middle; ">실입고일</caption>
- <select1 id="cmb_curncyunit" ref="/root/main/fixasetdet/fixasettmplist/curncyunit" navindex="51" appearance="minimal" style="left:574px; top:194px; width:128px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_goodflagengnm" class="cell_1" style="left:0px; top:24px; width:90px; height:23px; vertical-align:middle; ">자산명(영)</caption>
- <input id="ipt_acntcd" ref="/root/main/fixasetdet/fixasettmplist/acntcd" class="input_default" navindex="44" appearance="input" style="left:442px; top:72px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_acntcd.value.length == 0)
- ipt_acntnm.value = "";
- else
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
- ",Y,2," + ipt_acntcd.value, "", "acntcd,acntnm",
- ipt_acntcd, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_acntcd" class="icon_search" navindex="-1" style="left:525px; top:74px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100_계정코드HELP","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_winseqno" class="cell_1" style="left:0px; top:408px; width:90px; height:23px; vertical-align:middle; ">분류번호(등급)</caption>
- <select1 id="cmb_prodplce" ref="/root/main/fixasetdet/fixasettmplist/prodplce" navindex="48" appearance="minimal" style="left:329px; top:216px; width:138px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_prodplce" class="cell_1" style="left:236px; top:216px; width:90px; height:23px; vertical-align:middle; ">제조국</caption>
- <caption id="cap_cntrdeptcd" class="cell_1" style="left:351px; top:120px; width:90px; height:23px; vertical-align:middle; ">청구부서</caption>
- <caption id="cap_dsplflag" class="cell_1" style="left:235px; top:288px; width:90px; height:23px; vertical-align:middle; ">처분구분</caption>
- <select1 id="rdo_earnvaluyn" ref="/root/main/fixasetdet/fixasettmplist/earnvaluyn" navindex="74" appearance="full" cols="2" overflow="visible" style="left:562px; top:265px; width:138px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/suik">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_dsplflag" ref="/root/main/fixasetdet/fixasettmplist/dsplflag" disabled="true" navindex="-1" appearance="minimal" style="left:327px; top:289px; width:138px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var value = cmb_dsplflag.value;
- if(value == "1" || value == "2" || value == "3") {
- alert("폐기, 매각, 망실은 선택이 불가합니다.");
- cmb_dsplflag.value = preDsplflag;
- cmb_dsplflag.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_suplcntctel" ref="/root/main/fixasetdet/fixasettmplist/suplcntctel" class="input_default" navindex="49" appearance="input" style="left:442px; top:169px; width:260px; height:19px; "/>
- <input id="ipt_chkdd" ref="/root/main/fixasetdet/fixasettmplist/chkdd" class="input_default" navindex="55" inputtype="date" style="left:92px; top:315px; width:138px; height:19px; "/>
- <input id="ipt_cntsyearno" ref="/root/main/fixasetdet/fixasettmplist/cntsyearno" class="input_default" navindex="72" style="left:327px; top:458px; width:138px; height:19px; ">
- <!-- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 20100217 [최형진] 감가상각관련
- if(model.getValue(ipt_cntsyearno.attribute("ref")) != "")
- {
- radfGetRepayRate(cmb_repaymthd,ipt_cntsyearno,ipt_repayrate);
- }
- ]]>
- </script>-->
- </input>
- <select1 id="rdo_ntsubsidyyn" ref="/root/main/fixasetdet/fixasettmplist/ntsubsidyyn" navindex="52" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:92px; top:240px; width:138px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/ntsubsidyyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_ntsubsidyyn" class="cell_1" style="left:0px; top:240px; width:90px; height:23px; vertical-align:middle; ">국고보조</caption>
- <input id="ipt_etcaddamt" ref="/root/main/fixasetdet/fixasettmplist/etcaddamt" class="input_default" navindex="70" visibility="visible" format="#,###" appearance="input" style="left:327px; top:410px; width:138px; height:19px; text-align:right; "/>
- <caption id="cap_etcaddamt" class="cell_1" visibility="visible" style="left:235px; top:408px; width:90px; height:22px; vertical-align:middle; ">부대비용</caption>
- <select1 id="cmb_goodflag" ref="/root/main/fixasetdet/fixasettmplist/goodflag" class="combo_essential" visibility="hidden" appearance="minimal" style="left:605px; top:280px; width:92px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //대분류설정.
- rszfLMSComboList(cmb_goodflag.value, "", "", "cmb_lrgcd", "", "L", "N", "Y");
- ]]>
- </script>
- </select1>
- <caption id="cap_fixtrflag" class="cell_1" style="left:470px; top:480px; width:91px; height:23px; font-size:8pt; vertical-align:middle; ">심평원등록대상</caption>
- <select1 id="rdo_fixtrflag" ref="/root/main/fixasetdet/fixasettmplist/fixtrflag" navindex="83" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:540px; top:590px; width:138px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>집기</label>
- <value>1</value>
- </item>
- <item>
- <label>일반</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="btn_amtacnt" class="icon_search" navindex="-1" style="left:525px; top:96px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd,"","amtacnt,amtacntnm","PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption13" class="cell_1" style="left:351px; top:96px; width:90px; height:23px; vertical-align:middle; ">비용계정</caption>
- <input id="ipt_amtacnt" ref="/root/main/fixasetdet/fixasettmplist/amtacnt" class="input_default" navindex="45" style="left:442px; top:96px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_amtacnt.attribute("ref")) ,"","amtacnt,amtacntnm" ,ipt_amtacnt,"PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_winacnt");
- else model.setFocus("ipt_fromdd");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_amtacntnm" ref="/root/main/fixasetdet/fixasettmplist/amtacntnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:543px; top:96px; width:159px; height:19px; "/>
- <input id="ipt_welfcd" ref="/root/main/fixasetdet/fixasettmplist/welfcd" class="input_default" navindex="42" visibility="visible" appearance="input" style="left:442px; top:25px; width:260px; height:19px; "/>
- <caption id="cap_entrasetyn" class="cell_1" visibility="visible" style="left:470px; top:456px; width:90px; height:23px; vertical-align:middle; ">고유목적</caption>
- <select1 id="rdo_entrasetyn" ref="/root/main/fixasetdet/fixasettmplist/entrasetyn" navindex="58" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:563px; top:457px; width:137px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/entrasetyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_repayappdd" class="cell_1" style="left:0px; top:480px; width:90px; height:23px; vertical-align:middle; ">상각적용일</caption>
- <input id="ipt_repayappdd" ref="/root/main/fixasetdet/fixasettmplist/repayappdd" class="input_default" navindex="62" inputtype="date" style="left:92px; top:481px; width:138px; height:19px; "/>
- <caption id="caption15" class="cell_1" style="left:235px; top:480px; width:90px; height:23px; vertical-align:middle; ">관리등급</caption>
- <select1 id="cmb_mngtgrade" ref="/root/main/fixasetdet/fixasettmplist/mngtgrade" navindex="71" appearance="minimal" overflow="visible" style="left:327px; top:481px; width:138px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_attach" class="btn2_letter6" navindex="90" style="left:305px; top:607px; width:86px; height:19px; ">
- <caption>첨부파일 [0]</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue(ipt_fixasetcd.attribute("ref")) != ""){
- model.removeNodeset("/root/source/defaultvalue");
- model.makeValue("/root/source/defaultvalue/fixasetcd", model.getValue(ipt_fixasetcd.attribute("ref")));
- model.makeValue("/root/source/defaultvalue/fixasetnm", model.getValue(ipt_goodflagengnm.attribute("ref")));
- //첨부파일관련 팝업을 띄워서 첨부파일을 조회도 하고 다운로드 삭제까지 할수 있도록 구현.
- //rszfOpenPopUpListByWndName(grd_goodreq,"","","SMRSD00420","instcd,reqdd,reqflag,reqno,reqseqno,reqpsnid,reqdeptcd,attfilepathnm","instcd,reqdd,reqflag,reqno,reqseqno,reqpsnid,reqdeptcd,attfilepathnm", "Y");
- modal("SMRFC01100","","","","","/root/source", "/root/target" );
-
- // 첨부이미지,파일 카운터 조회
- fRefreshAttFileCount();
- }else{
- messageBox("자산을", "C002");
- }
- ]]>
- </script>
- </button>
- <select1 id="rdo_lonno" ref="/root/main/fixasetdet/fixasettmplist/lonno" navindex="58" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:563px; top:480px; width:137px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/lonno">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:0px; top:577px; width:90px; height:23px; vertical-align:middle; ">비고</caption>
- <input id="ipt_proddd" ref="/root/main/fixasetdet/fixasettmplist/proddd" class="input_default" navindex="80" inputtype="date" format="yyyy-mm-dd" style="left:367px; top:528px; width:83px; height:19px; "/>
- <input id="ipt_conno" ref="/root/main/fixasetdet/fixasettmplist/conno" class="input_default" appearance="input" style="left:182px; top:266px; width:48px; height:19px; "/>
- <button id="btn_addinfo" class="btn_sw" group="tab" style="left:65px; top:606px; width:65px; height:22px; ">
- <caption>부가정보</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- </button>
- <caption id="caption17" class="cell_1" style="left:0px; top:552px; width:90px; height:23px; vertical-align:middle; ">공고번호</caption>
- <input id="ipt_notino" ref="/root/main/fixasetdet/fixasettmplist/notino" class="output_fix" appearance="input" style="left:92px; top:555px; width:48px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:144px; top:552px; width:70px; height:23px; vertical-align:middle; ">입찰공고명</caption>
- <caption id="caption19" class="cell_1" style="left:414px; top:552px; width:70px; height:23px; vertical-align:middle; ">입찰공고일</caption>
- <caption id="caption20" class="cell_1" style="left:568px; top:552px; width:55px; height:23px; vertical-align:middle; ">입찰일</caption>
- <input id="ipt_prenotifulldd" ref="/root/main/fixasetdet/fixasettmplist/prenotifulldd" class="output_fix" navindex="67" inputtype="date" format="yyyy-mm-dd" style="left:486px; top:555px; width:75px; height:19px; "/>
- <input id="ipt_notifullno" ref="/root/main/fixasetdet/fixasettmplist/notifullno" class="output_fix" navindex="67" inputtype="date" format="yyyy-mm-dd" style="left:625px; top:555px; width:75px; height:19px; "/>
- <input id="ipt_notifullnm" ref="/root/main/fixasetdet/fixasettmplist/notifullnm" class="output_fix" appearance="input" style="left:216px; top:555px; width:194px; height:19px; "/>
- <caption id="caption21" class="cell_1" style="left:470px; top:215px; width:91px; height:23px; vertical-align:middle; ">식약처형명</caption>
- <input id="ipt_mfdsnm" ref="/root/main/fixasetdet/fixasettmplist/mfdsnm" class="input_default" navindex="56" appearance="input" style="left:562px; top:216px; width:138px; height:19px; "/>
- <caption id="caption22" class="cell_1" style="left:453px; top:526px; width:60px; height:23px; vertical-align:middle; ">실방위치</caption>
- <button id="btn_costdeptcd" class="icon_search" navindex="-1" style="left:598px; top:528px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_costdeptcd,"", "costdeptcd,costdeptnm", model.getValue(cmb_instcd_search.attribute("ref")),"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_costdeptnm" ref="/root/main/fixasetdet/fixasettmplist/costdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:615px; top:528px; width:87px; height:19px; "/>
- <input id="ipt_costdeptcd" ref="/root/main/fixasetdet/fixasettmplist/costdeptcd" class="input_default" navindex="85" appearance="input" style="left:515px; top:528px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_costdeptnm);
- ]]>
- </script>
- </input>
- </group>
- <line id="line9" class="line_1" style="x1:485px; y1:4px; x2:1189px; y2:4px; "/>
- <input id="ipt_vFlag" visibility="hidden" style="left:65px; top:305px; width:25px; height:19px; "/>
- <caption id="caption9" class="tit_2" style="left:0px; top:135px; width:100px; height:14px; ">장비청구 목록</caption>
- <group id="group2" style="left:0px; top:10px; width:480px; height:290px; vertical-align:top; ">
- <input id="ipt_cmt_search" ref="/root/send/fixasetlist/cmt_search" class="input_default" style="left:380px; top:238px; width:35px; height:19px; "/>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:480px; height:290px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_goodflag_search" class="search_name" style="left:3px; top:27px; width:117px; height:17px; ">물품구분 :</caption>
- <select1 id="cmb_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" class="combo_default" navindex="3" appearance="minimal" style="left:95px; top:27px; width:270px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var instcd = getUserInfo("dutplceinstcd");
- var deptcd = getUserInfo("dutplcecd");
- var goodflag = model.getValue("/root/send/fixasetlist/goodflag_search");
-
- if( instcd == "032" &&deptcd == "4090500000" ){
- // if (instcd == "032" && deptcd == "4090500000"){ // 칠곡 의공학과 4020334000:물류 4280000000:정보통신 의공학과 :4090500000
- if (goodflag == "DE" || goodflag =="RE" || goodflag == "CT"){ // 칠곡 의공학과 4020334000:물류 4280000000:정보통신 의공학과 :4090500000
- btn_delrow.disabled = false;
- }else{
- btn_delrow.disabled = true;
- }
- }
-
-
-
- // btn_init.dispatch("DOMActivate");
- //대분류 콤보 초기화
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
- //중분류 콤보 초기화
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "ALL", "", "cmb_mdlcd_search", "", "M", "Y", "Y");
- cmb_lrgcd_search.refresh();
- cmb_lrgcd_search.dispatch("xforms-value-changed");
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfchmandlist);
- misfGridInit(grd_comps);
- misfGridInit(grd_fixasettmplist);
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- fAllControlDisabled(false);
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_goodflaghngnm_search" class="search_name" style="left:3px; top:91px; width:117px; height:17px; ">자 산 명 :</caption>
- <input id="ipt_goodnm_search" ref="/root/send/fixasetlist/goodnm_search" class="input_default" navindex="6" style="left:95px; top:91px; width:361px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_lrgcd_search" class="search_name" style="left:3px; top:48px; width:117px; height:17px; ">대 분 류 :</caption>
- <caption id="cap_deptcd_search" class="search_name" style="left:3px; top:112px; width:117px; height:17px; ">사용부서 :</caption>
- <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_default" navindex="7" style="left:95px; top:112px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_deptnm_search);
- ]]>
- </script>
- </input>
- <button id="btn_mngtdeptcd_search" class="icon_search" navindex="-1" style="left:195px; top:115px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdept_search","SPRPZ00800","instcd","cmb_instcd_search");
- ipt_mngtdeptcd_search.refresh();
- ipt_deptnm_search.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptnm_search" ref="/root/send/fixasetlist/mngtdept_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:215px; top:112px; width:241px; height:19px; "/>
- <input id="ipt_installplcecd_search" ref="/root/send/fixasetlist/installplcecd_search" class="input_default" navindex="10" visibility="visible" style="left:95px; top:154px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcecd_search.value.length == 0)
- ipt_installplcenm_search.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
- ipt_installplcecd_search, "PPRAC00700", "","");
- ipt_installplcecd_search.refresh();
- ipt_installplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_installplcecd_search" class="icon_search" navindex="-1" visibility="visible" style="left:195px; top:154px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_installplcecd_search,"", "installplcecd_search,installplcenm_search") ;
- ipt_installplcecd_search.refresh();
- ipt_installplcenm_search.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_installplcenm_search" ref="/root/send/fixasetlist/installplcenm_search" class="output_fix" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:215px; top:154px; width:241px; height:19px; "/>
- <caption id="cap_possndd_search" class="search_name" style="left:3px; top:176px; width:117px; height:17px; ">취 득 일 :</caption>
- <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_essential" navindex="12" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:175px; width:95px; height:19px; "/>
- <caption id="cap_fixasetcd_search" class="search_name" style="left:3px; top:218px; width:117px; height:17px; ">자산코드 :</caption>
- <input id="ipt_fixasetcd_search" ref="/root/send/fixasetlist/fixasetcd_search" class="input_default" navindex="16" imemode="disabled" _chartype="upper" style="left:95px; top:217px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" navindex="20" style="left:398px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/list/fixaset/fixasetlist");
- var instcd = getUserInfo("dutplceinstcd");
- var deptcd = getUserInfo("dutplcecd");
- model.setValue("/root/send/fixasetlist/userid", getUserInfo("userid"));
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- // if (instcd == "032" && deptcd == "4090500000"){
- // }else{
- // //fInitialize();
- //
- // }
- //rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_search.attribute("ref")),model.getValue(cmb_goodflag_search.attribute("ref")));
-
- // misfMsterDetailRetrieve();
- if(submit("TRRFC00202")){
- grd_fixasetlist.rebuildStyle();
-
- if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
- {
- for (var currow = grd_fixasetlist.fixedRows ; currow < grd_fixasetlist.rows ; currow++)
- {
- if (grd_fixasetlist.valueMatrix(currow, grd_fixasetlist.colRef("dsplflag")) == "1") {
- grd_fixasetlist.cellstyle("background-color", currow, grd_fixasetlist.colRef("fixasetcd")) = "#ffff99";
- }
- }
-
- grd_fixasetlist.row = grwlow;
- grd_fixasetlist.dispatch("onrowchanged");
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_instcd_search" class="search_name" style="left:3px; top:6px; width:117px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_default" navindex="2" appearance="minimal" style="left:95px; top:6px; width:270px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue("/root/send/fixasetlist/instcd_search");
-
- if (instcd != getUserInfo("dutplceinstcd")){
- btn_rent.visible = false;
- btn_update.visible = false;
- }else{
- btn_rent.visible = true;
- }
-
- ]]>
- </script>
- </select1>
- <caption id="cap_goodspec_search" class="search_name" style="left:3px; top:239px; width:117px; height:17px; ">규 격 명 :</caption>
- <input id="ipt_goodspec_search" ref="/root/send/fixasetlist/goodspec_search" class="input_default" navindex="18" style="left:95px; top:238px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line15" class="line_4" style="x1:387px; y1:10px; x2:387px; y2:85px; border-color:#ffd799; "/>
- <caption id="caption23" style="left:197px; top:176px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
- <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_essential" navindex="13" inputtype="date" format="yyyy-mm-dd" style="left:215px; top:175px; width:95px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:3px; top:155px; width:117px; height:17px; ">설치장소 :</caption>
- <caption id="caption5" class="search_name" style="left:225px; top:218px; width:135px; height:17px; ">보수계약 유무 :</caption>
- <select1 id="cmb_rfchmandlist_search" ref="/root/send/fixasetlist/rfchmandlist_search" class="combo_default" navindex="17" appearance="minimal" style="left:360px; top:217px; width:96px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:3px; top:69px; width:117px; height:17px; ">중 분 류 :</caption>
- <caption id="cap_suplcecd_search" class="search_name" style="left:3px; top:197px; width:89px; height:17px; ">공 급 처 :</caption>
- <button id="btn_suplcecd_search" class="icon_search" navindex="-1" style="left:195px; top:196px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd_search,suplplcenm_search","SPRSD00220","instcd","cmb_instcd_search");
-
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="output_fix" navindex="-1" editable="false" style="left:215px; top:196px; width:241px; height:19px; "/>
- <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_default" navindex="14" style="left:95px; top:196px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(ipt_suplplcenm_search,cmb_instcd_search);
- ]]>
- </script>
- </input>
- <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" navindex="4" appearance="minimal" style="left:95px; top:48px; width:270px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_mdlcd_search.choices.itemset.attribute("nodeset") = "/root/init/lmsflag/M/cmb_mdlcd_search/lmslist[lrgcd=null or lrgcd='"+cmb_lrgcd_search.value+"']";
- cmb_mdlcd_search.value="";
- cmb_mdlcd_search.refresh();
- cmb_mdlcd.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" navindex="5" appearance="minimal" style="left:95px; top:69px; width:270px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_installplcecd_search" class="search_name" style="left:3px; top:133px; width:90px; height:17px; ">관리부서 :</caption>
- <caption id="caption14" class="search_name" style="left:225px; top:239px; width:135px; height:17px; ">보건복지부 코드 :</caption>
- <input id="ipt_welfcd_search" ref="/root/send/fixasetlist/welfcd_search" class="input_default" navindex="19" style="left:360px; top:238px; width:96px; height:19px; "/>
- <output id="opt_goodflag_search" ref="/root/init/goodflag/value" visibility="hidden" style="left:410px; top:10px; width:20px; height:19px; "/>
- <input id="ipt_tempmngtdeptnm_search" ref="/root/send/fixasetlist/tempmngtdeptnm_search" class="output_fix" navindex="9" editable="false" appearance="input" style="left:215px; top:133px; width:241px; height:19px; "/>
- <caption id="cap_dsplflag_search" class="search_name" style="left:3px; top:265px; width:86px; height:17px; ">처분구분 :</caption>
- <select1 id="rdo_dsplflag_search" ref="/root/send/fixasetlist/dsplflag_search" class="radio_search" navindex="2" appearance="full" cellspacing="0" cols="7" overflow="visible" style="left:96px; top:265px; width:359px; height:20px; text-align:left; vertical-align:middle; background-color:#ffffff; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption52" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
- <caption id="caption54" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:328px; x2:480px; y2:328px; "/>
- <!--</group>-->
- <caption id="caption34" class="tit_2" style="left:0px; top:306px; width:69px; height:13px; ">자산목록</caption>
- <button id="btn_delrow" class="btn2_letter3" navindex="25" style="left:426px; top:305px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택된 데이터에 Delete 상태 표시
- for(var i=0;i<grd_fixasetlist.selectedRows;i++){
- grd_fixasetlist.addStatus(grd_fixasetlist.selectedRow(i), 'delete');
- }
- grd_fixasetlist.refresh();
-
- if(messageBox(grd_fixasetlist.selectedRows + " 개의 자산을", "Q001") != "6") {
- // 선택된 데이터에 Delete 상태 삭제
- for(var i=0;i<grd_fixasetlist.selectedRows;i++){
- grd_fixasetlist.removeStatus(grd_fixasetlist.selectedRow(i), 'delete');
- }
- grd_fixasetlist.refresh();
- return;
- }
-
- if(grd_fixasetlist.rows- grd_fixasetlist.fixedRows != 0){
- if(grd_fixasetlist.selectedRows != 0){
- model.resetInstanceNode("/root/send/save");
- model.setValue("/root/send/save/fixasetdellist",getGridUpdateData(grd_fixasetlist));
- } else {
- messageBox("저장할 데이타가 ","E014");
- return false;
- }
- //alert(instance1.selectNodesXml("/root/send/save/fixasetdellist"));
- if (submit("TXRFC00206")){
- messageBox("삭제가","I002");
-
- misfGridInit(grd_fixasettmplist);
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- fAllControlDisabled("true");
-
- btn_search.dispatch("DOMActivate");
-
- model.refresh();
- }else{
- messageBox("삭제","E009");
- return;
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" navindex="24" style="left:370px; top:305px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //btn_init.dispatch("DOMActivate");
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfchmandlist);
- misfGridInit(grd_comps);
- misfGridInit(grd_fixasettmplist);
-
- misfGridIUD(grd_fixasetlist, "A");
- //grp_detail.disabled= false;
- fAllControlDisabled(false);
- btn_save.disabled = false;
-
- cmb_dsplflag.disabled = true;
-
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.resetInstanceNode("/root/main/list/compslist");
- grd_fixasettmplist.rowStatus(grd_fixasettmplist.row) = "1";
- fAllControlDisabled("false");
-
- fSetting();
- cmb_goodflag.dispatch("xforms-value-changed");
- cmb_repaymthd.dispatch("xforms-value-changed"); // 20100217 [최형진] 감가상각관련
- ipt_cntsyearno.dispatch("xforms-value-changed"); // 20100217 [최형진] 감가상각관련
-
- btn_chksrch.disabled = false;
- grp_detail.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_tempmngtdeptcd_search" ref="/root/send/fixasetlist/tempmngtdeptcd_search" class="input_default" navindex="8" appearance="input" style="left:95px; top:143px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_tempmngtdeptnm_search);
- ]]>
- </script>
- </input>
- <button id="button2" class="icon_search" style="left:195px; top:143px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_tempmngtdeptcd_search,"", "tempmngtdeptcd_search,tempmngtdeptnm_search", model.getValue(cmb_instcd_search.attribute("ref")),"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line35" class="line_2" style="x1:485px; y1:512px; x2:1189px; y2:512px; "/>
- <button id="button4" class="btn2_letter8" navindex="23" visibility="visible" style="left:259px; top:305px; width:108px; height:19px; ">
- <caption>관리부서일괄변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("", "Q002") == "6")
- {
- fSettingSaveInData();
- model.setValue("/root/send/fixaset/fixasetlist", grd_fixasetlist.getUpdateData("update"));
- var updtdata = getGridUpdateData(grd_fixasetlist);
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
- submit("TXRFC00401");
- grd_fixasetlist.gridToInstance();
- }
-
- for(var i = 1; i < grd_fixasetlist.rows ; i++)
- {
- model.setValue(grd_fixasetlist.nodeset + "["+i+"]/chk", "N");
- }
-
- ipt_vFlag.value = "";
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn5_letter5" navindex="33" style="left:181px; top:305px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 ) {
- var fileName = "장비자산내역_" + getCurrentDate();
- var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_fixasetlist.saveExcel(fileName, "sheetname:고정자산 장비;colhiddenextend:true;");
- } else {
- messageBox("저장 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_fixasettmplist" nodeset="/root/main/list/fixasetdet/fixasettmplist" visibility="hidden" caption="기관코드^자산코드^caption1^caption2" colsep="^" colwidth="88, 54, 40, 40, 39, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 43, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:510px; width:474px; height:85px; ">
- <col ref="instcd"/>
- <col ref="fixasetcd"/>
- <col ref="installplcecd"/>
- <col ref="installplcenm"/>
- <col ref="goodflag"/>
- <col ref="goodqty"/>
- <col ref="goodflaghngnm"/>
- <col ref="goodflagengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="asetflag_maineqmtflag"/>
- <col ref="lrgcd"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd"/>
- <col ref="mdlnm"/>
- <col ref="smlcd"/>
- <col ref="smlnm"/>
- <col ref="catalog"/>
- <col ref="fixasetunit"/>
- <col ref="usge"/>
- <col ref="acntcd"/>
- <col ref="acntnm"/>
- <col ref="cntrdeptcd"/>
- <col ref="cntrdeptnm"/>
- <col ref="moveflag"/>
- <col ref="suplplcecd"/>
- <col ref="suplplcenm"/>
- <col ref="suppcustcd"/>
- <col ref="prodplce"/>
- <col ref="prodcmpy"/>
- <col ref="prodcmpynm"/>
- <col ref="chkdd"/>
- <col ref="delivetermmm"/>
- <col ref="condd"/>
- <col ref="flwgrnttermfr"/>
- <col ref="flwgrnttermto"/>
- <col ref="windd"/>
- <col ref="winno"/>
- <col ref="winseqno"/>
- <col ref="mngtno"/>
- <col ref="profno"/>
- <col ref="incmreptno"/>
- <col ref="incmlicnsdd"/>
- <col ref="custmsenddd"/>
- <col ref="expttaxpostno"/>
- <col ref="custms"/>
- <col ref="innatitax"/>
- <col ref="custmscrnscthouscd"/>
- <col ref="lonno"/>
- <col ref="possnflagcd"/>
- <col ref="possndd"/>
- <col ref="forgncurncyamt"/>
- <col ref="curncyunit"/>
- <col ref="fixasetqty"/>
- <col ref="possnamt"/>
- <col ref="etcaddamt"/>
- <col ref="cntsyearno"/>
- <col ref="repayflag"/>
- <col ref="repaymthd"/>
- <col ref="repayrate"/>
- <col ref="dsplflag"/>
- <col ref="repayenddd"/>
- <col ref="repayappdd"/>
- <col ref="maineqmtcd"/>
- <col ref="lseyn"/>
- <col ref="cmt"/>
- <col ref="entrasetyn"/>
- <col ref="mngtdeptcd"/>
- <col ref="maineqmt"/>
- <col ref="barcdprntyn"/>
- <col ref="usedd"/>
- <col ref="suplcntctel"/>
- <col ref="acqtflag"/>
- <col ref="earnvaluyn"/>
- <col ref="agency"/>
- <col ref="agencycntctel"/>
- <col ref="smplce"/>
- <col ref="repaybal"/>
- <col ref="prvnchkyn"/>
- <col ref="fundorigin"/>
- <col ref="incmpemtno"/>
- <col ref="mtlmngtno"/>
- <col ref="tempmngtdeptcd"/>
- <col ref="tempmngtdeptnm"/>
- <col ref="suplplcetel"/>
- <col ref="suppcusttel"/>
- <col ref="ntsubsidyyn" visibility="hidden"/>
- <col ref="fixtrflag" visibility="hidden"/>
- <col ref="amtacnt" visibility="hidden"/>
- <col ref="amtacntnm" visibility="hidden"/>
- <col ref="fixasetcdcnt" visibility="hidden"/>
- <col ref="welfcd" visibility="hidden"/>
- <col ref="purcdmnddd"/>
- <col ref="purcdmndno"/>
- <col ref="purcdmndseq"/>
- <col ref="mngtgrade"/>
- <col ref="proddd"/>
- <col ref="condd" visibility="hidden"/>
- <col ref="conno" visibility="hidden"/>
- <col ref="conseq" visibility="hidden"/>
- <col ref="notino" visibility="hidden"/>
- <col ref="notifullnm" visibility="hidden"/>
- <col ref="prenotifulldd" visibility="hidden"/>
- <col ref="notifullno" visibility="hidden"/>
- <col ref="preamt" visibility="hidden"/>
- <col ref="preamtunit" visibility="hidden"/>
- <col ref="mfdsnm" visibility="hidden"/>
- <col ref="costdeptcd" visibility="hidden"/>
- </datagrid>
- <line id="line1" class="line_2" style="x1:487px; y1:536px; x2:1191px; y2:536px; "/>
- <line id="line2" class="line_2" style="x1:484px; y1:560px; x2:1188px; y2:560px; "/>
- <line id="line5" class="line_2" style="x1:485px; y1:586px; x2:1189px; y2:586px; "/>
- </group>
- <group id="grp_copy" visibility="hidden" style="left:65px; top:415px; width:189px; height:95px; border-color:#339966; border-style:solid; ">
- <input id="ipt_copycnt" ref="/root/init/copycnt" class="input_default" appearance="input" style="left:95px; top:12px; width:80px; height:19px; "/>
- <button id="button9" class="btn4_letter2" style="left:90px; top:65px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_copy.visible = false;
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter2" style="left:20px; top:65px; width:56px; height:22px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vCnt = parseInt(model.getValue(ipt_copycnt.attribute("ref")));
-
- var vFixasetcd = model.getValue(ipt_fixasetcd_copy.attribute("ref"));
- var vFixasetcd0 = model.getValue(ipt_fixasetcd_copy.attribute("ref"));
-
-
- // alert("vFixasetcd===>>"+vFixasetcd);
- if (vFixasetcd =="") {
- alert("생성코드를 확인하십시요!!");
- return;
- }
-
- if (vCnt < 1) {
- alert("복사 수량을 확인하십시요!!");
- return;
- }
-
- var fRow = grd_fixasetlist.row;
- var tRow = grd_fixasettmplist.row;
- vTarget1 = grd_fixasetlist.nodeset;
- vTarget2 = grd_fixasettmplist.nodeset ;
- // vTarget2 = "/root/main/fixasetdet/fixasettmplist"
- //for (var i = 0 ; i < vCnt ; i++) {
- // misfGridIUD(grd_fixasetlist, "A");
- // addRow = grd_fixasetlist.rows - grd_fixasetlist.fixedRows;
- // model.copyNode(vTarget1+ "[" + addRow + "]",vTarget1+ "[" + fRow + "]");
- //}
-
- // grd_fixasetlist.refresh();
- if (model.getValue(vTarget2+ "[" + 1+ "]/fixasetcd") =="") {
- alert("복사 대상을 먼저 선택해 주십시요!!");
- return;
- }
-
- var vFixasetcd1 = vFixasetcd0.substr(0,5);
- var vFixasetcd2 = parseFloat(vFixasetcd0.substr(5,4));
-
- for (var i = 0 ; i < vCnt ; i++) {
- misfGridIUD(grd_fixasettmplist, "A");
- addRow2 = grd_fixasettmplist.rows - grd_fixasettmplist.fixedRows;
- model.copyNode(vTarget2+ "[" + addRow2+ "]", vTarget2+ "[" + 1 + "]");
-
- model.setValue(vTarget2+ "[" + addRow2+ "]/fixasetcd", vFixasetcd);
- grd_fixasettmplist.rowStatus(addRow2) = "1";
-
- vFixasetcd2++;
- vFixasetcd = vFixasetcd1 + (""+vFixasetcd2).getLeftPad(4,"0");
- }
-
- grd_fixasettmplist.refresh();
-
- misfSave("TXRFC00204");
-
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <caption id="caption32" class="search_name" style="left:5px; top:12px; width:89px; height:17px; ">복사수량 :</caption>
- <input id="ipt_fixasetcd_copy" ref="/root/init/fixasetcd" class="input_essential" appearance="input" style="left:5px; top:37px; width:95px; height:19px; text-align:left; "/>
- <button id="button6" class="btn2_letter4" style="left:111px; top:36px; width:64px; height:19px; ">
- <caption>코드생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGoodCdCopy("C");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption12" style="left:115px; top:333px; width:62px; height:15px; font-size:10pt; text-align:center; background-color:#ffff99; ">폐기자산</caption>
- <caption id="caption6" class="tit_1" style="left:25px; top:25px; width:116px; height:13px; ">
- <![CDATA[자산코드 등록]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grp_copy.visible = true;
- ]]>
- </script>
- </caption>
- </xhtml:body>
- </xhtml:html>
|