1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <chgnhistlist/>
- <list>
- <fixaset>
- <fixasetlist/>
- </fixaset>
- <fixasetexcel>
- <fixasetexcellist/>
- </fixasetexcel>
- </list>
- <chgnhist/>
- </main>
- <send>
- <rfchcgmt_send>
- <instcd/>
- <fixasetcd/>
- </rfchcgmt_send>
- <chgnhistlist/>
- <fixasetlist>
- <instcd_search/>
- <fixasetcd_search/>
- <goodflag_search/>
- <lrgcd_search/>
- <mngtdeptcd_search/>
- <mngtdeptnm_search/>
- <dsplflag_search/>
- <cntrdeptcd_search/>
- <cntrdeptnm_search/>
- <goodflagnm_search/>
- <mdlcd_search/>
- <possnfrdd_search/>
- <possntodd_search/>
- <prodcmpycd_search/>
- <prodcmpynm_search/>
- <suplplcecd_search/>
- <suplplcenm_search/>
- <goodmodel_search/>
- <acqtflag_search/>
- <rfchmandlist_search/>
- <queryflag/>
- </fixasetlist>
- </send>
- <temp>
- <instcd/>
- <fixasetcd/>
- <bfdsplflag>A</bfdsplflag>
- </temp>
- <init>
- <possnflagcd>
- <label>내자</label>
- <value>H</value>
- <label>외자</label>
- <value>F</value>
- </possnflagcd>
- <goodflag>
- <label>일반비품</label>
- <value>GE</value>
- <label>의료장비</label>
- <value>EQ</value>
- </goodflag>
- <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>
- <popmenu>
- <grd_fixasetlist>
- <item>
- <name>설치장소변경</name>
- <func>fSetMainCustLastInstallplce</func>
- </item>
- <item>
- <name>사용부서변경</name>
- <func>fSetMainCustLastMngtdept</func>
- </item>
- </grd_fixasetlist>
- <grd_chgnhistlist>
- <item>
- <name>정상</name>
- <func>fSetGubun_0</func>
- </item>
- <item>
- <name>폐기</name>
- <func>fSetGubun_1</func>
- </item>
- <item>
- <name>망실</name>
- <func>fSetGubun_2</func>
- </item>
- <item>
- <name>매각</name>
- <func>fSetGubun_3</func>
- </item>
- <item>
- <name>이동</name>
- <func>fSetGubun_4</func>
- </item>
- <item>
- <name>불용</name>
- <func>fSetGubun_5</func>
- </item>
- </grd_chgnhistlist>
- </popmenu>
- <poptitle/>
- <popinputcd/>
- <popinputnm/>
- <popcond/>
- <popformat/>
- </init>
- <ref>
- <flag/>
- <cnt/>
- </ref>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
-
- fGetdata();
- ]]>
- </script>
- <submission id="TRRFE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rfchcgmt_send" resultref="/root/main/chgnhistlist"/>
- <submission id="TXRFE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rfchcgmt_send" resultref="/root/temp"/>
- <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixasetexcel"/>
- <submission id="TRRFC00209" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetexcel"/>
- <submission id="TXRFE00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rfchcgmt_send" resultref="/root/temp"/>
- <submission id="TRRFE00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rfchcgmt_send" 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/SMRFE00200.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fInitialize()
- {
- model.resetInstanceNode("/root/send");
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_chgnhistlist);
- misfGridInit(grd_histlist); //이현민추가-20100224
- model.refresh();
- rszfGoodFlagListByPgmGubn(cmb_goodflag_search,"2","N");
- addComboItem( "cmb_goodflag_search", "- 전 체 -", "", "above" );
- //이현민추가-20100224 마지막것 추가
- misfComboComCdListMulti("Z0007,R0044,R0044,R0047,R0035,R0044,R0044,R0044",
- "cmb_instcd,grd_fixasetexcellist.histupdtflag,grd_chgnhistlist.updtflag,grd_chgnhistlist.curncyunit,grd_fixasetlist.prodplce,chk_dsplflag_search,grd_histlist.updtflag,grd_fixasetlist.dsplflag");
-
- addComboItem( "chk_dsplflag_search", "전체", "A", "below" );
- chk_dsplflag_search.value = "A";
- // 대분류 코드 콤보 설정.
- rszfLMSComboList(cmb_goodflag_search.value, "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
- //물품구분에 따른 그리드 출력 폼 설정.
- fGridGoodflagCheck();
- //물품구분 설정 (비품)
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); // 기관 설정
-
- misfMsterDetailSet(grd_chgnhistlist, null, "TRRFE00201", "Y");
- misfMsterDetailSet(grd_fixasetlist, null, "TRRFC00202", "N");
-
- grd_fixasetlist.selectionMode = "list";
-
- btn_multi.dispatch("DOMActivate");
- model.refresh();
- }
-
- function fGridGoodflagCheck()
- {
- if(cmb_goodflag_search.value == 'EQ') {
- 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;
- } else {
- 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;
- }
- grd_fixasetlist.refresh();
- }
-
- function fsearch()
- {
- if(!isRequiredControls("cmb_instcd")) return;
- // var updtdata = getGridUpdateData(grd_chgnhistlist);
- //
- // //기관코드 값 체크
- // if ( updtdata != "")
- // {
- // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- // if (ret != 6) { // not OK
- // return;
- // }
- // }
- model.makeValue("/root/send/fixasetlist/queryflag", " ");
- misfGridInit(grd_chgnhistlist);
-
- misfGridInit(grd_fixasetlist); //이현민추가-//20100402 -메인 자산목록grid가 초기화가 안되어서 계속 중복으로 attatch되는 현상때문에 초기화함
- misfGridInit(grd_histlist); //이현민추가-20100224 - 메인조회할때 아래의 grid들은 초기화한다.
- submit("TRRFC00202");
- //misfMsterDetailRetrieve();
- if(grd_fixasetlist.rows != grd_fixasetlist.fixedRows)
- {
- grd_fixasetlist.row = grd_fixasetlist.fixedRows;
- grd_fixasetlist.dispatch("onrowchanged");
- grd_fixasetlist.select(grd_fixasetlist.row, grd_fixasetlist.colRef("goodflaghngnm")) = true;
- }
- model.refresh();
- }
- function fsearch_excel()
- {
- if(!isRequiredControls("cmb_instcd")) return;
- if(!isRequiredControls("cmb_goodflag_search")) return;
- model.makeValue("/root/send/fixasetlist/queryflag", "H");
- misfGridInit(grd_chgnhistlist);
- submit("TRRFC00209");
- model.refresh();
- }
-
- function fSave()
- {
- var updtdata = getGridUpdateData(grd_chgnhistlist);
-
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- if(!checkKeyColumn("grd_chgnhistlist")) return;
-
- misfSave("TXRFE00201");
- //btn_search.dispatch("DOMActivate");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ) btn_search.dispatch("DOMActivate");
- }
-
- // 부모 윈도우에서 넘겨 받은 값을 컨트롤에 세팅
- function fGetdata()
- {
- var sCheck = "";
- var sInstcd = model.getValue("/root/temp/instcd");
- var sFixasetcd = model.getValue("/root/temp/fixasetcd");
- var sInstallplcecd = model.getValue("/root/temp/installplcecd");
- var sInstallplcenm = model.getValue("/root/temp/installplcenm");
- var sGoodspec = model.getValue("/root/temp/goodspec");
- var sMngtno = model.getValue("/root/temp/mngtno");
- var sCntrdeptcd = model.getValue("/root/temp/cntrdeptcd");
- var sCntrdeptnm = model.getValue("/root/temp/cntrdeptnm");
- var sPossndd = model.getValue("/root/temp/possndd");
- var sPossnamt = model.getValue("/root/temp/possnamt");
-
- if(sInstcd != "")
- cmb_instcd.value = model.getValue("/root/temp/instcd");
-
- if(sFixasetcd != "")
- {
- ipt_fixasetcd.value = model.getValue("/root/temp/fixasetcd");
- model.setValue(cmb_goodflag_search.attribute("ref"), model.getValue("/root/temp/fixasetcd").substr(0,1) );
- ipt_fixasetcd.dispatch("xforms-value-changed");
- }
-
- // if(sInstallplcecd != "")
- // ipt_installplcecd.value = model.getValue("/root/temp/installplcecd");
- //
- // if(sInstallplcenm != "")
- // opt_installplcenm.value = model.getValue("/root/temp/installplcenm");
- //
- // if(sGoodspec != "")
- // ipt_goodspec.value = model.getValue("/root/temp/goodspec");
- //
- // if(sMngtno != "")
- // ipt_mngtno.value = model.getValue("/root/temp/mngtno");
- //
- // if(sCntrdeptcd != "")
- // ipt_cntrdeptcd.value = model.getValue("/root/temp/cntrdeptcd");
- //
- // if(sCntrdeptnm != "")
- // opt_cntrdeptcd.value = model.getValue("/root/temp/cntrdeptnm");
- //
- // if(sPossndd != "")
- // ipt_possndd.value = model.getValue("/root/temp/possndd");
- //
- // if(sPossnamt != "")
- // ipt_possnamt.value = model.getValue("/root/temp/possnamt");
- //
- // if(sMngtno == "")
-
- if(sFixasetcd != "")
- btn_search.dispatch("DOMActivate");
- }
- function fSetGubun_0()
- {
- fsetGubun_set("0");
- }
- function fSetGubun_1()
- {
- fsetGubun_set("1");
- }
- function fSetGubun_2()
- {
- fsetGubun_set("2");
- }
- function fSetGubun_3()
- {
- fsetGubun_set("3");
- }
- function fSetGubun_4()
- {
- fsetGubun_set("4");
- }
- function fSetGubun_5()
- {
- fsetGubun_set("5");
- }
- function fsetGubun_set(pGubun)
- {
- for (var currow = grd_chgnhistlist.fixedRows ; currow < grd_chgnhistlist.rows; currow++) {
- model.setValue(grd_chgnhistlist.nodeset + "[" + currow + "]/updtflag" ,pGubun);
- }
- }
- //grd_chgnhistlist
- //model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd"
- //model.setValue(grd_chgnhistlist.attribute("nodeset")/fixasetcd"
- //model.getValue(grd_message.nodeset +"[reqflag='H']/closdesc")
- //lastDesc = (ReqflagH == 1) ? model.getValue(grd_message.nodeset +"[reqflag='H']/closdesc") + "\n" : "";
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" 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; ">
- <datagrid id="grd_fixasetexcellist" nodeset="/root/main/list/fixasetexcel/fixasetexcellist" class="datagrid1" visibility="hidden" caption="기관명^자산코드^자산명(한글)^자산명(영문)^메인장비^모델명^규격^설치장소코드^설치장소명^공급처코드^공급처명^제조국^제조회사코드^제조회사명^취득일자^취득금액^관리부서코드^관리부서명^이미지여부^보조거래처^보조거래처명^청구부서^청구부서명^외화금액^화폐단위^바코드출력여부^바코드선택^구성품유무^S/N^구코드^도입구분^취득구분^물품구분^관리부서코드(의공쪽)^관리부서명(의공쪽)^수입신고번호^허가번호^분류번호^비고^거래처연락처^처분구분^고정자산단위^대분류코드^중분류코드^소분류코드^하자보증기간From^하자보증기간To^계정코드^ 계정 ^ 비고 ^귀속부서코드^입고일자^순번^변동일자^변동구분^변동구분명^변경설치장소코드^변경설치장소명^취득구분 ^취득구분명^외화액^단위^금액^적요^변경부서 코드^변경부서명" colsep="^" colwidth="82, 80, 149, 165, 109, 116, 80, 95, 116, 95, 159, 80, 105, 111, 80, 80, 80, 80, 80, 97, 121, 102, 112, 80, 80, 106, 80, 80, 80, 80, 80, 80, 80, 149, 119, 96, 98, 92, 99, 103, 80, 97, 80, 80, 80, 122, 115, 80, 123, 97, 96, 80, 80, 80, 80, 100, 117, 107, 103, 100, 80, 80, 80, 80, 94, 80" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:560px; top:590px; width:544px; height:151px; font-weight:normal; text-align:center; ">
- <col ref="instnm" style="text-align:center; "/>
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodflaghngnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodflagengnm" style="text-align:left; padding-left:10; "/>
- <col ref="maineqmt" style="text-align:left; padding-left:10; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
- <col ref="goodspec" style="text-align:left; padding-left:10; "/>
- <col ref="installplcecd" style="text-align:center; "/>
- <col ref="installplcenm" style="text-align:left; padding-left:10; "/>
- <col ref="suplplcecd" style="text-align:center; "/>
- <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
- <col ref="prodplce" style="text-align:left; padding-left:10; "/>
- <col ref="prodcmpy" style="text-align:center; "/>
- <col ref="prodcmpynm" style="text-align:left; padding-left:10; "/>
- <col ref="possndd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="possnamt" format="#,###" style="text-align:right; "/>
- <col ref="mngtdeptcd" style="text-align:left; "/>
- <col ref="mngtdeptnm" style="text-align:left; "/>
- <col ref="photoyn" style="text-align:center; "/>
- <col ref="suppcustcd" style="text-align:center; "/>
- <col ref="suppcustnm" style="text-align:left; padding-left:10; "/>
- <col ref="cntrdeptcd" style="text-align:center; "/>
- <col ref="cntrdeptnm" style="text-align:left; padding-left:10; "/>
- <col ref="forgncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="curncyunit" style="text-align:center; "/>
- <col ref="barcdprntyn" style="text-align:left; "/>
- <col ref="choice" style="text-align:left; "/>
- <col ref="chkcnt" style="text-align:center; "/>
- <col ref="mngtno" style="text-align:left; padding-left:10; "/>
- <col ref="oldcd" style="text-align:center; "/>
- <col ref="acqtflag" style="text-align:center; "/>
- <col ref="possnflagcd" style="text-align:left; "/>
- <col ref="goodflag" style="text-align:left; "/>
- <col ref="tempmngtdeptcd" style="text-align:center; "/>
- <col ref="tempmngtdeptnm" style="text-align:left; padding-left:10; "/>
- <col ref="incmreptno" style="text-align:left; padding-left:10; "/>
- <col ref="incmpemtno" style="text-align:left; padding-left:10; "/>
- <col ref="mtlmngtno" style="text-align:left; padding-left:10; "/>
- <col ref="cmt" style="text-align:left; padding-left:10; "/>
- <col ref="cntctel" style="text-align:left; padding-left:10; "/>
- <col ref="dsplflag" style="text-align:center; "/>
- <col ref="fixasetunit" style="text-align:center; "/>
- <col ref="lrgcd" style="text-align:center; "/>
- <col ref="mdlcd" style="text-align:center; "/>
- <col ref="smlcd" style="text-align:center; "/>
- <col ref="flwgrnttermfr" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="flwgrnttermto" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="acntcd" style="text-align:center; "/>
- <col ref="acntnm" style="text-align:left; padding-left:10; "/>
- <col ref="cmt" style="text-align:left; padding-left:10; "/>
- <col ref="cntrdeptcd" style="text-align:center; "/>
- <col ref="windd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="histupdtseq" style="text-align:center; "/>
- <col ref="histupdtdd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="histupdtflag" type="combo" _key="true" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="histupdtdesc" style="text-align:left; padding-left:10; "/>
- <col ref="histinstallplcecd" style="text-align:center; "/>
- <col ref="histinstallplcenm" style="text-align:left; padding-left:10; "/>
- <col ref="histpossnflagcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/possnflagcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="histpossnflagdesc" style="text-align:center; "/>
- <col ref="histforgncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="histcurncyunit" style="text-align:center; "/>
- <col ref="histfixasetamt" format="#,###" style="text-align:right; "/>
- <col ref="histmainrec" style="text-align:left; padding-left:10; "/>
- <col ref="histupddeptcd" style="text-align:center; "/>
- <col ref="histupddeptnm" style="text-align:left; padding-left:10; "/>
- </datagrid>
- <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" visibility="hidden" style="left:1022px; 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" visibility="hidden" style="left:1080px; top:442px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sBaseDate = getCurrentDate();
- var baseRows = grd_chgnhistlist.Rows;
-
- for(var idx = 0; idx<grd_fixasetlist.selectedRows; idx++){
- var chkFlag = false;
- var sel_row = grd_fixasetlist.selectedRow(idx);
-
- 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")) ); //20100308
-
- // 행추가를 누를시 날짜를 오늘 날짜로 자동 세팅 한다
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/updtdd",sBaseDate);
-
- 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+"]/repaymthd", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("repaymthd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/fixasetamt", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("possnamt")) );
-
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/goodflagengnm", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("goodflagengnm")) );
- }
- }
- grd_chgnhistlist.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption21" class="tit_2" style="left:0px; top:188px; width:69px; height:13px; ">자산목록</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:203px; x2:1194px; y2:202px; "/>
- <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="자산코드^자산명^자산명^모델명^규격^처분구분^구입금액^외화금액^화폐단위^구입일^거래처^제조원^제조국^청구부서^사용부서^사용부서코드^도입구분^설치장소^설치장소코드^관리번호^구코드^수입신고번호^분류번호(등급)^기관코드^중요장비^제조회사^공급처코드^상각방법" colsep="^" colwidth="92, 240, 240, 150, 87, 71, 76, 75, 63, 73, 90, 104, 65, 100, 100, 98, 100, 100, 106, 82, 131, 108, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:210px; width:1194px; height:225px; ">
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodflaghngnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodflagengnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
- <col ref="goodspec" style="text-align:left; padding-left:10; "/>
- <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="forgncurncyamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="curncyunit" type="combo" style="text-align:center; ">
- <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; padding-left:10; "/>
- <col ref="prodcmpynm" style="padding-left:10; "/>
- <col disabled="true" ref="prodplce" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="cntrdeptnm" style="text-align:left; padding-left:10; "/>
- <col ref="mngtdeptnm" style="text-align:left; padding-left:10; "/>
- <col ref="mngtdeptcd" visibility="visible" style="text-align:center; "/>
- <col disabled="true" ref="acqtflag" type="combo" style="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>
- </col>
- <col ref="installplcenm" style="text-align:left; padding-left:10; "/>
- <col ref="installplcecd" style="text-align:center; "/>
- <col ref="mngtno" style="text-align:left; padding-left:10; "/>
- <col ref="oldcd" style="text-align:left; padding-left:10; "/>
- <col ref="incmreptno" style="text-align:left; padding-left:10; "/>
- <col ref="mtlmngtno" style="text-align:left; padding-left:10; "/>
- <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="repaymthd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- //misfGridInit(grd_chgnhistlist);
- misfGridInit(grd_histlist); //메인grid선택할때 초기화해주는것을 grd_chgnhistlist- > grd_chgnhist 바꿈 //이현민추가-20100224
-
-
- grd_fixasetlist.dispatch("onmouseup");
- model.copyNode("/root/send/rfchcgmt_send", "/root/main/list/fixaset/fixasetlist["+grd_fixasetlist.row + "]");
- model.makeValue("/root/send/rfchcgmt_send/dsplflag", model.getValue(chk_dsplflag_search.attribute("ref")));
-
- //submit("TRRFE00201");
- submit("TRRFE00202"); //이현민추가-20100224
- //---------------------------------------------------------------------------------------------------------//이현민막음-20100224
- // if(grd_chgnhistlist.rows != grd_chgnhistlist.fixedRows)
- // { for(var i = grd_chgnhistlist.fixedRows; i < grd_chgnhistlist.rows; i++ )
- // {
- // if(grd_chgnhistlist.valueMatrix(i, grd_chgnhistlist.colRef("rtnreqseq")) != "")
- // {
- // misfSetReadOnlyCol(grd_chgnhistlist, "updtfalg,updtdd,updtflag,upddeptcd,forgncurncyamt,chnginstallplcecd,possnflagcd,curncyunit,fixasetamt,mainrec", true, i);
- // }else{
- // misfSetReadOnlyCol(grd_chgnhistlist, "updtfalg,updtdd", true, i);
- // }
- // }
- // grd_chgnhistlist.row = grd_chgnhistlist.fixedRows;
- // grd_chgnhistlist.dispatch("onrowchanged");
- // grd_chgnhistlist.select(grd_chgnhistlist.fixedRows, grd_chgnhistlist.colRef("goodflaghngnm")) = true;
- // }
- //---------------------------------------------------------------------------------------------------------
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
- if(grd_fixasetlist.isCell(event.target) &&
- grd_fixasetlist.mouseRow >= grd_fixasetlist.fixedrows){
-
- window.setPopupMenu(true, "/root/init/popmenu/grd_fixasetlist/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <caption id="caption23" visibility="hidden" style="left:817px; top:183px; 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;
- btn_tret.visible = true;
- //btn_multiaplly.visible= true;
- ]]>
- </script>
- </button>
- <button id="btn_history" class="btn_sw" group="tab" selected="false" style="left:101px; 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;
- btn_tret.visible = false;
- //btn_multiaplly.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_multisave" class="btn4_letter2" visibility="hidden" style="left:1137px; top:441px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <button id="btn_multiaplly" class="btn2_letter5" visibility="hidden" style="left:770px; top:445px; width:75px; height:19px; ">
- <caption>변경행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if(!isRequiredControls("ipt_fixasetcd")) return;
-
- var sBaseDate = getCurrentDate();
-
- for(var fRow = grd_fixasetlist.fixedRows; fRow < grd_fixasetlist.rows; fRow++){
- if(grd_fixasetlist.rowStatus(fRow) == "2"){
-
- misfGridIUD(grd_chgnhistlist, "A");
- var cur_row = grd_chgnhistlist.row;
- //행추가를 누를시 기간코드 값을 자동으로 저장한다.
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd.value);
- //model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("fixasetcd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/upddeptcd", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("mngtdeptcd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/upddeptnm", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("mngtdeptnm")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/chnginstallplcecd", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("installplcecd")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/installplcenm", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("installplcenm")) ); //20100308
- // model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/upddeptcd", getUserInfo("dutplcecd"));
- // model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/upddeptnm", getUserInfo("dutplcenm"));
- // model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/chnginstallplcecd", getUserInfo("dutplcecd"));
- // model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/installplcenm", getUserInfo("dutplcenm"));
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/updtdd", sBaseDate); // 행추가를 누를시 날짜를 오늘 날짜로 자동 세팅 한다
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/goodflagengnm", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("goodflagengnm")) ); //20100308
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/forgncurncyamt", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("forgncurncyamt")) ); //20100308
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/curncyunit", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("curncyunit")) ); //20100308
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/instcd", grd_fixasetlist.valueMatrix(fRow, grd_fixasetlist.colRef("instcd")) ); //20100308
-
-
-
- }
- }
-
- ]]>
- </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="순번^자산코드^자산명^변동일자^변동구분^처분구분(현재)^변경부서^변경부서^변경설치장소^변경설치장소^취득구분^외화액^단위^자산금액^변동금액^적요^거래처코드^기관코드^상각방법^" colsep="^" colwidth="45, 97, 196, 100, 66, 90, 99, 110, 100, 130, 100, 100, 69, 100, 100, 115, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" style="left:0px; top:0px; width:1195px; height:240px; ">
- <col ref="updtseq" format="999999-9999999" style="text-align:center; "/>
- <col ref="fixasetcd" _key="true" style="text-align:center; "/>
- <col ref="goodflagengnm"/>
- <col class="input_essential" ref="updtdd" type="inputdate" format="yyyy-mm-dd" maxlength="8" _key="true" style="text-align:center; "/>
- <col class="input_essential" ref="updtflag" type="combo" _key="true" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dsplflag" visibility="hidden" style="text-align:center; "/>
- <col class="input_essential" ref="upddeptcd" type="inputbutton" _key="true" style="text-align:center; "/>
- <col ref="upddeptnm" style="text-align:left; "/>
- <col class="input_essential" ref="chnginstallplcecd" type="inputbutton" maxlength="12" _key="true" style="text-align:center; "/>
- <col disabled="true" ref="installplcenm" style="text-align:left; "/>
- <col ref="possnflagcd" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/possnflagcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="forgncurncyamt" type="input" visibility="hidden" format="#,###" maxlength="12" style="text-align:right; "/>
- <col ref="curncyunit" type="combo" visibility="hidden" maxlength="2">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="fixasetamt" type="input" format="#,###" maxlength="12" style="text-align:right; "/>
- <col ref="updtamt" type="input" format="(-)#,###" maxlength="12" style="text-align:right; "/>
- <col ref="mainrec" type="input" maxlength="60"/>
- <col ref="custcd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="repaymthd" visibility="hidden"/>
- <col ref="rtnreqdeptcd" visibility="hidden"/>
- <col ref="rtnreqdd" visibility="hidden"/>
- <col ref="rtnreqseq" visibility="hidden"/>
- <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");
- 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 //&&
- //grd_chgnhistlist.col == grd_chgnhistlist.colRef("updtflag")
- //grd_chgnhistlist.col == "5"
- ){
- 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>
- </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, 100, 127, 92, 134, 100, 100, 70, 100, 100, 100, 100, 80, 99, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" 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="goodflagengnm"/>
- <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" visibility="hidden" _key="true" style="text-align:center; "/>
- <col ref="premngtdeptnm" visibility="hidden" 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" visibility="hidden" _key="true" style="text-align:center; "/>
- <col ref="preinstallplcenm" visibility="hidden" 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="possnflagcd" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/possnflagcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="forgncurncyamt" type="output" visibility="hidden" format="#,###" maxlength="12" style="text-align:right; "/>
- <col ref="curncyunit" type="combo" visibility="hidden" maxlength="2">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="fixasetamt" type="output" format="#,###" maxlength="12" style="text-align:right; "/>
- <col ref="updtamt" type="output" format="#,###" maxlength="12" style="text-align:right; "/>
- <col ref="mainrec" type="output" maxlength="60"/>
- <col ref="custcd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="rtnreqdeptcd" visibility="hidden"/>
- <col ref="rtnreqdd" visibility="hidden"/>
- <col ref="rtnreqseq" visibility="hidden"/>
- <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");
- // model.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"));
- // }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", "","");
- // model.refresh();
- // }
- ]]>
- </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>
- </datagrid>
- </case>
- </switch>
- <button id="btn_tret" class="btn2_letter4" style="left:953px; top:442px; width:64px; height:19px; ">
- <caption>접수내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_chgnhistlist);
- model.setValue("/root/ref/cnt","0");
- //model.setValue("/root/ref/flag","1");
- window.load("SMRSC16000_고정자산이동및폐기접수.xrw", "modal", "pop1", "align center;min:hidden; max:hidden;","/root/ref","/root/ref");
-
- var cnt = model.getValue("/root/ref/cnt");
- for(i = 1 ; i < cnt ; i++){
- misfGridIUD(grd_chgnhistlist, "A");
- if(model.getValue("/root/ref/chgnhist["+i+"]/chantype") == "0"){
- model.setValue("/root/ref/chgnhist["+i+"]/chantype","4")
- }
- model.setValue("/root/main/chgnhistlist["+i+"]/fixasetcd",model.getValue("/root/ref/chgnhist["+i+"]/fixasetcd"));
- model.setValue("/root/main/chgnhistlist["+i+"]/goodflagengnm",model.getValue("/root/ref/chgnhist["+i+"]/goodflaghngnm"));
- model.setValue("/root/main/chgnhistlist["+i+"]/updtdd",model.getValue("/root/ref/chgnhist["+i+"]/tretdt"));
- model.setValue("/root/main/chgnhistlist["+i+"]/updtflag",model.getValue("/root/ref/chgnhist["+i+"]/chantype"));
- model.setValue("/root/main/chgnhistlist["+i+"]/upddeptcd",model.getValue("/root/ref/chgnhist["+i+"]/takeindeptcd"));
- model.setValue("/root/main/chgnhistlist["+i+"]/upddeptnm",model.getValue("/root/ref/chgnhist["+i+"]/takeindeptnm"));
- model.setValue("/root/main/chgnhistlist["+i+"]/chnginstallplcecd",model.getValue("/root/ref/chgnhist["+i+"]/takeoutdeptcd"));
- model.setValue("/root/main/chgnhistlist["+i+"]/installplcenm",model.getValue("/root/ref/chgnhist["+i+"]/takeoutdeptnm"));
- model.setValue("/root/main/chgnhistlist["+i+"]/fixasetamt",model.getValue("/root/ref/chgnhist["+i+"]/fixasetamt"));
- model.setValue("/root/main/chgnhistlist["+i+"]/instcd",model.getValue("/root/ref/chgnhist["+i+"]/instcd"));
-
- }
- grd_chgnhistlist.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="button26" class="btn3_letter4" visibility="hidden" style="left:0; top:3; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:920px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" 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="button2" class="btn4_letter2" style="left:1062px; top:3px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "자산코드리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- fsearch_excel();
- if (fileName != "") {
- grd_fixasetexcellist.saveExcel(fileName, "자산코드리스트", "sheetname:sheet1;colhiddenextend:false;");
- }
- ]]>
- </script>
- </button>
- <output id="opt_popinputcd" ref="/root/init/popinputcd" visibility="hidden" style="left:719px; top:5px; width:100px; height:19px; "/>
- <output id="opt_poptitle" ref="/root/init/poptitle" visibility="hidden" style="left:616px; top:5px; width:100px; height:19px; "/>
- <output id="opt_popformat" ref="/root/init/popformat" visibility="hidden" style="left:410px; top:5px; width:100px; height:19px; "/>
- <output id="opt_popcond" ref="/root/init/popcond" visibility="hidden" style="left:513px; top:5px; width:100px; height:19px; "/>
- </group>
- <group id="group5" style="left:0px; top:47px; width:1195px; height:163px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:160px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_mngtdeptcd_search" class="search_name" style="left:3px; top:105px; width:92px; height:17px; ">사용부서 :</caption>
- <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_search" navindex="5" style="left:98px; top:105px; width:100px; 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:201px; top:105px; 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="output_fix" navindex="6" editable="false" appearance="input" style="left:220px; top:105px; width:170px; height:19px; "/>
- <caption id="cap_instcd_search" class="search_name" style="left:3px; top:11px; width:117px; height:17px; ">기관코드 :</caption>
- <line id="line12" class="line_4" style="x1:1100px; y1:10px; x2:1100px; y2:152px; border-color:#ffd799; "/>
- <select1 id="cmb_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" class="input_search" navindex="9" appearance="minimal" style="left:530px; top:11px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
- cmb_lrgcd_search.value = "";
- cmb_lrgcd_search.refresh();
- cmb_lrgcd_search.dispatch("xforms-value-changed");
-
- fGridGoodflagCheck();
- ]]>
- </script>
- </select1>
- <caption id="cap_goodflag_search" class="search_name" style="left:435px; top:11px; width:88px; height:17px; ">물품구분 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" navindex="1" appearance="minimal" style="left:98px; top:11px; width:194px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:435px; top:105px; width:88px; height:17px; ">자산코드 :</caption>
- <input id="ipt_fixasetcd" ref="/root/send/fixasetlist/fixasetcd_search" class="input_search" navindex="13" imemode="disabled" _chartype="upper" appearance="input" style="left:530px; top:105px; width:170px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="21" style="left:1115px; top:65px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fsearch();
- ]]>
- </script>
- </button>
- <button id="button1" class="icon_search" navindex="-1" style="left:201px; top:81px; 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="output_fix" navindex="4" editable="false" appearance="input" style="left:220px; top:81px; width:170px; height:19px; "/>
- <input id="ipt_cntrdeptcd_search" ref="/root/send/fixasetlist/cntrdeptcd_search" class="input_search" navindex="3" style="left:98px; top:81px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_deptnm_search);
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:3px; top:81px; width:92px; height:17px; ">청구부서 :</caption>
- <caption id="cap_dsplflag_search" class="search_name" style="left:3px; top:35px; width:86px; height:17px; ">처분구분 :</caption>
- <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" class="input_search" navindex="10" appearance="minimal" style="left:530px; top:34px; width:170px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "Y", "Y");
- cmb_mdlcd_search.value="";
- cmb_lrgcd_search.refresh();
- cmb_mdlcd_search.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_possndd_search" class="search_name" visibility="visible" style="left:3px; top:129px; width:92px; height:17px; ">구입일자 :</caption>
- <caption id="caption3" class="search_name" style="left:435px; top:34px; width:88px; height:17px; ">대 분 류 :</caption>
- <input id="ipt_goodflagnm_search" ref="/root/send/fixasetlist/goodflagnm_search" class="input_search" navindex="12" style="left:530px; top:81px; width:170px; height:19px; "/>
- <caption id="caption5" visibility="visible" style="left:203px; top:129px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" class="input_search" navindex="11" appearance="minimal" style="left:530px; top:58px; width:170px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_search" navindex="8" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:220px; top:129px; width:100px; height:19px; text-align:center; "/>
- <caption id="cap_mdlcd_search" class="search_name" style="left:435px; top:58px; width:88px; height:17px; ">중 분 류 :</caption>
- <caption id="cap_goodflagengnm_search" class="search_name" style="left:435px; top:81px; width:88px; height:17px; ">자 산 명 :</caption>
- <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_search" navindex="7" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:98px; top:129px; width:100px; height:19px; text-align:center; "/>
- <select1 id="cmb_rfchmandlist_search" ref="/root/send/fixasetlist/rfchmandlist_search" class="combo_search" navindex="20" appearance="minimal" style="left:880px; top:83px; width:210px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_rfchmandlist_search" class="search_name" style="left:762px; top:83px; width:125px; height:17px; ">보수계약유무 :</caption>
- <input id="ipt_goodmodel_search" ref="/root/send/fixasetlist/goodmodel_search" class="input_search" navindex="14" style="left:530px; top:129px; width:170px; height:19px; "/>
- <caption id="cap_suplcecd_search" class="search_name" style="left:762px; top:11px; width:89px; height:17px; ">거 래 처 :</caption>
- <button id="btn_prodcmpycd_search" class="icon_search" navindex="-1" style="left:934px; top:35px; 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>
- <button id="btn_suplcecd_search" class="icon_search" navindex="-1" style="left:934px; 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");
-
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_acqtflag_search" ref="/root/send/fixasetlist/acqtflag_search" class="combo_search" navindex="19" appearance="minimal" style="left:852px; top:59px; width:238px; 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>
- <item>
- <label>외자</label>
- <value>7</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_prodcmpycd" class="search_name" style="left:762px; top:35px; width:117px; height:17px; ">제조회사 :</caption>
- <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_search" navindex="15" style="left:852px; 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.value + "," + "entrregno," + ipt_suplplcecd_search.value, "", "suplplcecd_search,suplplcenm_search",
- ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd");
- } else {
- ipt_suplplcenm_search.value = '';
- }
-
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suplplcenm_search" ref="/root/send/fixasetlist/suplplcenm_search" class="input_search" navindex="16" style="left:954px; top:11px; width:136px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcenm_search.value != '')
- {
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- cmb_instcd.value + "," + "custnm," + ipt_suplplcenm_search.value, "", "suplplcecd_search,suplplcenm_search",
- ipt_suplplcecd_search, "SPRSD00220", "instcd","cmb_instcd");
- }else
- {
- ipt_suplplcecd_search.value = '';
- }
-
- ipt_suplplcecd_search.refresh();
- ipt_suplplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpycd_search" ref="/root/send/fixasetlist/prodcmpycd_search" class="input_search" navindex="17" style="left:852px; top:35px; 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>
- <input id="ipt_prodcmpynm_search" ref="/root/send/fixasetlist/prodcmpynm_search" class="input_search" navindex="18" appearance="input" style="left:954px; top:35px; width:136px; 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>
- <caption id="cap_acqtflag_search" class="search_name" style="left:762px; top:59px; width:88px; height:17px; ">도입구분 :</caption>
- <caption id="cap_goodmodel_search" class="search_name" style="left:435px; top:129px; width:88px; height:17px; ">모 델 명 :</caption>
- <select id="chk_dsplflag_search" ref="/root/send/fixasetlist/dsplflag_search" disabled="false" navindex="2" overflow="visible" appearance="full" cellspacing="13" cols="4" sep="," vcellspacing="2" style="left:98px; top:35px; width:292px; height:41px; text-align:center; border-style:hidden; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var bfdsplflag = model.getValue("/root/temp/bfdsplflag");
- var dsplflag = model.getValue(chk_dsplflag_search.attribute("ref"));
-
- if (isSearchString(bfdsplflag, 'A')){
- model.setValue(chk_dsplflag_search.attribute("ref"), dsplflag.replace("A", ""));
- }else{
- dsplflagArr = dsplflag.split(",");
- for (var i=0; i< dsplflagArr.length; i++){
- if (dsplflagArr[i] == "A"){
- model.setValue(chk_dsplflag_search.attribute("ref"), "A");
- break;
- }
- }
- }
- model.makeValue("/root/temp/bfdsplflag", model.getValue(chk_dsplflag_search.attribute("ref")));
- chk_dsplflag_search.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </select>
- </group>
- </xhtml:body>
- </xhtml:html>
|