1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288 |
- <?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:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>고정자산수리내역등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <fixaset>
- <fixasetlist/>
- </fixaset>
- <fixasetdet>
- <fixasettmplist/>
- </fixasetdet>
- <rfemdamklistt/>
- </list>
- <fixasetdet>
- <fixasettmplist/>
- </fixasetdet>
- <fixasetcopy>
- <fixasetlist/>
- </fixasetcopy>
- </main>
- <send>
- <fixasetlist>
- <instcd_search/>
- <goodflag_search/>
- <lrgcd_search/>
- <goodflaghngnm_search/>
- <cntrdeptcd_search/>
- <installplcecd_search/>
- <possnfrdd_search/>
- <fixasetcd_search/>
- <fixasetnm_search/>
- <goodmodel_search/>
- <cntrdeptnm_search/>
- <installplcenm_search/>
- <mngtdeptcd_search/>
- <mngtdeptnm_search/>
- <mdlcd_search/>
- <smlcd_search/>
- <prodcmpycd_search/>
- <prodcmpynm_search/>
- <possntodd_search/>
- <dsplflag_search/>
- <goodflagengnm_search/>
- <suplplcecd_search/>
- <suplplcenm_search/>
- <acqtflag_search/>
- <rfchmandlist_search/>
- <lrgnm_search/>
- <mdlnm_search/>
- <scrnid>SMRFC00902</scrnid>
- </fixasetlist>
- <tmpnode>
- <tmpfixasetnode/>
- <tmpgridrow/>
- </tmpnode>
- <fixasetcd/>
- <instcd/>
- <save>
- <rfemdamklistt/>
- </save>
- <fixasetcopy>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- </fixasetcopy>
- <rpirlist>
- <rpirspec/>
- <rpiramt/>
- <custcd/>
- <custnm/>
- <rpirdd/>
- <mainrpirpsnnm/>
- <rpirtm/>
- <mainrpirpsn/>
- <supprpirpsn/>
- <instcd/>
- <fixtrseqmtflag/>
- <reqdd/>
- <reqno/>
- <fixasetcd/>
- <rfehrhfchflag/>
- <paycond/>
- <reqdeptcd/>
- <rpirflag2/>
- <workstat/>
- <acptflag/>
- <accountdd/>
- <calcdocukind/>
- <deptaprvreqyn>N</deptaprvreqyn>
- <calccnfmyn/>
- </rpirlist>
- </send>
- <init>
- <goodflag>
- <label>일반비품</label>
- <value>G</value>
- <label>의료장비</label>
- <value>E</value>
- </goodflag>
- <fixtrseqmflag>
- <label>의료장비</label>
- <value>E</value>
- <label>일반비품</label>
- <value>G</value>
- </fixtrseqmflag>
- <rfehrhfchflag>
- <label>수리</label>
- <value>1</value>
- <label>예방</label>
- <value>2</value>
- </rfehrhfchflag>
- <asetflagmaineqmtflag>
- <label>주요자산</label>
- <value>M</value>
- <label>기타자산</label>
- <value>E</value>
- </asetflagmaineqmtflag>
- <possnflagcd>
- <label>내자</label>
- <value>H</value>
- <label>외자</label>
- <value>F</value>
- </possnflagcd>
- <lseyn>
- <label>예</label>
- <value>Y</value>
- <label>아니요</label>
- <value>N</value>
- </lseyn>
- <acqtflag>
- <label>기증</label>
- <value>1</value>
- <label>매입</label>
- <value>2</value>
- <label>임차</label>
- <value>3</value>
- <label>지불필</label>
- <value>4</value>
- <label>공동운영</label>
- <value>5</value>
- <label>사후관리</label>
- <value>6</value>
- </acqtflag>
- <acqtflag_search>
- <label>기증</label>
- <value>1</value>
- <label>매입</label>
- <value>2</value>
- <label>임차</label>
- <value>3</value>
- <label>지불필</label>
- <value>4</value>
- <label>공동운영</label>
- <value>5</value>
- <label>사후관리</label>
- <value>6</value>
- </acqtflag_search>
- <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>
- <calcdocukind>
- <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>
- </calcdocukind>
- </init>
- <temp>
- </temp>
- <copynode/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- // btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
- <submission id="TRRFC00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetdet"/>
- <submission id="TRRFE00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/rfemdamklistt"/>
- <submission id="TXRFE00605" 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">
- <![CDATA[
- function fInitialize()
- {
- //그리드 초기화
- misfGridInit(grd_fixasetlist);
- //misfGridInit(grd_fixasettmplist);
- misfGridInit(grd_rfemdamklistt);
-
- //rszfGridComboLrgcdList("G", cmb_lrgcd_search, "lrgcd_search","Y");
- rszfGoodFlagListByPgmGubn(cmb_goodflag_search,"2","N");
- misfComboComCdListMulti("Z0007,Z0007,R0047,R0035,R0285,R0055,R0287",
- "cmb_instcd_search,cmb_instcd,grd_fixasetlist.curncyunit,grd_fixasetlist.prodplce,cmb_rpirflag2,cmb_workstat,rdo_acptflag");
-
- // rdo_rfehrhfchflag.select(0);
-
-
-
-
-
- // addComboItem( "rdo_dsplflag_search", "전체", "", "below" );
- // addComboItem( "cmb_acqtflag_search", "전체", "", "above" );
-
-
- model.setValue("/root/send/fixasetlist/instcd_search", getUserInfo("dutplceinstcd")); // 기관 설정
-
- // model.setValue(opt_reqdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
-
- //물품구분 설정 (비품)
- model.setValue("/root/send/fixasetlist/goodflag_search", "GE");
-
- //물품구분에 따른 그리드 출력 폼 설정.
- fGridGoodflagCheck();
-
- // 대분류 코드 콤보 설정.
- //rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd_search", "", "L", "Y");
-
- var sBaseDate = getCurrentDate();
- // model.setValue("/root/send/fixasetlist/goodmodel_search", "L1706");
- // model.setValue("/root/send/fixasetlist/possndd_search","20060425");
- // model.setValue("/root/send/fixasetlist/possndd_search",sBaseDate);
-
- // model.setValue("/root/send/tmpnode/tmpgridrow", "1");
- // model.setValue("/root/send/tmpnode/tmpgridrow", grd_fixasetlist.row);
-
-
- model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
- misfMsterDetailSet(grd_fixasetlist, null, "TRRFC00202", "Y","byrow");
- // misfMsterDetailSet(grd_fixasettmplist, grd_fixasetlist, "TRRFC00203", "Y");
- // misfMsterDetailSet(grd_fixasettmplist, null, "TRRFC00203", "Y");
- misfMsterDetailSet(grd_rfemdamklistt, null, "TRRFE00605", "Y","byrow");
- //misfMsterDetailSet(grd_rfchmandlist, null, "TRRFC00207", "Y");
- model.refresh();
- }
-
- function fGridGoodflagCheck()
- {
- if(cmb_goodflag_search.value == 'GE')
- {
- grd_fixasetlist.colHidden(grd_fixasetlist.colRef("goodflaghngnm")) = false;
- grd_fixasetlist.colHidden(grd_fixasetlist.colRef("goodflagengnm")) = true;
- grd_fixasetlist.colHidden(grd_fixasetlist.colRef("forgncurncyamt")) = true;
- grd_fixasetlist.colHidden(grd_fixasetlist.colRef("curncyunit")) = true;
- }else{
- grd_fixasetlist.colHidden(grd_fixasetlist.colRef("goodflaghngnm")) = true;
- grd_fixasetlist.colHidden(grd_fixasetlist.colRef("goodflagengnm")) = false;
- grd_fixasetlist.colHidden(grd_fixasetlist.colRef("forgncurncyamt")) = false;
- grd_fixasetlist.colHidden(grd_fixasetlist.colRef("curncyunit")) = false;
- }
- }
-
- function faddnode()
- {
- // misfGridIUD(grd_rfemdamklistt, "A");
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("rpirspec" ))= model.getValue("/root/send/rpirlist/rpirspec" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("rpiramt" ))= model.getValue("/root/send/rpirlist/rpiramt" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("custnm" ))= model.getValue("/root/send/rpirlist/custnm" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("custcd" ))= model.getValue("/root/send/rpirlist/custcd" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("rpirdd" ))= model.getValue("/root/send/rpirlist/rpirdd" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("mainrpirpsnnm" ))= model.getValue("/root/send/rpirlist/mainrpirpsnnm" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("rpirtm" ))= model.getValue("/root/send/rpirlist/rpirtm" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("mainrpirpsn" ))= model.getValue("/root/send/rpirlist/mainrpirpsn" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("supprpirpsn" ))= model.getValue("/root/send/rpirlist/supprpirpsn" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("instcd" ))= model.getValue("/root/send/rpirlist/instcd" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("fixtrseqmtflag"))= model.getValue("/root/send/rpirlist/fixtrseqmtflag");
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("calcdocukind"))= model.getValue("/root/send/rpirlist/calcdocukind");
-
- if (model.getValue(grd_rfemdamklistt.nodeset+"["+grd_rfemdamklistt.row+"]/reqdd") == "") {
- ipt_reqdd.value = model.getValue("/root/send/rpirlist/rpirdd");
- model.setValue(grd_rfemdamklistt.nodeset+"["+grd_rfemdamklistt.row+"]/reqdd" , model.getValue("/root/send/rpirlist/rpirdd"));
- ipt_reqdd.refresh();
- }
-
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("reqno" ))= model.getValue("/root/send/rpirlist/reqno" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("paycond" ))= model.getValue("/root/send/rpirlist/paycond" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("fixasetcd" ))= model.getValue("/root/send/rpirlist/fixasetcd" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("reqdeptcd" ))= model.getValue("/root/send/rpirlist/reqdeptcd" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("rpirflag2" ))= model.getValue("/root/send/rpirlist/rpirflag2" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("workstat" ))= model.getValue("/root/send/rpirlist/workstat" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("acptflag" ))= model.getValue("/root/send/rpirlist/acptflag" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("accountdd" ))= model.getValue("/root/send/rpirlist/accountdd" );
- grd_rfemdamklistt.valueMatrix(grd_rfemdamklistt.row, grd_rfemdamklistt.colRef("deptaprvreqyn" ))= model.getValue("/root/send/rpirlist/deptaprvreqyn" );
- //var savedata = grd_rfemdamklistt.getUpdateData();
- // model.setValue("/root/send/fixasetlist/aaaa", savedata);
- model.setValue("/root/send/save/rfemdamklistt" ,grd_rfemdamklistt.getUpdateData());
-
-
-
- // misfGridInit(grd_fixasetlist);
- //misfGridInit(grd_fixasettmplist);
- // misfGridInit(grd_rfemdamklistt);
-
-
-
- //alert(model.getValue("/root/send/fixasetlist/aaaa"));
-
- }
-
- function fMakeNode()
- {
- model.makeNode("/root/main/fixasetdet/fixasettmplist/acntnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/installplcenm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/cntrdeptnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/mngtdeptnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/suplplcenm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/maineqmtnm");
- model.makeNode("/root/main/fixasetdet/fixasettmplist/prodcmpynm");
- }
-
-
- function 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(grd_fixasetlist.nodeset +"[" + prow+ "]/goodflag" ,model.getValue(opt_goodflag_search.attribute("ref")));
-
- }
-
- function fGoodCdCopy()
- {
- 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;
- }
-
- model.setValue("/root/send/fixasetcopy/instcd", model.getValue(cmb_instcd_search.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/goodflag", model.getValue(opt_goodflag_search.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/mdlcd", model.getValue(cmb_mdlcd.attribute("ref")));
- model.setValue("/root/send/fixasetcopy/smlcd", model.getValue(cmb_smlcd.attribute("ref")));
-
- submit("TRRFC00301");
-
- var fixasetcd = model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd");
- if(fixasetcd.length == 0) fixasetcd = model.getValue(opt_goodflag_search.attribute("ref")) + model.getValue(cmb_lrgcd.attribute("ref")) + model.getValue(cmb_mdlcd.attribute("ref")) + model.getValue(cmb_smlcd.attribute("ref")) + "0001";
-
- model.setValue(ipt_fixasetcd.attribute("ref"), fixasetcd);
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,-2;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:1195; height:744; ">
- <group id="group5" style="left:0px; top:10px; width:1195px; height:130px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:130px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_goodmodel_search" class="search_name" style="left:832px; top:57px; width:88px; height:17px; ">모 델 명 :</caption>
- <input id="ipt_goodflaghngnm_search" ref="/root/send/fixasetlist/goodflaghngnm_search" class="input_default" visibility="hidden" style="left:980px; top:57px; width:63px; height:19px; "/>
- <caption id="cap_lrgcd_search" class="search_name" style="left:465px; top:73px; width:86px; height:17px; ">대 분 류 :</caption>
- <caption id="cap_mngtdeptcd_search" class="search_name" style="left:3px; top:73px; width:92px; height:17px; ">청구부서 :</caption>
- <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_search" style="left:95px; top:104px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptcd_search.value.length == 0)
- ipt_mngtdeptnm_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_mngtdeptcd_search.value, "", "mngtdeptcd_search,mngtdeptnm_search",
- ipt_mngtdeptcd_search, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_mngtdeptcd_search" class="icon_search" style="left:194px; top:104px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptnm_search" ref="/root/send/fixasetlist/mngtdeptnm_search" class="input_search" appearance="input" style="left:213px; top:104px; width:237px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptnm_search.value.length == 0)
- ipt_mngtdeptcd_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_mngtdeptnm_search.value, "", "mngtdeptcd_search,mngtdeptnm_search",
- ipt_mngtdeptcd_search, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_possndd_search" class="search_name" visibility="visible" style="left:3px; top:42px; width:117px; height:17px; ">취득일자 :</caption>
- <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_essential" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:42px; width:120px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1115px; top:95px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
- //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_search.attribute("ref")),model.getValue(opt_goodflag_search.attribute("ref")));
-
- // misfMsterDetailRetrieve();
- submit("TRRFC00202");
-
- if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
- {
- grd_fixasetlist.row = 1;
- grd_fixasetlist.dispatch("onrowchanged");
- }else{
- model.removenode("/root/main/fixasetdet/fixasettmplist");
- }
- ]]>
- </script>
- </button>
- <caption id="cap_instcd_search" class="search_name" style="left:3px; top:11px; width:117px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" appearance="minimal" style="left:95px; top:11px; width:195px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_goodmodel_search" ref="/root/send/fixasetlist/goodmodel_search" class="input_search" style="left:922px; top:57px; width:248px; height:19px; "/>
- <line id="line12" class="line_4" style="x1:1095px; y1:85px; x2:1095px; y2:122px; border-color:#ffd799; "/>
- <caption id="cap_mdlcd_search" class="search_name" style="left:465px; top:104px; width:86px; height:17px; ">중 분 류 :</caption>
- <button id="btn_prodcmpycd_search" class="icon_search" style="left:1004px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpycd_search,"","prodcmpycd_search,prodcmpynm_search","SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_prodcmpycd" class="search_name" style="left:832px; top:34px; width:117px; height:17px; ">제조회사 :</caption>
- <input id="ipt_prodcmpynm_search" ref="/root/send/fixasetlist/prodcmpynm_search" class="input_search" appearance="input" style="left:1024px; top:34px; width:146px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpynm_search.value != ""){
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpynm,," + ipt_prodcmpynm_search.value
- ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpycd_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpycd_search" ref="/root/send/fixasetlist/prodcmpycd_search" class="input_search" style="left:922px; top:34px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpycd_search.value != ""){
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpycd," + ipt_prodcmpycd_search.value + ","
- ,"","prodcmpycd_search,prodcmpynm_search" , ipt_prodcmpycd_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpynm_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" visibility="hidden" style="left:400px; top:10px; width:40px; height:19px; "/>
- <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_essential" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:249px; top:42px; width:130px; height:19px; "/>
- <caption id="caption2" visibility="visible" style="left:226px; top:42px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <select1 id="cmb_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" class="combo_s_essential" navindex="2" appearance="minimal" style="left:563px; top:11px; width:247px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fGridGoodflagCheck();
-
- ipt_lrgcd_search.value = '';
- ipt_mdlcd_search.value = '';
- //cmb_smlcd_search.value = '';
-
- //rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd_search", "", "L");
- //cmb_lrgcd_search.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <caption id="cap_goodflag_search" class="search_name" style="left:465px; top:11px; width:86px; height:17px; ">자산구분 :</caption>
- <caption id="cap_installplcecd" class="search_name" style="left:3px; top:104px; width:92px; height:17px; ">사용부서 :</caption>
- <input id="ipt_goodflagengnm_search" ref="/root/send/fixasetlist/goodflagengnm_search" class="input_search" navindex="3" style="left:575px; top:42px; width:235px; height:19px; "/>
- <caption id="cap_goodflagengnm_search" class="search_name" style="left:465px; top:42px; width:110px; height:17px; ">자산명(영문) :</caption>
- <button id="btn_suplcecd_search" class="icon_search" style="left:1004px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd_search,suplplcenm_search","SPRSD00220","instcd","cmb_instcd_search");
-
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_suplcecd_search" class="search_name" style="left:832px; top:11px; width:89px; height:17px; ">거 래 처 :</caption>
- <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="input_search" navindex="3" style="left:1024px; top:11px; width:146px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcenm_search.value != '')
- {
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "custnm," + ipt_suplplcenm_search.value, "", "suplplcecd_search,suplplcenm_search",
- ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd_search");
- }else
- {
- ipt_suplplcecd_search.value = '';
- }
-
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_search" navindex="2" style="left:922px; top:11px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcecd_search.value != '')
- {
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "entrregno," + ipt_suplplcecd_search.value, "", "suplplcecd_search,suplplcenm_search",
- ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd_search");
- }else
- {
- ipt_suplplcenm_search.value = '';
- }
-
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_acqtflag_search" class="search_name" style="left:832px; top:80px; width:88px; height:17px; ">도입구분 :</caption>
- <caption id="cap_rfchmandlist_search" class="search_name" style="left:832px; top:104px; width:125px; height:17px; ">보수계약유무 :</caption>
- <select1 id="cmb_acqtflag_search" ref="/root/send/fixasetlist/acqtflag_search" class="combo_search" appearance="minimal" style="left:922px; top:80px; width:163px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>기증</label>
- <value>1</value>
- </item>
- <item>
- <label>매입</label>
- <value>2</value>
- </item>
- <item>
- <label>임차</label>
- <value>3</value>
- </item>
- <item>
- <label>지불필</label>
- <value>4</value>
- </item>
- <item>
- <label>공동운영</label>
- <value>5</value>
- </item>
- <item>
- <label>사후관리</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_rfchmandlist_search" ref="/root/send/fixasetlist/rfchmandlist_search" class="combo_search" appearance="minimal" style="left:950px; top:103px; width:135px; 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>
- <input id="ipt_cntrdeptcd_search" ref="/root/send/fixasetlist/cntrdeptcd_search" class="input_search" style="left:95px; top:73px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_cntrdeptcd_search.value.length == 0)
- ipt_deptnm_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_cntrdeptcd_search.value, "", "cntrdeptcd_search,cntrdeptnm_search",
- ipt_cntrdeptcd_search, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button1" class="icon_search" style="left:194px; top:73px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_cntrdeptcd_search,"","cntrdeptcd_search,cntrdeptnm_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptnm_search" ref="/root/send/fixasetlist/cntrdeptnm_search" class="input_search" appearance="input" style="left:213px; top:73px; width:237px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_deptnm_search.value.length == 0)
- ipt_cntrdeptcd_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_deptnm_search.value, "", "cntrdeptcd_search,cntrdeptnm_search",
- ipt_deptnm_search, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_lrgnm_search" ref="/root/send/fixasetlist/lrgnm_search" class="input_fix" appearance="input" style="left:645px; top:73px; width:165px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_lrgnm_search.value.length == 0)
- ipt_lrgcd_search.value = "";
- else
- rszfValidationCheck("TRRSD00131", "lrglist", "refcond,lrgnm,goodflag",
- "lrgnm," + ipt_lrgnm_search.value + "," + cmb_goodflag_search.value, "", "lrgcd_search,lrgnm_search",
- ipt_lrgnm_search, "SPRSD00130", "goodflag","cmb_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" class="input_default" style="left:560px; top:73px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_lrgcd_search.value.length == 0)
- ipt_lrgnm_search.value = "";
- else
- rszfValidationCheck("TRRSD00131", "lrglist", "refcond,lrgcd,goodflag",
- "lrgcd," + ipt_lrgcd_search.value + "," + cmb_goodflag_search.value, "", "lrgcd_search,lrgnm_search",
- ipt_lrgcd_search, "SPRSD00130", "goodflag","cmb_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_lrgcd_search" class="icon_search" style="left:620px; top:73px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_lrgcd_search,"","lrgcd_search,lrgnm_search","SPRSD00130","goodflag","cmb_goodflag_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="icon_search" style="left:620px; top:104px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_mdlcd_search,"","mdlcd_search,mdlnm_search","SPRSD00140" ,"goodflag,lrgcd,lrgnm","cmb_goodflag_search,ipt_lrgcd_search,ipt_lrgnm_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mdlnm_search" ref="/root/send/fixasetlist/mdlnm_search" class="input_fix" appearance="input" style="left:645px; top:104px; width:165px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mdlnm_search.value != "")
- {
- rszfValidationCheck("TRRSD00141", "mdllist", "refcond,goodflag,lrgcd,mdlnm",
- "mdlnm," + model.getValue(cmb_goodflag_search.attribute("ref")) + "," + ipt_lrgcd_search.value + "," + ipt_mdlnm_search.value ,"","mdlcd,mdlnm" ,
- ipt_mdlnm_search,"SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag_search,ipt_lrgcd_search,ipt_lrgnm_search");
- }else{
- ipt_mdlcd_search.value = "";
- ipt_mdlnm_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" class="input_default" style="left:560px; top:104px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mdlcd_search.value != "")
- {
- rszfValidationCheck("TRRSD00141", "mdllist", "refcond,goodflag,lrgcd,mdlcd",
- "mdlcd," + model.getValue(cmb_goodflag_search.attribute("ref")) + "," + ipt_lrgcd_search.value + "," + ipt_mdlcd_search.value
- ,"","mdlcd_search,mdlnm_search" ,ipt_mdlcd_search,"SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag_search,ipt_lrgcd_search,ipt_lrgnm_search");
- }else{
- ipt_mdlcd_search.value = "";
- ipt_mdlnm_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption19" class="cell_1" style="left:-126px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장단위</caption>
- <caption id="caption20" class="cell_1" style="left:-126px; top:334px; width:108px; height:23px; vertical-align:middle; ">근속기준일/년</caption>
- <button id="btn_excel" class="btn5_letter5" navindex="12" visibility="hidden" style="left:1115px; top:141px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 ) {
- var fileName = "자산내역_" + getCurrentDate();
- var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_fixasetlist.saveExcel(fileName, "Sheet");
- } else {
- messageBox("저장 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- <button id="btn_excel2" class="btn5_letter5" navindex="12" style="left:1115px; top:473px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_rfemdamklistt.rows - grd_rfemdamklistt.fixedRows > 0 ) {
- var fileName = "자산상세내역_" + getCurrentDate();
- var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_rfemdamklistt.saveExcel(fileName, "Sheet");
- } else {
- messageBox("저장 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="자산코드^자산명^자산명^모델명^규격^구입금액^외화금액^화폐단위^취득일^거래처^제조원^제조국^사용부서^설치장소^청구부서^사용장소코드^S/N^구코드^이미지" colsep="^" colwidth="85, 143, 143, 150, 100, 76, 82, 82, 73, 100, 80, 80, 100, 100, 98, 100, 100, 106, 72, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:166px; width:1190px; height:304px; ">
- <col ref="fixasetcd"/>
- <col ref="goodflaghngnm"/>
- <col ref="goodflagengnm"/>
- <col ref="goodmodel"/>
- <col ref="goodspec"/>
- <col ref="possnamt" format="#,###" style="text-align:right; "/>
- <col ref="forgncurncyamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="curncyunit" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="suplplcenm" style="text-align:left; "/>
- <col ref="prodcmpynm" style="text-align:left; "/>
- <col disabled="true" ref="prodplce" type="combo" style="text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="mngtdeptnm" style="text-align:left; "/>
- <col ref="installplcenm" style="text-align:left; "/>
- <col ref="cntrdeptnm"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="mngtno"/>
- <col ref="oldcd"/>
- <col checkvalue="Y,N" disabled="true" ref="photoyn" type="checkbox"/>
- <col ref="instcd" type="input" visibility="hidden"/>
- <col ref="maineqmt" type="input" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![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"));
-
-
- model.setValue("/root/send/instcd", fInstcd);
- model.setValue("/root/send/fixasetcd", fFixasetcd);
- model.setValue("/root/send/rpirlist/instcd", fInstcd);
- model.setValue("/root/send/rpirlist/fixasetcd", fFixasetcd);
- cmb_fixtrseqmtflag.value = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("goodflag"));
- // model.resetInstanceNode("/root/main/fixasetdet/fixasettmplist");
- // model.resetInstanceNode("/root/main/list/fixasetdet/fixasettmplist");
-
- model.setValue("/root/send/rpirlist/rpirspec","");
- model.setValue("/root/send/rpirlist/rpiramt","");
- model.setValue("/root/send/rpirlist/paycond","");
- model.setValue("/root/send/rpirlist/custcd","");
- model.setValue("/root/send/rpirlist/custnm","");
- model.setValue("/root/send/rpirlist/rpirdd","");
- model.setValue("/root/send/rpirlist/rpirflag2","");
- model.setValue("/root/send/rpirlist/acptflag","");
- model.setValue("/root/send/rpirlist/calccnfmyn","");
- submit("TRRFE00605");
-
-
-
-
- //model.setValue(ipt_fixasetcd.attribute("ref"), model.getValue("/root/main/fixasetcopy/fixasetlist/fixasetcd"));
-
- // if(fInstcd == "" && fFixasetcd == "")
- // {
- // misfGridIUD(grd_fixasettmplist, "A");
- // }
-
- //grd_fixasettmplist.row = 1;
-
- // model.copyNode("/root/main/fixasetdet/fixasettmplist", "/root/main/list/fixasetdet/fixasettmplist");
-
- // fMakeNode();
-
- // 대분류 코드 콤보 설정.
- // rszfLMSComboList(model.getValue("/root/send/fixasetlist/goodflag_search"), "", "", "cmb_lrgcd", "", "L", "Y");
- //cmb_lrgcd.dispatch("xforms-value-changed");
-
-
- // ipt_fixasetcd.disabled = true;
- // ipt_goodflagengnm.disabled = true;
- // ipt_installplcecd.disabled = true;
-
- // submit("TRRFC00205");
- // submit("TRRFC00207");
-
- // model.setValue("/root/send/tmpnode/tmpfixasetnode", grd_fixasetlist.row);
- grd_fixasetlist.dispatch("onmouseup");
-
- // model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line16" class="line_1" style="x1:0px; y1:163px; x2:1190px; y2:162px; "/>
- <!--</group>-->
- <caption id="caption21" class="tit_2" style="left:0px; top:148px; width:69px; height:13px; ">자산목록</caption>
- <line id="line21" class="line_1" style="x1:0px; y1:493px; x2:1190px; y2:493px; "/>
- <caption id="caption4" class="tit_2" style="left:3px; top:476px; width:100px; height:13px; ">자산상세내역</caption>
- <datagrid id="grd_rfemdamklistt" nodeset="/root/main/list/rfemdamklistt" scroll="auto" allowselection="false" caption="수리내역^금액^거래처^계산서일^수리일자^주수리자^작업시간^1^1^1^1^1^1" colsep="^" colwidth="243, 121, 117, 90, 90, 50, 79, 52, 48, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rows="2" rowsep="|" selectionmode="byrow" style="left:492px; top:500px; width:695px; height:199px; ">
- <col ref="rpirspec"/>
- <col ref="rpiramt" format="#,###" style="text-align:right; "/>
- <col ref="custnm"/>
- <col ref="accountdd" format="yyyy-mm-dd" _key="true" style="text-align:center; "/>
- <col ref="rpirdd" format="yyyy-mm-dd" _key="true" style="text-align:center; "/>
- <col ref="mainrpirpsnnm" visibility="hidden" style="text-align:center; "/>
- <col ref="rpirtm" visibility="hidden" format="hh:nn" _key="true" style="text-align:right; "/>
- <col ref="mainrpirpsn" visibility="hidden"/>
- <col ref="supprpirpsn" visibility="hidden"/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="fixtrseqmtflag" visibility="hidden" _key="true"/>
- <col ref="reqdd" visibility="hidden" _key="true"/>
- <col ref="reqno" visibility="hidden" _key="true"/>
- <col ref="paycond" visibility="hidden" _key="true"/>
- <col ref="fixasetcd" visibility="hidden" _key="true"/>
- <col ref="reqdeptcd" visibility="hidden" _key="true"/>
- <col ref="custcd" visibility="hidden" _key="true"/>
- <col ref="rpirflag2" visibility="hidden" _key="true"/>
- <col ref="workstat" visibility="hidden" _key="true"/>
- <col ref="acptflag" visibility="hidden" _key="true"/>
- <col ref="acptflag" visibility="hidden" _key="true"/>
- <col ref="reqdd_old" visibility="hidden" _key="true"/>
- <col ref="calcdocukind" visibility="hidden" _key="true"/>
- <col ref="calccnfmyn" visibility="hidden" _key="true"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- var tPath = "/root/send/rpirlist" ;
-
- var sPath = grd_rfemdamklistt.nodeset+"["+grd_rfemdamklistt.row + "]";
-
- // model.setValue(tPath +"fixasetcd" ,model.getValue(sPath+"/fixasetcd" ));
- model.setValue(tPath +"/instcd" ,model.getValue(sPath+"/instcd" ));
- model.setValue(tPath +"/rpirdd" ,model.getValue(sPath+"/rpirdd" ));
- model.setValue(tPath +"/fixtrseqmtflag",model.getValue(sPath+"/fixtrseqmtflag"));
- model.setValue(tPath +"/acptflag" ,model.getValue(sPath+"/acptflag" ));
- model.setValue(tPath +"/paycond" ,model.getValue(sPath+"/paycond" ));
- model.setValue(tPath +"/custcd" ,model.getValue(sPath+"/custcd" ));
- model.setValue(tPath +"/custnm" ,model.getValue(sPath+"/custnm" ));
- model.setValue(tPath +"/rpirspec" ,model.getValue(sPath+"/rpirspec" ));
- model.setValue(tPath +"/reqdeptcd" ,model.getValue(sPath+"/reqdeptcd" ));
- model.setValue(tPath +"/reqno" ,model.getValue(sPath+"/reqno" ));
- model.setValue(tPath +"/reqdd" ,model.getValue(sPath+"/reqdd" ));
- model.setValue(tPath +"/rpiramt" ,model.getValue(sPath+"/rpiramt" ));
- model.setValue(tPath +"/rpirflag2" ,model.getValue(sPath+"/rpirflag2" ));
- model.setValue(tPath +"/workstat" ,model.getValue(sPath+"/workstat" ));
- model.setValue(tPath +"/accountdd" ,model.getValue(sPath+"/accountdd" ));
- model.setValue(tPath +"/calcdocukind" ,model.getValue(sPath+"/calcdocukind" ));
- model.setValue(tPath +"/calccnfmyn" ,model.getValue(sPath+"/calccnfmyn" ));
-
- model.refresh();
- grd_rfemdamklistt.dispatch("onmouseup");
- ]]>
- </script>
- </datagrid>
- <input id="ipt_custnm" ref="/root/send/rpirlist/custnm" class="input_default" style="left:231px; top:600px; width:227px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_custnm.value != "")
- {
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd.value + "," + "custnm," + ipt_custnm.value, "", "custcd,custnm",
- ipt_custcd, "SPRSD00220", "instcd","cmb_instcd");
- }else{
- ipt_custcd.value= "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_custcd" class="cell_1" style="left:5px; top:600px; width:90px; height:23px; vertical-align:middle; ">거래처</caption>
- <button id="btn_custcd" class="icon_search" style="left:208px; top:600px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_custcd,"","custcd,custnm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_custcd" ref="/root/send/rpirlist/custcd" class="input_default" style="left:99px; top:600px; width:102px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_custcd.value != "")
- {
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd.value + "," + "entrregno," + ipt_custcd.value, "", "custcd,custnm",
- ipt_custcd, "SPRSD00220", "instcd","cmb_instcd");
- }else{
- ipt_custnm.value= "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption1" class="cell_1" visibility="hidden" style="left:415px; top:710px; width:90px; height:23px; vertical-align:middle; ">처리구분</caption>
- <select1 id="rdo_acptflag" ref="/root/send/rpirlist/acptflag" class="radio_search" visibility="visible" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:388px; top:577px; width:105px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fixasetcd" ref="/root/send/rpirlist/fixasetcd" class="input_essential" disabled="true" appearance="input" style="left:99px; top:500px; width:160px; height:19px; "/>
- <caption id="cap_fixasetcd" class="cell_1" style="left:5px; top:500px; width:90px; height:23px; vertical-align:middle; ">자산코드</caption>
- <caption id="cap_rpiramt" class="cell_1" style="left:5px; top:575px; width:90px; height:23px; vertical-align:middle; ">수리비용</caption>
- <input id="ipt_rpiramt" ref="/root/send/rpirlist/rpiramt" class="input_essential" format="#,###" style="left:99px; top:575px; width:160px; height:19px; text-align:right; "/>
- <textarea id="txt_rpirspec" ref="/root/send/rpirlist/rpirspec" class="input_s_essential" scroll="vertical" style="left:99px; top:625px; width:358px; height:74px; "/>
- <caption id="cap_rpirspec" class="cell_1" style="left:5px; top:625px; width:90px; height:74px; vertical-align:middle; ">수리내역</caption>
- <caption id="cap_rpirdd" class="cell_1" style="left:5px; top:525px; width:90px; height:23px; vertical-align:middle; ">수리일자</caption>
- <input id="ipt_rpirdd" ref="/root/send/rpirlist/rpirdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:99px; top:525px; width:160px; height:19px; "/>
- <button id="btn_save" class="btn4_letter2" visibility="visible" style="left:428px; top:499px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( model.getValue(ipt_calccnfmyn.attribute("ref")) == "Y" )
- {
- messageBox("정산확정이 완료된 Data는 저장","E001");
- return false;
- }
-
-
- if ( model.getValue(txt_rpirspec.attribute("ref")) == null || model.getValue(txt_rpirspec.attribute("ref")).length== 0 )
- {
- messageBox("수리내역을 ","C001");
- return false;
- }
- if ( model.getValue(ipt_custcd.attribute("ref")) == null || model.getValue(ipt_custcd.attribute("ref")).length== 0 )
- {
- messageBox("거래처를","C001");
- return false;
- }
- if ( model.getValue(ipt_rpirdd.attribute("ref")) == null || model.getValue(ipt_rpirdd.attribute("ref")).length== 0 )
- {
- messageBox("수리일자를","C001");
- return false;
- }
- if ( model.getValue(rdo_acptflag.attribute("ref")) == null || model.getValue(rdo_acptflag.attribute("ref")).length== 0 )
- {
- messageBox("수리,예방을 ","C001");
- return false;
- }
- if ( model.getValue(rdo_paycond.attribute("ref")) == null || model.getValue(rdo_paycond.attribute("ref")).length== 0 )
- {
- messageBox("정상,지불필을 ","C001");
- return false;
- }
-
-
- if ( grd_rfemdamklistt.rowStatus(grd_rfemdamklistt.row) != 1 && grd_rfemdamklistt.rowStatus(grd_rfemdamklistt.row) != 4)
- {
- misfGridRowStatusChange(grd_rfemdamklistt,"/root/main/list/rfemdamklistt","/root/send/rpirlist");
- var updtdata = grd_rfemdamklistt.getUpdateData();
- grd_rfemdamklistt.rowStatus(grd_rfemdamklistt.row) = "2";
- }
- // var fFixasetcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd"));
- // model.setValue("/root/send/rpirlist/sfixtrseqmtflag",fFixasetcd.substr(0,1));
- //그리드 선택시 자산상세내역에 보여주기
- faddnode();
-
- model.refresh();
-
- misfSave("TXRFE00605");
-
- model.setValue("/root/send/rpirlist/rpirspec","");
- model.setValue("/root/send/rpirlist/rpiramt","");
- model.setValue("/root/send/rpirlist/paycond","");
- model.setValue("/root/send/rpirlist/custcd","");
- model.setValue("/root/send/rpirlist/custnm","");
- model.setValue("/root/send/rpirlist/rpirdd","");
- model.setValue("/root/send/rpirlist/rpirflag2","");
- model.setValue("/root/send/rpirlist/acptflag","");
- model.setValue("/root/send/rpirlist/accountdd","");
- model.setValue("/root/send/rpirlist/calcdocukind","");
-
- btn_search.dispatch("DOMActivate");
-
-
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_fixtrseqmtflag" ref="/root/send/rpirlist/fixtrseqmtflag" class="combo_s_essential" appearance="minimal" style="left:355px; top:525px; width:130px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/fixtrseqmflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_instcd" ref="/root/send/rpirlist/instcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:510px; top:715px; width:90px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_reqno" ref="/root/send/rpirlist/reqno" class="input_default" visibility="hidden" style="left:705px; top:715px; width:163px; height:19px; "/>
- <caption id="caption5" class="cell_1" visibility="hidden" style="left:610px; top:715px; width:90px; height:23px; vertical-align:middle; ">의뢰번호</caption>
- <caption id="caption7" class="cell_1" style="left:262px; top:525px; width:90px; height:23px; vertical-align:middle; ">자산구분</caption>
- <select1 id="rdo_paycond" ref="/root/send/rpirlist/paycond" visibility="visible" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:265px; top:577px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>정상</label>
- <value>1</value>
- </item>
- <item>
- <label>지불필</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="btn_dept" class="icon_search" visibility="hidden" style="left:119px; top:716px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", opt_reqdeptcd, "", "reqdeptcd,reqdeptnm");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <output id="opt_reqdeptnm" ref="/root/send/reqdeptnm" class="output_fix" visibility="hidden" style="left:140px; top:715px; width:105px; height:19px; "/>
- <input id="opt_reqdeptcd" ref="/root/send/rpirlist/reqdeptcd" class="input_default" visibility="hidden" appearance="input" style="left:40px; top:715px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(opt_reqdeptcd.value.length == 0){
- opt_reqdeptnm.value = "";
- }else
- {
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- }
-
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_delrow" class="btn2_letter3" style="left:369px; top:500px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfGridIUD(grd_rfemdamklistt, "D");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" style="left:314px; top:500px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rfemdamklistt, "A");
-
- // grd_rfemdamklistt.dispatch("onrowchanged");
- // model.setValue("/root/send/rpirlist/rpirspec","");
- // model.setValue("/root/send/rpirlist/rpiramt","");
- // model.setValue("/root/send/rpirlist/paycond","");
- // model.setValue("/root/send/rpirlist/custcd","");
- // model.setValue("/root/send/rpirlist/custnm","");
- // model.setValue("/root/send/rpirlist/rpirdd","");
- // model.setValue("/root/send/rpirlist/rpirflag2","");
- // model.setValue("/root/send/rpirlist/acptflag","");
- model.setValue("/root/send/rpirlist/reqdd","");
- model.setValue("/root/send/rpirlist/calccnfmyn","");
-
-
- model.setValue("/root/send/rpirlist/reqdeptcd", getUserInfo("dutplcecd")); // 기관 설정
- model.setValue(cmb_fixtrseqmtflag.attribute("ref"), cmb_goodflag_search.value); // 물품구분 설정
- cmb_workstat.select(03);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_rpirflag2" ref="/root/send/rpirlist/rpirflag2" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:785px; top:710px; width:160px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_workstat" ref="/root/send/rpirlist/workstat" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:210px; top:715px; width:146px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/send/rpirlist/accountdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:99px; top:550px; width:160px; height:19px; "/>
- <caption id="caption3" class="cell_1" visibility="visible" style="left:5px; top:550px; width:90px; height:23px; vertical-align:middle; ">계산서일</caption>
- <select1 id="cmb_calcdocukind" ref="/root/send/rpirlist/calcdocukind" class="combo_search" appearance="minimal" style="left:355px; top:550px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/calcdocukind">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:262px; top:550px; width:90px; height:23px; vertical-align:middle; ">계산서유형</caption>
- <line id="line1" class="line_3" style="x1:381px; y1:574px; x2:381px; y2:597px; border-color:#ffd799; "/>
- <input id="input2" ref="/root/send/rpirlist/deptaprvreqyn" visibility="hidden" style="left:265px; top:500px; width:35px; height:19px; "/>
- <input id="ipt_calccnfmyn" ref="/root/send/rpirlist/calccnfmyn" visibility="hidden" editable="false" style="left:465px; top:675px; width:65px; height:19px; "/>
- </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" style="left:1120px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send");
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_6" style="x1:0; y1:25; x2:1194; y2:25; "/>
- </group>
- <input id="ipt_reqdd" ref="/root/send/rpirlist/reqdd" class="input_s_essential" visibility="hidden" inputtype="date" style="left:245px; top:750px; width:146px; height:19px; text-align:center; "/>
- </xhtml:body>
- </xhtml:html>
|