12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094 |
- <?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>
- <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>
- <cron>
- <updtdd/>
- <updtflag/>
- <mngtdeptcd/>
- <mngtdeptnm/>
- <installplcecd/>
- <installplcenm/>
- </cron>
- <addsearch/>
- <searchresult>
- <fixaset/>
- </searchresult>
- <saveresult/>
- </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>fViewListSetting</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();
- model.setFocus("ipt_fixasetcd");
- ]]>
- </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/saveresult"/>
- <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/temp/searchresult/fixaset"/>
- <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/saveresult"/>
- <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[
- ]]>
- </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; ">
- <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: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" visibility="hidden" 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;
-
- 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")) );
- model.setValue(grd_chgnhistlist.attribute("nodeset")+"["+cur_row+"]/cmt", grd_fixasetlist.valueMatrix(sel_row, grd_fixasetlist.colRef("cmt")) );
- }
- }
- grd_chgnhistlist.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption21" class="tit_2" style="left:0px; top:145px; width:69px; height:13px; ">자산목록</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:164px; x2:1194px; y2:163px; "/>
- <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="자산코드^자산명^자산명^모델명^규격^처분구분^구입금액^외화금액^화폐단위^구입일^거래처^제조원^제조국^청구부서^사용부서^사용부서^도입구분^설치장소^설치장소^관리번호^구코드^수입신고번호^분류번호(등급)^기관코드^중요장비^제조회사^공급처코드^상각방법^비고" colsep="^" colwidth="92, 240, 240, 150, 87, 60, 76, 75, 63, 73, 90, 104, 65, 100, 100, 75, 70, 100, 75, 75, 131, 108, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:167px; width:1194px; height:270px; ">
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodflaghngnm" style="text-align:left; padding-left:5; "/>
- <col ref="goodflagengnm" style="text-align:left; padding-left:5; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:5; "/>
- <col ref="goodspec" style="text-align:left; padding-left:5; "/>
- <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:5; "/>
- <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:5; "/>
- <col ref="mngtdeptnm" style="text-align:left; padding-left:5; "/>
- <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>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:5; "/>
- <col ref="installplcecd" style="text-align:center; "/>
- <col ref="mngtno" style="text-align:left; padding-left:5; "/>
- <col ref="oldcd" style="text-align:left; padding-left:5; "/>
- <col ref="incmreptno" style="text-align:left; padding-left:5; "/>
- <col ref="mtlmngtno" style="text-align:left; padding-left:5; "/>
- <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"/>
- <col ref="cmt" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if(selectedTab == "History") {
- fSearchHistory();
- }
- ]]>
- </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:140px; 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;
- selectedTab = "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;
- btn_tret.visible = false;
- //btn_multiaplly.visible = false;
- selectedTab = "History";
- fSearchHistory();
- ]]>
- </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:850px; top:442px; 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, 60, 90, 95, 110, 105, 130, 100, 100, 69, 85, 85, 115, 200, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="false" 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" visibility="hidden" maxlength="60"/>
- <col ref="cmt" type="input" maxlength="500"/>
- <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) {
- 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, 80, 127, 80, 134, 100, 100, 70, 100, 100, 200, 152, 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="cmt"/>
- <col ref="mainrec" visibility="hidden"/>
- <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="onaftersort">
- <![CDATA[
- grd_chgnhistlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_tret" class="btn2_letter4" style="left:958px; 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 id="grp_setlist" visibility="hidden" style="left:430px; top:535px; width:375px; height:111px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:375px; height:110px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input1" ref="/root/temp/cron/updtdd" class="input_search" navindex="14" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:10px; width:95px; height:19px; text-align:center; "/>
- <button id="button3" class="icon_search" navindex="-1" style="left:196px; top:35px; 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();
- ]]>
- </script>
- </button>
- <input id="ipt_cron_mngtdeptcd" ref="/root/temp/cron/mngtdeptcd" class="input_search" navindex="4" style="left:118px; top:35px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_cron_mngtdeptnm);
- ]]>
- </script>
- </input>
- <input id="ipt_cron_mngtdeptnm" ref="/root/temp/cron/mngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:215px; top:35px; width:150px; height:19px; "/>
- <select1 id="cmb_cron_updtflag" ref="/root/temp/cron/updtflag" class="combo_search" navindex="12" appearance="minimal" style="left:285px; top:10px; width:80px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="button4" class="icon_search" navindex="-1" style="left:196px; top:60px; 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="4" style="left:118px; top:60px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_cron_installplcenm);
- ]]>
- </script>
- </input>
- <input id="ipt_cron_installplcenm" ref="/root/temp/cron/installplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:215px; top:60px; width:150px; height:19px; "/>
- <button id="btn_seqapp" class="btn2_letter4" style="left:250px; top:85px; 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:10px; width:88px; height:17px; ">변동일자 :</caption>
- <caption id="caption8" class="search_name" style="left:195px; top:10px; width:88px; height:17px; ">변동구분 :</caption>
- <caption id="caption9" class="search_name" style="left:5px; top:35px; width:108px; height:17px; ">변경사용부서 :</caption>
- <caption id="caption10" class="search_name" style="left:5px; top:60px; width:115px; height:17px; ">변경설치장소 :</caption>
- <button id="button5" class="btn2_letter2" style="left:320px; top:85px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_chgnhistlist.disabled = false;
- grp_setlist.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </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_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:1068px; 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:133px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:131px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_mngtdeptcd_search" class="search_name" style="left:8px; top:103px; width:92px; height:17px; ">사용부서 :</caption>
- <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_search" navindex="4" style="left:103px; top:103px; width:75px; 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:181px; top:103px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdeptnm_search");
- ipt_mngtdeptcd_search.refresh();
- ipt_mngtdeptnm_search.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptnm_search" ref="/root/send/fixasetlist/mngtdeptnm_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:200px; top:103px; width:150px; height:19px; "/>
- <caption id="cap_instcd_search" class="search_name" style="left:8px; top:9px; width:117px; height:17px; ">기관코드 :</caption>
- <line id="line12" class="line_4" style="x1:1100px; y1:8px; x2:1100px; y2:120px; border-color:#ffd799; "/>
- <select1 id="cmb_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" class="input_search" navindex="5" appearance="minimal" style="left:510px; top:9px; 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[
- var goodflag = model.getValue(cmb_goodflag_search.attribute("ref"));
- if(goodflag == ""){
- model.setValue(cmb_lrgcd_search.attribute("ref"),"");
- model.setValue(cmb_mdlcd_search.attribute("ref"),"");
- cmb_lrgcd_search.disabled = true;
- cmb_mdlcd_search.disabled = true;
- }else{
- cmb_lrgcd_search.disabled = false;
- misfChangeItemsetFilter(cmb_lrgcd_search,"goodflag=null or goodflag='" + goodflag + "'");
- cmb_lrgcd_search.refresh();
- cmb_lrgcd_search.dispatch("xforms-value-changed");
- }
-
- fGridGoodflagCheck();
-
- model.setValue(cmb_lrgcd_search.attribute("ref"),"");
- model.setValue(cmb_mdlcd_search.attribute("ref"),"");
-
- fGridGoodflagCheck();
- ]]>
- </script>
- </select1>
- <caption id="cap_goodflag_search" class="search_name" style="left:415px; top:9px; 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:103px; top:9px; width:174px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:742px; top:102px; width:90px; height:17px; ">자산코드 :</caption>
- <input id="ipt_fixasetcd" ref="/root/send/fixasetlist/fixasetcd_search" class="input_search" navindex="16" imemode="disabled" _chartype="upper" appearance="input" style="left:832px; top:102px; width:170px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- if(event.keyCode == "13") {
- model.setFocus("ipt_fixasetcd");
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" navindex="17" style="left:1115px; top:57px; 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:181px; top:79px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_cntrdeptcd_search,"","cntrdeptcd_search,cntrdeptnm_search");
- ipt_cntrdeptcd_search.refresh();
- ipt_deptnm_search.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptnm_search" ref="/root/send/fixasetlist/cntrdeptnm_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:200px; top:79px; width:150px; height:19px; "/>
- <input id="ipt_cntrdeptcd_search" ref="/root/send/fixasetlist/cntrdeptcd_search" class="input_search" navindex="3" style="left:103px; top:79px; width:75px; 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:8px; top:79px; width:92px; height:17px; ">청구부서 :</caption>
- <caption id="cap_dsplflag_search" class="search_name" style="left:8px; top:33px; width:86px; height:17px; ">처분구분 :</caption>
- <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" class="input_search" disabled="true" navindex="6" appearance="minimal" style="left:510px; top:32px; width:170px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var goodflag = model.getValue(cmb_goodflag_search.attribute("ref"));
- var lrgcd = model.getValue(cmb_lrgcd_search.attribute("ref"));
- if(lrgcd == ""){
- cmb_mdlcd_search.disabled = true;
- }else{
- cmb_mdlcd_search.disabled = false;
- misfChangeItemsetFilter(cmb_mdlcd_search,"goodflag='" + goodflag + "' and lrgcd='" + lrgcd + "' or value=null");
- }
- model.setValue(cmb_mdlcd_search.attribute("ref"),"");
- cmb_mdlcd_search.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_possndd_search" class="search_name" visibility="visible" style="left:742px; top:79px; width:90px; height:17px; ">구입일자 :</caption>
- <caption id="caption3" class="search_name" style="left:415px; top:32px; width:88px; height:17px; ">대 분 류 :</caption>
- <input id="ipt_goodflagnm_search" ref="/root/send/fixasetlist/goodflagnm_search" class="input_search" navindex="8" style="left:510px; top:79px; width:170px; height:19px; "/>
- <caption id="caption5" visibility="visible" style="left:932px; top:80px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" class="input_search" disabled="true" navindex="7" appearance="minimal" style="left:510px; top:56px; 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="15" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:949px; top:80px; width:95px; height:19px; text-align:center; "/>
- <caption id="cap_mdlcd_search" class="search_name" style="left:415px; top:56px; width:88px; height:17px; ">중 분 류 :</caption>
- <caption id="cap_goodflagengnm_search" class="search_name" style="left:415px; top:79px; width:88px; height:17px; ">자 산 명 :</caption>
- <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_search" navindex="14" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:832px; top:80px; width:95px; height:19px; text-align:center; "/>
- <select1 id="cmb_rfchmandlist_search" ref="/root/send/fixasetlist/rfchmandlist_search" class="combo_search" navindex="13" appearance="minimal" style="left:1003px; top:57px; width:60px; 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:915px; top:57px; width:90px; height:17px; ">보수계약 :</caption>
- <input id="ipt_goodmodel_search" ref="/root/send/fixasetlist/goodmodel_search" class="input_search" navindex="9" style="left:510px; top:102px; width:170px; height:19px; "/>
- <caption id="cap_suplcecd_search" class="search_name" style="left:742px; top:9px; width:90px; height:17px; ">거 래 처 :</caption>
- <button id="btn_prodcmpycd_search" class="icon_search" navindex="-1" style="left:906px; top:33px; 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:906px; top:9px; 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="12" appearance="minimal" style="left:832px; top:57px; width:80px; 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:742px; top:33px; width:90px; height:17px; ">제조회사 :</caption>
- <input id="ipt_suplplcecd_search" ref="/root/send/fixasetlist/suplplcecd_search" class="input_search" navindex="10" style="left:832px; top:9px; width:70px; 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="output_fix" navindex="-1" editable="false" style="left:926px; top:9px; width:136px; height:19px; "/>
- <input id="ipt_prodcmpycd_search" ref="/root/send/fixasetlist/prodcmpycd_search" class="input_search" navindex="11" style="left:832px; top:33px; width:70px; 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="output_fix" navindex="-1" editable="false" appearance="input" style="left:926px; top:33px; width:136px; height:19px; "/>
- <caption id="cap_acqtflag_search" class="search_name" style="left:742px; top:57px; width:90px; height:17px; ">도입구분 :</caption>
- <caption id="cap_goodmodel_search" class="search_name" style="left:415px; top:102px; 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="11" cols="4" sep="," vcellspacing="2" style="left:103px; top:33px; width:227px; 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>
- </select>
- <bool id="chk_addsearch" checkvalue="Y,N" ref="/root/temp/addsearch" style="left:1108px; top:84px; width:20px; height:20px; "/>
- <caption id="caption11" style="left:1128px; top:84px; width:55px; height:20px; ">추가조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|