1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>비품자산코드관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <fixaset>
- <fixasetlist/>
- </fixaset>
- <fixasetdet>
- <fixasettmplist>
- </fixasettmplist>
- </fixasetdet>
- <rfchmandlist/>
- <compslist/>
- </list>
- <fixasetdet>
- <fixasettmplist>
- <instcd/>
- <fixasetcd/>
- <installplcecd/>
- <installplcenm/>
- <goodflag/>
- <goodqty/>
- <goodflaghngnm/>
- <goodflagengnm/>
- <goodspec/>
- <goodmodel/>
- <asetflag_maineqmtflag/>
- <lrgcd/>
- <lrgnm/>
- <mdlcd/>
- <mdlnm/>
- <smlcd/>
- <smlnm/>
- <catalog/>
- <fixasetunit/>
- <usge/>
- <acntcd/>
- <acntnm/>
- <cntrdeptcd/>
- <cntrdeptnm/>
- <moveflag/>
- <suplplcecd/>
- <suplplcenm/>
- <suppcustcd/>
- <suppcustnm/>
- <prodplce/>
- <prodcmpy/>
- <prodcmpynm/>
- <chkdd/>
- <delivetermmm/>
- <condd/>
- <flwgrnttermfr/>
- <flwgrnttermto/>
- <windd/>
- <winno/>
- <winseqno/>
- <mngtno/>
- <profno/>
- <incmreptno/>
- <incmlicnsdd/>
- <custmsenddd/>
- <expttaxpostno/>
- <custms/>
- <innatitax/>
- <custmscrnscthouscd/>
- <lonno/>
- <possnflagcd/>
- <possndd/>
- <forgncurncyamt/>
- <curncyunit/>
- <fixasetqty/>
- <possnamt/>
- <etcaddamt/>
- <cntsyearno/>
- <repayflag/>
- <repaymthd/>
- <repayrate/>
- <dsplflag/>
- <repayenddd/>
- <maineqmtcd/>
- <lseyn/>
- <cmt/>
- <mngtdeptcd/>
- <maineqmt/>
- <barcdprntyn/>
- <usedd/>
- <suplcntctel/>
- <acqtflag/>
- <earnvaluyn/>
- <agency/>
- <agencycntctel/>
- <smplce/>
- <repaybal/>
- <prvnchkyn/>
- <fundorigin/>
- <entrasetyn/>
- <fixtrflag/>
- <amtacnt/>
- <amtacntnm/>
- <mngtdeptnm/>
- <maineqmtnm/>
- <purcdmnddd/>
- <purcdmndno/>
- <purcdmndseq/>
- <fixasetcdcnt/>
- <repayappdd/>
- <contributor/>
- <fundsorigincnts/>
- <welfcd/>
- <etccnts/>
- <etcwln/>
- <incmpemtno/>
- <oskind/>
- <memoryvol/>
- <tempmngtdeptcd/>
- <tempmngtdeptnm/>
- <ipaddr/>
- <outerfixaset/>
- <conno/>
- <conseq/>
- </fixasettmplist>
- </fixasetdet>
- <fixasetcopy>
- <fixasetlist/>
- </fixasetcopy>
- <deprcbaseinfo>
- <deprcbaselist/>
- </deprcbaseinfo>
- </main>
- <send>
- <fixasetlist>
- <instcd_search/>
- <goodflag_search/>
- <lrgcd_search/>
- <goodflagnm_search/>
- <cntrdeptcd_search/>
- <installplcecd_search/>
- <possnfrdd_search/>
- <fixasetcd_search/>
- <goodmodel_search/>
- <lrgnm_search/>
- <cntrdeptnm_search/>
- <installplcenm_search/>
- <mngtdeptcd_search/>
- <mngtdeptnm_search/>
- <mdlcd_search/>
- <mdlnm_search/>
- <smlcd_search/>
- <smlnm_search/>
- <prodcmpycd_search/>
- <prodcmpynm_search/>
- <possntodd_search/>
- <rfchmandlist_search/>
- <mainmngtdeptcd_search/>
- <mainmngtdeptnm_search/>
- <oldcd_search/>
- <chkfrdd_search/>
- <chktodd_search/>
- <suplplcecd_search/>
- <suplplcenm_search/>
- <fixasetnm_search/>
- <possnfrdd_search/>
- <possntodd_search/>
- <possnamtfr_search/>
- <possnamtto_search/>
- <oskind_search/>
- <memoryvol_search/>
- <outerfixaset>Y</outerfixaset>
- </fixasetlist>
- <tmpnode>
- <tmpfixasetnode/>
- <tmpgridrow/>
- </tmpnode>
- <fixasetcd/>
- <instcd/>
- <save>
- <compslist/>
- <rfchmandlist/>
- <fixasettmplist/>
- </save>
- <fixasetcopy>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- </fixasetcopy>
- <deprcbase>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- </deprcbase>
- </send>
- <init>
- <goodflag>
- <label>비품</label>
- <value>GE</value>
- <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>
- <label>자체제작</label>
- <value>7</value>
- </acqtflag>
- <suik>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </suik>
- <prvnchkyn>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </prvnchkyn>
- <moveflag>
- <label>Portable</label>
- <value>P</value>
- <label>Fixed</label>
- <value>F</value>
- </moveflag>
- <repaymthd>
- <label>정액</label>
- <value>1</value>
- <label>정률</label>
- <value>2</value>
- </repaymthd>
- <entrasetyn>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </entrasetyn>
- <fixasetcd/>
- <copycnt/>
- <instcd_conv/>
- </init>
- <temp>
- </temp>
- <copynode/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
- <submission id="TRRFC00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
- <submission id="TRRFC00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetdet"/>
- <submission id="TXRFC00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TRRFC00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/compslist"/>
- <submission id="TRRFC00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/fixasetdet/fixasettmplist" resultref="/root/main/list/rfchmandlist"/>
- <submission id="TRRFC00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetcopy" resultref="/root/main/fixasetcopy"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript">
- <![CDATA[
- var preDsplflag = "";
-
- function fInitialize()
- {
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfchmandlist);
- misfGridInit(grd_comps);
- misfGridInit(grd_fixasettmplist);
-
- misfComboComCdListMulti("C0048,R0035,R0047,R0042,R0044,R0292,R0316,C0048,030R0006,030R0007,030R0040,030R0041,030R0040,030R0041",
- "cmb_instcd_search,cmb_prodplce,cmb_curncyunit,cmb_repayflag,cmb_dsplflag,cmb_acqtflag,cmb_fundorigin,cmb_instcd_conv,cmb_repaymthd,cmb_etcwln,cmb_oskind,cmb_memoryvol,cmb_oskind_search,cmb_memoryvol_search");
-
- misfComboCopyItemSet(cmb_prodplce, "", grd_fixasetlist, "prodplce"); //제조국
-
- addComboItem("cmb_oskind_search", "전체", "", "above");
- addComboItem("cmb_memoryvol_search", "전체", "", "above");
-
- model.setValue("/root/send/fixasetlist/instcd_search", getUserInfo("dutplceinstcd")); // 기관 설정
- model.setValue(cmb_instcd_conv.attribute("ref"), model.getValue(cmb_instcd_search.attribute("ref")));
-
- //물품구분 설정 (비품)
- model.setValue("/root/send/fixasetlist/goodflag_search", "GE");
- //rszfComboUnitList (ipt_fixasetunit,model.getValue(cmb_instcd_conv.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
- // 대분류 코드 콤보 설정.
- rszfLMSComboList("GE", "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
- rszfLMSComboList("GE", "ALL", "", "cmb_mdlcd_search", "", "M", "Y", "Y");
-
- misfComboCopyItemSet(cmb_lrgcd_search, "", cmb_lrgcd, "");
- misfComboCopyItemSet(cmb_mdlcd_search, "", cmb_mdlcd, "");
-
- cmb_lrgcd_search.dispatch("xforms-value-changed");
-
- misfChangeItemsetFilter(cmb_lrgcd,"goodflag='GE'");
- cmb_lrgcd.dispatch("xforms-value-changed");
-
- var sBaseDate = getCurrentDate();
-
- fAllControlDisabled("true");
-
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
- misfMsterDetailSet(grd_fixasetlist, null, "TRRFC00202", "Y");
- misfMsterDetailSet(grd_fixasettmplist, null, "TRRFC00203", "Y");
- misfMsterDetailSet(grd_comps, null, "TRRFC00205", "Y");
- misfMsterDetailSet(grd_rfchmandlist, null, "TRRFC00207", "Y");
- model.refresh();
- }
-
- function fMakeNode()
- {
- model.makeNode("/root/main/fixasetdet/fixasettmplist/acntnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/amtacntnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/installplcenm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/cntrdeptnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/mngtdeptnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/suplplcenm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/maineqmtnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/prodcmpynm");
- }
-
- function fSearch(focus)
- {
- /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
- /* misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
-
- var updtdata = getGridUpdateData(grd_fixasettmplist);
-
- if ( updtdata != "")
- {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
-
- if (ret == 7) { // not OK
- return;
- }
- }
- */
- //rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_conv.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
-
- // misfMsterDetailRetrieve();
- //submit("TRRFC00202");
- submit("TRRFC00903");
-
- if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
- {
- if(focus == null) grd_fixasetlist.row = 1;
- else grd_fixasetlist.row = focus;
- grd_fixasetlist.dispatch("ondblclick");
- }
- var goodqty = 0;
- var possnamt = 0;
-
- for(var currow = grd_fixasetlist.fixedRows ; currow < grd_fixasetlist.rows ; currow++)
- {
- goodqty = goodqty + 1;
- possnamt = possnamt + parseFloat(grd_fixasetlist.valueMatrix(currow , grd_fixasetlist.colRef("possnamt")));
- }
- model.makeValue(opt_sumqty.attribute("ref"),goodqty);
- opt_sumqty.refresh();
- model.makeValue(opt_sumfla.attribute("ref"),possnamt);
- opt_sumfla.refresh();
- }
- function fAllControlDisabled(check)
- {
- grp_detail.disabled = check;
- }
-
- //자산상세내역 control
- function fComponentDisabled(BOOL)
- {
- ipt_fixasetcd.disabled = BOOL;
- btn_goodcdcopy.disabled = BOOL;
- //ipt_goodflaghngnm.disabled = BOOL;
-
- cmb_lrgcd.disabled = BOOL;
- cmb_mdlcd.disabled = BOOL;
- cmb_smlcd.disabled = BOOL;
-
- // if(ipt_mngtdeptcd.value.getTrim() == "") {
- // ipt_mngtdeptcd.disabled = false;
- // btn_mngtdeptcd.disabled = false;
- // } else {
- // ipt_mngtdeptcd.disabled = BOOL;
- // btn_mngtdeptcd.disabled = BOOL;
- // }
-
- /* 경북대병원버젼 수정 - PK, 관리부서를 제외한 모든 부분 수정 활성화 2011.02.17 박진억 수정*/
- /* ipt_cntrdeptcd.disabled = BOOL;
- btn_cntrdeptcd.disabled = BOOL;
-
- ipt_suplplcecd.disabled = BOOL;
- btn_suplplcecd.disabled = BOOL;
-
- ipt_suppcustcd.disabled = BOOL;
- btn_suppcustcd.disabled = BOOL;
- ipt_suppcustnm.disabled = BOOL;
-
- ipt_acntcd.disabled = BOOL;
- btn_acntcd.disabled = BOOL;
- ipt_amtacnt.disabled = BOOL;
- btn_amtacnt.disabled = BOOL;
-
- ipt_possndd.disabled = BOOL;
- ipt_fixasetunit.disabled = BOOL;
- ipt_possnamt.disabled = BOOL;
- ipt_etcaddamt.disabled = BOOL;
-
- cmb_dsplflag.disabled = BOOL;
-
- ipt_prodcmpynm.disabled = BOOL;
- btn_prodcmpy.disabled = BOOL;
-
- cmb_acqtflag.disabled = BOOL;
-
- cmb_fundorigin.disabled = BOOL; */
- }
- function fComponentDisabled2(BOOL)
- {
- ipt_possndd.disabled = BOOL;
- ipt_fixasetunit.disabled = BOOL;
- ipt_possnamt.disabled = BOOL;
- ipt_etcaddamt.disabled = BOOL;
- ipt_cmt.disabled = BOOL;
-
- ipt_suplplcecd.disabled = BOOL;
- btn_suplplcecd.disabled = BOOL;
-
- cmb_dsplflag.disabled = BOOL;
-
- ipt_prodcmpynm.disabled = BOOL;
- btn_prodcmpy.disabled = BOOL;
-
- ipt_acntcd.disabled = BOOL;
- btn_acntcd.disabled = BOOL;
- ipt_amtacnt.disabled = BOOL;
- btn_amtacnt.disabled = BOOL;
-
- ipt_cntrdeptcd.disabled = BOOL;
- btn_cntrdeptcd.disabled = BOOL;
-
- cmb_acqtflag.disabled = BOOL;
-
- ipt_mngtdeptcd.disabled = BOOL;
- btn_mngtdeptcd.disabled = BOOL;
- ipt_suppcustcd.disabled = BOOL;
- btn_suppcustcd.disabled = BOOL;
- ipt_suppcustnm.disabled = BOOL;
-
- cmb_fundorigin.disabled = BOOL;
- }
-
- function fSettingGoodList(pnode, nodename)
- {
- var codynode = instance1.selectNodes(pnode + "/*");
-
- var addRow = grd_comps.rows - grd_comps.fixedRows;
-
- for (var j = 1; j <= codynode.length ; j++)
- {
-
- if(addRow > grd_comps.rows - grd_comps.fixedRows)
- {
- misfGridIUD(grd_comps,"A");
- addRow = grd_comps.rows - grd_comps.fixedRows;
- }
-
- model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodcd"));
- model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodnm" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodnm"));
- model.setValue(grd_comps.nodeset + "[" + addRow + "]/goodspec" , model.getValue(pnode +"/" + nodename + "[" + j + "]/goodspec"));
- model.setValue(grd_comps.nodeset + "[" + addRow + "]/purcunit" , model.getValue(pnode +"/" + nodename + "[" + j + "]/purcunit"));
-
- addRow = addRow + 1;
- }
-
- model.recalculate();
- model.refresh();
- }
-
- function fDefaultSetting(prow)
- {
- model.setValue(grd_fixasetlist.nodeset +"[" + prow+ "]/instcd" ,model.getValue(cmb_instcd_search.attribute("ref")));
-
- model.setValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_search.attribute("ref"))); // 기관 설정
- model.setValue("/root/main/fixasetdet/fixasettmplist/goodflag", model.getValue(opt_goodflag_search.attribute("ref"))); // 물품구분
- model.setValue("/root/main/fixasetdet/fixasettmplist/goodqty", "1"); // 수량
- model.setValue("/root/main/fixasetdet/fixasettmplist/dsplflag", "0"); // 처분구분
-
- model.setValue(cmb_repayflag.attribute("ref"), "2"); // 상각구분 : 미상각
- }
-
- function fGoodCdCopy(pCls)
- {
- if(model.getValue(opt_goodflag_search.attribute("ref")).length== 0 )
- {
- messageBox("물품구분을 " ,"C002");
- model.setFocus("opt_goodflag_search");
- return false;
- }
- if(model.getValue(cmb_lrgcd.attribute("ref")).length== 0 )
- {
- messageBox("대분류코드를 " ,"C002");
- model.setFocus("cmb_lrgcd");
- return false;
- }
- if(model.getValue(cmb_mdlcd.attribute("ref")).length== 0 )
- {
- messageBox("중분류코드를 " ,"C002");
- model.setFocus("cmb_mdlcd");
- return false;
- }
- if(model.getValue(cmb_smlcd.attribute("ref")).length== 0 )
- model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd_search.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(opt_goodflag_search.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/mdlcd", model.getValue(cmb_mdlcd.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/smlcd", model.getValue(cmb_smlcd.attribute("ref")));
-
- submit("TRRFC00301",false);
-
- var fixasetcd = model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd");
- if(fixasetcd.length == 0) return;
- //if(fixasetcd.length == 0) fixasetcd = model.getValue(opt_goodflag_search.attribute("ref")) + model.getValue(cmb_lrgcd.attribute("ref")) + model.getValue(cmb_mdlcd.attribute("ref")) + model.getValue(cmb_smlcd.attribute("ref")) + "0001";
-
- if (pCls == "C") {
- model.setValue(ipt_fixasetcd_copy.attribute("ref"), fixasetcd);
- ipt_fixasetcd_copy.refresh();
- } else {
- model.setValue(ipt_fixasetcd.attribute("ref"), fixasetcd);
- ipt_fixasetcd.refresh();
- }
- }
-
- function fCheckOuterFixaset() {
- var instcd = model.getValue("/root/main/fixasetdet/fixasettmplist/instcd");
- var goodflag = model.getValue(opt_goodflag_search.attribute("ref"));
- var lrgcd = model.getValue(cmb_lrgcd.attribute("ref"));
- var mdlcd = model.getValue(cmb_mdlcd.attribute("ref"));
-
- //alert(instcd + " , " + goodflag + " , " + lrgcd + " , " + mdlcd);
- //alert(event.currentTarget);
-
- // [031]본원, [GE]비품, [17]일반비품(전산화관련), [10]전산장비 인 경우 부외자산으로 분류 가능
- if(instcd == "031" && goodflag == "GE" && lrgcd == "17" && mdlcd == "10") {
- return true;
- } else if(instcd == "091") { // 부외자산으로 등록 된 경우
- return true;
- }else {
- return false;
- }
- }
-
- function fSetOuterFixaset()
- {
- if(fCheckOuterFixaset()) {
- if(event.currentTarget == "btn_save") {
- if(model.getValue(chk_outerfixaset.attribute("ref")) == "Y" && messageBox("부외자산으로 등록하시겠습니까?","Q") == "6") {
- // 부외자산으로 선택되어 있고 최종확인하는 경우 부외자산 등록
- } else {
- model.setValue(chk_outerfixaset.attribute("ref"),"N");
- }
- } else {
- if(messageBox("부외자산으로 등록하시겠습니까?","Q") == "6") {
- model.setValue(chk_outerfixaset.attribute("ref"),"Y");
- } else {
- model.setValue(chk_outerfixaset.attribute("ref"),"N");
- }
- }
- } else {
- model.setValue(chk_outerfixaset.attribute("ref"),"N");
- }
- chk_outerfixaset.refresh();
- }
-
- function fSearchDetail(instcd, fixasetcd)
- {
- model.setValue("/root/send/instcd", instcd);
- model.setValue("/root/send/fixasetcd", fixasetcd);
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
-
- if(submit("TRRFC00203",false)) {
- if(instcd == "" && fixasetcd == ""){
- misfGridIUD(grd_fixasettmplist, "A");
- }
- grd_fixasettmplist.row = 1;
- model.copyNode("/root/main/fixasetdet/fixasettmplist", "/root/main/list/fixasetdet/fixasettmplist");
- fMakeNode();
- cmb_lrgcd.dispatch("xforms-value-changed");
- var mdlcd = model.getValue("/root/main/list/fixasetdet/fixasettmplist/mdlcd");
- model.setValue("/root/main/fixasetdet/fixasettmplist/mdlcd", mdlcd);
- cmb_mdlcd.dispatch("xforms-value-changed");
- fAllControlDisabled("false");
- //자산상세내역 Control 활성화
- fComponentDisabled(true);
-
- var dsplflag = model.getValue("/root/main/fixasetdet/fixasettmplist/dsplflag");
-
- preDsplflag = dsplflag;
- if((dsplflag == "0" || dsplflag == "4") && getUserInfo("dutplcecd") == "4020334000") {
- cmb_dsplflag.disabled = false;
- } else {
- cmb_dsplflag.disabled = true;
- }
-
- submit("TRRFC00205");
- submit("TRRFC00207");
- model.setValue("/root/send/tmpnode/tmpfixasetnode", grd_fixasetlist.row);
- grd_fixasetlist.dispatch("onmouseup");
- //보수계약정보Grid를 ReadOnly 상태로 셋팅
- grd_rfchmandlist.isReadOnly(grd_rfchmandlist.fixedRows , grd_rfchmandlist.colRef("rpirconfromdd")-1 , grd_rfchmandlist.rows-grd_rfchmandlist.fixedRows , grd_rfchmandlist.colRef("agencycntctel") ) = true;
-
- cmb_fundorigin.dispatch("xforms-value-changed");
- model.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,-1;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">비품자산코드관리</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="비품코드^비품명^규격^구입금액^공급처^취득일^사용부서^입고계정^구입일자^보조거래처^제조원^제조국^모델명^청구부서^이미지^구코드^SERIAL NO^사용장소코드^caption1^caption2^caption3^12^13^14^15^goodflagengnm^tempmngtdeptnm^tempmngtdeptcd^S/N 변경^요구일자^요구번호^요구순번^자산수량" colsep="^" colwidth="140, 200, 200, 150, 150, 150, 150, 80, 80, 80, 80, 120, 80, 49, 47, 138, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 79, 73, 77, 66, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="31" style="left:0px; top:120px; width:1190px; height:199px; ">
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodflaghngnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodspec" style="text-align:left; padding-left:10; "/>
- <col ref="possnamt" format="#,###" style="text-align:right; padding-right:10; "/>
- <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="mngtdeptnm" style="text-align:left; padding-left:10; "/>
- <col ref="amtacnt" visibility="hidden" style="text-align:left; "/>
- <col ref="possndd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="suppcustnm" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden" style="text-align:left; "/>
- <col disabled="true" ref="prodplce" type="combo" visibility="hidden" style="text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="cntrdeptnm" visibility="hidden"/>
- <col checkvalue="Y,N" disabled="true" ref="photoyn" type="checkbox" visibility="hidden"/>
- <col ref="oldcd" visibility="hidden" style="text-align:center; "/>
- <col ref="mngtno" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="maineqmt" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden" style="text-align:left; "/>
- <col ref="entrasetyn" visibility="hidden"/>
- <col ref="goodflagengnm" visibility="hidden"/>
- <col ref="tempmngtdeptnm" visibility="hidden"/>
- <col ref="tempmngtdeptcd" visibility="hidden"/>
- <col checkvalue="Y,N" ref="serialchk" type="checkbox" visibility="hidden"/>
- <col ref="purcdmnddd" visibility="hidden"/>
- <col ref="purcdmndno" visibility="hidden"/>
- <col ref="purcdmndseq" visibility="hidden"/>
- <col ref="fixasetcdcnt" visibility="hidden"/>
- <col ref="repayappdd" visibility="hidden"/>
- <col ref="contributor" visibility="hidden"/>
- <col ref="fundsorigincnts" visibility="hidden"/>
- <col ref="welfcd" visibility="hidden"/>
- <col ref="etccnts" visibility="hidden"/>
- <col ref="etcwln" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var fInstcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("instcd"));
- var fFixasetcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd"));
- fSearchDetail(fInstcd, fFixasetcd);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_fixasettmplist" nodeset="/root/main/list/fixasetdet/fixasettmplist" visibility="hidden" caption="1^2^3" colsep="^" colwidth="40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:670px; top:225px; width:495px; height:75px; ">
- <col ref="instcd"/>
- <col ref="fixasetcd"/>
- <col ref="installplcecd"/>
- <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="mdlcd"/>
- <col ref="smlcd"/>
- <col ref="catalog"/>
- <col ref="fixasetunit"/>
- <col ref="usge"/>
- <col ref="acntcd"/>
- <col ref="acntnm"/>
- <col ref="cntrdeptcd"/>
- <col ref="moveflag"/>
- <col ref="suplplcecd"/>
- <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="maineqmtcd"/>
- <col ref="lseyn"/>
- <col ref="cmt"/>
- <col ref="mngtdeptcd"/>
- <col ref="maineqmt"/>
- <col ref="barcdprntyn"/>
- <col ref="usedd"/>
- <col ref="suplcntctel"/>
- <col ref="acqtflag"/>
- <col ref="earnvaluyn"/>
- <col ref="agency"/>
- <col ref="agencycntctel"/>
- <col ref="smplce"/>
- <col ref="repaybal"/>
- <col ref="prvnchkyn"/>
- <col ref="fundorigin"/>
- <col ref="entrasetyn"/>
- <col ref="fixtrflag"/>
- <col ref="amtacnt"/>
- <col ref="amtacntnm"/>
- <col ref="purcdmnddd"/>
- <col ref="purcdmndno"/>
- <col ref="purcdmndseq"/>
- <col ref="fixasetcdcnt"/>
- <col ref="repayappdd"/>
- <col ref="contributor"/>
- <col ref="fundsorigincnts"/>
- <col ref="welfcd"/>
- <col ref="etccnts"/>
- <col ref="etcwln"/>
- <col ref="mngtgrade"/>
- <col ref="oskind"/>
- <col ref="memoryvol"/>
- <col ref="tempmngtdeptcd"/>
- <col ref="ipaddr"/>
- <col ref="outerfixaset"/>
- <col ref="conno"/>
- <col ref="conseq"/>
- </datagrid>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:95px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:95px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_goodflagnm_search" ref="/root/send/fixasetlist/goodflagnm_search" class="input_default" navindex="12" style="left:412px; top:6px; width:138px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_lrgcd_search" class="search_name" style="left:5px; top:28px; width:117px; height:17px; ">대 분 류 :</caption>
- <caption id="cap_mngtdeptcd_search" class="search_name" style="left:304px; top:28px; width:117px; height:17px; ">사 용 부 서 :</caption>
- <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_default" navindex="14" style="left:412px; top:28px; width:73px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_mngtdeptnm_search);
- ]]>
- </script>
- </input>
- <button id="btn_mngtdeptcd_search" class="icon_search" style="left:489px; top:28px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search","SPRPZ00800","instcd","cmb_instcd_search");
- ipt_mngtdeptcd_search.refresh();
- ipt_mngtdeptnm_search.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptnm_search" ref="/root/send/fixasetlist/mngtdeptnm_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:509px; top:28px; width:146px; height:19px; "/>
- <button id="btn_installplcecd_search" class="icon_search" visibility="hidden" style="left:1040px; top:68px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_installplcecd_search,"", "installplcecd_search,installplcenm_search") ;
- ]]>
- </script>
- </button>
- <input id="ipt_installplcecd_search" ref="/root/send/fixasetlist/installplcecd_search" class="input_default" visibility="hidden" style="left:1010px; top:68px; width:28px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcecd_search.value.length == 0)
- ipt_installplcenm_search.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
- ipt_installplcecd_search, "PPRAC00700", "","");
- ]]>
- </script>
- </input>
- <input id="ipt_installplcenm_search" ref="/root/send/fixasetlist/installplcenm_search" class="input_fix" visibility="hidden" appearance="input" style="left:1060px; top:68px; width:48px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcenm_search.value.length == 0)
- ipt_installplcecd_search.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptnm," + ipt_installplcenm_search.value, "", "installplcecd_search,installplcenm_search",
- ipt_installplcenm_search, "PPRAC00700", "","");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" navindex="25" style="left:1126px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="cap_instcd_search" class="search_name" style="left:3px; top:6px; width:117px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" disabled="true" navindex="8" appearance="minimal" style="left:95px; top:6px; width:160px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vInstcd = model.getValue(cmb_instcd_search.attribute("ref")); // 기관 설정
- model.setValue(cmb_instcd_conv.attribute("ref"), vInstcd);
-
- if (getUserInfo("dutplceinstcd") == vInstcd) { // 기관 설정
- btn_save.disabled = false;
- }else{
- btn_save.disabled = true;
- }
- cmb_instcd_conv.refresh();
- btn_save.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_goodmodel_search" ref="/root/send/fixasetlist/goodmodel_search" class="input_default" navindex="13" style="left:551px; top:6px; width:104px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line12" class="line_4" style="x1:1115px; y1:5px; x2:1115px; y2:65px; border-color:#ffd799; "/>
- <caption id="cap_mdlcd_search" class="search_name" style="left:5px; top:50px; width:117px; height:17px; ">중 분 류 :</caption>
- <button id="btn_prodcmpycd_search" class="icon_search" visibility="hidden" style="left:1040px; top:45px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpycd_search,"","prodcmpycd_search,prodcmpynm_search","SPRSD00160","","");
- ipt_prodcmpycd_search.refresh();
- ipt_prodcmpynm_search.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_prodcmpycd" class="search_name" visibility="hidden" style="left:990px; top:45px; width:97px; height:17px; ">제조회사 :</caption>
- <input id="ipt_prodcmpynm_search" ref="/root/send/fixasetlist/prodcmpynm_search" class="input_fix" visibility="hidden" appearance="input" style="left:1060px; top:45px; width:45px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpynm_search.value != ""){
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpynm,," + ipt_prodcmpynm_search.value
- ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpycd_search.value = "";
- }
- ipt_prodcmpycd_search.refresh();
- ipt_prodcmpynm_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpycd_search" ref="/root/send/fixasetlist/prodcmpycd_search" class="input_default" visibility="hidden" style="left:1013px; top:45px; width:22px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpycd_search.value != ""){
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpycd," + ipt_prodcmpycd_search.value + ","
- ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpynm_search.value = "";
- }
- ipt_prodcmpycd_search.refresh();
- ipt_prodcmpynm_search.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_smlcd_search" class="search_name" style="left:5px; top:73px; width:117px; height:17px; ">소 분 류 :</caption>
- <output id="opt_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" visibility="hidden" style="left:260px; top:50px; width:35px; height:19px; "/>
- <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" navindex="9" appearance="minimal" style="left:95px; top:28px; width:160px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var lrgcd = model.getValue(cmb_lrgcd_search.attribute("ref"));
- if(lrgcd == ""){
- cmb_mdlcd_search.disabled = true;
- }else{
- cmb_mdlcd_search.disabled = false;
- misfChangeItemsetFilter(cmb_mdlcd_search,"goodflag='GE' and lrgcd='" + lrgcd + "' or value=null");
- }
- model.setValue(cmb_mdlcd_search.attribute("ref"),"");
- cmb_mdlcd_search.refresh();
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" navindex="10" appearance="minimal" style="left:95px; top:49px; width:160px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "Y");
-
- cmb_smlcd_search.value = "";
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd_search" ref="/root/send/fixasetlist/smlcd_search" navindex="11" appearance="minimal" style="left:95px; top:71px; width:160px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_rfchmandlist_search" class="search_name" style="left:695px; top:28px; width:125px; height:17px; ">보수계약 :</caption>
- <select1 id="cmb_rfchmandlist_search" ref="/root/send/fixasetlist/rfchmandlist_search" class="combo_search" navindex="18" appearance="minimal" style="left:788px; top:28px; width:100px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_instcd_conv" ref="/root/init/instcd_conv" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:260px; top:26px; width:35px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_goodflagnm_search" class="search_name" style="left:304px; top:6px; width:117px; height:17px; ">비품/모델명 :</caption>
- <input id="ipt_mainmngtdeptcd_search" ref="/root/send/fixasetlist/mainmngtdeptcd_search" class="input_default" navindex="15" style="left:412px; top:50px; width:73px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_mainmngtdeptdeptnm_search);
- ]]>
- </script>
- </input>
- <button id="btn_mainmngtdeptcd_search" class="icon_search" style="left:489px; top:52px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mainmngtdeptcd_search,"","mainmngtdeptcd_search,mainmngtdeptnm_search");
- ipt_mainmngtdeptcd_search.refresh();
- ipt_mainmngtdeptdeptnm_search.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_mainmngtdeptcd_search" class="search_name" style="left:304px; top:50px; width:117px; height:17px; ">입 력 부 서 :</caption>
- <input id="ipt_mainmngtdeptdeptnm_search" ref="/root/send/fixasetlist/mainmngtdeptnm_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:509px; top:50px; width:146px; height:19px; "/>
- <caption id="caption36" class="search_name" style="left:696px; top:50px; width:118px; height:17px; ">취득일자 :</caption>
- <input id="ipt_possntodd" ref="/root/send/fixasetlist/possntodd_search" class="input_default" navindex="20" inputtype="date" format="yyyy-mm-dd" style="left:897px; top:50px; width:90px; height:19px; "/>
- <caption id="caption37" style="left:881px; top:50px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <button id="btn_suplplcecd_search" class="icon_search" style="left:489px; top:72px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd_search,suplplcenm_search","SPRSD00220","instcd","cmb_instcd_conv");
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption38" class="search_name" style="left:304px; top:72px; width:118px; height:17px; ">공 급 처 :</caption>
- <input id="ipt_possnfrdd" ref="/root/send/fixasetlist/possnfrdd_search" class="input_default" navindex="19" inputtype="date" format="yyyy-mm-dd" style="left:788px; top:50px; width:90px; height:19px; "/>
- <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:509px; top:72px; width:146px; height:19px; "/>
- <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_default" navindex="16" style="left:412px; top:72px; width:73px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(ipt_suplplcenm,cmb_instcd_conv);
- ]]>
- </script>
- </input>
- <caption id="cap_fixasetcd_search" class="search_name" style="left:695px; top:6px; width:116px; height:17px; ">자산코드 :</caption>
- <input id="ipt_fixasetcd_search" ref="/root/send/fixasetlist/fixasetcd_search" class="input_search" navindex="17" visibility="visible" imemode="disabled" _chartype="upper" style="left:788px; top:6px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- if(event.keyCode == "13") {
- model.setFocus("ipt_fixasetcd_search");
- }
- ]]>
- </script>
- </input>
- <caption id="caption28" class="search_name" style="left:696px; top:72px; width:114px; height:17px; ">취득금액 :</caption>
- <caption id="caption42" visibility="visible" style="left:882px; top:71px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_possnamtfr_search" ref="/root/send/fixasetlist/possnamtfr_search" class="input_search" navindex="21" maxlength="12" format="#,###" style="left:788px; top:72px; width:90px; height:19px; text-align:right; "/>
- <input id="ipt_possnamtto_search" ref="/root/send/fixasetlist/possnamtto_search" class="input_search" navindex="22" maxlength="12" format="#,###" style="left:897px; top:72px; width:90px; height:19px; text-align:right; "/>
- <select1 id="cmb_oskind_search" ref="/root/send/fixasetlist/oskind_search" navindex="23" visibility="visible" appearance="minimal" style="left:1020px; top:6px; width:80px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:935px; top:6px; width:116px; height:17px; ">OS 종류 :</caption>
- <caption id="caption44" class="search_name" style="left:935px; top:28px; width:116px; height:17px; ">메모리용량 :</caption>
- <select1 id="cmb_memoryvol_search" ref="/root/send/fixasetlist/memoryvol_search" navindex="24" visibility="visible" appearance="minimal" style="left:1035px; top:28px; width:65px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <bool id="bool1" checkvalue="Y,N" ref="/root/send/fixasetlist/outerfixaset" style="left:1116px; top:70px; width:19px; height:20px; "/>
- <caption id="caption47" class="search_name" style="left:1005px; top:70px; width:115px; height:17px; ">부외자산포함 :</caption>
- </group>
- <caption id="caption19" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
- <caption id="caption20" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:118px; x2:1190px; y2:117px; "/>
- <caption id="caption21" class="tit_2" style="left:0px; top:103px; width:69px; height:13px; ">비품목록</caption>
- <button id="btn_delrow" class="btn2_letter3" navindex="30" style="left:1138px; top:96px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 1 && grd_fixasetlist.rows- grd_fixasetlist.fixedRows != 0)
- {
- grd_fixasetlist.deleteRow(grd_fixasetlist.row);
- misfGridInit(grd_fixasettmplist);
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- fAllControlDisabled("true");
-
- if(grd_fixasetlist.rows- grd_fixasetlist.fixedRows != 0)
- {
- grd_fixasetlist.row = grd_fixasetlist.rows- grd_fixasetlist.fixedRows;
- grd_fixasetlist.dispatch("ondblclick");
- }
- }
- else{
- for(var rowIndex=0;rowIndex<grd_fixasetlist.selectedRows;rowIndex++){
- grd_fixasetlist.addStatus(grd_fixasetlist.selectedRow(rowIndex), "delete");
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" navindex="29" style="left:1082px; top:96px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_init.dispatch("DOMActivate");
- misfGridIUD(grd_fixasetlist, "A");
- grd_fixasetlist.dispatch("ondblclick");
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
-
- // default value setting
- addRow = grd_fixasetlist.rows - grd_fixasetlist.fixedRows;
- fDefaultSetting(addRow);
-
- // disable control
- fAllControlDisabled("false");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line21" class="line_1" style="x1:0px; y1:335px; x2:1190px; y2:335px; "/>
- <line id="line45" class="line_3" style="x1:0px; y1:562px; x2:1190px; y2:562px; "/>
- <line id="line53" class="line_2" style="x1:2px; y1:458px; x2:77px; y2:458px; "/>
- <button id="btn_addrow_" class="btn2_letter3" navindex="96" style="left:1074px; top:567px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue(ipt_fixasetcd.attribute("ref")).length == 0){
- if(!isRequiredControls("ipt_fixasetcd")) return;
- }
- if(btn_rfchmandlist.selected == true)
- {
- misfGridIUD(grd_rfchmandlist, "A");
-
- var cur_row = grd_rfchmandlist.row;
-
- //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
- model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
- model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
- model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/condd",getCurrentDate());
-
- model.refresh();
- return;
- }
- else if(btn_comps.selected == true)
- {
-
- misfGridIUD(grd_comps, "A");
-
- var cur_row = grd_comps.row;
-
- //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
- model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
- model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
-
- //오류가 납니다. 의미없어 보이는 코드같아 주석 처리 합니다.-MIS 개발팀...송광호-
- //model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/condd",getCurrentDate());
-
- model.refresh();
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_chnghist" class="btn2_letter4" navindex="93" style="left:444px; top:567px; width:64px; height:19px; ">
- <caption>변동이력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
- //window.load("SPRSC00211_ALLSIZE.xrw","modeless", "SPRSC00211_ALLSIZE.xrw", "width:810px; height:730;min:hidden;max:hidden;align:center", "" ,"");
- modal("SMRFE00200_자산변동사항관리","20","20","","popup", "/root/main/fixasetdet/fixasettmplist" ,"/root/temp");
- grd_fixasetlist.dispatch("ondblclick");
- ]]>
- </script>
- </button>
- <button id="btn_comps" class="btn_sw" group="tab" style="left:84px; top:565px; width:100px; height:22px; ">
- <caption>구성품</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <button id="btn_delrow_" class="btn2_letter3" navindex="97" style="left:1130px; top:567px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_rfchmandlist.selected == true)
- {
- misfGridIUD(grd_rfchmandlist, "D");
- model.refresh();
- return;
- }
- else if(btn_comps.selected == true)
- {
- misfGridIUD(grd_comps, "D");
- model.refresh();
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_set" class="btn2_letter3" navindex="92" style="left:388px; top:567px; width:53px; height:19px; ">
- <caption>소모품</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
- //window.load("SPRSC00211_ALLSIZE.xrw","modeless", "SPRSC00211_ALLSIZE.xrw", "width:810px; height:730;min:hidden;max:hidden;align:center", "" ,"");
- modal("SMRFE00100","","","","popup", "/root/main/fixasetdet/fixasettmplist" ,"/root/temp");
- ]]>
- </script>
- </button>
- <button id="btn_rfchmandlist" class="btn_sw" group="tab" selected="true" style="left:1px; top:565px; width:84px; height:22px; ">
- <caption>보수계약정보</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <button id="btn_image" class="btn2_letter5" navindex="91" style="left:310px; top:567px; width:75px; height:19px; ">
- <caption>이미지 정보</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("ALLSIZE.xrw","modeless", "ALLSIZE.xrw", "width:790px;height:744px;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
- //window.load("SPRSC00201_이미지.xrw","modeless", "SPRSC00201_이미지.xrw", "width:330px; height:390;min:hidden;max:hidden;align:center", "" ,"");
- if(grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd")) != ""){
- rszfOpenPopUpListByWndName(grd_fixasetlist,"","","SPRSC00201_이미지.xrw","goodcd", grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd")) );
- }else{
- messageBox("자산을", "C002");
- }
-
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0; top:588px; width:1195; height:150; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true">
- <datagrid id="grd_rfchmandlist" nodeset="/root/main/list/rfchmandlist" caption="계약일자^계약기간^계약기간^계약금액^계약처^계약처^계약사항^대리점^대리점연락처^기관코드^자산코드" colsep="^" colwidth="106, 106, 105, 90, 90, 100, 351, 109, 93, 100, 100" dataheight="60" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" navindex="98" style="left:2px; top:5px; width:1187px; height:135px; ">
- <col ref="condd" type="inputdate" format="yyyy-mm-dd"/>
- <col class="input_essential" ref="rpirconfromdd" type="inputdate" format="yyyy-mm-dd" _key="true"/>
- <col ref="rpircontodd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="conamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="suplplcecd" type="inputbutton"/>
- <col ref="suplplcenm" type="input"/>
- <col ref="concond" type="input"/>
- <col ref="agency" type="input"/>
- <col ref="agencycntctel" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd")) {//계약처 버튼을 눌렀을 때
- rszfOpenPopUpListByWndName(grd_rfchmandlist,"",
- "suplplcecd,suplplcenm","SPRSD00220","instcd,goodflag",
- "cmb_instcd_search,opt_goodflag_search","Y");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcenm") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length> 0)
- {
- if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length == 0)
- grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")) = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "custnm," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")), "", "suplplcecd,suplplcenm",
- grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
- }
- else if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length> 0)
- {
- if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length == 0)
- grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")) = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "entrregno," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")), "", "suplplcecd,suplplcenm",
- grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:2px; x2:1190; y2:2px; "/>
- </case>
- <case id="case3">
- <datagrid id="grd_comps" nodeset="/root/main/list/compslist" caption="물품코드^품명^규격^단위^수량^주기^비고^기관코드^고정자산코드" colsep="^" colwidth="116, 165, 110, 50, 70, 100, 123, 100, 100" dataheight="25" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:7px; width:1053px; height:88px; ">
- <col class="input_essential" ref="goodcd" type="inputbutton" _key="true"/>
- <col ref="goodnm" type="input"/>
- <col ref="goodspec"/>
- <col ref="purcunit"/>
- <col ref="rpiruseqty" type="input" format="9999999999999"/>
- <col ref="prid" type="input"/>
- <col ref="cmt" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_comps.col == grd_comps.colRef("goodcd")) {//물품코드 버튼을 눌렀을 때
-
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- rszfOpenPopUpListByWndName(grd_comps,"",
- "goodcd,goodnm,goodspec,purcunit","SPRSD00190",
- "instcd,goodflag","cmb_instcd_search,B", "Y");
-
- var cur_row = grd_comps.row;
-
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
-
- setCSVToNode("/root/copynode", CSV, "compslist");
-
- fSettingGoodList("/root/copynode", "compslist");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_comps.col == grd_comps.colRef("goodnm") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodnm")).length> 0)
- {
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodnm,goodflag",
- "goodnm," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodnm"))+ ",B",
- "", "goodcd,goodnm,goodspec,purcunit",
- grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
-
- // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
-
- setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
-
- fSettingGoodList("/root/copynode", "goodbaseqtylist");
- }
- else if(grd_comps.col == grd_comps.colRef("goodcd") && grd_comps.valueMatrix(grd_comps.row, grd_comps.colRef("goodcd")).length> 0)
- {
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
-
- rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodcd,goodflag",
- "goodcd," + grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("instcd")) + ","+ grd_comps.valueMatrix(grd_comps.row,grd_comps.colRef("goodcd"))+ ",B",
- "", "goodcd,goodnm,goodspec,purcunit",
- grd_comps, "SPRSD00190", "instcd,goodflag","cmb_instcd_search,B","Y");
-
- // gvParamPath : /root/properties/parameters = js에 선언되어있는 변수
- var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
-
- setCSVToNode("/root/copynode", CSV, "goodbaseqtylist");
-
- fSettingGoodList("/root/copynode", "goodbaseqtylist");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line18" class="line_1" style="x1:0px; y1:2px; x2:1193; y2:2px; "/>
- </case>
- </switch>
- <button id="btn_maineqmt" class="icon_search" visibility="hidden" style="left:151px; top:680px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maineqmtcd,"","maineqmtcd,maineqmtnm","SPRSD00240","instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_winno" ref="/root/main/fixasetdet/fixasettmplist/winno" class="input_default" navindex="95" visibility="hidden" format="9999999999999" appearance="input" style="left:900px; top:565px; width:131px; height:19px; "/>
- <input id="ipt_maineqmtcd" ref="/root/main/fixasetdet/fixasettmplist/maineqmtcd" visibility="hidden" style="left:80px; top:680px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_maineqmtcd.value.length == 0)
- ipt_maineqmtnm.value = "";
- else
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
- cmb_instcd_search.value + "," + "fixasetcd," + ipt_maineqmtcd.value + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
- ipt_maineqmtcd, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_maineqmtnm" ref="/root/main/fixasetdet/fixasettmplist/maineqmtnm" class="input_fix" visibility="hidden" appearance="input" style="left:170px; top:680px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_maineqmtnm.value.length == 0)
- ipt_maineqmtcd.value = "";
- else
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
- cmb_instcd_search.value + "," + "goodflaghngnm," + ipt_maineqmtnm.value + "," + opt_goodflag_search.value, "", "maineqmtcd,maineqmtnm",
- ipt_maineqmtnm, "SPRSD00240", "instcd,goodflag","cmb_instcd_search,opt_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_winseqno" ref="/root/main/fixasetdet/fixasettmplist/winseqno" class="input_default" navindex="94" visibility="hidden" format="9999999999999" appearance="input" style="left:770px; top:565px; width:124px; height:19px; "/>
- <input id="ipt_repaybal" ref="/root/main/fixasetdet/fixasettmplist/repaybal" class="input_default" navindex="89" visibility="hidden" editable="false" format="#,###" appearance="input" style="left:673px; top:700px; width:42px; height:19px; text-align:right; "/>
- <select1 id="rdo_moveflag" ref="/root/main/fixasetdet/fixasettmplist/moveflag" visibility="hidden" appearance="full" cols="4" overflow="visible" style="left:674px; top:660px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/moveflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="tit_2" style="left:3px; top:321px; width:100px; height:13px; ">
- <![CDATA[비품상세내역]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grp_copy.visible = true;
- ]]>
- </script>
- </caption>
- <caption id="caption3" class="cell_1" visibility="hidden" style="left:7px; top:660px; width:72px; height:19px; vertical-align:middle; ">보조거래처</caption>
- <input id="ipt_suppcustnm" ref="/root/main/fixasetdet/fixasettmplist/suppcustnm" class="input_fix" visibility="hidden" appearance="input" style="left:170px; top:660px; width:110px; height:19px; "/>
- <button id="btn_suppcustcd" class="icon_search" visibility="hidden" style="left:151px; top:660px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suppcustnm,"","suppcustcd,suppcustnm","SPRSD00220","instcd","cmb_instcd_conv");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_suppcustcd" ref="/root/main/fixasetdet/fixasettmplist/suppcustcd" class="input_default" visibility="hidden" appearance="input" style="left:80px; top:660px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suppcustcd.value.length == 0)
- ipt_suppcustnm.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_conv.value + "," + "entrregno," + ipt_suppcustcd.value, "", "suppcustcd,suppcustnm",
- ipt_suppcustcd, "SPRSD00220", "instcd","cmb_instcd_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_moveflag" class="cell_1" visibility="hidden" style="left:600px; top:660px; width:72px; height:19px; vertical-align:middle; ">이동구분</caption>
- <caption id="caption7" class="cell_1" visibility="hidden" style="left:7px; top:680px; width:72px; height:19px; vertical-align:middle; ">메인장비</caption>
- <caption id="caption27" class="cell_1" visibility="hidden" style="left:600px; top:700px; width:72px; height:19px; vertical-align:middle; ">상각후잔액</caption>
- <button id="btn_serialnoupdate" class="btn4_letter4" navindex="28" visibility="visible" style="left:998px; top:94px; width:80px; height:22px; ">
- <caption>S/N 등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var copycnt = 1;
- for (var k = grd_fixasetlist.fixedRows ; k < grd_fixasetlist.rows; k++) {
- if (grd_fixasetlist.valueMatrix(k, grd_fixasetlist.colRef("serialchk")) == "Y" ){
- model.makeNode("/root/temp/fixasetlist[" + copycnt + "]");
- //이현민
- //model.makeValue grd_fixasetlist.nodeset+"["+ ( k - grd_fixasetlist.fixedRows + 1) + "]"
- model.copyNode( "/root/temp/fixasetlist[" + copycnt + "]",grd_fixasetlist.nodeset+"["+ ( k - grd_fixasetlist.fixedRows + 1) + "]" );
- model.makeValue("/root/temp/fixasetlist[" + copycnt + "]/pggubun","SMRFC00300" );
-
- copycnt += 1;
- }
- }
- modal("SPRSC02103", "", "", "", "popup", "root/temp", "/root/temp" );
- for (var k = grd_fixasetlist.fixedRows ; k < grd_fixasetlist.rows; k++) {
- model.removenode("/root/temp/fixasetlist" );
- // btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_vFlag" visibility="hidden" style="left:515px; top:95px; width:25px; height:19px; "/>
- <button id="btn_chksrch" class="btn4_letter4" navindex="27" visibility="visible" style="left:814px; top:94px; width:80px; height:22px; ">
- <caption>검수내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_addrow.dispatch("DOMActivate"); //행추가 초기화
-
- var chkdd = getParameter("para_purcchkdd" );
- var chkno = getParameter("para_purcchkno" );
- // alert(chkdd);
- // alert(chkno);
- if(chkdd != "" && chkno != ""){
- model.makeValue("/root/temp/purcchkdd" , chkdd);
- model.makeValue("/root/temp/purcchkno" , chkno);
- }
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.makeValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_conv.attribute("ref")));
- model.makeValue("/root/main/fixasetdet/fixasettmplist/goodflag", "GE");
- // modal("SPRFC01000");
- modal("SPRFC01000", 1, 0, 0 ,"SPRFC01000","/root/temp", "/root/temp");
- // btn_search.dispatch("DOMActivate");
- 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_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_conno.attribute("ref") , getParameter("para_purcconno" ));
- model.makeValue(ipt_conseq.attribute("ref") , getParameter("para_purcconseq" ));
- model.makeValue(ipt_repayappdd.attribute("ref") , getParameter("para_purcchkdd" ));
- model.makeValue("/root/temp/purcchkdd" , getParameter("para_purcchkdd" ));
- model.makeValue("/root/temp/purcchkno" , getParameter("para_purcchkno" ));
- }
- model.refresh()
- ]]>
- </script>
- </button>
- <caption id="caption30" class="search_name" style="left:684px; top:97px; width:89px; height:17px; ">자산수량 :</caption>
- <input id="ipt_fixasetcdcnt" ref="/root/main/fixasetdet/fixasettmplist/fixasetcdcnt" class="input_default" appearance="input" style="left:774px; top:96px; width:35px; height:19px; text-align:right; "/>
- <input id="ipt_purcdmnddd" ref="/root/main/fixasetdet/fixasettmplist/purcdmnddd" visibility="hidden" style="left:545px; top:95px; width:25px; height:19px; text-align:center; "/>
- <input id="ipt_purcdmndno" ref="/root/main/fixasetdet/fixasettmplist/purcdmndno" visibility="hidden" style="left:580px; top:95px; width:20px; height:19px; text-align:center; "/>
- <input id="ipt_purcdmndseq" ref="/root/main/fixasetdet/fixasettmplist/purcdmndseq" visibility="hidden" style="left:600px; top:95px; width:15px; height:19px; text-align:center; "/>
- <select1 id="cmb_repayflag" ref="/root/main/fixasetdet/fixasettmplist/repayflag" visibility="hidden" appearance="minimal" showvalue="true" style="left:383px; top:660px; width:177px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 20100217 [최형진] 감가상각관련
- if(model.getValue(cmb_repayflag.attribute("ref")) == "3") {
- cmb_repaymthd.disabled = true;
- ipt_cntsyearno.disabled = true;
- } else {
- cmb_repaymthd.disabled = false;
- ipt_cntsyearno.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption34" class="cell_1" visibility="hidden" style="left:310px; top:660px; width:72px; height:19px; vertical-align:middle; ">상각구분</caption>
- <input id="ipt_suplcntctel" ref="/root/main/fixasetdet/fixasettmplist/suplcntctel" class="input_default" visibility="hidden" appearance="input" style="left:385px; top:680px; width:107px; height:19px; "/>
- <caption id="caption8" class="cell_1" visibility="hidden" style="left:312px; top:680px; width:72px; height:19px; vertical-align:middle; ">연락처</caption>
- <output id="opt_sumfla" ref="/root/init/reqamt" class="output_default" format="#,###" style="left:368px; top:100px; width:212px; height:19px; font-weight:bold; "/>
- <caption id="caption39" class="tit_2" style="left:290px; top:103px; width:80px; height:23px; vertical-align:middle; ">총 금액 :</caption>
- <caption id="caption40" class="tit_2" style="left:130px; top:103px; width:89px; height:13px; vertical-align:middle; ">비품 건수 :</caption>
- <output id="opt_sumqty" ref="/root/init/reqcnt" class="output_default" format="#,###" style="left:218px; top:100px; width:50px; height:19px; font-weight:bold; "/>
- <caption id="caption9" class="cell_1" visibility="hidden" style="left:600px; top:680px; width:72px; height:19px; vertical-align:middle; ">검수일</caption>
- <input id="ipt_chkdd" ref="/root/main/fixasetdet/fixasettmplist/chkdd" class="input_default" visibility="hidden" inputtype="date" style="left:673px; top:680px; width:105px; height:19px; "/>
- <button id="button2" class="btn4_letter6" navindex="26" visibility="visible" style="left:894px; top:94px; width:104px; height:22px; ">
- <caption>기부채납내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.makeValue("/root/main/fixasetdet/fixasettmplist/instcd", model.getValue(cmb_instcd_conv.attribute("ref")));
- model.makeValue("/root/main/fixasetdet/fixasettmplist/goodflag", "GE");
- modal("SMRWD20500");
- if (getParameter("para_closeyn") != ""){
- model.setValue(ipt_goodflaghngnm.attribute("ref") , getParameter("para_goodnm" )); //비품명칭
- model.setValue(ipt_goodspec.attribute("ref") , getParameter("para_goodspect" )); //규격
- model.setValue(ipt_possnamt.attribute("ref") , getParameter("para_goodpurccost" )); //금액
- model.setValue(ipt_mngtdeptcd.attribute("ref") , getParameter("para_installplcecd" ));
- model.setValue(ipt_mngtdeptnm.attribute("ref") , getParameter("para_installplcenm" ));
- model.setValue(ipt_installplcecd.attribute("ref") , getParameter("para_installplcecd" ));
- model.setValue(ipt_installplcenm.attribute("ref") , getParameter("para_installplcenm" ));
- model.setValue(ipt_repayappdd.attribute("ref") , getParameter("para_purdd" )); //상각적용일
- model.setValue(ipt_possndd.attribute("ref") , getParameter("para_purdd" )); //취득일
- model.setValue(cmb_acqtflag.attribute("ref") , "1");
- model.setValue(ipt_contributor.attribute("ref") , getParameter("para_emplno" )); //기부자
- model.setValue(ipt_fundsorigincnts.attribute("ref") , getParameter("para_acntcd" )); //자금출처
- }
- model.refresh()
- ]]>
- </script>
- </button>
- <group id="grp_detail" style="left:0px; top:340px; width:1193px; height:221px; ">
- <input id="ipt_installplcenm" ref="/root/main/fixasetdet/fixasettmplist/installplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:170px; top:120px; width:110px; height:19px; "/>
- <select1 id="cmb_smlcd" ref="/root/main/fixasetdet/fixasettmplist/smlcd" navindex="36" appearance="minimal" style="left:75px; top:60px; width:205px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var smlcd = model.getValue((cmb_smlcd.attribute("ref")));
- if (smlcd.getTrim() != ""){
- model.setValue(ipt_fixasetcd.attribute("ref"), "");
- }
- //
- // rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M");
- // cmb_mdlcd_search.dispatch("xforms-value-changed");
- // //model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_lrgcd" ref="/root/main/fixasetdet/fixasettmplist/lrgcd" navindex="34" appearance="minimal" style="left:75px; top:20px; width:205px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var lrgcd = model.getValue(cmb_lrgcd.attribute("ref"));
- misfChangeItemsetFilter(cmb_mdlcd,"lrgcd='" + lrgcd + "'");
- model.setValue(cmb_mdlcd.attribute("ref"),"");
- cmb_mdlcd.refresh();
- cmb_mdlcd.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <button id="btn_mngtdeptcd" class="icon_search" style="left:152px; top:100px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm","SPRPZ00800","instcd","cmb_instcd_search");
- ipt_mngtdeptnm.refresh();
- ipt_mngtdeptcd.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_suplplcecd" class="cell_1" style="left:2px; top:160px; width:72px; height:19px; vertical-align:middle; ">공급처</caption>
- <input id="ipt_installplcecd" ref="/root/main/fixasetdet/fixasettmplist/installplcecd" class="input_essential" navindex="38" appearance="input" style="left:75px; top:120px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcecd.value.length == 0)
- ipt_installplcenm.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + ipt_installplcecd.value, "", "installplcecd,installplcenm",
- ipt_installplcecd, "PPRAC00700", "","");
- ipt_installplcenm.refresh();
- ipt_installplcecd.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_fixasetunit" ref="/root/main/fixasetdet/fixasettmplist/fixasetunit" navindex="41" visibility="visible" appearance="minimal" style="left:75px; top:180px; width:55px; height:19px; "/>
- <select1 id="cmb_mdlcd" ref="/root/main/fixasetdet/fixasettmplist/mdlcd" navindex="35" appearance="minimal" style="left:75px; top:40px; width:205px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S");
- cmb_smlcd.refresh();
-
- if(fCheckOuterFixaset()) {
- grp_outerfixaset.visible = true;
- } else {
- grp_outerfixaset.visible = false;
- }
- grp_outerfixaset.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_possnamt" class="cell_1" visibility="visible" style="left:132px; top:180px; width:67px; height:19px; vertical-align:middle; ">구입금액</caption>
- <input id="ipt_possnamt" ref="/root/main/fixasetdet/fixasettmplist/possnamt" class="input_default" navindex="42" visibility="visible" format="#,###" appearance="input" style="left:201px; top:180px; width:79px; height:19px; text-align:right; "/>
- <caption id="cap_fixasetunit" class="cell_1" visibility="visible" style="left:2px; top:180px; width:72px; height:19px; vertical-align:middle; ">단위</caption>
- <input id="ipt_cntrdeptnm" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:170px; top:80px; width:110px; height:19px; "/>
- <button id="btn_goodcdcopy" class="btn2_letter4" navindex="33" style="left:215px; top:0px; width:64px; height:19px; ">
- <caption>코드생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue(chk_outerfixaset.attribute("ref"),"N");
- fGoodCdCopy();
- fDeprcBaseList("/root/send/deprcbase", "/root/main/deprcbaseinfo");
-
- model.setValue(cmb_repaymthd.attribute("ref") , model.getValue("/root/main/deprcbaseinfo/deprcbaselist/repaymthd"));
- model.setValue(ipt_cntsyearno.attribute("ref"), model.getValue("/root/main/deprcbaseinfo/deprcbaselist/cntsyearno"));
- model.setValue(ipt_repayrate.attribute("ref") , model.getValue("/root/main/deprcbaseinfo/deprcbaselist/repayrate"));
-
- cmb_repaymthd.refresh();
- ipt_cntsyearno.refresh();
- ipt_repayrate.refresh();
-
- fSetOuterFixaset();
- ]]>
- </script>
- </button>
- <caption id="cap_mngtdeptcd" class="cell_1" style="left:2px; top:100px; width:72px; height:19px; vertical-align:middle; ">사용부서</caption>
- <caption id="cap_smlcd" class="cell_1" style="left:2px; top:60px; width:72px; height:19px; vertical-align:middle; ">소분류</caption>
- <caption id="cap_lrgcd" class="cell_1" style="left:2px; top:20px; width:72px; height:19px; vertical-align:middle; ">대분류</caption>
- <input id="ipt_cntrdeptcd" ref="/root/main/fixasetdet/fixasettmplist/cntrdeptcd" class="input_default" appearance="input" style="left:75px; top:80px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_cntrdeptnm);
- ]]>
- </script>
- </input>
- <input id="ipt_suplplcenm" ref="/root/main/fixasetdet/fixasettmplist/suplplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:155px; top:160px; width:125px; height:19px; "/>
- <button id="btn_installplcecd" class="icon_search" style="left:152px; top:120px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_installplcecd,"", "installplcecd,installplcenm") ;
- ipt_installplcenm.refresh();
- ipt_installplcecd.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_mdlcd" class="cell_1" style="left:2px; top:40px; width:72px; height:19px; vertical-align:middle; ">중분류</caption>
- <input id="ipt_suplplcecd" ref="/root/main/fixasetdet/fixasettmplist/suplplcecd" class="input_default" navindex="40" appearance="input" style="left:75px; top:160px; width:60px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(ipt_suplplcenm,cmb_instcd_conv);
- ]]>
- </script>
- </input>
- <input id="ipt_mngtdeptnm" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:170px; top:100px; width:110px; height:19px; "/>
- <caption id="cap_installplcecd" class="cell_1" style="left:2px; top:120px; width:72px; height:19px; vertical-align:middle; ">설치장소</caption>
- <button id="btn_cntrdeptcd" class="icon_search" style="left:152px; top:80px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_cntrdeptcd,"","cntrdeptcd,cntrdeptnm");
- ipt_cntrdeptnm.refresh();
- ipt_cntrdeptcd.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/mngtdeptcd" class="input_essential" navindex="37" appearance="input" style="left:75px; top:100px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_mngtdeptnm);
- ]]>
- </script>
- </input>
- <input id="ipt_fixasetcd" ref="/root/main/fixasetdet/fixasettmplist/fixasetcd" class="input_essential" navindex="32" appearance="input" style="left:75px; top:0px; width:137px; height:19px; "/>
- <input id="ipt_acntnm" ref="/root/main/fixasetdet/fixasettmplist/acntnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:155px; top:200px; width:125px; height:19px; "/>
- <caption id="cap_acntcd" class="cell_1" style="left:2px; top:200px; width:72px; height:19px; vertical-align:middle; ">입고계정</caption>
- <caption id="cap_fixasetcd" class="cell_1" style="left:2px; top:0px; width:72px; height:19px; vertical-align:middle; ">비품코드</caption>
- <button id="btn_suplplcecd" class="icon_search" style="left:137px; top:160px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd_conv");
- //model.refresh();
- ipt_suplplcecd.refresh();
- ipt_suplplcenm.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_acntcd" class="icon_search" style="left:137px; top:200px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100_계정코드HELP","","");
- //model.refresh();
- ipt_acntnm.refresh();
- ipt_acntcd.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_acntcd" ref="/root/main/fixasetdet/fixasettmplist/acntcd" class="input_default" navindex="43" appearance="input" style="left:75px; top:200px; width:60px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_acntcd.value.length == 0)
- ipt_acntnm.value = "";
- else
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
- ",Y,2," + ipt_acntcd.value, "", "acntcd,acntnm",
- ipt_acntcd, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd");
- //model.refresh();
- ipt_acntnm.refresh();
- ipt_acntcd.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_cntrdeptcd" class="cell_1" style="left:2px; top:80px; width:72px; height:19px; vertical-align:middle; ">청구부서</caption>
- <input id="ipt_welfcd" ref="/root/main/fixasetdet/fixasettmplist/welfcd" class="input_default" navindex="61" visibility="visible" appearance="input" style="left:608px; top:100px; width:105px; height:19px; text-align:left; "/>
- <input id="ipt_repayrate" ref="/root/main/fixasetdet/fixasettmplist/repayrate" class="input_default" navindex="52" visibility="visible" editable="true" appearance="input" style="left:355px; top:140px; width:177px; height:19px; text-align:right; padding-right:10; "/>
- <caption id="cap_goodflaghngnm" class="cell_1" visibility="visible" style="left:282px; top:0px; width:72px; height:19px; vertical-align:middle; ">비품명칭</caption>
- <select1 id="cmb_repaymthd" ref="/root/main/fixasetdet/fixasettmplist/repaymthd" navindex="50" appearance="minimal" style="left:355px; top:120px; width:82px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_usge" class="cell_1" visibility="visible" style="left:916px; top:100px; width:72px; height:19px; vertical-align:middle; ">용도</caption>
- <button id="btn_prodcmpy" class="icon_search" navindex="90" visibility="visible" style="left:1171px; top:120px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpy,"","prodcmpy,prodcmpynm","SPRSD00160","","");
- ipt_prodcmpynm.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_prodcmpy" class="cell_1" visibility="visible" style="left:916px; top:120px; width:72px; height:19px; vertical-align:middle; ">제조회사</caption>
- <textarea id="ipt_cmt" ref="/root/main/fixasetdet/fixasettmplist/cmt" navindex="66" maxlength="100" appearance="textarea" style="left:608px; top:200px; width:305px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- model.setFocus("ipt_cmt");
- messageBox("입력 가능한 글자수 초과","I009");
- ]]>
- </script>
- </textarea>
- <input id="ipt_prodcmpy" ref="/root/main/fixasetdet/fixasettmplist/prodcmpy" visibility="visible" style="left:1026px; top:120px; width:44px; height:19px; "/>
- <input id="ipt_fundsorigincnts" ref="/root/main/fixasetdet/fixasettmplist/fundsorigincnts" class="input_default" navindex="69" visibility="visible" appearance="input" style="left:789px; top:40px; width:123px; height:19px; text-align:left; "/>
- <input id="ipt_mngtno" ref="/root/main/fixasetdet/fixasettmplist/mngtno" class="input_default" navindex="80" visibility="visible" appearance="input" style="left:989px; top:80px; width:200px; height:19px; "/>
- <caption id="caption41" class="cell_1" visibility="hidden" style="left:916px; top:0px; width:72px; height:19px; vertical-align:middle; ">기타내용</caption>
- <caption id="caption31" class="cell_1" visibility="visible" style="left:715px; top:20px; width:72px; height:19px; vertical-align:middle; ">기부자</caption>
- <input id="ipt_contributor" ref="/root/main/fixasetdet/fixasettmplist/contributor" class="input_default" navindex="68" visibility="visible" appearance="input" style="left:789px; top:20px; width:123px; height:19px; text-align:left; "/>
- <input id="ipt_incmpemtno" ref="/root/main/fixasetdet/fixasettmplist/incmpemtno" navindex="88" visibility="visible" appearance="input" style="left:989px; top:200px; width:200px; height:19px; text-align:left; "/>
- <input id="ipt_repayenddd" ref="/root/main/fixasetdet/fixasettmplist/repayenddd" class="input_default" navindex="49" visibility="visible" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:355px; top:100px; width:177px; height:19px; "/>
- <caption id="cap_condd" class="cell_1" visibility="visible" style="left:535px; top:60px; width:72px; height:19px; vertical-align:middle; ">계약일</caption>
- <caption id="cap_catalog" class="cell_1" visibility="visible" style="left:282px; top:160px; width:72px; height:19px; vertical-align:middle; ">카탈로그</caption>
- <caption id="cap_fixtrflag" class="cell_1" visibility="visible" style="left:535px; top:120px; width:72px; height:19px; vertical-align:middle; ">비품구분</caption>
- <caption id="caption10" class="cell_1" visibility="visible" style="left:916px; top:180px; width:72px; height:19px; vertical-align:middle; ">보증기간</caption>
- <caption id="cap_asetflagmaineqmtflag" class="cell_1" visibility="visible" style="left:282px; top:180px; width:72px; height:19px; vertical-align:middle; ">관리구분</caption>
- <input id="ipt_goodflagengnm" ref="/root/main/fixasetdet/fixasettmplist/goodflagengnm" class="input_essential" navindex="45" visibility="visible" appearance="input" style="left:355px; top:20px; width:177px; height:19px; "/>
- <caption id="cap_etcwln" class="cell_1" visibility="visible" style="left:282px; top:200px; width:72px; height:19px; vertical-align:middle; ">기타입고</caption>
- <caption id="caption33" class="cell_1" visibility="visible" style="left:715px; top:40px; width:72px; height:19px; vertical-align:middle; ">기부출처</caption>
- <input id="ipt_amtacntnm" ref="/root/main/fixasetdet/fixasettmplist/amtacntnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:1081px; top:0px; width:108px; height:19px; "/>
- <input id="ipt_etcaddamt" ref="/root/main/fixasetdet/fixasettmplist/etcaddamt" class="input_default" navindex="70" visibility="visible" format="#,###" appearance="input" style="left:789px; top:60px; width:123px; height:19px; text-align:right; "/>
- <caption id="caption11" class="cell_1" visibility="visible" style="left:715px; top:80px; width:72px; height:19px; vertical-align:middle; ">내/외자</caption>
- <select1 id="rdo_lseyn" ref="/root/main/fixasetdet/fixasettmplist/lseyn" navindex="73" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:120px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/lseyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_entrasetyn" class="cell_1" visibility="visible" style="left:715px; top:140px; width:72px; height:19px; vertical-align:middle; ">고유목적</caption>
- <caption id="cap_etcaddamt" class="cell_1" visibility="visible" style="left:715px; top:60px; width:72px; height:19px; vertical-align:middle; ">부대비용</caption>
- <caption id="caption23" class="cell_1" visibility="visible" style="left:282px; top:120px; width:72px; height:19px; vertical-align:middle; ">상각방법</caption>
- <caption id="caption12" class="cell_1" visibility="visible" style="left:715px; top:100px; width:72px; height:19px; vertical-align:middle; ">수익성평가</caption>
- <select1 id="rdo_asetflagmaineqmtflag" ref="/root/main/fixasetdet/fixasettmplist/asetflag_maineqmtflag" navindex="54" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:355px; top:180px; width:177px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/asetflagmaineqmtflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_forgncurncyamt" ref="/root/main/fixasetdet/fixasettmplist/forgncurncyamt" class="input_default" navindex="84" visibility="visible" format="#,###" appearance="input" style="left:989px; top:160px; width:98px; height:19px; text-align:right; "/>
- <input id="ipt_goodspec" ref="/root/main/fixasetdet/fixasettmplist/goodspec" class="input_default" navindex="46" visibility="visible" appearance="input" style="left:355px; top:40px; width:177px; height:19px; "/>
- <caption id="cap_goodspec" class="cell_1" visibility="visible" style="left:282px; top:40px; width:72px; height:19px; vertical-align:middle; ">규격</caption>
- <input id="ipt_delivetermmm" ref="/root/main/fixasetdet/fixasettmplist/delivetermmm" class="input_default" navindex="60" visibility="visible" inputtype="date" appearance="input" style="left:608px; top:80px; width:105px; height:19px; "/>
- <caption id="caption35" class="cell_1" visibility="visible" style="left:535px; top:100px; width:72px; height:19px; vertical-align:middle; ">보사부코드</caption>
- <select1 id="rdo_fixtrflag" ref="/root/main/fixasetdet/fixasettmplist/fixtrflag" navindex="62" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:608px; top:120px; width:105px; 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>
- <caption id="caption24" class="cell_1" visibility="visible" style="left:282px; top:140px; width:72px; height:19px; vertical-align:middle; ">상각율</caption>
- <caption id="caption13" class="cell_1" visibility="visible" style="left:715px; top:120px; width:72px; height:19px; vertical-align:middle; ">리스자산</caption>
- <caption id="caption4" class="cell_1" visibility="visible" style="left:916px; top:80px; width:72px; height:19px; vertical-align:middle; ">SERIAL NO</caption>
- <input id="ipt_agency" ref="/root/main/fixasetdet/fixasettmplist/agency" class="input_default" navindex="78" visibility="visible" style="left:989px; top:40px; width:200px; height:19px; "/>
- <input id="ipt_goodflaghngnm" ref="/root/main/fixasetdet/fixasettmplist/goodflaghngnm" class="input_essential" navindex="44" visibility="visible" appearance="input" style="left:355px; top:0px; width:177px; height:19px; "/>
- <caption id="cap_delivetermmm" class="cell_1" visibility="visible" style="left:535px; top:80px; width:72px; height:19px; vertical-align:middle; ">계약만료일</caption>
- <caption id="caption25" class="cell_1" visibility="visible" style="left:282px; top:100px; width:72px; height:19px; vertical-align:middle; ">상각완료일</caption>
- <caption id="caption14" class="cell_1" visibility="visible" style="left:916px; top:20px; width:72px; height:19px; vertical-align:middle; ">메뉴얼장소</caption>
- <caption id="caption5" class="cell_1" visibility="visible" style="left:916px; top:160px; width:72px; height:19px; vertical-align:middle; ">외화액</caption>
- <input id="ipt_goodmodel" ref="/root/main/fixasetdet/fixasettmplist/goodmodel" class="input_default" navindex="47" visibility="visible" appearance="input" style="left:355px; top:60px; width:177px; height:19px; "/>
- <caption id="cap_cmt" class="cell_1" style="left:535px; top:200px; width:72px; height:19px; vertical-align:middle; ">비고</caption>
- <button id="btn_amtacnt" class="icon_search" style="left:1062px; top:0px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd,"","amtacnt,amtacntnm","PPRAC00100","","");
- ipt_amtacnt.refresh();
- ipt_amtacntnm.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption26" class="cell_1" visibility="visible" style="left:438px; top:120px; width:61px; height:19px; vertical-align:middle; ">내용연수</caption>
- <caption id="caption15" class="cell_1" visibility="visible" style="left:916px; top:40px; width:72px; height:19px; vertical-align:middle; ">AS 대리점</caption>
- <input id="ipt_repayappdd" ref="/root/main/fixasetdet/fixasettmplist/repayappdd" class="input_default" navindex="48" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:355px; top:80px; width:177px; height:19px; "/>
- <input id="ipt_flwgrnttermto" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermto" class="input_default" navindex="87" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:1091px; top:180px; width:98px; height:19px; "/>
- <input id="ipt_flwgrnttermfr" ref="/root/main/fixasetdet/fixasettmplist/flwgrnttermfr" class="input_default" navindex="86" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:989px; top:180px; width:98px; height:19px; "/>
- <input id="ipt_usge" ref="/root/main/fixasetdet/fixasettmplist/usge" class="input_default" navindex="81" visibility="visible" appearance="input" style="left:989px; top:100px; width:200px; height:19px; "/>
- <caption id="cap_goodmodel" class="cell_1" visibility="visible" style="left:282px; top:60px; width:72px; height:19px; vertical-align:middle; ">모델명</caption>
- <caption id="cap_fundorigin" class="cell_1" visibility="visible" style="left:715px; top:0px; width:72px; height:19px; vertical-align:middle; ">자금출처</caption>
- <input id="ipt_condd" ref="/root/main/fixasetdet/fixasettmplist/condd" class="input_default" navindex="59" visibility="visible" inputtype="date" style="left:608px; top:60px; width:105px; height:19px; "/>
- <input id="ipt_possndd" ref="/root/main/fixasetdet/fixasettmplist/possndd" class="input_default" navindex="58" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:608px; top:40px; width:105px; height:19px; "/>
- <select1 id="cmb_acqtflag" ref="/root/main/fixasetdet/fixasettmplist/acqtflag" navindex="56" visibility="visible" appearance="minimal" style="left:608px; top:0px; width:105px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_acqtflag" class="cell_1" visibility="visible" style="left:535px; top:0px; width:72px; height:19px; vertical-align:middle; ">도입구분</caption>
- <input id="ipt_catalog" ref="/root/main/fixasetdet/fixasettmplist/catalog" class="output_fix" disabled="true" navindex="53" visibility="visible" editable="false" appearance="input" style="left:355px; top:160px; width:177px; height:19px; "/>
- <caption id="caption16" class="cell_1" visibility="visible" style="left:715px; top:160px; width:72px; height:19px; vertical-align:middle; ">예방점검</caption>
- <input id="ipt_prodcmpynm" ref="/root/main/fixasetdet/fixasettmplist/prodcmpynm" class="input_fix" navindex="82" visibility="visible" appearance="input" style="left:989px; top:120px; width:179px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpynm,," + ipt_prodcmpynm.value, "", "prodcmpycd,prodcmpynm",
- ipt_prodcmpynm, "SPRSD00160", "","");
- ipt_prodcmpynm.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_fundorigin" ref="/root/main/fixasetdet/fixasettmplist/fundorigin" disabled="true" navindex="67" visibility="visible" appearance="minimal" style="left:789px; top:0px; width:123px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var visibleFlag = false;
- if(cmb_fundorigin.value == "03"){
- visibleFlag = true;
- }
- caption41.visible = visibleFlag;
- ipt_etccnts.visible = visibleFlag;
-
- caption29.visible = !visibleFlag;
- ipt_amtacnt.visible = !visibleFlag;
- btn_amtacnt.visible = !visibleFlag;
- ipt_amtacntnm.visible = !visibleFlag;
- ]]>
- </script>
- </select1>
- <caption id="caption17" class="cell_1" visibility="visible" style="left:916px; top:60px; width:72px; height:19px; vertical-align:middle; ">AS 연락처</caption>
- <select1 id="rdo_possnflagcd" ref="/root/main/fixasetdet/fixasettmplist/possnflagcd" navindex="71" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:80px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/possnflagcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="cell_1" style="left:916px; top:0px; width:72px; height:19px; vertical-align:middle; ">계정과목</caption>
- <select1 id="rdo_entrasetyn" ref="/root/main/fixasetdet/fixasettmplist/entrasetyn" navindex="74" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:140px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/entrasetyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" class="cell_1" visibility="visible" style="left:282px; top:80px; width:72px; height:19px; vertical-align:middle; ">상각적용일</caption>
- <input id="ipt_etccnts" ref="/root/main/fixasetdet/fixasettmplist/etccnts" class="input_default" visibility="hidden" style="left:990px; top:0px; width:199px; height:19px; "/>
- <input id="ipt_cntsyearno" ref="/root/main/fixasetdet/fixasettmplist/cntsyearno" class="input_default" navindex="51" visibility="visible" appearance="input" style="left:500px; top:120px; width:32px; height:19px; text-align:right; padding-right:5; "/>
- <caption id="cap_incmpemtno" class="cell_1" visibility="visible" style="left:916px; top:200px; width:72px; height:19px; vertical-align:middle; ">허가번호</caption>
- <caption id="cap_goodflagengnm" class="cell_1" visibility="visible" style="left:282px; top:20px; width:72px; height:19px; vertical-align:middle; ">영문명칭</caption>
- <select1 id="cmb_curncyunit" ref="/root/main/fixasetdet/fixasettmplist/curncyunit" navindex="85" visibility="visible" appearance="minimal" style="left:1091px; top:160px; width:98px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_smplce" ref="/root/main/fixasetdet/fixasettmplist/smplce" class="input_default" navindex="77" visibility="visible" style="left:989px; top:20px; width:200px; height:19px; "/>
- <caption id="cap_winno" class="cell_1" visibility="visible" style="left:535px; top:40px; width:72px; height:19px; vertical-align:middle; ">취득일</caption>
- <select1 id="cmb_etcwln" ref="/root/main/fixasetdet/fixasettmplist/etcwln" navindex="55" visibility="visible" appearance="minimal" style="left:355px; top:200px; width:177px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_amtacnt" ref="/root/main/fixasetdet/fixasettmplist/amtacnt" class="input_default" navindex="76" appearance="input" style="left:989px; top:0px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_amtacnt.value.length == 0)
- ipt_amtacntnm.value = "";
- else
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_amtacnt.attribute("ref")) ,"","amtacnt,amtacntnm" ,ipt_amtacnt,"PPRAC00100","","");
- ipt_amtacnt.refresh();
- ipt_amtacntnm.refresh();
- ]]>
- </script>
- </input>
- <select1 id="rdo_prvnchkyn" ref="/root/main/fixasetdet/fixasettmplist/prvnchkyn" navindex="75" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:160px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_agencycntctel" ref="/root/main/fixasetdet/fixasettmplist/agencycntctel" class="input_default" navindex="79" visibility="visible" style="left:989px; top:60px; width:200px; height:19px; "/>
- <select1 id="rdo_earnvaluyn" ref="/root/main/fixasetdet/fixasettmplist/earnvaluyn" navindex="72" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:789px; top:100px; width:123px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/suik">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_prodplce" ref="/root/main/fixasetdet/fixasettmplist/prodplce" navindex="83" visibility="visible" appearance="minimal" style="left:989px; top:140px; width:200px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_prodplce" class="cell_1" visibility="visible" style="left:916px; top:140px; width:72px; height:19px; vertical-align:middle; ">제조국</caption>
- <select1 id="cmb_dsplflag" ref="/root/main/fixasetdet/fixasettmplist/dsplflag" disabled="true" navindex="57" visibility="visible" appearance="minimal" style="left:608px; top:20px; width:105px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var value = cmb_dsplflag.value;
- if(value == "1" || value == "2" || value == "3") {
- alert("폐기, 매각, 망실은 선택이 불가합니다.");
- cmb_dsplflag.value = preDsplflag;
- cmb_dsplflag.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_dsplflag" class="cell_1" visibility="visible" style="left:535px; top:20px; width:72px; height:19px; vertical-align:middle; ">처분구분</caption>
- <select1 id="cmb_oskind" ref="/root/main/fixasetdet/fixasettmplist/oskind" navindex="63" visibility="visible" appearance="minimal" style="left:608px; top:140px; width:105px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="cell_1" visibility="visible" style="left:535px; top:140px; width:72px; height:19px; vertical-align:middle; ">OS종류</caption>
- <caption id="caption43" class="cell_1" visibility="visible" style="left:535px; top:160px; width:72px; height:19px; vertical-align:middle; ">메모리용량</caption>
- <select1 id="cmb_memoryvol" ref="/root/main/fixasetdet/fixasettmplist/memoryvol" navindex="64" visibility="visible" appearance="minimal" style="left:608px; top:160px; width:105px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_tempmngtdeptcd" class="icon_search" style="left:152px; top:140px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_tempmngtdeptcd,"","tempmngtdeptcd,tempmngtdeptnm","SPRPZ00800","instcd","cmb_instcd_search");
- ipt_tempmngtdeptnm.refresh();
- ipt_tempmngtdeptcd.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption45" class="cell_1" style="left:2px; top:140px; width:72px; height:19px; 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:170px; top:140px; width:110px; height:19px; "/>
- <input id="ipt_tempmngtdeptcd" ref="/root/main/fixasetdet/fixasettmplist/tempmngtdeptcd" class="input_default" navindex="39" appearance="input" style="left:75px; top:140px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_tempmngtdeptnm);
- ]]>
- </script>
- </input>
- <caption id="caption46" class="cell_1" visibility="visible" style="left:535px; top:180px; width:72px; height:19px; vertical-align:middle; ">IP주소</caption>
- <input id="ipt_ipaddr" ref="/root/main/fixasetdet/fixasettmplist/ipaddr" class="input_default" navindex="65" visibility="visible" appearance="input" style="left:608px; top:180px; width:105px; height:19px; "/>
- </group>
- <group id="grp_copy" visibility="hidden" style="left:50px; top:360px; width:182px; height:80px; border-color:#339966; border-style:solid; ">
- <button id="button9" class="btn4_letter2" style="left:100px; top:50px; 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:30px; top:50px; width:56px; height:22px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vCnt = parseInt(model.getValue(ipt_copycnt.attribute("ref")));
-
- var vFixasetcd = model.getValue(ipt_fixasetcd_copy.attribute("ref"));
- var vFixasetcd0 = model.getValue(ipt_fixasetcd_copy.attribute("ref"));
-
- if (vFixasetcd =="") {
- alert("생성코드를 확인하십시요!!");
- return;
- }
-
- if (vCnt < 1) {
- alert("복사 수량을 확인하십시요!!");
- return;
- }
-
- var fRow = grd_fixasetlist.row;
- var tRow = grd_fixasettmplist.row;
- vTarget1 = grd_fixasetlist.nodeset;
- vTarget2 = grd_fixasettmplist.nodeset ;
- // vTarget2 = "/root/main/fixasetdet/fixasettmplist"
- //for (var i = 0 ; i < vCnt ; i++) {
- // misfGridIUD(grd_fixasetlist, "A");
- // addRow = grd_fixasetlist.rows - grd_fixasetlist.fixedRows;
- // model.copyNode(vTarget1+ "[" + addRow + "]",vTarget1+ "[" + fRow + "]");
- //}
-
- if (model.getValue(vTarget2+ "[" + 1+ "]/fixasetcd") =="") {
- alert("복사 대상을 먼저 선택해 주십시요!!");
- return;
- }
-
- var vFixasetcd1 = vFixasetcd0.substr(0,7);
- var vFixasetcd2 = parseFloat(vFixasetcd0.substr(7,4));
-
- for (var i = 0 ; i < vCnt ; i++) {
- misfGridIUD(grd_fixasettmplist, "A");
- addRow2 = grd_fixasettmplist.rows - grd_fixasettmplist.fixedRows;
- model.copyNode(vTarget2+ "[" + addRow2+ "]", vTarget2+ "[" + 1 + "]");
-
- model.setValue(vTarget2+ "[" + addRow2+ "]/fixasetcd", vFixasetcd);
- grd_fixasettmplist.rowStatus(addRow2) = "1";
-
- // alert(vFixasetcd2);
-
- vFixasetcd2++;
- vFixasetcd = vFixasetcd1 + (""+vFixasetcd2).getLeftPad(4,"0");
- }
-
- grd_fixasettmplist.refresh();
-
- misfSave("TXRFC00204");
-
- model.setValue(ipt_copycnt.attribute("ref") ,"0");
- model.setValue(ipt_fixasetcd_copy.attribute("ref"),"" );
- grp_copy.refresh();
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption32" class="search_name" style="left:5px; top:4px; width:89px; height:17px; ">복사수량 :</caption>
- <input id="ipt_fixasetcd_copy" ref="/root/init/fixasetcd" class="input_essential" appearance="input" style="left:5px; top:27px; width:100px; height:19px; text-align:left; "/>
- <button id="button3" class="btn2_letter4" style="left:111px; top:26px; width:64px; height:19px; ">
- <caption>코드생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGoodCdCopy("C");
- ]]>
- </script>
- </button>
- <input id="ipt_copycnt" ref="/root/init/copycnt" class="input_default" appearance="input" style="left:95px; top:4px; width:80px; height:19px; "/>
- </group>
- <group id="grp_outerfixaset" visibility="hidden" style="left:200px; top:317px; width:85px; height:20px; background-color:transparent; ">
- <caption id="cap_outerfixaset" style="left:0px; top:2px; width:80px; height:16px; text-align:right; padding-right:5; background-color:#ffff00; ">부외자산</caption>
- <bool id="chk_outerfixaset" disabled="true" checkvalue="Y,N" ref="/root/main/fixasetdet/fixasettmplist/outerfixaset" style="left:5px; top:2px; width:15px; height:15px; "/>
- </group>
- <input id="ipt_conno" ref="/root/main/fixasetdet/fixasettmplist/conno" visibility="hidden" style="left:620px; top:95px; width:15px; height:19px; text-align:center; "/>
- <input id="ipt_conseq" ref="/root/main/fixasetdet/fixasettmplist/conseq" visibility="hidden" style="left:635px; top:95px; width:15px; height:19px; text-align:center; "/>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195; height:27px; ">
- <button id="btn_print" class="btn3_letter2" visibility="hidden" style="left:3px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="101" style="left:1120px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send");
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="100" style="left:1065px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 보수계약정보 */
- if(!checkKeyColumn("grd_rfchmandlist")) return;
-
- /* 구성품,소모품 */
- if(!checkKeyColumn("grd_comps")) return;
-
- /* 삭제행 체크 */
- var delFlag = false;
- var delCount = 0;
- for(var i=grd_fixasetlist.fixedRows;i<grd_fixasetlist.rows;i++){
- if(grd_fixasetlist.rowStatus(i) == 4){
- delFlag = true;
- delCount++;
- }
- }
-
- /* 조회된 데이터를 삭제 할때 */
- if(delFlag){
- var ret = messageBox(delCount + "건의 삭제 요청건이 있습니다.","Q001");
-
- if (ret == 7) { // not OK
- return;
- }
-
- model.makeValue("/root/send/save/fixasettmplist",grd_fixasetlist.getUpdateData());
-
- if(submit("TXRFC00204")){
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
- btn_search.dispatch("DOMActivate");
- }
- }
- }
- /* 새로운 데이터를 입력시 */
- else if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 1)
- {
- if(!isRequiredControls("ipt_fixasetcd")) return;
- if(!isRequiredControls("ipt_goodflaghngnm")) return;
- if(!isRequiredControls("ipt_installplcecd")) return;
-
- fSetOuterFixaset();
-
- model.copyNode("/root/main/list/fixasetdet/fixasettmplist", "/root/main/fixasetdet/fixasettmplist");
-
- //model.refresh();
- grd_fixasettmplist.refresh();
-
- var searchPossnDate = ipt_possndd.value;
-
- misfSave("TXRFC00204");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
-
- model.setValue(ipt_mngtdeptcd_search.attribute("ref") , model.getValue(ipt_mngtdeptcd.attribute("ref")));
- model.setValue(ipt_mngtdeptnm_search.attribute("ref") , model.getValue(ipt_mngtdeptnm.attribute("ref")));
- model.setValue(ipt_goodflagnm_search.attribute("ref") , model.getValue(ipt_goodflaghngnm.attribute("ref")));
- model.setValue(cmb_lrgcd_search.attribute("ref") , model.getValue(cmb_lrgcd.attribute("ref")));
- cmb_lrgcd_search.dispatch("xforms-value-changed");
- model.setValue(cmb_mdlcd_search.attribute("ref") , model.getValue(cmb_mdlcd.attribute("ref")));
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- model.setValue(cmb_smlcd_search.attribute("ref") , model.getValue(cmb_smlcd.attribute("ref")));
-
- //취득일자 조회 조건 설정
- model.setValue(ipt_possnfrdd.attribute("ref") , searchPossnDate);
- model.setValue(ipt_possntodd.attribute("ref") , searchPossnDate);
-
- btn_search.dispatch("DOMActivate");
- }
- }
-
- /* 조회된 데이터를 수정 할때 */
- else if(grd_fixasetlist.rowStatus(grd_fixasetlist.row) == 0)
- {
- misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
-
- model.refresh();
- var focus = grd_fixasetlist.row;
-
- misfSave("TXRFC00204");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
- fSearch(focus);
- }
- }
- ]]>
- </script>
- </button>
- <line id="line14" class="line_6" style="x1:0; y1:25; x2:1194; y2:25; "/>
- <button id="button1" class="btn3_letter6" navindex="99" visibility="visible" style="left:3px; top:3px; width:96px; height:22px; ">
- <caption>취득자산내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRFC00901","XMLSTR");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|