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