123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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>
- </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/>
- <suppcustnm/>
- <prodplce/>
- <prodcmpy/>
- <prodcmpynm/>
- <chkdd/>
- <delivetermmm/>
- <condd/>
- <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/>
- <maineqmtcd/>
- <lseyn/>
- <cmt/>
- <mngtdeptcd/>
- <maineqmt/>
- <barcdprntyn/>
- <usedd/>
- <suplcntctel/>
- <acqtflag/>
- <earnvaluyn/>
- <agency/>
- <agencycntctel/>
- <smplce/>
- <repaybal/>
- <prvnchkyn/>
- <fundorigin/>
- <entrasetyn/>
- <fixtrflag/>
- <amtacnt/>
- <amtacntnm/>
- <mngtdeptnm/>
- <maineqmtnm/>
- <purcdmnddd/>
- <purcdmndno/>
- <purcdmndseq/>
- <fixasetcdcnt/>
- <repayappdd/>
- <contributor/>
- <fundsorigincnts/>
- <welfcd/>
- <etccnts/>
- <etcwln/>
- </fixasettmplist>
- </fixasetdet>
- <fixasetcopy>
- <fixasetlist/>
- </fixasetcopy>
- <deprcbaseinfo>
- <deprcbaselist/>
- </deprcbaseinfo>
- </main>
- <send>
- <fixasetlist>
- <instcd_search/>
- <goodflag_search/>
- <lrgcd_search/>
- <goodflagnm_search/>
- <cntrdeptcd_search/>
- <installplcecd_search/>
- <possnfrdd_search/>
- <fixasetcd_search/>
- <goodmodel_search/>
- <lrgnm_search/>
- <cntrdeptnm_search/>
- <installplcenm_search/>
- <mngtdeptcd_search/>
- <mngtdeptnm_search/>
- <mdlcd_search/>
- <mdlnm_search/>
- <smlcd_search/>
- <smlnm_search/>
- <prodcmpycd_search/>
- <prodcmpynm_search/>
- <possntodd_search/>
- <rfchmandlist_search/>
- <mainmngtdeptcd_search/>
- <mainmngtdeptnm_search/>
- <oldcd_search/>
- <chkfrdd_search/>
- <chktodd_search/>
- <suplplcecd_search/>
- <suplplcenm_search/>
- <fixasetnm_search/>
- <possnfrdd_search/>
- <possntodd_search/>
- </fixasetlist>
- <tmpnode>
- <tmpfixasetnode/>
- <tmpgridrow/>
- </tmpnode>
- <fixasetcd/>
- <instcd/>
- <save>
- <compslist/>
- <rfchmandlist/>
- <fixasettmplist/>
- </save>
- <fixasetcopy>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- </fixasetcopy>
- <deprcbase>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- </deprcbase>
- </send>
- <init>
- <goodflag>
- <label>비품</label>
- <value>G</value>
- <label>의료장비</label>
- <value>E</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>
- <label>자체제작</label>
- <value>7</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>
- <entrasetyn>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </entrasetyn>
- <fixasetcd/>
- <copycnt/>
- <instcd_conv/>
- </init>
- <temp>
- </temp>
- <copynode/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- // btn_search.dispatch("DOMActivate");
- ]]>
- </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="TRRFC00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/compslist"/>
- <submission id="TRRFC00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/fixasetdet/fixasettmplist" resultref="/root/main/list/rfchmandlist"/>
- <submission id="TRRFC00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetcopy" resultref="/root/main/fixasetcopy"/>
- </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="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- ipt_vFlag.value = ""; //main grid에서 체크박스를 선택하여 체크 상황이 변할때는 선택한 row가 오른쪽 상세내역 조회를 안할수 있도록 할때 사용하는변구
-
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfchmandlist);
- misfGridInit(grd_comps);
- misfGridInit(grd_fixasettmplist);
-
- //rszfGridComboLrgcdList("G", cmb_lrgcd_search, "lrgcd_search","Y");
- //@@@@@@
- misfComboComCdList("030R0006",cmb_repaymthd);
- misfComboComCdList("030R0007",cmb_etcwln); // 기타입고
- misfComboComCdListMulti("Z0007,R0035,R0047,R0042,R0044,R0292,R0316,Z0007",
- "cmb_instcd_search,cmb_prodplce,cmb_curncyunit,cmb_repayflag,cmb_dsplflag,cmb_acqtflag,cmb_fundorigin,cmb_instcd_conv");
-
- misfComboCopyItemSet(cmb_prodplce, "", grd_fixasetlist, "prodplce"); //제조국
-
-
- model.setValue("/root/send/fixasetlist/instcd_search", getUserInfo("dutplceinstcd")); // 기관 설정
-
- if(getUserInfo("dutplceinstcd") =="103"){ //성의교정에서는 여러기관을 관리하고 있어서 disabled을 풀었음
- cmb_instcd_search.disabled = false;
- //btn_serialnoupdate.visible = true;
- }
-
- //경북대버젼 2011.02.16 박진억 수정
- /*if ((getUserInfo("dutplceinstcd") == "032" ) || (getUserInfo("dutplceinstcd") == "114")) {
- model.setValue(cmb_instcd_conv.attribute("ref"), "103");
- }else{
- model.setValue(cmb_instcd_conv.attribute("ref"), model.getValue(cmb_instcd_search.attribute("ref")));
- }*/
- model.setValue(cmb_instcd_conv.attribute("ref"), model.getValue(cmb_instcd_search.attribute("ref")));
- //물품구분 설정 (비품)
- model.setValue("/root/send/fixasetlist/goodflag_search", "GE");
- //rszfComboUnitList (ipt_fixasetunit,model.getValue(cmb_instcd_conv.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
- // 대분류 코드 콤보 설정.
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd_search", "", "L");
- addComboItem( "cmb_lrgcd_search", "전체", "", "above");
- cmb_lrgcd_search.dispatch("xforms-value-changed");
-
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd", "", "L");
-
- var sBaseDate = getCurrentDate();
- // model.setValue("/root/send/fixasetlist/goodmodel_search", "L1706");
- // model.setValue("/root/send/fixasetlist/possndd_search","20060425");
- // model.setValue("/root/send/fixasetlist/possndd_search",sBaseDate);
-
- // model.setValue("/root/send/tmpnode/tmpgridrow", "1");
- // model.setValue("/root/send/tmpnode/tmpgridrow", grd_fixasetlist.row);
-
-
- fAllControlDisabled("true");
-
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
- misfMsterDetailSet(grd_fixasetlist, null, "TRRFC00202", "Y");
- // 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");
- model.refresh();
- }
-
- function fMakeNode()
- {
- model.makeNode("/root/main/fixasetdet/fixasettmplist/acntnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/amtacntnm");
- 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 fSearch(focus)
- {
- /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
- /* misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
-
- var updtdata = getGridUpdateData(grd_fixasettmplist);
-
- if ( updtdata != "")
- {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
-
- if (ret == 7) { // not OK
- return;
- }
- }
- */
- //rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_conv.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
-
- // misfMsterDetailRetrieve();
- submit("TRRFC00202");
-
- if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
- {
- if(focus == null) grd_fixasetlist.row = 1;
- else grd_fixasetlist.row = focus;
- grd_fixasetlist.dispatch("ondblclick");
- }
- var goodqty = 0;
- var possnamt = 0;
-
- for(var currow = grd_fixasetlist.fixedRows ; currow < grd_fixasetlist.rows ; currow++)
- {
- goodqty = goodqty + 1;
- possnamt = possnamt + parseFloat(grd_fixasetlist.valueMatrix(currow , grd_fixasetlist.colRef("possnamt")));
- }
- model.makeValue(opt_sumqty.attribute("ref"),goodqty);
- opt_sumqty.refresh();
- model.makeValue(opt_sumfla.attribute("ref"),possnamt);
- opt_sumfla.refresh();
- }
- function fAllControlDisabled(check)
- {
- ipt_fixasetcd.disabled = check;
- ipt_goodflaghngnm.disabled = check;
- ipt_goodspec.disabled = check;
- ipt_goodmodel.disabled = check;
- rdo_asetflagmaineqmtflag.disabled = check;
- ipt_usge.disabled = check;
- cmb_lrgcd.disabled = check;
- ipt_acntcd.disabled = check;
- ipt_amtacnt.disabled = check;
-
- cmb_mdlcd.disabled = check;
- cmb_smlcd.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_acqtflag.disabled = check;
- rdo_possnflagcd.disabled = check;
- ipt_forgncurncyamt.disabled = check;
- cmb_curncyunit.disabled = check;
- ipt_possndd.disabled = check;
- ipt_winno.disabled = check;
- ipt_winseqno.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
- rdo_lseyn.disabled = check;
- ipt_maineqmtcd.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;
- ipt_etcaddamt.disabled = check;
- ipt_etcaddamt.disabled = check;
- cmb_repayflag.disabled = check;
- cmb_repaymthd.disabled = check;
- ipt_repayrate.disabled = check;
- ipt_cmt.disabled = check;
-
- cmb_fundorigin.disabled = check;
- //ipt_lrgnm.disabled = check;
- //ipt_mdlnm.disabled = check;
- ipt_installplcenm.disabled = check;
- ipt_acntnm.disabled = check;
- ipt_amtacntnm.disabled = check;
- //ipt_smlnm.disabled = check;
- ipt_cntrdeptnm.disabled = check;
- ipt_mngtdeptnm.disabled = check;
- ipt_suplplcenm.disabled = check;
- ipt_prodcmpynm.disabled = check;
- ipt_maineqmtnm.disabled = check;
- //btn_lrgcd.disabled = check;
- btn_acntcd.disabled = check;
- btn_amtacnt.disabled = check;
- //btn_mdlcd.disabled = check;
- //btn_smlcd.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;
- 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;
-
- btn_goodcdcopy.disabled = check;
-
- ipt_suppcustcd.disabled = check;
- ipt_suppcustnm.disabled = check;
- btn_suppcustcd.disabled = check;
-
- ipt_goodflagengnm.disabled = check;
- ipt_incmpemtno.disabled = check;
- rdo_entrasetyn.disabled = check;
-
- //상각적용일,복지부코드,기부자,자금출처내용 추가 2011.02.17 박진억
- ipt_repayappdd.disabled = check;
- ipt_welfcd.disabled = check;
- ipt_contributor.disabled = check;
- ipt_fundsorigincnts.disabled = check;
-
- cmb_etcwln.disabled = check;
- ipt_etccnts.disabled = check;
- }
-
- //자산상세내역 control
- function fComponentDisabled(BOOL)
- {
- ipt_fixasetcd.disabled = BOOL;
- btn_goodcdcopy.disabled = BOOL;
- //ipt_goodflaghngnm.disabled = BOOL;
-
- cmb_lrgcd.disabled = BOOL;
- cmb_mdlcd.disabled = BOOL;
- cmb_smlcd.disabled = BOOL;
-
- ipt_mngtdeptcd.disabled = BOOL;
- btn_mngtdeptcd.disabled = BOOL;
- ipt_mngtdeptnm.disabled = BOOL;
-
- // ipt_installplcecd.disabled = BOOL;
- // btn_installplcecd.disabled = BOOL;
- // ipt_installplcenm.disabled = BOOL;
-
-
-
- /**** 비고부분 활성화 *******/
- // ipt_cmt.disabled = BOOL;
-
-
-
- // ipt_goodmodel.disabled = BOOL;
- // cmb_prodplce.disabled = BOOL;
- // ipt_goodspec.disabled = BOOL;
-
-
-
- /* 경북대병원버젼 수정 - PK, 관리부서를 제외한 모든 부분 수정 활성화 2011.02.17 박진억 수정*/
- /* ipt_cntrdeptcd.disabled = BOOL;
- btn_cntrdeptcd.disabled = BOOL;
- ipt_cntrdeptnm.disabled = BOOL;
-
- ipt_suplplcecd.disabled = BOOL;
- btn_suplplcecd.disabled = BOOL;
- ipt_suplplcenm.disabled = BOOL;
-
-
-
- ipt_suppcustcd.disabled = BOOL;
- btn_suppcustcd.disabled = BOOL;
- ipt_suppcustnm.disabled = BOOL;
-
- ipt_acntcd.disabled = BOOL;
- btn_acntcd.disabled = BOOL;
- ipt_acntnm.disabled = BOOL;
- ipt_amtacnt.disabled = BOOL;
- btn_amtacnt.disabled = BOOL;
- ipt_amtacntnm.disabled = BOOL;
-
- ipt_possndd.disabled = BOOL;
- ipt_fixasetunit.disabled = BOOL;
- ipt_possnamt.disabled = BOOL;
- ipt_etcaddamt.disabled = BOOL;
-
- cmb_dsplflag.disabled = BOOL;
-
- ipt_prodcmpynm.disabled = BOOL;
- btn_prodcmpy.disabled = BOOL;
-
- cmb_acqtflag.disabled = BOOL;
-
- cmb_fundorigin.disabled = BOOL; */
-
- }
- function fComponentDisabled2(BOOL)
- {
- ipt_possndd.disabled = BOOL;
- ipt_fixasetunit.disabled = BOOL;
- ipt_possnamt.disabled = BOOL;
- ipt_etcaddamt.disabled = BOOL;
- ipt_cmt.disabled = BOOL;
-
- ipt_suplplcecd.disabled = BOOL;
- btn_suplplcecd.disabled = BOOL;
- ipt_suplplcenm.disabled = BOOL;
-
- cmb_dsplflag.disabled = BOOL;
-
- ipt_prodcmpynm.disabled = BOOL;
- btn_prodcmpy.disabled = BOOL;
-
- ipt_acntcd.disabled = BOOL;
- btn_acntcd.disabled = BOOL;
- ipt_acntnm.disabled = BOOL;
- ipt_amtacnt.disabled = BOOL;
- btn_amtacnt.disabled = BOOL;
- ipt_amtacntnm.disabled = BOOL;
-
- ipt_cntrdeptcd.disabled = BOOL;
- btn_cntrdeptcd.disabled = BOOL;
- ipt_cntrdeptnm.disabled = BOOL;
-
- cmb_acqtflag.disabled = BOOL;
-
- ipt_mngtdeptcd.disabled = BOOL;
- btn_mngtdeptcd.disabled = BOOL;
- ipt_mngtdeptnm.disabled = BOOL;
- ipt_suppcustcd.disabled = BOOL;
- btn_suppcustcd.disabled = BOOL;
- ipt_suppcustnm.disabled = BOOL;
-
- cmb_fundorigin.disabled = BOOL;
- }
-
- 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 fDefaultSetting(prow)
- {
- model.setValue(grd_fixasetlist.nodeset +"[" + prow+ "]/instcd" ,model.getValue(cmb_instcd_search.attribute("ref")));
- model.setValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_search.attribute("ref"))); // 기관 설정
- model.setValue("/root/main/fixasetdet/fixasettmplist/goodflag", model.getValue(opt_goodflag_search.attribute("ref"))); // 물품구분
- model.setValue("/root/main/fixasetdet/fixasettmplist/goodqty", "1"); // 수량
-
- model.setValue(cmb_repayflag.attribute("ref"), "2"); // 상각구분 : 미상각
-
- // model.setValue(grd_fixasetlist.nodeset +"[" + prow+ "]/goodflag" ,model.getValue(opt_goodflag_search.attribute("ref")));
-
- }
-
- function fGoodCdCopy(pCls)
- {
- if(model.getValue(opt_goodflag_search.attribute("ref")).length== 0 )
- {
- messageBox("물품구분을 " ,"C002");
- model.setFocus("opt_goodflag_search");
- 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;
- }
-
- if (model.getValue(cmb_smlcd.attribute("ref")).length== 0 )
- {
- model.setValue(cmb_smlcd.attribute("ref"), "00");
- cmb_smlcd.refresh();
- //messageBox("소분류코드를 " ,"C002");
- //model.setFocus("cmb_smlcd");
- //return false;
- }
-
- model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd_search.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(opt_goodflag_search.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 = model.getValue(opt_goodflag_search.attribute("ref")) + model.getValue(cmb_lrgcd.attribute("ref")) + model.getValue(cmb_mdlcd.attribute("ref")) + model.getValue(cmb_smlcd.attribute("ref")) + "0001";
- if (pCls == "C") {
- model.setValue(ipt_fixasetcd_copy.attribute("ref"), fixasetcd);
- ipt_fixasetcd_copy.refresh();
- } else {
- model.setValue(ipt_fixasetcd.attribute("ref"), fixasetcd);
- ipt_fixasetcd.refresh();
- }
-
- // model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,-1;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <!--<group id="grp_btn" style="left:0px; top:755px; width:1195px; height:27px; ">
- <button id="button20" class="btn4_letter3" style="left:1067px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- <button id="button19" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- </button>
- </group>-->
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">비품자산코드관리</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="비품코드^비품명^규격^구입금액^공급처^취득일^사용부서^입고계정^구입일자^보조거래처^제조원^제조국^모델명^청구부서^이미지^구코드^SERIAL NO^사용장소코드^caption1^caption2^caption3^12^13^14^15^goodflagengnm^tempmngtdeptnm^tempmngtdeptcd^S/N 변경^요구일자^요구번호^요구순번^자산수량" colsep="^" colwidth="140, 200, 200, 150, 150, 150, 150, 80, 80, 80, 80, 120, 80, 49, 148, 138, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 79, 73, 77, 66, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="22" style="left:0px; top:121px; width:1190px; height:200px; ">
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodflaghngnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodspec" style="text-align:left; padding-left:10; "/>
- <col ref="possnamt" format="#,###" style="text-align:right; padding-right:10; "/>
- <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="mngtdeptnm" style="text-align:left; padding-left:10; "/>
- <col ref="amtacnt" visibility="hidden" style="text-align:left; "/>
- <col ref="possndd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="suppcustnm" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden" style="text-align:left; "/>
- <col disabled="true" ref="prodplce" type="combo" visibility="hidden" style="text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="cntrdeptnm" visibility="hidden"/>
- <col checkvalue="Y,N" disabled="true" ref="photoyn" type="checkbox" visibility="hidden"/>
- <col ref="oldcd" visibility="hidden" style="text-align:center; "/>
- <col ref="mngtno" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="instcd" type="input" visibility="hidden"/>
- <col ref="maineqmt" type="input" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden" style="text-align:left; "/>
- <col ref="entrasetyn" visibility="hidden"/>
- <col ref="goodflagengnm" visibility="hidden"/>
- <col ref="tempmngtdeptnm" visibility="hidden"/>
- <col ref="tempmngtdeptcd" visibility="hidden"/>
- <col checkvalue="Y,N" ref="serialchk" type="checkbox" visibility="hidden"/>
- <col ref="purcdmnddd" visibility="hidden"/>
- <col ref="purcdmndno" visibility="hidden"/>
- <col ref="purcdmndseq" visibility="hidden"/>
- <col ref="fixasetcdcnt" visibility="hidden"/>
- <col ref="repayappdd" visibility="hidden"/>
- <col ref="contributor" visibility="hidden"/>
- <col ref="fundsorigincnts" visibility="hidden"/>
- <col ref="welfcd" visibility="hidden"/>
- <col ref="etccnts" visibility="hidden"/>
- <col ref="etcwln" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //main grid에서 체크박스를 선택하여 체크 상황이 변할때는 선택한 row가 오른쪽 상세내역 조회를 안할수 있도록 할때 사용하는변수
- if (ipt_vFlag.value == "")
- {
- /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
- /* 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);
- 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();
- // 대분류 코드 콤보 설정.
- //rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd", "", "L");
- cmb_lrgcd.dispatch("xforms-value-changed");
- fAllControlDisabled("false");
- model.getValue(cmb_instcd_conv.attribute("ref"))
- //자산상세내역 Control 활성화
- if (model.getValue(cmb_instcd_conv.attribute("ref")) != "103") {
- fComponentDisabled(true);
- }
- if (model.getValue(cmb_instcd_conv.attribute("ref")) == "017" || model.getValue(cmb_instcd_conv.attribute("ref")) == "011") {
- fComponentDisabled2(false);
- }
- //ipt_fixasetcd.disabled = true;
- //ipt_goodflaghngnm.disabled = true;
- //ipt_installplcecd.disabled = true;
- submit("TRRFC00205");
- submit("TRRFC00207");
- cmb_repaymthd.dispatch("xforms-value-changed"); // 20100217 [최형진] 감가상각관련
- ipt_cntsyearno.dispatch("xforms-value-changed"); // 20100217 [최형진] 감가상각관련
- model.setValue("/root/send/tmpnode/tmpfixasetnode", grd_fixasetlist.row);
- grd_fixasetlist.dispatch("onmouseup");
- //보수계약정보Grid를 ReadOnly 상태로 셋팅
- grd_rfchmandlist.isReadOnly(grd_rfchmandlist.fixedRows , grd_rfchmandlist.colRef("rpirconfromdd")-1 , grd_rfchmandlist.rows-grd_rfchmandlist.fixedRows , grd_rfchmandlist.colRef("agencycntctel") ) = true;
-
- cmb_fundorigin.dispatch("xforms-value-changed");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //main grid에서 체크박스를 선택하여 체크 상황이 변할때는 선택한 row가 오른쪽 상세내역 조회를 안할수 있도록 할때 사용하는변구
- ipt_vFlag.value = "Y";
- ]]>
- </script>
- </datagrid>
- <input id="ipt_etccnts" ref="/root/main/fixasetdet/fixasettmplist/etccnts" class="input_default" visibility="hidden" style="left:991px; top:340px; width:200px; height:19px; "/>
- <caption id="caption41" class="cell_1" visibility="hidden" style="left:918px; top:340px; width:72px; height:19px; vertical-align:middle; ">기타내용</caption>
- <datagrid id="grd_fixasettmplist" nodeset="/root/main/list/fixasetdet/fixasettmplist" visibility="hidden" caption="기관코드^지신코드^caption1^caption2" colsep="^" colwidth="88, 40, 40, 40, 39, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 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:30px; top:220px; width:495px; height:75px; ">
- <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="suppcustnm"/>
- <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="maineqmtcd"/>
- <col ref="lseyn"/>
- <col ref="cmt"/>
- <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="entrasetyn"/>
- <col ref="fixtrflag"/>
- <col ref="amtacnt"/>
- <col ref="amtacntnm"/>
- <col ref="purcdmnddd"/>
- <col ref="purcdmndno"/>
- <col ref="purcdmndseq"/>
- <col ref="fixasetcdcnt"/>
- <col ref="repayappdd"/>
- <col ref="contributor"/>
- <col ref="fundsorigincnts"/>
- <col ref="welfcd"/>
- <col ref="etccnts"/>
- <col ref="etcwln"/>
- </datagrid>
- <caption id="cap_dsplflag" class="cell_1" visibility="visible" style="left:537px; top:360px; width:72px; height:19px; vertical-align:middle; ">처분구분</caption>
- <select1 id="cmb_dsplflag" ref="/root/main/fixasetdet/fixasettmplist/dsplflag" disabled="true" navindex="51" visibility="visible" appearance="minimal" style="left:610px; top:360px; width:105px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_winno" class="cell_1" visibility="visible" style="left:537px; top:380px; width:72px; height:19px; vertical-align:middle; ">취득일</caption>
- <select1 id="cmb_fundorigin" ref="/root/main/fixasetdet/fixasettmplist/fundorigin" disabled="true" navindex="58" visibility="visible" appearance="minimal" style="left:791px; top:340px; width:123px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var visibleFlag = false;
- if(cmb_fundorigin.value == "03"){
- visibleFlag = true;
- }
- caption41.visible = visibleFlag;
- ipt_etccnts.visible = visibleFlag;
-
- caption29.visible = !visibleFlag;
- ipt_amtacnt.visible = !visibleFlag;
- btn_amtacnt.visible = !visibleFlag;
- ipt_amtacntnm.visible = !visibleFlag;
- ]]>
- </script>
- </select1>
- <caption id="cap_acqtflag" class="cell_1" visibility="visible" style="left:537px; top:340px; width:72px; height:19px; vertical-align:middle; ">도입구분</caption>
- <select1 id="cmb_acqtflag" ref="/root/main/fixasetdet/fixasettmplist/acqtflag" navindex="50" visibility="visible" appearance="minimal" style="left:610px; top:340px; width:105px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_possndd" ref="/root/main/fixasetdet/fixasettmplist/possndd" class="input_default" navindex="52" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:610px; top:380px; width:105px; height:19px; "/>
- <input id="ipt_condd" ref="/root/main/fixasetdet/fixasettmplist/condd" class="input_default" navindex="53" visibility="visible" inputtype="date" style="left:610px; top:400px; width:105px; height:19px; "/>
- <caption id="cap_fundorigin" class="cell_1" visibility="visible" style="left:717px; top:340px; width:72px; height:19px; vertical-align:middle; ">기부출처</caption>
- <caption id="cap_delivetermmm" class="cell_1" visibility="visible" style="left:537px; top:420px; width:72px; height:19px; vertical-align:middle; ">계약만료일</caption>
- <input id="ipt_delivetermmm" ref="/root/main/fixasetdet/fixasettmplist/delivetermmm" class="input_default" navindex="54" visibility="visible" appearance="input" style="left:610px; top:420px; width:105px; height:19px; "/>
- <caption id="cap_condd" class="cell_1" visibility="visible" style="left:537px; top:400px; width:72px; height:19px; vertical-align:middle; ">계약일</caption>
- <caption id="cap_fixasetunit" class="cell_1" visibility="visible" style="left:2px; top:500px; width:72px; height:19px; vertical-align:middle; ">단위</caption>
- <caption id="cap_possnamt" class="cell_1" visibility="visible" style="left:2px; top:520px; width:72px; height:19px; vertical-align:middle; ">구입금액</caption>
- <input id="ipt_possnamt" ref="/root/main/fixasetdet/fixasettmplist/possnamt" class="input_default" navindex="36" visibility="visible" format="#,###" appearance="input" style="left:76px; top:520px; width:204px; height:19px; text-align:right; "/>
- <input id="ipt_fixasetunit" ref="/root/main/fixasetdet/fixasettmplist/fixasetunit" navindex="35" visibility="visible" appearance="minimal" style="left:75px; top:500px; width:205px; height:19px; "/>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:95px; vertical-align:top; ">
- <caption id="caption28" class="search_name" visibility="hidden" style="left:766px; top:72px; width:118px; height:17px; ">구 코 드 :</caption>
- <input id="ipt_oldcd" ref="/root/send/fixasetlist/oldcd_search" visibility="hidden" style="left:853px; top:71px; width:192px; height:19px; "/>
- <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_essential" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1058px; top:69px; width:70px; height:19px; "/>
- <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_essential" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1113px; top:69px; width:73px; height:19px; "/>
- <caption id="caption2" visibility="hidden" style="left:1128px; top:69px; width:15px; height:18px; font-weight:bold; ">~</caption>
- <caption id="cap_possndd_search" class="search_name" visibility="hidden" style="left:940px; top:69px; width:117px; height:17px; ">구 입 일 자 :</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:95px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_goodflagnm_search" ref="/root/send/fixasetlist/goodflagnm_search" class="input_default" navindex="5" style="left:437px; top:6px; width:148px; 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:5px; top:28px; width:117px; height:17px; ">대 분 류 :</caption>
- <caption id="cap_mngtdeptcd_search" class="search_name" style="left:319px; top:28px; width:117px; height:17px; ">사 용 부 서 :</caption>
- <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_default" navindex="7" style="left:437px; top:28px; width:93px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptcd_search.value.length == 0)
- ipt_mngtdeptnm_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_mngtdeptcd_search.value, "", "mngtdeptcd_search,mngtdeptnm_search",
- ipt_mngtdeptcd_search, "SPRPZ00200", "","");
- ipt_mngtdeptcd_search.refresh();
- ipt_mngtdeptnm_search.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_mngtdeptcd_search" class="icon_search" style="left:534px; top:28px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*misfOpenPopUpList("02", ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search");
- ipt_mngtdeptcd_search.refresh();
- ipt_mngtdeptnm_search.refresh();
- */
- rszfOpenPopUpListByWndName(ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search","SPRPZ00800","instcd","cmb_instcd_search");
- ipt_mngtdeptcd_search.refresh();
- ipt_mngtdeptnm_search.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptnm_search" ref="/root/send/fixasetlist/mngtdeptnm_search" class="input_fix" navindex="8" appearance="input" style="left:554px; top:28px; width:156px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptnm_search.value.length == 0)
- ipt_mngtdeptcd_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_mngtdeptnm_search.value, "", "mngtdeptcd_search,mngtdeptnm_search",
- ipt_mngtdeptcd_search, "SPRPZ00200", "","");
- ipt_mngtdeptcd_search.refresh();
- ipt_mngtdeptnm_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_installplcecd_search" ref="/root/send/fixasetlist/installplcecd_search" class="input_default" visibility="hidden" style="left:995px; top:70px; width:28px; 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", "","");
- ]]>
- </script>
- </input>
- <button id="btn_installplcecd_search" class="icon_search" visibility="hidden" style="left:1025px; top:70px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_installplcecd_search,"", "installplcecd_search,installplcenm_search") ;
- ]]>
- </script>
- </button>
- <input id="ipt_installplcenm_search" ref="/root/send/fixasetlist/installplcenm_search" class="input_fix" visibility="hidden" appearance="input" style="left:1045px; top:70px; width:48px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcenm_search.value.length == 0)
- ipt_installplcecd_search.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptnm," + ipt_installplcenm_search.value, "", "installplcecd_search,installplcenm_search",
- ipt_installplcenm_search, "PPRAC00700", "","");
- ]]>
- </script>
- </input>
- <input id="ipt_fixasetcd_search" ref="/root/send/fixasetlist/fixasetcd_search" class="input_default" visibility="hidden" style="left:1095px; top:65px; width:48px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="17" style="left:1126px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </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_s_essential" disabled="true" navindex="1" appearance="minimal" style="left:95px; top:6px; width:190px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vInstcd = model.getValue(cmb_instcd_search.attribute("ref")); // 기관 설정
- // 경북대 버전 --> 2011.02.16 박진억 주석 처리했음.
- /*if ((vInstcd == "032") || (vInstcd == "114") ) {
- model.setValue(cmb_instcd_conv.attribute("ref"), "103");
- if (getUserInfo("dutplceinstcd") == "103") { // 기관 설정
- btn_save.disabled = false;
- }else{
- btn_save.disabled = true;
- }
- }else{*/
- model.setValue(cmb_instcd_conv.attribute("ref"), vInstcd);
-
- if (getUserInfo("dutplceinstcd") == vInstcd) { // 기관 설정
- btn_save.disabled = false;
- }else{
- btn_save.disabled = true;
- }
- //}
-
- cmb_instcd_conv.refresh();
-
- ]]>
- </script>
- </select1>
- <input id="ipt_goodmodel_search" ref="/root/send/fixasetlist/goodmodel_search" class="input_default" navindex="6" style="left:590px; top:6px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line12" class="line_4" style="x1:1115px; y1:5px; x2:1115px; y2:90px; border-color:#ffd799; "/>
- <caption id="cap_mdlcd_search" class="search_name" style="left:5px; top:50px; width:117px; height:17px; ">중 분 류 :</caption>
- <caption id="cap_smlcd_search" class="search_name" style="left:5px; top:73px; width:117px; height:17px; ">소 분 류 :</caption>
- <button id="btn_prodcmpycd_search" class="icon_search" visibility="hidden" style="left:897px; top:73px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpycd_search,"","prodcmpycd_search,prodcmpynm_search","SPRSD00160","","");
- //model.refresh();
- ipt_prodcmpycd_search.refresh();
- ipt_prodcmpynm_search.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_prodcmpycd" class="search_name" visibility="hidden" style="left:752px; top:73px; width:117px; height:17px; ">제 조 회 사 :</caption>
- <input id="ipt_prodcmpynm_search" ref="/root/send/fixasetlist/prodcmpynm_search" class="input_fix" visibility="hidden" appearance="input" style="left:917px; top:73px; width:45px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpynm_search.value != ""){
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpynm,," + ipt_prodcmpynm_search.value
- ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpycd_search.value = "";
- }
- //model.refresh();
- ipt_prodcmpycd_search.refresh();
- ipt_prodcmpynm_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpycd_search" ref="/root/send/fixasetlist/prodcmpycd_search" class="input_default" visibility="hidden" style="left:870px; top:73px; width:22px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpycd_search.value != ""){
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpycd," + ipt_prodcmpycd_search.value + ","
- ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpynm_search.value = "";
- }
- //model.refresh();
- ipt_prodcmpycd_search.refresh();
- ipt_prodcmpynm_search.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" visibility="hidden" style="left:1010px; top:0px; width:100px; height:19px; "/>
- <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" navindex="2" appearance="minimal" style="left:95px; top:28px; width:190px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M");
- addComboItem( "cmb_mdlcd_search", "전체", "", "above");
-
- cmb_mdlcd_search.value = "";
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" navindex="3" appearance="minimal" style="left:95px; top:49px; width:190px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S");
- addComboItem( "cmb_smlcd_search", "전체", "", "above");
-
- cmb_smlcd_search.value = "";
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd_search" ref="/root/send/fixasetlist/smlcd_search" navindex="4" appearance="minimal" style="left:95px; top:71px; width:190px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_rfchmandlist_search" class="search_name" style="left:750px; top:28px; width:125px; height:17px; ">보수계약유무 :</caption>
- <select1 id="cmb_rfchmandlist_search" ref="/root/send/fixasetlist/rfchmandlist_search" class="combo_search" navindex="14" appearance="minimal" style="left:868px; top:28px; width:137px; 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>
- <select1 id="cmb_instcd_conv" ref="/root/init/instcd_conv" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:290px; top:6px; width:45px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_goodflagnm_search" class="search_name" style="left:319px; top:6px; width:117px; height:17px; ">비품/모델명 :</caption>
- <input id="ipt_mainmngtdeptcd_search" ref="/root/send/fixasetlist/mainmngtdeptcd_search" class="input_default" navindex="9" style="left:437px; top:50px; width:93px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mainmngtdeptcd_search.value.length == 0)
- ipt_mainmngtdeptcd_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_mainmngtdeptcd_search.value, "", "mainmngtdeptcd_search,mainmngtdeptnm_search",
- ipt_mainmngtdeptcd_search, "SPRPZ00200", "","");
- //model.refresh();
- ipt_mainmngtdeptcd_search.refresh();
- ipt_mainmngtdeptdeptnm_search.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_mainmngtdeptcd_search" class="icon_search" style="left:534px; top:52px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mainmngtdeptcd_search,"","mainmngtdeptcd_search,mainmngtdeptnm_search");
- //model.refresh();
- ipt_mainmngtdeptcd_search.refresh();
- ipt_mainmngtdeptdeptnm_search.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_mainmngtdeptcd_search" class="search_name" style="left:319px; top:50px; width:117px; height:17px; ">입 력 부 서 :</caption>
- <input id="ipt_mainmngtdeptdeptnm_search" ref="/root/send/fixasetlist/mainmngtdeptnm_search" class="input_fix" navindex="10" appearance="input" style="left:554px; top:50px; width:156px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mainmngtdeptdeptnm_search.value.length == 0)
- ipt_mainmngtdeptcd_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_mainmngtdeptdeptnm_search.value, "", "mngtdeptcd_search,mngtdeptnm_search",
- ipt_mainmngtdeptdeptnm_search, "SPRPZ00200", "","");
- //model.refresh();
- ipt_mainmngtdeptcd_search.refresh();
- ipt_mainmngtdeptdeptnm_search.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption36" class="search_name" style="left:751px; top:50px; width:118px; height:17px; ">취 득 일 자 :</caption>
- <input id="ipt_possntodd" ref="/root/send/fixasetlist/possntodd_search" class="input_essential" navindex="16" inputtype="date" format="yyyy-mm-dd" style="left:986px; top:50px; width:95px; height:19px; "/>
- <input id="ipt_chktodd" ref="/root/send/fixasetlist/chktodd_search" class="input_essential" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1120px; top:70px; width:20px; height:19px; "/>
- <caption id="caption37" style="left:968px; top:50px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_chkfrdd" ref="/root/send/fixasetlist/chkfrdd_search" class="input_essential" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:1095px; top:70px; width:20px; height:19px; "/>
- <button id="btn_suplplcecd_search" class="icon_search" style="left:534px; top:72px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd_search,suplplcenm_search","SPRSD00220","instcd","cmb_instcd_conv");
- //model.refresh();
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption38" class="search_name" style="left:319px; top:72px; width:118px; height:17px; ">공 급 처 :</caption>
- <input id="ipt_possnfrdd" ref="/root/send/fixasetlist/possnfrdd_search" class="input_essential" navindex="15" inputtype="date" format="yyyy-mm-dd" style="left:868px; top:50px; width:93px; height:19px; "/>
- <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="input_fix" navindex="12" appearance="input" style="left:554px; top:72px; width:156px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcenm_search.value.length == 0)
- ipt_suplplcecd_search.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "custnm," + ipt_suplplcenm_search.value, "", "suplplcecd_search,suplplcenm_search",
- ipt_suplplcenm_search, "SPRSD00220", "instcd","cmb_instcd_search");
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_default" navindex="11" style="left:437px; top:72px; width:93px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpycd_search.value.length == 0)
- ipt_suplplcenm.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_conv.value + "," + "entrregno," + ipt_prodcmpycd_search.value, "", "suplplcecd_search,suplplcenm_search",
- ipt_prodcmpycd_search, "SPRSD00220", "instcd","cmb_instcd_search");
-
- ipt_prodcmpycd_search.refresh();
- ipt_prodcmpynm_search.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_fixasetcd_search" class="search_name" style="left:750px; top:6px; width:116px; height:17px; ">자 산 코 드 :</caption>
- <input id="input1" ref="/root/send/fixasetlist/fixasetcd_search" class="input_search" navindex="13" visibility="visible" imemode="disabled" _chartype="upper" style="left:868px; top:6px; width:137px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption19" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
- <caption id="caption20" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:118px; x2:1190px; y2:117px; "/>
- <!--</group>-->
- <caption id="caption21" class="tit_2" style="left:0px; top:103px; width:69px; height:13px; ">비품목록</caption>
- <caption id="caption22" visibility="visible" style="left:918px; top:460px; width:112px; height:20px; ">제조회사코드(히든)</caption>
- <input id="ipt_prodcmpy" ref="/root/main/fixasetdet/fixasettmplist/prodcmpy" visibility="visible" style="left:1028px; top:460px; width:44px; height:19px; "/>
- <button id="btn_delrow" class="btn2_letter3" navindex="21" style="left:1138px; top:96px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 1 && grd_fixasetlist.rows- grd_fixasetlist.fixedRows != 0)
- {
- grd_fixasetlist.deleteRow(grd_fixasetlist.row);
- misfGridInit(grd_fixasettmplist);
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- fAllControlDisabled("true");
-
- if(grd_fixasetlist.rows- grd_fixasetlist.fixedRows != 0)
- {
- grd_fixasetlist.row = grd_fixasetlist.rows- grd_fixasetlist.fixedRows;
- grd_fixasetlist.dispatch("ondblclick");
- }
- }
- else{
- for(var rowIndex=0;rowIndex<grd_fixasetlist.selectedRows;rowIndex++){
- grd_fixasetlist.addStatus(grd_fixasetlist.selectedRow(rowIndex), "delete");
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" navindex="20" style="left:1082px; top:96px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_init.dispatch("DOMActivate");
- misfGridIUD(grd_fixasetlist, "A");
- grd_fixasetlist.dispatch("ondblclick");
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- // default value setting
- addRow = grd_fixasetlist.rows - grd_fixasetlist.fixedRows;
- fDefaultSetting(addRow);
-
- // disable control
- fAllControlDisabled("false");
- //cmb_dsplflag.select(0);
- grd_fixasetlist.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_installplcenm" ref="/root/main/fixasetdet/fixasettmplist/installplcenm" class="input_fix" navindex="32" appearance="input" style="left:170px; top:460px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcenm.value.length == 0)
- ipt_installplcecd.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptnm," + ipt_installplcenm.value, "", "installplcecd,installplcenm",
- ipt_installplcenm, "PPRAC00700", "","");
- //model.refresh();
- ipt_installplcenm.refresh();
- ipt_installplcecd.refresh();
-
- ]]>
- </script>
- </input>
- <line id="line21" class="line_1" style="x1:0px; y1:335px; x2:1190px; y2:335px; "/>
- <caption id="cap_goodflaghngnm" class="cell_1" visibility="visible" style="left:284px; top:340px; width:72px; height:19px; vertical-align:middle; ">비품명칭</caption>
- <button id="btn_mngtdeptcd" class="icon_search" style="left:152px; top:440px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*misfOpenPopUpList("02", ipt_mngtdeptcd,"", "mngtdeptcd,mngtdeptnm") ;
- //model.refresh();
- ipt_mngtdeptnm.refresh();
- ipt_mngtdeptcd.refresh();
- */
- rszfOpenPopUpListByWndName(ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm","SPRPZ00800","instcd","cmb_instcd_search");
- ipt_mngtdeptnm.refresh();
- ipt_mngtdeptcd.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_installplcecd" ref="/root/main/fixasetdet/fixasettmplist/installplcecd" class="input_essential" navindex="31" appearance="input" style="left:75px; top:460px; width:75px; 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();
- ipt_installplcenm.refresh();
- ipt_installplcecd.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_suplplcecd" class="cell_1" style="left:2px; top:480px; width:72px; height:19px; vertical-align:middle; ">공급처</caption>
- <textarea id="ipt_cmt" ref="/root/main/fixasetdet/fixasettmplist/cmt" navindex="67" maxlength="100" appearance="textarea" style="left:610px; top:501px; width:305px; height:59px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- model.setFocus("ipt_cmt");
- messageBox("입력 가능한 글자수 초과","I009");
- ]]>
- </script>
- </textarea>
- <caption id="cap_prodcmpy" class="cell_1" visibility="visible" style="left:918px; top:460px; width:72px; height:19px; vertical-align:middle; ">제조회사</caption>
- <button id="btn_prodcmpy" class="icon_search" navindex="76" visibility="visible" style="left:1173px; top:460px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpy,"","prodcmpy,prodcmpynm","SPRSD00160","","");
- //model.refresh();
- ipt_prodcmpynm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_cntrdeptnm" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptnm" class="input_fix" navindex="28" appearance="input" style="left:170px; top:420px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_cntrdeptnm.value.length == 0)
- ipt_cntrdeptcd.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_cntrdeptnm.value, "", "cntrdeptcd,cntrdeptnm",
- ipt_cntrdeptnm, "SPRPZ00200", "","");
- //model.refresh();
- ipt_cntrdeptnm.refresh();
- ipt_cntrdeptcd.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_lrgcd" class="cell_1" style="left:2px; top:360px; width:72px; height:19px; vertical-align:middle; ">대분류</caption>
- <caption id="cap_smlcd" class="cell_1" style="left:2px; top:400px; width:72px; height:19px; vertical-align:middle; ">소분류</caption>
- <caption id="cap_mngtdeptcd" class="cell_1" style="left:2px; top:440px; width:72px; height:19px; vertical-align:middle; ">사용부서</caption>
- <input id="ipt_cntrdeptcd" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptcd" class="input_default" appearance="input" style="left:75px; top:420px; width:75px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_cntrdeptcd.value.length == 0)
- ipt_cntrdeptnm.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_cntrdeptcd.value, "", "cntrdeptcd,cntrdeptnm",
- ipt_cntrdeptcd, "SPRPZ00200", "","");
- //model.refresh();
- ipt_cntrdeptnm.refresh();
- ipt_cntrdeptcd.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_installplcecd" class="icon_search" style="left:152px; top:460px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_installplcecd,"", "installplcecd,installplcenm") ;
- //model.refresh();
- ipt_installplcenm.refresh();
- ipt_installplcecd.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_suplplcenm" ref="/root/main/fixasetdet/fixasettmplist/suplplcenm" class="input_fix" navindex="34" appearance="input" style="left:170px; top:480px; width:110px; 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();
- ipt_suplplcecd.refresh();
- ipt_suplplcenm.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_goodspec" class="cell_1" visibility="visible" style="left:284px; top:380px; width:72px; height:19px; vertical-align:middle; ">규격</caption>
- <input id="ipt_goodspec" ref="/root/main/fixasetdet/fixasettmplist/goodspec" class="input_default" navindex="41" visibility="visible" appearance="input" style="left:357px; top:380px; width:177px; height:19px; "/>
- <caption id="cap_mdlcd" class="cell_1" style="left:2px; top:380px; width:72px; height:19px; vertical-align:middle; ">중분류</caption>
- <input id="ipt_goodflaghngnm" ref="/root/main/fixasetdet/fixasettmplist/goodflaghngnm" class="input_essential" navindex="39" visibility="visible" appearance="input" style="left:357px; top:340px; width:177px; height:19px; "/>
- <line id="line45" class="line_3" style="x1:0px; y1:562px; x2:1190px; y2:562px; "/>
- <input id="ipt_suplplcecd" ref="/root/main/fixasetdet/fixasettmplist/suplplcecd" class="input_default" navindex="33" appearance="input" style="left:75px; top:480px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcecd.value.length == 0)
- ipt_suplplcenm.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_conv.value + "," + "entrregno," + ipt_suplplcecd.value, "", "suplplcecd,suplplcenm",
- ipt_suplplcecd, "SPRSD00220", "instcd","cmb_instcd_search");
- //model.refresh();
- ipt_suplplcecd.refresh();
- ipt_suplplcenm.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_cmt" class="cell_1" style="left:537px; top:500px; width:72px; height:59px; vertical-align:middle; ">비고</caption>
- <input id="ipt_mngtdeptnm" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptnm" class="input_fix" navindex="30" appearance="input" style="left:170px; top:440px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptnm.value.length == 0)
- ipt_mngtdeptcd.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_mngtdeptnm.value, "", "mngtdeptcd,mngtdeptnm",
- ipt_mngtdeptnm, "SPRPZ00200", "","");
- //model.refresh();
- ipt_mngtdeptnm.refresh();
- ipt_mngtdeptcd.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodmodel" ref="/root/main/fixasetdet/fixasettmplist/goodmodel" class="input_default" navindex="42" visibility="visible" appearance="input" style="left:357px; top:400px; width:177px; height:19px; "/>
- <caption id="cap_installplcecd" class="cell_1" style="left:2px; top:460px; width:72px; height:19px; vertical-align:middle; ">설치장소</caption>
- <button id="btn_cntrdeptcd" class="icon_search" style="left:152px; top:420px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_cntrdeptcd,"","cntrdeptcd,cntrdeptnm");
- //model.refresh();
- ipt_cntrdeptnm.refresh();
- ipt_cntrdeptcd.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_goodmodel" class="cell_1" visibility="visible" style="left:284px; top:400px; width:72px; height:19px; vertical-align:middle; ">모델명</caption>
- <input id="ipt_fixasetcd" ref="/root/main/fixasetdet/fixasettmplist/fixasetcd" class="input_essential" navindex="23" appearance="input" style="left:75px; top:340px; width:137px; height:19px; "/>
- <input id="ipt_mngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptcd" class="input_default" navindex="29" appearance="input" style="left:75px; top:440px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptcd.value.length == 0)
- ipt_mngtdeptnm.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_mngtdeptcd.value, "", "mngtdeptcd,mngtdeptnm",
- ipt_mngtdeptcd, "SPRPZ00200", "","");
- //model.refresh();
- ipt_mngtdeptnm.refresh();
- ipt_mngtdeptcd.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpynm" ref="/root/main/fixasetdet/fixasettmplist/prodcmpynm" class="input_fix" navindex="75" visibility="visible" appearance="input" style="left:991px; top:460px; width:179px; 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", "","");
- //model.refresh();
- ipt_prodcmpynm.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_fixasetcd" class="cell_1" style="left:2px; top:340px; width:72px; height:19px; vertical-align:middle; ">비품코드</caption>
- <caption id="cap_acntcd" class="cell_1" style="left:2px; top:540px; width:72px; height:19px; vertical-align:middle; ">입고계정</caption>
- <input id="ipt_acntnm" ref="/root/main/fixasetdet/fixasettmplist/acntnm" class="input_fix" navindex="38" appearance="input" style="left:170px; top:540px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_acntnm.value.length == 0)
- ipt_acntcd.value = "";
- else
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
- ",Y,2," + ipt_acntnm.value, "", "acntcd,acntnm",
- ipt_acntnm, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd");
- //model.refresh();
- ipt_acntnm.refresh();
- ipt_acntcd.refresh();
- ]]>
- </script>
- </input>
- <line id="line53" class="line_2" style="x1:2px; y1:458px; x2:77px; y2:458px; "/>
- <button id="btn_suplplcecd" class="icon_search" style="left:152px; top:480px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd_conv");
- //model.refresh();
- ipt_suplplcecd.refresh();
- ipt_suplplcenm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_acntcd" ref="/root/main/fixasetdet/fixasettmplist/acntcd" class="input_default" navindex="37" appearance="input" style="left:75px; top:540px; width:75px; 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();
- ipt_acntnm.refresh();
- ipt_acntcd.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_acntcd" class="icon_search" style="left:152px; top:540px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100_계정코드HELP","","");
- //model.refresh();
- ipt_acntnm.refresh();
- ipt_acntcd.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_prodplce" class="cell_1" visibility="visible" style="left:918px; top:480px; width:72px; height:19px; vertical-align:middle; ">제조국</caption>
- <select1 id="cmb_prodplce" ref="/root/main/fixasetdet/fixasettmplist/prodplce" navindex="77" visibility="visible" appearance="minimal" style="left:991px; top:480px; width:200px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_cntrdeptcd" class="cell_1" style="left:2px; top:420px; width:72px; height:19px; vertical-align:middle; ">청구부서</caption>
- <button id="btn_addrow_" class="btn2_letter3" navindex="88" style="left:1074px; top:567px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (model.getValue(ipt_fixasetcd.attribute("ref")).length == 0){
- if(!isRequiredControls("ipt_fixasetcd")) return;
- }
- 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.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/condd",getCurrentDate());
-
- 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);
-
- //오류가 납니다. 의미없어 보이는 코드같아 주석 처리 합니다.-MIS 개발팀...송광호-
- //model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/condd",getCurrentDate());
-
- model.refresh();
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_chnghist" class="btn2_letter4" navindex="85" style="left:444px; top:567px; 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("ondblclick");
- ]]>
- </script>
- </button>
- <button id="btn_comps" class="btn_sw" group="tab" style="left:84px; top:565px; width:100px; height:22px; ">
- <caption>구성품</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <button id="btn_delrow_" class="btn2_letter3" navindex="89" style="left:1130px; top:567px; 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_set" class="btn2_letter3" navindex="84" style="left:388px; top:567px; 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_rfchmandlist" class="btn_sw" group="tab" selected="true" style="left:1px; top:565px; width:84px; height:22px; ">
- <caption>보수계약정보</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <button id="btn_image" class="btn2_letter5" navindex="83" style="left:310px; top:567px; width:75px; 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("SPRSC00201_이미지.xrw","modeless", "SPRSC00201_이미지.xrw", "width:330px; height:390;min:hidden;max:hidden;align:center", "" ,"");
- 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")) );
- }else{
- messageBox("자산을", "C002");
- }
-
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0; top:588px; width:1195; height:150; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true">
- <datagrid id="grd_rfchmandlist" nodeset="/root/main/list/rfchmandlist" caption="계약일자^계약기간^계약기간^계약금액^계약처^계약처^계약사항^대리점^대리점연락처^기관코드^자산코드" colsep="^" colwidth="106, 106, 105, 90, 90, 100, 351, 109, 93, 100, 100" dataheight="60" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" navindex="90" style="left:2px; top:5px; width:1187px; height:135px; ">
- <col ref="condd" type="inputdate" format="yyyy-mm-dd"/>
- <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,opt_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="line1" class="line_1" style="x1:0px; y1:2px; x2:1190; y2:2px; "/>
- </case>
- <case id="case3">
- <datagrid id="grd_comps" nodeset="/root/main/list/compslist" caption="물품코드^품명^규격^단위^수량^주기^비고^기관코드^고정자산코드" colsep="^" colwidth="116, 165, 110, 50, 70, 100, 123, 100, 100" dataheight="25" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:7px; width:1053px; height:88px; ">
- <col class="input_essential" ref="goodcd" type="inputbutton" _key="true"/>
- <col ref="goodnm" type="input"/>
- <col ref="goodspec"/>
- <col ref="purcunit"/>
- <col ref="rpiruseqty" type="input" format="9999999999999"/>
- <col ref="prid" type="input"/>
- <col ref="cmt" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" 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");
- }
- ]]>
- </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="line18" class="line_1" style="x1:0px; y1:2px; x2:1193; y2:2px; "/>
- </case>
- </switch>
- <select1 id="rdo_earnvaluyn" ref="/root/main/fixasetdet/fixasettmplist/earnvaluyn" navindex="63" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:791px; top:440px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/suik">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_usge" ref="/root/main/fixasetdet/fixasettmplist/usge" class="input_default" navindex="74" visibility="visible" appearance="input" style="left:991px; top:440px; width:200px; height:19px; "/>
- <button id="btn_maineqmt" class="icon_search" visibility="hidden" style="left:151px; top:680px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maineqmtcd,"","maineqmtcd,maineqmtnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_forgncurncyamt" ref="/root/main/fixasetdet/fixasettmplist/forgncurncyamt" class="input_default" navindex="78" visibility="visible" format="#,###" appearance="input" style="left:991px; top:500px; width:98px; height:19px; text-align:right; "/>
- <input id="ipt_winno" ref="/root/main/fixasetdet/fixasettmplist/winno" class="input_default" navindex="87" visibility="hidden" format="9999999999999" appearance="input" style="left:900px; top:565px; width:131px; height:19px; "/>
- <input id="ipt_smplce" ref="/root/main/fixasetdet/fixasettmplist/smplce" class="input_default" navindex="70" visibility="visible" style="left:991px; top:360px; width:200px; height:19px; "/>
- <input id="ipt_maineqmtcd" ref="/root/main/fixasetdet/fixasettmplist/maineqmtcd" visibility="hidden" style="left:80px; top:680px; width:70px; 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 + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
- ipt_maineqmtcd, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_flwgrnttermfr" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermfr" class="input_default" navindex="80" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:991px; top:520px; width:98px; height:19px; "/>
- <input id="ipt_maineqmtnm" ref="/root/main/fixasetdet/fixasettmplist/maineqmtnm" class="input_fix" visibility="hidden" appearance="input" style="left:170px; top:680px; width:110px; 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 + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
- ipt_maineqmtnm, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_repayenddd" ref="/root/main/fixasetdet/fixasettmplist/repayenddd" class="input_default" navindex="48" visibility="visible" editable="false" format="yyyy-mm-dd" appearance="input" style="left:357px; top:500px; width:177px; height:19px; "/>
- <input id="ipt_winseqno" ref="/root/main/fixasetdet/fixasettmplist/winseqno" class="input_default" navindex="86" visibility="hidden" format="9999999999999" appearance="input" style="left:770px; top:565px; width:124px; height:19px; "/>
- <input id="ipt_flwgrnttermto" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermto" class="input_default" navindex="81" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:1093px; top:520px; width:98px; height:19px; "/>
- <input id="ipt_agency" ref="/root/main/fixasetdet/fixasettmplist/agency" class="input_default" navindex="71" visibility="visible" style="left:991px; top:380px; width:200px; height:19px; "/>
- <input id="ipt_repaybal" ref="/root/main/fixasetdet/fixasettmplist/repaybal" class="input_default" navindex="47" visibility="hidden" editable="false" format="#,###" appearance="input" style="left:673px; top:700px; width:42px; height:19px; text-align:right; "/>
- <input id="ipt_agencycntctel" ref="/root/main/fixasetdet/fixasettmplist/agencycntctel" class="input_default" navindex="72" visibility="visible" style="left:991px; top:400px; width:200px; height:19px; "/>
- <select1 id="rdo_moveflag" ref="/root/main/fixasetdet/fixasettmplist/moveflag" visibility="hidden" overflow="visible" appearance="full" cols="4" style="left:674px; top:660px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/moveflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_repayrate" ref="/root/main/fixasetdet/fixasettmplist/repayrate" class="input_default" navindex="46" visibility="visible" editable="true" appearance="input" style="left:357px; top:480px; width:177px; height:19px; text-align:right; padding-right:10; "/>
- <input id="ipt_repayappdd" ref="/root/main/fixasetdet/fixasettmplist/repayappdd" class="input_default" navindex="43" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:357px; top:420px; width:177px; height:19px; "/>
- <select1 id="rdo_lseyn" ref="/root/main/fixasetdet/fixasettmplist/lseyn" navindex="64" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:791px; top:460px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/lseyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_curncyunit" ref="/root/main/fixasetdet/fixasettmplist/curncyunit" navindex="79" visibility="visible" appearance="minimal" style="left:1093px; top:500px; width:98px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_asetflagmaineqmtflag" ref="/root/main/fixasetdet/fixasettmplist/asetflag_maineqmtflag" navindex="49" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:357px; top:520px; width:177px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/asetflagmaineqmtflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_possnflagcd" ref="/root/main/fixasetdet/fixasettmplist/possnflagcd" navindex="62" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:791px; top:420px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/possnflagcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_prvnchkyn" ref="/root/main/fixasetdet/fixasettmplist/prvnchkyn" navindex="56" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:610px; top:460px; width:105px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="tit_2" style="left:3px; top:322px; width:100px; height:13px; ">
- <![CDATA[비품상세내역]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grp_copy.visible = true;
- ]]>
- </script>
- </caption>
- <button id="btn_goodcdcopy" class="btn2_letter4" navindex="24" style="left:215px; top:340px; width:64px; height:19px; ">
- <caption>코드생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGoodCdCopy();
- fDeprcBaseList("/root/send/deprcbase", "/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();
- //model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_lrgcd" ref="/root/main/fixasetdet/fixasettmplist/lrgcd" navindex="25" appearance="minimal" style="left:75px; top:360px; width:205px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M");
- cmb_mdlcd.dispatch("xforms-value-changed");
- //model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/main/fixasetdet/fixasettmplist/mdlcd" navindex="26" appearance="minimal" style="left:75px; top:380px; width:205px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S");
- //model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd" ref="/root/main/fixasetdet/fixasettmplist/smlcd" navindex="27" appearance="minimal" style="left:75px; top:400px; width:205px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var smlcd = model.getValue((cmb_smlcd.attribute("ref")));
- if (smlcd.getTrim() != ""){
- model.setValue(ipt_fixasetcd.attribute("ref"), "");
- }
-
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M");
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- //model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="cell_1" visibility="hidden" style="left:7px; top:660px; width:72px; height:19px; vertical-align:middle; ">보조거래처</caption>
- <input id="ipt_suppcustnm" ref="/root/main/fixasetdet/fixasettmplist/suppcustnm" class="input_fix" visibility="hidden" appearance="input" style="left:170px; top:660px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suppcustnm.value.length == 0)
- ipt_suppcustcd.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "custnm," + ipt_suppcustnm.value, "", "suppcustcd,suppcustnm",
- ipt_suppcustnm, "SPRSD00220", "instcd","cmb_instcd_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_suppcustcd" class="icon_search" visibility="hidden" style="left:151px; top:660px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suppcustnm,"","suppcustcd,suppcustnm","SPRSD00220","instcd","cmb_instcd_conv");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_suppcustcd" ref="/root/main/fixasetdet/fixasettmplist/suppcustcd" class="input_default" visibility="hidden" appearance="input" style="left:80px; top:660px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suppcustcd.value.length == 0)
- ipt_suppcustnm.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_conv.value + "," + "entrregno," + ipt_suppcustcd.value, "", "suppcustcd,suppcustnm",
- ipt_suppcustcd, "SPRSD00220", "instcd","cmb_instcd_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption4" class="cell_1" visibility="visible" style="left:918px; top:420px; width:72px; height:19px; vertical-align:middle; ">SERIAL NO</caption>
- <input id="ipt_mngtno" ref="/root/main/fixasetdet/fixasettmplist/mngtno" class="input_default" navindex="73" visibility="visible" appearance="input" style="left:991px; top:420px; width:200px; height:19px; "/>
- <group id="grp_copy" visibility="hidden" style="left:0px; top:350px; width:189px; height:95px; border-color:#339966; border-style:solid; ">
- <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"));
-
-
- 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 + "]");
- //}
- if (model.getValue(vTarget2+ "[" + 1+ "]/fixasetcd") =="") {
- alert("복사 대상을 먼저 선택해 주십시요!!");
- return;
- }
-
- var vFixasetcd1 = vFixasetcd0.substr(0,7);
- var vFixasetcd2 = parseFloat(vFixasetcd0.substr(7,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";
-
- // alert(vFixasetcd2);
-
- vFixasetcd2++;
- vFixasetcd = vFixasetcd1 + (""+vFixasetcd2).getLeftPad(4,"0");
- }
-
- grd_fixasettmplist.refresh();
-
- misfSave("TXRFC00204");
-
- model.setValue(ipt_copycnt.attribute("ref") ,"0");
- model.setValue(ipt_fixasetcd_copy.attribute("ref"),"" );
- grp_copy.refresh();
-
- 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="button3" 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>
- <input id="ipt_copycnt" ref="/root/init/copycnt" class="input_default" appearance="input" style="left:95px; top:12px; width:80px; height:19px; "/>
- </group>
- <caption id="cap_goodflagengnm" class="cell_1" visibility="visible" style="left:284px; top:360px; width:72px; height:19px; vertical-align:middle; ">영문명칭</caption>
- <input id="ipt_goodflagengnm" ref="/root/main/fixasetdet/fixasettmplist/goodflagengnm" class="input_essential" navindex="40" visibility="visible" appearance="input" style="left:357px; top:360px; width:177px; height:19px; "/>
- <caption id="cap_asetflagmaineqmtflag" class="cell_1" visibility="visible" style="left:284px; top:520px; width:71px; height:19px; vertical-align:middle; ">관리구분</caption>
- <caption id="cap_moveflag" class="cell_1" visibility="hidden" style="left:600px; top:660px; width:72px; height:19px; vertical-align:middle; ">이동구분</caption>
- <caption id="caption5" class="cell_1" visibility="visible" style="left:918px; top:500px; width:72px; height:19px; vertical-align:middle; ">외화액</caption>
- <input id="ipt_incmpemtno" ref="/root/main/fixasetdet/fixasettmplist/incmpemtno" navindex="82" visibility="visible" appearance="input" style="left:991px; top:540px; width:200px; height:19px; text-align:left; "/>
- <caption id="cap_incmpemtno" class="cell_1" visibility="visible" style="left:918px; top:540px; width:72px; height:19px; vertical-align:middle; ">허가번호</caption>
- <caption id="caption7" class="cell_1" visibility="hidden" style="left:7px; top:680px; width:72px; height:19px; vertical-align:middle; ">메인장비</caption>
- <caption id="cap_usge" class="cell_1" visibility="visible" style="left:918px; top:440px; width:72px; height:19px; vertical-align:middle; ">용도</caption>
- <caption id="caption10" class="cell_1" visibility="visible" style="left:918px; top:520px; width:72px; height:19px; vertical-align:middle; ">보증기간</caption>
- <caption id="caption11" class="cell_1" visibility="visible" style="left:717px; top:420px; width:72px; height:19px; vertical-align:middle; ">내/외자</caption>
- <caption id="caption12" class="cell_1" visibility="visible" style="left:717px; top:440px; width:72px; height:19px; vertical-align:middle; ">수익성평가</caption>
- <caption id="caption13" class="cell_1" visibility="visible" style="left:717px; top:460px; width:72px; height:19px; vertical-align:middle; ">리스자산</caption>
- <caption id="caption14" class="cell_1" visibility="visible" style="left:918px; top:360px; width:72px; height:19px; vertical-align:middle; ">메뉴얼장소</caption>
- <caption id="caption15" class="cell_1" visibility="visible" style="left:918px; top:380px; width:72px; height:19px; vertical-align:middle; ">AS 대리점</caption>
- <caption id="caption16" class="cell_1" visibility="visible" style="left:537px; top:460px; width:72px; height:19px; vertical-align:middle; ">예방점검</caption>
- <caption id="caption17" class="cell_1" visibility="visible" style="left:918px; top:400px; width:72px; height:19px; vertical-align:middle; ">AS 연락처</caption>
- <caption id="caption18" class="cell_1" visibility="visible" style="left:284px; top:420px; width:72px; height:19px; vertical-align:middle; ">상각적용일</caption>
- <caption id="caption23" class="cell_1" visibility="visible" style="left:284px; top:440px; width:72px; height:19px; vertical-align:middle; ">상각방법</caption>
- <caption id="caption24" class="cell_1" visibility="visible" style="left:284px; top:480px; width:72px; height:19px; vertical-align:middle; ">상각율</caption>
- <caption id="caption25" class="cell_1" visibility="visible" style="left:284px; top:500px; width:72px; height:19px; vertical-align:middle; ">완료일자</caption>
- <caption id="caption26" class="cell_1" visibility="visible" style="left:284px; top:460px; width:72px; height:19px; vertical-align:middle; ">내용연수</caption>
- <caption id="caption27" class="cell_1" visibility="hidden" style="left:600px; top:700px; width:72px; height:19px; vertical-align:middle; ">상각후잔액</caption>
- <select1 id="rdo_entrasetyn" ref="/root/main/fixasetdet/fixasettmplist/entrasetyn" navindex="65" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:791px; top:480px; width:123px; 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_fixtrflag" class="cell_1" visibility="visible" style="left:537px; top:480px; width:72px; height:19px; vertical-align:middle; ">비품구분</caption>
- <select1 id="rdo_fixtrflag" ref="/root/main/fixasetdet/fixasettmplist/fixtrflag" navindex="57" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:610px; top:480px; width:123px; 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>
- <input id="ipt_etcaddamt" ref="/root/main/fixasetdet/fixasettmplist/etcaddamt" class="input_default" navindex="61" visibility="visible" format="#,###" appearance="input" style="left:791px; top:400px; width:123px; height:19px; text-align:right; "/>
- <caption id="cap_etcaddamt" class="cell_1" visibility="visible" style="left:717px; top:400px; width:72px; height:19px; vertical-align:middle; ">부대비용</caption>
- <button id="btn_serialnoupdate" class="btn4_letter4" navindex="19" visibility="visible" style="left:998px; top:94px; width:80px; height:22px; ">
- <caption>S/N 등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var copycnt = 1;
- for (var k = grd_fixasetlist.fixedRows ; k < grd_fixasetlist.rows; k++) {
- if (grd_fixasetlist.valueMatrix(k, grd_fixasetlist.colRef("serialchk")) == "Y" ){
- model.makeNode("/root/temp/fixasetlist[" + copycnt + "]");
- //이현민
- //model.makeValue grd_fixasetlist.nodeset+"["+ ( k - grd_fixasetlist.fixedRows + 1) + "]"
- model.copyNode( "/root/temp/fixasetlist[" + copycnt + "]",grd_fixasetlist.nodeset+"["+ ( k - grd_fixasetlist.fixedRows + 1) + "]" );
- model.makeValue("/root/temp/fixasetlist[" + copycnt + "]/pggubun","SMRFC00300" );
-
- copycnt += 1;
- }
- }
- modal("SPRSC02103", "", "", "", "popup", "root/temp", "/root/temp" );
- for (var k = grd_fixasetlist.fixedRows ; k < grd_fixasetlist.rows; k++) {
- model.removenode("/root/temp/fixasetlist" );
- // btn_search.dispatch("DOMActivate");
- }
- ipt_vFlag.value = "";
- ]]>
- </script>
- </button>
- <input id="ipt_vFlag" visibility="hidden" style="left:515px; top:95px; width:25px; height:19px; "/>
- <caption id="caption29" class="cell_1" style="left:918px; top:340px; width:72px; height:19px; vertical-align:middle; ">계정과목</caption>
- <input id="ipt_amtacntnm" ref="/root/main/fixasetdet/fixasettmplist/amtacntnm" class="input_fix" navindex="69" appearance="input" style="left:1083px; top:340px; width:108px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_amtacntnm.value.length == 0)
- ipt_amtacnt.value = "";
- else
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
- ",Y,2," + ipt_amtacntnm.value, "", "amtacnt,amtacntnm",
- ipt_amtacntnm, "PPRAC00100_계정코드HELP", "useyn,amtacnt","Y,ipt_amtacnt");
- //model.refresh();
- ipt_amtacnt.refresh();
- ipt_amtacntnm.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_amtacnt" ref="/root/main/fixasetdet/fixasettmplist/amtacnt" class="input_default" navindex="68" appearance="input" style="left:991px; top:340px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_amtacnt.value.length == 0)
- ipt_amtacntnm.value = "";
- else
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_amtacnt.attribute("ref")) ,"","amtacnt,amtacntnm" ,ipt_amtacnt,"PPRAC00100","","");
- //model.refresh();
- ipt_amtacnt.refresh();
- ipt_amtacntnm.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_amtacnt" class="icon_search" style="left:1064px; top:340px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd,"","amtacnt,amtacntnm","PPRAC00100","","");
- //model.refresh();
- ipt_amtacnt.refresh();
- ipt_amtacntnm.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_chksrch" class="btn4_letter4" navindex="18" visibility="visible" style="left:814px; top:94px; 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");
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.makeValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_conv.attribute("ref")));
- model.makeValue("/root/main/fixasetdet/fixasettmplist/goodflag", "GE");
- 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.refresh()
- ]]>
- </script>
- </button>
- <caption id="caption30" class="search_name" style="left:659px; top:97px; width:89px; height:17px; ">자산수량 :</caption>
- <input id="ipt_fixasetcdcnt" ref="/root/main/fixasetdet/fixasettmplist/fixasetcdcnt" class="input_default" appearance="input" style="left:754px; top:96px; width:50px; height:19px; text-align:right; "/>
- <input id="ipt_purcdmnddd" ref="/root/main/fixasetdet/fixasettmplist/purcdmnddd" visibility="hidden" style="left:545px; top:95px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_purcdmndno" ref="/root/main/fixasetdet/fixasettmplist/purcdmndno" visibility="hidden" style="left:600px; top:95px; width:55px; height:19px; text-align:center; "/>
- <input id="ipt_purcdmndseq" ref="/root/main/fixasetdet/fixasettmplist/purcdmndseq" visibility="hidden" style="left:625px; top:95px; width:50px; height:19px; text-align:center; "/>
- <input id="ipt_contributor" ref="/root/main/fixasetdet/fixasettmplist/contributor" class="input_default" navindex="59" visibility="visible" appearance="input" style="left:791px; top:360px; width:123px; height:19px; text-align:left; "/>
- <caption id="caption31" class="cell_1" visibility="visible" style="left:717px; top:360px; width:72px; height:19px; vertical-align:middle; ">기부자</caption>
- <caption id="caption33" class="cell_1" visibility="visible" style="left:717px; top:380px; width:72px; height:19px; vertical-align:middle; ">자금출처</caption>
- <input id="ipt_fundsorigincnts" ref="/root/main/fixasetdet/fixasettmplist/fundsorigincnts" class="input_default" navindex="60" visibility="visible" appearance="input" style="left:791px; top:380px; width:123px; height:19px; text-align:left; "/>
- <select1 id="cmb_repayflag" ref="/root/main/fixasetdet/fixasettmplist/repayflag" visibility="hidden" appearance="minimal" showvalue="true" style="left:383px; top:660px; width:177px; 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="caption34" class="cell_1" visibility="hidden" style="left:310px; top:660px; width:72px; height:19px; vertical-align:middle; ">상각구분</caption>
- <input id="ipt_welfcd" ref="/root/main/fixasetdet/fixasettmplist/welfcd" class="input_default" navindex="55" visibility="visible" appearance="input" style="left:610px; top:440px; width:105px; height:19px; text-align:left; "/>
- <caption id="caption35" class="cell_1" visibility="visible" style="left:537px; top:440px; width:72px; height:19px; vertical-align:middle; ">보사부코드</caption>
- <input id="ipt_suplcntctel" ref="/root/main/fixasetdet/fixasettmplist/suplcntctel" class="input_default" visibility="hidden" appearance="input" style="left:385px; top:680px; width:107px; height:19px; "/>
- <caption id="caption8" class="cell_1" visibility="hidden" style="left:312px; top:680px; width:72px; height:19px; vertical-align:middle; ">연락처</caption>
- <select1 id="cmb_repaymthd" ref="/root/main/fixasetdet/fixasettmplist/repaymthd" navindex="44" appearance="minimal" style="left:357px; top:440px; width:177px; height:20px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cntsyearno" ref="/root/main/fixasetdet/fixasettmplist/cntsyearno" class="input_default" navindex="45" visibility="visible" appearance="input" style="left:357px; top:460px; width:177px; height:19px; text-align:right; padding-right:10; "/>
- <output id="opt_sumfla" ref="/root/init/reqamt" class="output_default" format="#,###" style="left:368px; top:100px; width:212px; height:19px; font-weight:bold; "/>
- <caption id="caption39" class="tit_2" style="left:290px; top:103px; width:80px; height:23px; vertical-align:middle; ">총 금액 :</caption>
- <caption id="caption40" class="tit_2" style="left:120px; top:103px; width:89px; height:14px; vertical-align:middle; ">비품 건수 :</caption>
- <output id="opt_sumqty" ref="/root/init/reqcnt" class="output_default" format="#,###" style="left:208px; top:100px; width:70px; height:19px; font-weight:bold; "/>
- <caption id="caption9" class="cell_1" visibility="hidden" style="left:600px; top:680px; width:72px; height:19px; vertical-align:middle; ">검수일</caption>
- <input id="ipt_chkdd" ref="/root/main/fixasetdet/fixasettmplist/chkdd" class="input_default" visibility="hidden" inputtype="date" style="left:673px; top:680px; width:105px; height:19px; "/>
- <caption id="cap_entrasetyn" class="cell_1" visibility="visible" style="left:717px; top:480px; width:72px; height:19px; vertical-align:middle; ">고유목적</caption>
- <caption id="cap_etcwln" class="cell_1" visibility="visible" style="left:284px; top:540px; width:71px; height:19px; vertical-align:middle; ">기타입고</caption>
- <select1 id="cmb_etcwln" ref="/root/main/fixasetdet/fixasettmplist/etcwln" navindex="66" visibility="visible" appearance="minimal" style="left:357px; top:540px; width:177px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="button2" class="btn4_letter6" navindex="18" visibility="visible" style="left:894px; top:94px; width:104px; 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");
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.makeValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_conv.attribute("ref")));
- model.makeValue("/root/main/fixasetdet/fixasettmplist/goodflag", "GE");
- modal("SMRWD20500");
- if (getParameter("para_closeyn") != ""){
- model.setValue(ipt_goodflaghngnm.attribute("ref") , getParameter("para_goodnm" )); //비품명칭
- model.setValue(ipt_goodspec.attribute("ref") , getParameter("para_goodspect" )); //규격
- model.setValue(ipt_possnamt.attribute("ref") , getParameter("para_goodpurccost" )); //금액
- model.setValue(ipt_mngtdeptcd.attribute("ref") , getParameter("para_installplcecd" ));
- model.setValue(ipt_mngtdeptnm.attribute("ref") , getParameter("para_installplcenm" ));
- model.setValue(ipt_installplcecd.attribute("ref") , getParameter("para_installplcecd" ));
- model.setValue(ipt_installplcenm.attribute("ref") , getParameter("para_installplcenm" ));
- model.setValue(ipt_repayappdd.attribute("ref") , getParameter("para_purdd" )); //상각적용일
- model.setValue(ipt_possndd.attribute("ref") , getParameter("para_purdd" )); //취득일
- model.setValue(cmb_acqtflag.attribute("ref") , "1");
- model.setValue(ipt_contributor.attribute("ref") , getParameter("para_emplno" )); //기부자
- model.setValue(ipt_fundsorigincnts.attribute("ref") , getParameter("para_acntcd" )); //자금출처
- }
- model.refresh()
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195; height:27px; ">
- <button id="btn_print" class="btn3_letter2" visibility="hidden" style="left:3px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="93" style="left:1120px; 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="92" style="left:1065px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 보수계약정보 */
- if(!checkKeyColumn("grd_rfchmandlist")) return;
-
- /* 구성품,소모품 */
- if(!checkKeyColumn("grd_comps")) return;
-
- /* 삭제행 체크 */
- var delFlag = false;
- var delCount = 0;
- for(var i=grd_fixasetlist.fixedRows;i<grd_fixasetlist.rows;i++){
- if(grd_fixasetlist.rowStatus(i) == 4){
- delFlag = true;
- delCount++;
- }
- }
-
- /* 조회된 데이터를 삭제 할때 */
- if(delFlag){
- var ret = messageBox(delCount + "건의 삭제 요청건이 있습니다.","Q001");
-
- if (ret == 7) { // not OK
- return;
- }
-
- model.makeValue("/root/send/save/fixasettmplist",grd_fixasetlist.getUpdateData());
-
- if(submit("TXRFC00204")){
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
- btn_search.dispatch("DOMActivate");
- }
- }
- }
- /* 새로운 데이터를 입력시 */
- else if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 1)
- {
- if(!isRequiredControls("ipt_fixasetcd")) return;
- if(!isRequiredControls("ipt_goodflaghngnm")) return;
- if(!isRequiredControls("ipt_installplcecd")) return;
-
- model.copyNode("/root/main/list/fixasetdet/fixasettmplist", "/root/main/fixasetdet/fixasettmplist");
-
- //model.refresh();
- grd_fixasettmplist.refresh();
-
- var searchPossnDate = ipt_possndd.value;
-
- misfSave("TXRFC00204");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
-
- model.setValue(ipt_mngtdeptcd_search.attribute("ref") , model.getValue(ipt_mngtdeptcd.attribute("ref")));
- model.setValue(ipt_mngtdeptnm_search.attribute("ref") , model.getValue(ipt_mngtdeptnm.attribute("ref")));
- model.setValue(ipt_goodflagnm_search.attribute("ref") , model.getValue(ipt_goodflaghngnm.attribute("ref")));
- //model.setValue(ipt_chkfrdd.attribute("ref") , model.getValue(ipt_chkdd.attribute("ref")));
- //model.setValue(ipt_chktodd.attribute("ref") , model.getValue(ipt_chkdd.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")));
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- model.setValue(cmb_smlcd_search.attribute("ref") , model.getValue(cmb_smlcd.attribute("ref")));
-
- //취득일자 조회 조건 설정
- model.setValue(ipt_possnfrdd.attribute("ref") , searchPossnDate);
- model.setValue(ipt_possntodd.attribute("ref") , searchPossnDate);
-
- 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();
- var focus = grd_fixasetlist.row;
-
- misfSave("TXRFC00204");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
- fSearch(focus);
- //btn_search.dispatch("DOMActivate");
-
- //model.setFocus("grd_fixasetlist");
- //grd_fixasetlist.row = focus;
- }
- }
- //grd_fixasetlist.dispatch("ondblclick");
- ]]>
- </script>
- </button>
- <line id="line14" class="line_6" style="x1:0; y1:25; x2:1194; y2:25; "/>
- <button id="button1" class="btn3_letter6" navindex="91" visibility="visible" style="left:3px; top:3px; width:96px; height:22px; ">
- <caption>취득자산내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRFC00901","XMLSTR");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|