1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>정보자산 변동사항관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <chgnhistlist/>
- <list>
- <fixaset>
- <fixasetlist/>
- </fixaset>
- </list>
- <chgnhist/>
- </main>
- <send>
- <rfchcgmt_send>
- <instcd/>
- <fixasetcd/>
- </rfchcgmt_send>
- <chgnhistlist/>
- <fixasetlist>
- <instcd_search/>
- <fixasetcd_search/>
- <goodflag_search/>
- <lrgcd_search/>
- <mdlcd_search/>
- <smlcd_search/>
- <mngtdeptcd_search/>
- <mngtdeptnm_search/>
- <dsplflag_search/>
- <possnfrdd_search/>
- <possntodd_search/>
- <suplplcecd_search/>
- <suplplcenm_search/>
- <acntcd_search/>
- <acntnm_search/>
- <name_search/>
- <possnamtfr_search/>
- <possnamtto_search/>
- <oskind_search/>
- <memoryvol_search/>
- <ipaddr_search/>
- <cmt_search/>
- <outerfixaset>Y</outerfixaset>
- </fixasetlist>
- <save>
- <chgnhistlist/>
- </save>
- </send>
- <temp>
- <instcd/>
- <fixasetcd/>
- <cron>
- <updtdd/>
- <mngtdeptcd/>
- <mngtdeptnm/>
- <installplcecd/>
- <installplcenm/>
- <mdlcd/>
- <smlcd/>
- <oskind/>
- <memoryvol/>
- </cron>
- <addsearch/>
- <searchresult>
- <fixaset/>
- </searchresult>
- <saveresult/>
- <selecttab/>
- </temp>
- <init>
- <goodflag>
- <label>일반</label>
- <value>GE</value>
- <label>의료장비</label>
- <value>EQ</value>
- </goodflag>
- <popmenu>
- <grd_fixasetlist>
- <item>
- <name>설치장소변경</name>
- <func/>
- </item>
- </grd_fixasetlist>
- <grd_chgnhistlist>
- <item>
- <name>일괄변경</name>
- <func>fViewListSetting</func>
- <name>교체</name>
- <func>fFixasetChang</func>
- </item>
- </grd_chgnhistlist>
- </popmenu>
- </init>
- <ref>
- <flag/>
- <cnt/>
- </ref>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize(); //mis/purcbaseweb/js/SMRFE00202.js
- model.setValue("/root/send/fixasetlist/outerfixaset", "Y");
- model.setFocus("ipt_fixasetcd");
- model.refresh();
- ]]>
- </script>
- <submission id="TXRFE00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/chgnhistlist" resultref="/root/temp/saveresult"/>
- <submission id="TXRFE00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/chgnhistlist" resultref="/root/temp/saveresult"/>
- <submission id="TRRFC00905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/temp/searchresult/fixaset"/>
- <submission id="TRRFE00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/chgnhist"/>
- </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/purcbaseweb/js/SMRFE00202.js"/>
- <script type="javascript">
- <![CDATA[
- // 자산코드 두개일때 운영부서, 설치장소 서로 변경
- function fFixasetChang(){
- if(grd_chgnhistlist.rows == 3){
- var upddeptcd1 = model.getValue("/root/main/chgnhistlist[1]/upddeptcd"); //운용부서코드
- var upddeptcd2 = model.getValue("/root/main/chgnhistlist[2]/upddeptcd");
- var chnginstallplcecd1 = model.getValue("/root/main/chgnhistlist[1]/chnginstallplcecd"); //설치장소코드
- var chnginstallplcecd2 = model.getValue("/root/main/chgnhistlist[2]/chnginstallplcecd");
- var upddeptnm1 = model.getValue("/root/main/chgnhistlist[1]/upddeptnm"); //운용부서명
- var upddeptnm2 = model.getValue("/root/main/chgnhistlist[2]/upddeptnm");
- var installplcenm1= model.getValue("/root/main/chgnhistlist[1]/installplcenm"); //설치장소명
- var installplcenm2= model.getValue("/root/main/chgnhistlist[2]/installplcenm");
- model.setValue("/root/main/chgnhistlist[1]/upddeptcd", upddeptcd2);
- model.setValue("/root/main/chgnhistlist[2]/upddeptcd" , upddeptcd1);
- model.setValue("/root/main/chgnhistlist[1]/chnginstallplcecd", chnginstallplcecd2);
- model.setValue("/root/main/chgnhistlist[2]/chnginstallplcecd" , chnginstallplcecd1);
- model.setValue("/root/main/chgnhistlist[1]/upddeptnm", upddeptnm2);
- model.setValue("/root/main/chgnhistlist[2]/upddeptnm" , upddeptnm1);
- model.setValue("/root/main/chgnhistlist[1]/installplcenm", installplcenm2);
- model.setValue("/root/main/chgnhistlist[2]/installplcenm", installplcenm1);
- }else{
- messageBox("자산코드가 두개일때 교체","I006");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" cellspacing="4" 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:243px; height:14px; ">정보자산 변동사항관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:464px; x2:1194px; y2:464px; "/>
- <caption id="caption4" class="tit_2" style="left:0px; top:444px; width:209px; height:14px; ">자산변동저장 및 자산변동이력</caption>
- <button id="btn_delrow" class="btn2_letter3" navindex="25" style="left:1025px; top:442px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_chgnhistlist.selectedRows < 1)messageBox("삭제하실 행을 선택","I008");
-
- grd_chgnhistlist.deleteRow(grd_chgnhistlist.row, false);
- grd_chgnhistlist.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" navindex="26" style="left:1081px; top:442px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sBaseDate = getCurrentDate();
- var baseRows = grd_chgnhistlist.Rows;
- var isInfoFixa = true;
- var dsplChk = true;
-
- for(var idx = 0; idx<grd_fixasetlist.selectedRows; idx++){
- var chkFlag = false;
- var sel_row = grd_fixasetlist.selectedRow(idx);
-
- if(grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("lrgcd")) != "17") {
- chkFlag = true;
- isInfoFixa = false;
- }
-
- if(grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("dsplflag")) != "0") {
- chkFlag = true;
- dsplChk = false;
- }
-
- for(var c = grd_chgnhistlist.fixedRows ; c<baseRows ; c++){
- if(grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("instcd")) == grd_chgnhistlist.valueMatrix(c, grd_chgnhistlist.colRef("instcd"))
- && grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("fixasetcd")) == grd_chgnhistlist.valueMatrix(c, grd_chgnhistlist.colRef("fixasetcd"))){
- chkFlag = true;
- }
- }
- if(!chkFlag){
- misfGridIUD(grd_chgnhistlist, "A");
-
- var cur_row = grd_chgnhistlist.row;
-
- //행추가를 누를시 기간코드 값을 자동으로 저장한다.
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/instcd",grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("instcd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("fixasetcd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/upddeptcd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mngtdeptcd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/upddeptnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mngtdeptnm")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/chnginstallplcecd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("installplcecd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/installplcenm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("installplcenm")) );
-
- // 행추가를 누를시 날짜를 오늘 날짜로 자동 세팅 한다
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/updtdd",sBaseDate);
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/updtflag","4");
-
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/dsplflag", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("dsplflag")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/goodflaghngnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodflaghngnm")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/goodspec", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodspec")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/cmt", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("cmt")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/prodcmpy", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("prodcmpy")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/computername", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("computername")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/internetyn", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("internetyn")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/hosjasanyn", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("hosjasanyn")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasan1", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasan1")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasan2", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasan2")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasan3", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasan3")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasan4", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasan4")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasanspec1", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasanspec1")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasanspec2", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasanspec2")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasanspec3", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasanspec3")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mo_jasanspec4", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mo_jasanspec4")) );
-
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mdlcd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mdlcd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/mdlnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mdlnm")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/smlcd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("smlcd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/smlnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("smlnm")) );
-
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/oskind", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("oskind")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/memoryvol", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("memoryvol")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/ipaddr", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("ipaddr")) );
- }
- }
- if(!isInfoFixa) messageBox("일반비품(전산화관련) 분류가 아닌 자산은 변경이 불가합니다.","E");
- if(!dsplChk) messageBox("처분구분이 정상이 아닌 자산은 변경이 불가합니다.","E");
- grd_chgnhistlist.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption21" class="tit_2" style="left:0px; top:135px; width:69px; height:13px; ">자산목록</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:154px; x2:1194px; y2:153px; "/>
- <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="자산코드^자산명^규격^처분구분^구입금액^구입일^공급처^운용부서^운용부서^설치장소^설치장소^대분류^중분류^중분류^소분류^소분류^S/N^OS종류^메모리용량^IP주소^기관코드^비고^제조회사^컴퓨터명^인터넷차단유무^병원자산유무^모니터자산코드1^모니터자산코드2^모니터자산코드3^모니터자산코드4^모니터규격1^모니터규격2^모니터규격3^모니터규격4" colsep="^" colwidth="92, 240, 87, 60, 76, 73, 90, 100, 40, 100, 40, 25, 25, 100, 25, 100, 75, 70, 80, 100, 100, 150, 70 ,150, 90, 80, 150, 150, 150, 150, 150, 150, 150, 150, 150" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="23" style="left:0px; top:157px; width:1194px; height:280px; ">
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodflaghngnm" style="text-align:left; padding-left:2; "/>
- <col ref="goodspec" style="text-align:left; padding-left:2; "/>
- <col disabled="true" ref="dsplflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="possnamt" format="#,###" style="text-align:right; "/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="suplplcenm" style="text-align:left; padding-left:2; "/>
- <col ref="mngtdeptnm" style="text-align:left; padding-left:2; "/>
- <col ref="mngtdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="installplcenm" style="text-align:left; padding-left:2; "/>
- <col ref="installplcecd" visibility="hidden" style="text-align:center; "/>
- <col ref="lrgcd" visibility="hidden" style="text-align:center; "/>
- <col ref="mdlcd" visibility="hidden" style="text-align:center; "/>
- <col ref="mdlnm" style="text-align:center; "/>
- <col ref="smlcd" visibility="hidden" style="text-align:center; "/>
- <col ref="smlnm" style="text-align:center; "/>
- <col ref="mngtno" visibility="hidden" style="text-align:left; padding-left:2; "/>
- <col disabled="true" ref="oskind" type="combo" style="text-align:left; padding-left:2; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="memoryvol" type="combo" style="text-align:left; padding-left:2; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="ipaddr" style="text-align:left; padding-left:2; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="cmt"/>
- <col disabled="true" ref="prodcmpy" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="computername"/>
- <col ref="internetyn"/>
- <col ref="hosjasanyn"/>
- <col ref="mo_jasan1"/>
- <col ref="mo_jasan2"/>
- <col ref="mo_jasan3"/>
- <col ref="mo_jasan4"/>
- <col ref="mo_jasanspec1"/>
- <col ref="mo_jasanspec2"/>
- <col ref="mo_jasanspec3"/>
- <col ref="mo_jasanspec4"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if(model.getValue("/root/temp/selecttab") == "History") {
- fSearchHistory();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSearchDetail(grd_fixasetlist);
- ]]>
- </script>
- </datagrid>
- <caption id="caption23" visibility="hidden" style="left:817px; top:130px; width:375px; height:21px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#ff6600; vertical-align:middle; ">※ 자산목록을 더블클릭시 자산변동이력List에 추가됩니다.</caption>
- <button id="btn_multi" class="btn_sw" group="tab" selected="true" style="left:0px; top:469px; width:100px; height:22px; ">
- <caption>멀티변경</caption>
- <toggle case="case_multi" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_addrow.visible = true;
- btn_multisave.visible = true;
- btn_delrow.visible= true;
- model.setValue("/root/temp/selecttab","MultiEdit");
- ]]>
- </script>
- </button>
- <button id="btn_history" class="btn_sw" group="tab" selected="false" style="left:100px; top:469px; width:100px; height:22px; ">
- <caption>자산변동이력</caption>
- <toggle case="case_history" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_addrow.visible= false;
- btn_multisave.visible = false;
- btn_delrow.visible= false;
- model.setValue("/root/temp/selecttab","History");
- fSearchHistory();
- ]]>
- </script>
- </button>
- <button id="btn_multisave" class="btn4_letter2" navindex="27" style="left:1137px; top:441px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave(); //mis/purcbaseweb/js/SMRFE00202.js
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:0px; top:490px; width:1195px; height:250px; ">
- <case id="case_multi" selected="true" style="left:0px; top:0px; width:1193px; height:263px; ">
- <datagrid id="grd_chgnhistlist" nodeset="/root/main/chgnhistlist" caption="순번^자산코드^자산명^규격^변동일자^변동구분^처분구분(현재)^운용부서^운용부서^설치장소^설치장소^중분류^중분류^소분류^소분류^OS종류^메모리용량^IP주소^비고^기관코드^제조회사^컴퓨터명^인터넷차단유무^병원자산유무^모니터자산코드1^모니터자산코드2^모니터자산코드3^모니터자산코드4^모니터규격1^모니터규격2^모니터규격3^모니터규격4" colsep="^" colwidth="45, 97, 196, 100, 90, 60, 90, 90, 110, 95, 130, 20, 120, 20, 100, 100, 100, 100, 200, 200, 70, 150, 90, 80, 150, 150, 150, 150, 150, 150, 150, 150, 150" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" navindex="24" style="left:0px; top:0px; width:1195px; height:240px; ">
- <col ref="updtseq" visibility="hidden" format="999999-9999999" style="text-align:center; "/>
- <col ref="fixasetcd" _key="true" style="text-align:center; "/>
- <col ref="goodflaghngnm"/>
- <col ref="goodspec"/>
- <col ref="updtdd" type="inputdate" format="yyyy-mm-dd" maxlength="8" _key="true" style="text-align:center; "/>
- <col ref="updtflag" type="combo" visibility="hidden" _key="true" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dsplflag" visibility="hidden" style="text-align:center; "/>
- <col ref="upddeptcd" type="inputbutton" _key="true" style="text-align:center; "/>
- <col ref="upddeptnm" style="text-align:left; "/>
- <col ref="chnginstallplcecd" type="inputbutton" maxlength="12" _key="true" style="text-align:center; "/>
- <col disabled="true" ref="installplcenm" style="text-align:left; "/>
- <col ref="mdlcd" style="text-align:center; "/>
- <col ref="mdlnm"/>
- <col ref="smlcd" style="text-align:center; "/>
- <col ref="smlnm"/>
- <col disabled="true" ref="oskind" type="combo" style="text-align:left; padding-left:2; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="memoryvol" type="combo" style="text-align:left; padding-left:2; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="ipaddr" type="input" maxlength="20"/>
- <col ref="cmt" type="input" maxlength="500"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="prodcmpy" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="computername" type="input" maxlength="100"/>
- <col ref="internetyn" type="combo" textalign="center">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="hosjasanyn" type="combo" textalign="center">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="mo_jasan1" type="input" maxlength="20"/>
- <col ref="mo_jasan2" type="input" maxlength="20"/>
- <col ref="mo_jasan3" type="input" maxlength="20"/>
- <col ref="mo_jasan4" type="input" maxlength="20"/>
- <col ref="mo_jasanspec1" type="input" maxlength="150"/>
- <col ref="mo_jasanspec2" type="input" maxlength="150"/>
- <col ref="mo_jasanspec3" type="input" maxlength="150"/>
- <col ref="mo_jasanspec4" type="input" maxlength="150"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_chgnhistlist.col == grd_chgnhistlist.colRef("upddeptcd"))//변경부서 버튼을 눌렀을 때(운용부서)
- {
- misfOpenPopUpList("02", grd_chgnhistlist,"","upddeptcd,upddeptnm");
-
- grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("chnginstallplcecd")) = grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("upddeptcd"));
- grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("installplcenm")) = grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("upddeptnm"));
- grd_chgnhistlist.refresh();
-
- }else if (grd_chgnhistlist.col == grd_chgnhistlist.colRef("chnginstallplcecd"))//변경설치 버튼을 눌렀을 때(설치장소)
- {
- rszfOpenPopUpListByWndName(grd_chgnhistlist,"","chnginstallplcecd,installplcenm","PPRAC00700","instcd","cmb_instcd_search");
- grd_chgnhistlist.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_chgnhistlist.col == grd_chgnhistlist.colRef("upddeptcd"))//변경부서 버튼을 눌렀을 때(운용부서)
- {
- misfValidationCheck("02", "", "upddeptcd,upddeptnm" );
- grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("chnginstallplcecd")) = grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("upddeptcd"));
- grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("installplcenm")) = grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("upddeptnm"));
- grd_chgnhistlist.refresh();
- }else if(grd_chgnhistlist.col == grd_chgnhistlist.colRef("chnginstallplcecd") && grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("chnginstallplcecd")).length> 0)
- {
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("chnginstallplcecd")), "", "chnginstallplcecd,installplcenm",
- grd_chgnhistlist, "PPRAC00700", "","");
- grd_chgnhistlist.refresh();
- }else if(grd_chgnhistlist.col == grd_chgnhistlist.colRef("updtflag"))
- {
- if(grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) == "1"
- && grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("dsplflag")) == "1")
- {
- messageBox("이미 폐기 된 자산","I009");
- grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) = "";
- grd_chgnhistlist.refresh();
- return;
- }
- if(grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) == "1"
- && grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("repaymthd")) != "3")
- {
- messageBox("처분자산감가상각에서 폐기가 가능한 자산","I009");
- grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) = "";
- grd_chgnhistlist.refresh();
- return;
- }
- if(grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("dsplflag")) == "1"
- && grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("repaymthd")) != "3")
- {
- messageBox("처분자산감가상각에서 폐기 된 자산","I009")
- grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) = "";
- grd_chgnhistlist.refresh();
- return;
- }
- if(grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("dsplflag")) == grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")))
- {
- messageBox("현재 [" + grd_chgnhistlist.labelMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) + "] 상태인 자산", "I009");
- grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("updtflag")) = "";
- grd_chgnhistlist.refresh();
- return;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_chgnhistlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if( grd_chgnhistlist.valueMatrix(grd_chgnhistlist.row, grd_chgnhistlist.colRef("rtnreqseq")) != "" )
- {
- btn_delrow.disabled = true;
- }else{
- btn_delrow.disabled = false;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
- if(grd_chgnhistlist.isCell(event.target) && grd_chgnhistlist.mouseRow >= grd_chgnhistlist.fixedrows) {
- model.makeValue("/root/init/popmenu/grd_chgnhistlist/item[2]/name", "교체");
- model.makeValue("/root/init/popmenu/grd_chgnhistlist/item[2]/func", "fFixasetChang");
- window.setPopupMenu(true, "/root/init/popmenu/grd_chgnhistlist/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var inputCol = grd_chgnhistlist.col;
- if(inputCol == grd_chgnhistlist.colRef("fixasetcd") || inputCol == grd_chgnhistlist.colRef("goodflaghngnm")) {
- fSearchDetail(grd_chgnhistlist);
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_history">
- <datagrid id="grd_histlist" nodeset="/root/main/chgnhist" autoresize="true" caption="순번^자산^자산^변동일자^변동구분^이전 운용부서^이전 운용부서^운용부서^운용부서^이전 설치장소^이전 설치장소^설치장소^설치장소^비고^적요^기관코드" colsep="^" colwidth="35, 92, 151, 74, 62, 90, 118, 89, 130, 80, 127, 80, 134, 200, 152, 80" dataheight="25" ellipsis="true" explorerbar="sortshow" frozencols="5" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:0px; width:1193px; height:240px; ">
- <col ref="updtseq" format="999999-9999999" style="text-align:center; "/>
- <col ref="fixasetcd" _key="true" style="text-align:center; "/>
- <col ref="goodflaghngnm"/>
- <col ref="updtdd" type="output" format="yyyy-mm-dd" maxlength="8" _key="true" style="text-align:center; "/>
- <col disabled="true" ref="updtflag" type="combo" _key="true" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="premngtdeptcd" type="output" _key="true" style="text-align:center; "/>
- <col ref="premngtdeptnm" style="text-align:left; "/>
- <col ref="upddeptcd" type="output" _key="true" style="text-align:center; "/>
- <col ref="upddeptnm" style="text-align:left; "/>
- <col ref="preinstallplcecd" type="output" _key="true" style="text-align:center; "/>
- <col ref="preinstallplcenm" style="text-align:left; "/>
- <col ref="chnginstallplcecd" type="output" maxlength="12" _key="true" style="text-align:center; "/>
- <col disabled="true" ref="installplcenm" style="text-align:left; "/>
- <col ref="cmt"/>
- <col ref="mainrec" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_chgnhistlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <group id="grp_setlist" visibility="hidden" style="left:440px; top:530px; width:430px; height:130px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:430px; height:130px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input1" ref="/root/temp/cron/updtdd" class="input_search" navindex="33" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:57px; width:95px; height:19px; text-align:center; "/>
- <button id="button3" class="icon_search" navindex="-1" style="left:171px; top:80px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_cron_mngtdeptcd,"","mngtdeptcd,mngtdeptnm");
- ipt_cron_mngtdeptcd.refresh();
- ipt_cron_mngtdeptnm.refresh();
- model.setValue(ipt_cron_installplcecd.attribute("ref"),model.getValue(ipt_cron_mngtdeptcd.attribute("ref")));
- model.setValue(ipt_cron_installplcenm.attribute("ref"),model.getValue(ipt_cron_mngtdeptnm.attribute("ref")));
- ipt_cron_installplcecd.refresh();
- ipt_cron_installplcenm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_cron_mngtdeptcd" ref="/root/temp/cron/mngtdeptcd" class="input_search" navindex="34" style="left:93px; top:80px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_cron_mngtdeptnm);
- model.setValue(ipt_cron_installplcecd.attribute("ref"),model.getValue(ipt_cron_mngtdeptcd.attribute("ref")));
- model.setValue(ipt_cron_installplcenm.attribute("ref"),model.getValue(ipt_cron_mngtdeptnm.attribute("ref")));
- ipt_cron_installplcecd.refresh();
- ipt_cron_installplcenm.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_cron_mngtdeptnm" ref="/root/temp/cron/mngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:190px; top:80px; width:150px; height:19px; "/>
- <button id="button4" class="icon_search" navindex="-1" style="left:171px; top:103px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_cron_installplcecd,"","installplcecd,installplcenm");
- ipt_cron_installplcecd.refresh();
- ipt_cron_installplcenm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_cron_installplcecd" ref="/root/temp/cron/installplcecd" class="input_search" navindex="35" style="left:93px; top:103px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //misfSearchDept(ipt_cron_installplcenm);
- if(ipt_cron_installplcecd.value.length == 0)
- ipt_cron_installplcenm.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + ipt_cron_installplcecd.value, "", "installplcecd,installplcenm",
- ipt_cron_installplcecd, "PPRAC00700", "","");
- ipt_cron_installplcecd.refresh();
- ipt_cron_installplcenm.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_cron_installplcenm" ref="/root/temp/cron/installplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:190px; top:103px; width:150px; height:19px; "/>
- <button id="btn_seqapp" class="btn2_letter4" navindex="36" style="left:352px; top:75px; width:64px; height:19px; ">
- <caption>일괄적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetSelectList();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:5px; top:57px; width:88px; height:17px; ">변동일자 :</caption>
- <caption id="caption9" class="search_name" style="left:5px; top:80px; width:108px; height:17px; ">운용부서 :</caption>
- <caption id="caption10" class="search_name" style="left:5px; top:103px; width:115px; height:17px; ">설치장소 :</caption>
- <button id="button5" class="btn2_letter2" navindex="37" style="left:372px; top:100px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_chgnhistlist.disabled = false;
- grp_setlist.visible = false;
- ]]>
- </script>
- </button>
- <select1 id="cmb_mdlcd" ref="/root/temp/cron/mdlcd" navindex="29" appearance="minimal" style="left:80px; top:10px; width:140px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var mdlcd = model.getValue(cmb_mdlcd.attribute("ref"));
- if(mdlcd == ""){
- cmb_smlcd.disabled = true;
- }else{
- cmb_smlcd.disabled = false;
- misfChangeItemsetFilter(cmb_smlcd,"lrgcd='17' and mdlcd='" + mdlcd + "'");
- }
- model.setValue(cmb_smlcd.attribute("ref"),"");
- cmb_mdlcd.refresh();
- cmb_smlcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd" ref="/root/temp/cron/smlcd" class="combo_default" disabled="true" navindex="30" appearance="minimal" style="left:80px; top:33px; width:140px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:5px; top:10px; width:88px; height:17px; ">중분류 :</caption>
- <caption id="caption5" class="search_name" style="left:5px; top:33px; width:88px; height:17px; ">소분류 :</caption>
- <select1 id="cmb_memoryvol" ref="/root/temp/cron/memoryvol" navindex="32" visibility="visible" appearance="minimal" style="left:328px; top:33px; width:72px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //cmb_memoryvol.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_oskind" ref="/root/temp/cron/oskind" navindex="31" visibility="visible" appearance="minimal" style="left:320px; top:10px; width:80px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //cmb_oskind.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption12" class="search_name" style="left:230px; top:10px; width:116px; height:17px; ">OS 종류 :</caption>
- <caption id="caption8" class="search_name" style="left:230px; top:33px; width:116px; height:17px; ">메모리용량 :</caption>
- </group>
- <group id="group5" style="left:0px; top:5px; width:1193px; height:127px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:125px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_lrgcd_search" class="search_name" style="left:430px; top:6px; width:86px; height:17px; ">대 분 류 :</caption>
- <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_search" navindex="2" style="left:95px; top:53px; width:85px; 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" navindex="-1" style="left:184px; top:54px; 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" navindex="3" appearance="input" style="left:203px; top:53px; width:197px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_possndd_search" class="search_name" visibility="visible" style="left:772px; top:29px; width:94px; height:17px; ">취득일자 :</caption>
- <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_default" navindex="14" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:862px; top:29px; width:90px; height:19px; "/>
- <input id="ipt_fixasetcd_search" ref="/root/send/fixasetlist/fixasetcd_search" class="input_search" navindex="10" visibility="visible" imemode="disabled" _chartype="upper" style="left:525px; top:75px; width:220px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- if(event.keyCode == "13") {
- model.setFocus("ipt_fixasetcd_search");
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" navindex="20" style="left:1120px; top:51px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fsearch();
- ]]>
- </script>
- </button>
- <caption id="cap_instcd_search" class="search_name" style="left:3px; top:6px; width:117px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" disabled="true" navindex="-1" appearance="minimal" style="left:95px; top:6px; width:195px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line12" class="line_4" style="x1:1105px; y1:13px; x2:1105px; y2:112px; border-color:#ffd799; "/>
- <caption id="cap_mdlcd_search" class="search_name" style="left:430px; top:29px; width:86px; height:17px; ">중 분 류 :</caption>
- <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_default" navindex="15" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:969px; top:29px; width:90px; height:19px; "/>
- <caption id="caption2" visibility="visible" style="left:954px; top:29px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <select1 id="cmb_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" class="l" navindex="6" visibility="hidden" appearance="minimal" style="left:365px; top:5px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_goodflag_search" class="search_name" visibility="hidden" style="left:275px; top:5px; width:86px; height:17px; ">자산구분 :</caption>
- <caption id="cap_dsplflag_search" class="search_name" style="left:3px; top:29px; width:86px; height:17px; ">처분구분 :</caption>
- <caption id="cap_installplcecd" class="search_name" style="left:3px; top:52px; width:92px; height:17px; ">운용부서 :</caption>
- <caption id="cap_fixasetcd_search" class="search_name" style="left:430px; top:75px; width:89px; height:17px; ">자산코드 :</caption>
- <input id="ipt_name_search" ref="/root/send/fixasetlist/name_search" class="input_search" navindex="11" style="left:525px; top:98px; width:220px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_goodflagnm_search" class="search_name" style="left:430px; top:98px; width:110px; height:17px; ">
- <![CDATA[자 산 명 :]]>
- <hint>
- <![CDATA[자산명(한글), 모델]]>
- </hint>
- </caption>
- <button id="btn_suplcecd_search" class="icon_search" navindex="-1" style="left:184px; top:100px; 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:3px; top:99px; width:89px; height:17px; ">공 급 처 :</caption>
- <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="output_fix" navindex="-1" editable="false" style="left:203px; top:99px; width:197px; height:19px; "/>
- <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_search" navindex="5" style="left:95px; top:99px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcecd_search.value != '')
- {
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd_search.value + "," + "entrregno," + ipt_suplplcecd_search.value, "", "suplplcecd_search,suplplcenm_search",
- ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd_search");
- }else
- {
- ipt_suplplcenm_search.value = '';
- }
-
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <select1 id="rdo_dsplflag_search" ref="/root/send/fixasetlist/dsplflag_search" class="radio_search" navindex="1" appearance="full" cellspacing="0" cols="7" overflow="visible" style="left:96px; top:29px; width:304px; height:20px; text-align:left; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_acntnm_search" ref="/root/send/fixasetlist/acntnm_search" class="output_fix" navindex="-1" editable="false" style="left:203px; top:76px; width:197px; height:19px; "/>
- <input id="ipt_acntcd_search" ref="/root/send/fixasetlist/acntcd_search" class="input_search" navindex="4" visibility="visible" style="left:95px; top:76px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_acntcd_search.value != "")
- {
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt",
- ",Y,2," + ipt_acntcd_search.value, "", "acntcd_search,acntnm_search",
- ipt_acntcd_search, "PPRAC00100_계정코드HELP", "useyn,acntcd","Y,ipt_acntcd_search");
- }else{
- ipt_acntnm_search.value = '';
- }
- ipt_acntcd_search.refresh();
- ipt_acntnm_search.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_acntcd_search" class="icon_search" navindex="-1" style="left:184px; top:78px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd_search, "", "acntcd_search,acntnm_search","PPRAC00100_계정코드HELP","","");
-
- ipt_acntcd_search.refresh();
- ipt_acntnm_search.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption14" class="search_name" style="left:3px; top:77px; width:89px; height:17px; ">입고계정 :</caption>
- <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" navindex="7" appearance="minimal" style="left:525px; top:6px; width:220px; 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,"lrgcd='" + lrgcd + "' or value=null");
- }
- cmb_smlcd_search.disabled = true;
- model.setValue(cmb_mdlcd_search.attribute("ref"),"");
- model.setValue(cmb_smlcd_search.attribute("ref"),"");
- cmb_mdlcd_search.refresh();
- cmb_smlcd_search.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" disabled="true" navindex="8" appearance="minimal" style="left:525px; top:29px; width:220px; 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"));
- var mdlcd = model.getValue(cmb_mdlcd_search.attribute("ref"));
- if(mdlcd == ""){
- cmb_smlcd_search.disabled = true;
- }else{
- cmb_smlcd_search.disabled = false;
- misfChangeItemsetFilter(cmb_smlcd_search,"lrgcd='" + lrgcd + "' and mdlcd='" + mdlcd + "' or value=null");
- }
- model.setValue(cmb_smlcd_search.attribute("ref"),"");
- cmb_smlcd_search.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_memoryvol_search" ref="/root/send/fixasetlist/memoryvol_search" navindex="17" visibility="visible" appearance="minimal" style="left:1038px; top:55px; width:52px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption44" class="search_name" style="left:940px; top:55px; width:116px; height:17px; ">메모리용량 :</caption>
- <caption id="caption25" class="search_name" style="left:772px; top:52px; width:116px; height:17px; ">OS 종류 :</caption>
- <select1 id="cmb_oskind_search" ref="/root/send/fixasetlist/oskind_search" navindex="16" visibility="visible" appearance="minimal" style="left:862px; top:52px; width:70px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:772px; top:9px; width:89px; height:17px; ">취득금액 :</caption>
- <caption id="caption24" visibility="visible" style="left:954px; top:8px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_possnamtfr_search" ref="/root/send/fixasetlist/possnamtfr_search" class="input_search" navindex="12" maxlength="12" format="#,###" style="left:862px; top:6px; width:90px; height:19px; text-align:right; "/>
- <input id="ipt_possnamtto_search" ref="/root/send/fixasetlist/possnamtto_search" class="input_search" navindex="13" maxlength="12" format="#,###" style="left:970px; top:6px; width:90px; height:19px; text-align:right; "/>
- <caption id="cap_smlcd_search" class="search_name" style="left:430px; top:52px; width:86px; height:17px; ">소 분 류 :</caption>
- <select1 id="cmb_smlcd_search" ref="/root/send/fixasetlist/smlcd_search" disabled="true" navindex="9" appearance="minimal" style="left:525px; top:52px; width:220px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <bool id="chk_addsearch" navindex="21" checkvalue="Y,N" ref="/root/temp/addsearch" style="left:1110px; top:75px; width:20px; height:20px; "/>
- <caption id="caption11" style="left:1130px; top:75px; width:55px; height:20px; ">추가조회</caption>
- <caption id="caption13" class="search_name" style="left:772px; top:75px; width:116px; height:17px; ">IP 주소 :</caption>
- <input id="ipt_ipaddr_search" ref="/root/send/fixasetlist/ipaddr_search" class="input_search" navindex="18" style="left:862px; top:75px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_cmt_search" ref="/root/send/fixasetlist/cmt_search" class="input_search" navindex="19" style="left:862px; top:98px; width:98px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption15" class="search_name" style="left:772px; top:98px; width:116px; height:17px; ">비 고 :</caption>
- </group>
- <button id="btn_barcodeprt" class="btn2_letter5" navindex="22" style="left:1115px; top:132px; width:75px; height:19px; ">
- <caption>바코드출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var goodnm, mngtdeptnm, installplcenm;
-
- if (grd_fixasetlist.selectedRows < 1){
- messageBox("선택 된 자산이","I004");
- return false;
- }
-
- model.removeNodeset(grd_cpfixasetlist.nodeset);
- grd_cpfixasetlist.refresh();
-
- for(var idx = 0; idx<grd_fixasetlist.selectedRows; idx++){
-
- var sel_row = grd_fixasetlist.selectedRow(idx);
-
- goodnm = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodflaghngnm"));
-
- mngtdeptnm = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mngtdeptnm"));
- installplcenm = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("installplcenm"));
-
- grd_cpfixasetlist.addRow(false);
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("fixasetcd" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("fixasetcd"));
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("possndd" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("possndd"));
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("goodnm1" )) = goodnm;
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("goodspec" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodspec"));
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("deptnm1" )) = mngtdeptnm;
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("deptnm2" )) = installplcenm;
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("mngtno" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("mngtno"));
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("suplplcenm" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("suplplcenm"));
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("ipaddr" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("ipaddr"));
- grd_cpfixasetlist.valueMatrix(grd_cpfixasetlist.row, grd_cpfixasetlist.colRef("cmt" )) = grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("cmt"));
- }
- grd_cpfixasetlist.refresh();
- exeReportPreview("RPRFC00702","XMLSTR");
- exeReportPreview("RPRFC00703","XMLSTR");
- ]]>
- </script>
- </button>
- <datagrid id="grd_cpfixasetlist" nodeset="/root/main/list/cpfixaset/cpfixasetlist" visibility="hidden" caption="기관코드^자산코드^품명^모델^규격^SERIAL NO^공급처^구입일자^운용부서^설치장소^물품명2^IP주소^비고^변동일자" colsep="^" colwidth="53, 110, 230, 100, 160, 123, 159, 75, 130, 130, 100, 100, 100,100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:510px; top:310px; width:670px; height:120px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodnm1" style="padding-left:5; "/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="goodspec" style="padding-left:5; "/>
- <col ref="mngtno"/>
- <col ref="suplplcenm" style="padding-left:5; "/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="deptnm1"/>
- <col ref="deptnm2"/>
- <col ref="goodnm2" visibility="hidden"/>
- <col ref="ipaddr"/>
- <col ref="cmt"/>
- <col ref="updtdd"/>
- </datagrid>
- </group>
- <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" navindex="28" style="left:1126px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line11" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_print" class="btn3_letter6" navindex="23" visibility="visible" style="left:3px; top:3px; width:110px; height:22px; ">
- <caption>정보자산내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRFC00902","XMLSTR");
- ]]>
- </script>
- </button>
- </group>
- <bool id="bool1" checkvalue="Y,N" ref="/root/send/fixasetlist/outerfixaset" style="left:1086px; top:145px; width:20px; height:20px; "/>
- <caption id="caption47" class="search_name" style="left:975px; top:145px; width:116px; height:17px; ">부외자산포함 :</caption>
- </xhtml:body>
- </xhtml:html>
|