12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="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="">
- <init>
- <prcsstat>
- <label>신청</label>
- <value>A</value>
- <label>접수</label>
- <value>C</value>
- <label>발주</label>
- <value>P</value>
- <label>입고</label>
- <value>W</value>
- </prcsstat>
- <iopsnflag>
- <label>내자</label>
- <value>H</value>
- <label>외자</label>
- <value>F</value>
- </iopsnflag>
- <paycond>
- <label>정상결제</label>
- <value>1</value>
- <label>지불필</label>
- <value>2</value>
- </paycond>
- <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>
- </init>
- <main>
- <list>
- <eqmtplceordlist/>
- <eqmtplcewinlist/>
- <fixasetcd>
- <fixasetcdlist/>
- </fixasetcd>
- <lrg>
- <lrglist/>
- </lrg>
- <mdl>
- <mdllist/>
- </mdl>
- </list>
- <cp_node>
- <eqmtplcewinlist>
- <suplplcecd/>
- <suplplcenm/>
- <prodcmpy/>
- <prodcmpynm/>
- <prodplce/>
- <curncyunit>\</curncyunit>
- <calcdocukind/>
- <calcdocudd/>
- <installplcecd/>
- <installplcenm/>
- <plcewinqty/>
- <plcewinamt/>
- <forgncurncyamt/>
- <chgrate/>
- <wncurncyamt/>
- <forgnwinamt/>
- </eqmtplcewinlist>
- </cp_node>
- </main>
- <send>
- <sendlist>
- <instcd/>
- <prcsstat/>
- <frmpurcacptdd/>
- <topurcacptdd/>
- <frmplceorddd/>
- <toplceorddd/>
- <reqdeptcd/>
- <reqdeptnm/>
- <purcacptflag/>
- <goodflag/>
- <suplplcecd/>
- <suplplcenm/>
- <goodflagengnm/>
- </sendlist>
- <sendlist_detail>
- <instcd/>
- <goodflag/>
- <plceorddd/>
- <plceordseqno/>
- </sendlist_detail>
- <save>
- <eqmtplcewinlist/>
- </save>
- <lrgcd>
- <lrgcd/>
- <mdlcd/>
- <instcd/>
- <goodflag/>
- </lrgcd>
- </send>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- misfMsterDetailSet(grd_eqmtplceordlist, null , "TRRSR04201", "N");
- misfMsterDetailSet(grd_eqmtplcewinlist,grd_eqmtplceordlist, "TRRSI03101", "Y");
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRRSR04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist" resultref="/root/main/list/eqmtplceordlist"/>
- <submission id="TRRSI03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist_detail" resultref="/root/main/list/eqmtplcewinlist"/>
- <submission id="TXRSI03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TRRSD11104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/lrgcd" resultref="/root/main/list/lrg"/>
- <submission id="TRRSD11105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/lrgcd" resultref="/root/main/list/mdl"/>
- <submission id="TRRSD11106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/lrgcd" resultref="/root/main/list/sml"/>
- <submission id="TRRFC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetcd"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
-
- misfGridInit(grd_eqmtplceordlist);
- misfGridInit(grd_eqmtplcewinlist);
-
- misfGridInit(grd_lrglist);
- misfGridInit(grd_mdllist);
- misfGridInit(grd_fixasetcdlist);
-
- rszfUserInstList(cmb_instcd_search,getUserInfo("userid"));
- // model.setValue(ipt_reqdeptcd_search.attribute("ref"), getUserInfo("dutplcecd"));
- // model.setValue(ipt_reqdeptnm_search.attribute("ref"), getUserInfo("dutplcenm"));
- model.setValue(cmb_instcd_search.attribute("ref") , getUserInfo("dutplceinstcd"));
- //misfComboComCdListMulti("R0047,R0035,R0116","cmb_curncyunit,cmb_prodplce,cmb_prcsstat_search");
- //2009.01.23. 기관코드 전체다이보이게 수정 김인성 선생님 요구사항 -김동환 수정
- misfComboComCdListMulti("R0047,R0035,R0116,Z0007","cmb_curncyunit,cmb_prodplce,cmb_prcsstat_search,cmb_instcd_search");
-
- rszfComboBugtList(cmb_bugtflag,getUserInfo("dutplceinstcd"));
- rszfComboAppendBlankChild("cmb_prcsstat_search");
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
-
- model.setValue(ipt_frmplceorddd.attribute("ref") , cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
- model.setValue(ipt_toplceorddd.attribute("ref") ,curdate);
-
- // 구매 승인된 청구건만 보여준다.
- model.setValue(opt_purcacptflag.attribute("ref"), "Y");
- // hidden ( 물품구분 -> 의료장비 )
- model.setValue(ipt_goodflag.attribute("ref") ,"EQ");
-
- if(cmb_instcd_search.length> 0) cmb_instcd_search.selectedindex= 0;
- fAllControlDisabled('Y');
-
- btn_search.dispatch("DOMActivate");
-
- model.refresh();
- }
-
- function fCheckSaveData()
- {
- if(model.getValue(cmb_instcd_search.attribute("ref")).length== 0 )
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- return false;
- }
- if(model.getValue(ipt_windd.attribute("ref")).length== 0 )
- {
- messageBox("입고일자를 " ,"C001");
- model.setFocus("ipt_windd");
- return false;
- }
-
- if(model.getValue(ipt_lrgcd.attribute("ref")).length== 0 )
- {
- messageBox("대분류코드를 " ,"C001");
- model.setFocus("ipt_lrgcd");
- return false;
- }
- if(model.getValue(ipt_mdlcd.attribute("ref")).length== 0 )
- {
- messageBox("중분류코드를 " ,"C001");
- model.setFocus("ipt_mdlcd");
- return false;
- }
-
- if(model.getValue(rdo_iopsnflag.attribute("ref")).length== 0 )
- {
- messageBox("내외자구분을 " ,"C001");
- model.setFocus("rdo_iopsnflag");
- return false;
- }
- /*
- if(model.getValue(cmb_calcdocukind.attribute("ref")).length== 0 )
- {
- messageBox("세금계산서유형을 " ,"C001");
- model.setFocus("cmb_calcdocukind");
- return false;
- }
- */
- /*
- if(model.getValue(ipt_calcdocudd.attribute("ref")).length== 0 )
- {
- messageBox("세금계산서일자를 " ,"C001");
- model.setFocus("ipt_calcdocudd");
- return false;
- }
- */
- if(model.getValue(ipt_plcewinqty.attribute("ref")).length == 0 || model.getValue(ipt_plcewinqty.attribute("ref")) == 0 )
- {
- messageBox("입고수량을 " ,"C001");
- model.setFocus("ipt_plcewinqty");
- return false;
- }
-
- if(model.getValue(ipt_plcewinamt.attribute("ref")).length== 0 || model.getValue(ipt_plcewinamt.attribute("ref")) == 0 )
- {
- messageBox("원화금액을 " ,"C001");
- model.setFocus("ipt_plcewinamt");
- return false;
- }
-
- if(model.getValue(ipt_goodflagengnm.attribute("ref")).length== 0 )
- {
- messageBox("장비명을 " ,"C001");
- model.setFocus("ipt_goodflagengnm");
- return false;
- }
- // if(model.getValue(ipt_goodflaghngnm.attribute("ref")).length== 0 )
- // {
- // messageBox("장비명(한글)을 " ,"C001");
- // model.setFocus("ipt_goodflaghngnm");
- // return false;
- // }
- if(model.getValue(ipt_cntrdeptnm.attribute("ref")).length== 0 )
- {
- messageBox("귀속부서를 " ,"C001");
- model.setFocus("ipt_cntrdeptnm");
- return false;
- }
- if(model.getValue(ipt_mngtdeptnm.attribute("ref")).length== 0 )
- {
- messageBox("관리부서를 " ,"C001");
- model.setFocus("ipt_mngtdeptnm");
- return false;
- }
-
- if(model.getValue(cmb_acqtflag.attribute("ref")).length== 0 )
- {
- messageBox("도입구분을 " ,"C001");
- model.setFocus("cmb_acqtflag");
- return false;
- }
- if(model.getValue(cmb_paycond.attribute("ref")).length== 0 )
- {
- messageBox("결재조건을 " ,"C001");
- model.setFocus("cmb_paycond");
- return false;
- }
-
-
- return true;
- }
- /* 내/외자 선택에 의한 disable 처리 */
- function fSetDispByIopsnflag()
- {
- if(rdo_iopsnflag.value == "H")
- {
-
- ipt_plcewinamt.disabled="false";
- ipt_forgnwinamt.disabled="true";
- ipt_chgrate.disabled="true";
- //ipt_etccostrt.disabled="true";
- cmb_curncyunit.disabled="true";
- }
- else
- {
- ipt_plcewinamt.disabled="true";
- ipt_forgnwinamt.disabled="false";
- ipt_chgrate.disabled="false";
- //ipt_etccostrt.disabled="false";
- cmb_curncyunit.disabled="false";
- }
- model.refresh();
- }
-
- function fSetAmt()
- {
- /*-----------------------------------------------------------------------------------------------------------
- * 내/외자에따른 금액 셋팅
- * 내자인경우 외자금액및단가 0 ,
- 원화금액 및 단가는 발주시 금액으로 계산
-
- * 외자인경우 외자금액및단가는 발주시금액
- 원화금액 및 단가는 외자관리 총금액 ( costamt) 로 계산
- -----------------------------------------------------------------------------------------------------------*/
- if (grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("iopsnflag")) == 'H' )
- {
- model.setValue(ipt_plcewinamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("plceordamt"))); // 원화금액
- model.setValue(ipt_wncurncyamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("plceordamt"))
- / ipt_plcewinqty.value ); // 원화단가
-
- model.setValue(ipt_forgnwinamt.attribute("ref"), "0"); // 외화금액
- model.setValue(ipt_forgncurncyamt.attribute("ref"), "0"); // 외화단가
- }
- else if (grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("iopsnflag")) == 'F' )
- {
- model.setValue(ipt_plcewinamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("costamt"))); // 원화금액
- model.setValue(ipt_wncurncyamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("costamt"))
- / ipt_plcewinqty.value ); // 원화단가
-
- model.setValue(ipt_forgnwinamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("forgnordamt"))); // 외화금액
- model.setValue(ipt_forgncurncyamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("forgnordamt"))
- / ipt_plcewinqty.value ); // 외화단가
- }
-
- }
- function fSetAmtByIopsnflag()
- {
- if(rdo_iopsnflag.value == "H")
- {
- model.setValue(ipt_chgrate.attribute("ref"),"0" );
- model.setValue(ipt_forgnwinamt.attribute("ref"),"0" );
- //model.setValue(ipt_etccostrt.attribute("ref"),"0" );
- model.setValue(ipt_forgncurncyamt.attribute("ref"),"0" );
- }
- else
- {
- // 원화 := 외화*환율 + ((외화*환율*부대비용율)/100)
- var bugtwncurncy = ( parseInt(ipt_forgnwinamt.value) * parseInt(ipt_chgrate.value) ) +
- ( ( parseInt(ipt_forgnwinamt.value) * parseInt(ipt_chgrate.value) ) / 100 ) ;
- // ( ( parseInt(ipt_forgnwinamt.value) * parseInt(ipt_chgrate.value) * parseInt(ipt_etccostrt.value) ) / 100 ) ;
- var wncurncyamt = bugtwncurncy / ipt_plcewinqty.value;
- if (isNaN(bugtwncurncy))
- {
- model.setValue(ipt_plcewinamt.attribute("ref") ,"0" );
- model.setValue(ipt_wncurncyamt.attribute("ref"),"0" );
- }
- else
- {
- model.setValue(ipt_plcewinamt.attribute("ref") ,bugtwncurncy );
- model.setValue(ipt_wncurncyamt.attribute("ref"),wncurncyamt );
- }
- }
- model.refresh();
- }
-
- function fSave()
- {
-
- misfGridRowStatusChange(grd_eqmtplcewinlist,"/root/main/list","/root/main/cp_node");
- model.refresh();
- misfSave("TXRSI03101");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error" )btn_search.dispatch("DOMActivate");
- }
- /*--------------------------------------------------------------------------------*/
- /* 화면 open시 disable ..행추가시 또는 조회후 값 존재시 enable */
- /*--------------------------------------------------------------------------------*/
- function fAllControlDisabled(pDisableYn)
- {
- if(pDisableYn == "Y")
- {
- ipt_windd.disabled="true";
- ipt_winno.disabled="true";
- //ipt_lrgcd.disabled="true";
- //opt_lrgnm.disabled="true";
- //ipt_mdlcd.disabled="true";
- //opt_mdlnm.disabled="true";
- //ipt_smlcd.disabled="true";
- //opt_smlnm.disabled="true";
- ipt_suplplcecd.disabled="true";
- opt_suplplcenm.disabled="true";
- ipt_goodflagengnm.disabled="true";
- ipt_goodflaghngnm.disabled="true";
- ipt_goodnm.disabled="true";
- ipt_goodmodel.disabled="true";
- ipt_prodcmpy.disabled="true";
- ipt_prodcmpynm.disabled="true";
- cmb_prodplce.disabled="true";
- rdo_iopsnflag.disabled="true";
- //ipt_forgncurncyamt.disabled="true";
- cmb_curncyunit.disabled="true";
- //ipt_wncurncyamt.disabled="true";
- ipt_plcewinqty.disabled="true";
- ipt_forgnwinamt.disabled="true";
- ipt_chgrate.disabled="true";
- ipt_plcewinamt.disabled="true";
- //cmb_calcdocukind.disabled="true";
- //ipt_calcdocudd.disabled="true";
- ipt_incmpemtno.disabled="true";
- ipt_mtlmngtno.disabled="true";
- rdo_eqmtearnvaluyn.disabled="true";
- ipt_installplcecd.disabled="true";
- opt_installplcenm.disabled="true";
- btn_suplplcecd.disabled="true";
- btn_installplcecd.disabled="true";
-
- ipt_cntrdeptnm.disabled="true";
- ipt_mngtdeptnm.disabled="true";
- cmb_acqtflag.disabled="true";
- cmb_paycond.disabled="true";
- ipt_bugtyy.disabled="true";
- cmb_bugtflag.disabled="true";
- ipt_stdysubjnm.disabled="true";
- ipt_flwgrnttermfr.disabled="ture";
- ipt_flwgrnttermto.disabled="true";
-
-
-
- }
- else
- {
- ipt_windd.disabled="false";
- ipt_winno.disabled="false";
- //ipt_lrgcd.disabled="false";
- //opt_lrgnm.disabled="false";
- //ipt_mdlcd.disabled="false";
- //opt_mdlnm.disabled="false";
- //ipt_smlcd.disabled="false";
- //opt_smlnm.disabled="false";
- ipt_suplplcecd.disabled="false";
- opt_suplplcenm.disabled="false";
- ipt_goodflagengnm.disabled="false";
- ipt_goodflaghngnm.disabled="false";
- ipt_goodnm.disabled="false";
- ipt_goodmodel.disabled="false";
- ipt_prodcmpy.disabled="false";
- ipt_prodcmpynm.disabled="false";
- cmb_prodplce.disabled="false";
- rdo_iopsnflag.disabled="false";
- //ipt_forgncurncyamt.disabled="false";
- cmb_curncyunit.disabled="false";
- //ipt_wncurncyamt.disabled="false";
- ipt_plcewinqty.disabled="false";
- ipt_forgnwinamt.disabled="false";
- ipt_chgrate.disabled="false";
- ipt_plcewinamt.disabled="false";
- //cmb_calcdocukind.disabled="false";
- //ipt_calcdocudd.disabled="false";
- ipt_incmpemtno.disabled="false";
- ipt_mtlmngtno.disabled="false";
- rdo_eqmtearnvaluyn.disabled="false";
- ipt_installplcecd.disabled="false";
- opt_installplcenm.disabled="false";
- btn_suplplcecd.disabled="false";
- btn_installplcecd.disabled="false";
- ipt_cntrdeptnm.disabled="false";
- ipt_mngtdeptnm.disabled="false";
- cmb_acqtflag.disabled="false";
- cmb_paycond.disabled="false";
- ipt_bugtyy.disabled="false";
- cmb_bugtflag.disabled="false";
- ipt_stdysubjnm.disabled="false";
- ipt_flwgrnttermfr.disabled="false";
- ipt_flwgrnttermto.disabled="false";
- }
- model.refresh();
- }
- function fReplacefilename()
- {
- if(model.getValue(ipt_attfilepathnm.attribute("ref")).length !=0)
- {
- var attfilepathnm = model.getValue(ipt_attfilepathnm.attribute("ref"));
- var replacepath = "";
- attfilepathnmlist = attfilepathnm.split("\\");
-
- for(var i = 0 ; i < attfilepathnmlist.length ; i++ )
- {
- if(attfilepathnmlist[i].length>0)
- {
- if (i == 0) replacepath = replacepath + attfilepathnmlist[i];
- else replacepath = replacepath + '\\'+attfilepathnmlist[i];
- }
- }
- model.setValue(ipt_attfilepathnm.attribute("ref"),replacepath);
- model.refresh();
-
- }
- }
- function fMovecd(pgrid_name)
- {
- if(model.GetValue(ipt_windd.attribute("ref")).length == 0)
- {
- messageBox("행추가를 먼저하시거나 입고일자를 먼저 " ,"C002");
- //model.setFocus("cmb_instcd_search");
- return;
- }
- if(swh_select.selectedIndex == 1)
- {
-
- if(pgrid_name == "grd_mdllist")
- {
- if (grd_mdllist.row > 0)
- {
- //model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/goodcd",grd_goodlist.valueMatrix(grd_goodlist.row , grd_goodlist.colRef("goodcd")));
-
- /* 대분류 */
- model.setValue(ipt_lrgcd.attribute("ref"), grd_lrglist.valueMatrix(grd_lrglist.row , grd_lrglist.colRef("lrgcd")));
- model.setValue(opt_lrgnm.attribute("ref"), grd_lrglist.valueMatrix(grd_lrglist.row , grd_lrglist.colRef("lrgnm")));
- /* 중분류*/
- model.setValue(ipt_mdlcd.attribute("ref"), grd_mdllist.valueMatrix(grd_mdllist.row , grd_mdllist.colRef("mdlcd")));
- model.setValue(opt_mdlnm.attribute("ref"), grd_mdllist.valueMatrix(grd_mdllist.row , grd_mdllist.colRef("mdlnm")));
- /* 소분류 */
- model.setValue(ipt_smlcd.attribute("ref"), "");
- model.setValue(opt_smlnm.attribute("ref"), "");
-
- model.setValue(ipt_goodnm.attribute("ref"), grd_mdllist.valueMatrix(grd_mdllist.row , grd_mdllist.colRef("mdlnm")) );
- model.refresh();
- }
- }
- else if(pgrid_name == "grd_lrglist")
- {
- if (grd_mdllist.row > 0)
- {
- //model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/goodcd",grd_goodlist.valueMatrix(grd_goodlist.row , grd_goodlist.colRef("goodcd")));
-
- /* 대분류 */
- model.setValue(ipt_lrgcd.attribute("ref"), grd_lrglist.valueMatrix(grd_lrglist.row , grd_lrglist.colRef("lrgcd")));
- model.setValue(opt_lrgnm.attribute("ref"), grd_lrglist.valueMatrix(grd_lrglist.row , grd_lrglist.colRef("lrgnm")));
- /* 중분류*/
- model.setValue(ipt_mdlcd.attribute("ref"), "");
- model.setValue(opt_mdlnm.attribute("ref"), "");
- /* 소분류 */
- model.setValue(ipt_smlcd.attribute("ref"), "");
- model.setValue(opt_smlnm.attribute("ref"), "");
-
- //model.setValue(ipt_goodnm.attribute("ref"), grd_lrglist.valueMatrix(grd_lrglist.row , grd_lrglist.colRef("lrgnm")) );
-
- model.refresh();
- }
- }
- }
- else
- {
-
- if (grd_fixasetcdlist.row > 0)
- {
- //model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/goodcd",grd_goodlist.valueMatrix(grd_goodlist.row , grd_goodlist.colRef("goodcd")));
-
- /* 대분류 */
- model.setValue(ipt_lrgcd.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("lrgcd")));
- model.setValue(opt_lrgnm.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("lrgnm")));
- /* 중분류*/
- model.setValue(ipt_mdlcd.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("mdlcd")));
- model.setValue(opt_mdlnm.attribute("ref"), grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row , grd_fixasetcdlist.colRef("mdlnm")));
-
- model.refresh();
- }
- }
- }
- function fDefaultSetting()
- {
- model.setValue(ipt_windd.attribute("ref"), getCurrentDate());
- model.setValue(ipt_calcdocudd.attribute("ref"), getCurrentDate());
-
- model.setValue(ipt_lrgcd.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("lrgcd")));
- model.setValue(opt_lrgnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("lrgnm")));
- model.setValue(ipt_mdlcd.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("mdlcd")));
- model.setValue(opt_mdlnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("mdlnm")));
- model.setValue(ipt_suplplcecd.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("suplplcecd")));
- model.setValue(opt_suplplcenm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("suplplcenm")));
- model.setValue(ipt_goodnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("goodflaghngnm")));
- model.setValue(ipt_goodflagengnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("goodnm")));
- model.setValue(ipt_goodflaghngnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("goodflaghngnm")));
- model.setValue(ipt_goodmodel.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("goodmodel")));
- model.setValue(ipt_prodcmpy.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("prodcmpy")));
- model.setValue(ipt_prodcmpynm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("prodcmpynm")));
- model.setValue(cmb_prodplce.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("prodplce")));
-
- model.setValue(rdo_iopsnflag.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("iopsnflag")));
- model.setValue(ipt_forgncurncyamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("forgncurncyamt")));
- //model.setValue(ipt_wncurncyamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("wncurncyamt")));
-
- model.setValue(cmb_curncyunit.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("curncyunit")));
- //model.setValue(ipt_chgrate.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("chgrate")));
- model.setValue(ipt_installplcecd.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("installplcecd")));
- model.setValue(opt_installplcenm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("installplcenm")));
- model.setValue(ipt_cntrdeptcd.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("cntrdeptcd")));
- model.setValue(ipt_cntrdeptnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("cntrdeptnm")));
- model.setValue(ipt_mngtdeptcd.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("mngtdeptcd")));
- model.setValue(ipt_mngtdeptnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("mngtdeptnm")));
-
- model.setValue(ipt_bugtyy.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("bugtyy")));
- model.setValue(cmb_bugtflag.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("bugtflag")));
- model.setValue(ipt_stdysubjno.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("stdysubjno")));
- model.setValue(ipt_stdysubjnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("stdysubjnm")));
- model.setValue(ipt_plcewinqty.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("plceordqty")));
- fSetAmt()
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:129px; height:14px; ">장비입고관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:742px; ">
- <line id="line7" class="line_2" style="x1:340px; y1:658px; x2:739px; y2:658px; "/>
- <line id="line6" class="line_2" style="x1:340px; y1:443px; x2:845px; y2:443px; "/>
- <line id="line28" class="line_2" style="x1:340px; y1:539px; x2:845px; y2:539px; "/>
- <line id="line38" class="line_2" style="x1:340px; y1:610px; x2:845px; y2:610px; "/>
- <line id="line37" class="line_2" style="x1:340px; y1:586px; x2:845px; y2:586px; "/>
- <line id="line15" class="line_2" style="x1:340px; y1:397px; x2:845px; y2:397px; "/>
- <line id="line14" class="line_2" style="x1:340px; y1:420px; x2:845px; y2:420px; "/>
- <line id="line35" class="line_2" style="x1:340px; y1:562px; x2:845px; y2:562px; "/>
- <line id="line13" class="line_1" style="x1:340px; y1:371px; x2:845px; y2:371px; "/>
- <line id="line12" class="line_2" style="x1:340px; y1:682px; x2:845px; y2:682px; "/>
- <line id="line8" class="line_3" style="x1:340px; y1:731px; x2:845px; y2:731px; "/>
- <line id="line40" class="line_2" style="x1:340px; y1:634px; x2:845px; y2:634px; "/>
- <line id="line11" class="line_2" style="x1:340px; y1:658px; x2:845px; y2:658px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9; width:86px; height:17px; ">기관코드 :</caption>
- <caption id="caption11" class="search_name" style="left:343px; top:9; width:86px; height:17px; ">청구부서 :</caption>
- <input id="ipt_reqdeptcd_search" ref="/root/send/sendlist/reqdeptcd" class="input_default" style="left:429px; top:8px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptcd_search.value.length == 0)
- ipt_reqdeptnm_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_reqdeptcd_search.value, "", "reqdeptcd,reqdeptnm",
- ipt_reqdeptcd_search, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button5" class="icon_search" style="left:520px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd_search,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqdeptnm_search" ref="/root/send/sendlist/reqdeptnm" class="input_fix" appearance="input" style="left:539px; top:8px; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptnm_search.value.length == 0)
- ipt_reqdeptcd_search.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_reqdeptnm_search.value, "", "reqdeptcd,reqdeptnm",
- ipt_reqdeptnm_search, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line30" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:52px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1124px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 외자관리 grid clear 한다.
- model.resetInstanceNode("/root/main/cp_node");
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <input id="ipt_frmplceorddd" ref="/root/send/sendlist/frmplceorddd" class="input_default" inputtype="date" style="left:100px; top:34; width:90px; height:19px; "/>
- <caption id="caption19" class="search_name" style="left:15px; top:35; width:86px; height:17px; ">발주일자 :</caption>
- <input id="ipt_toplceorddd" ref="/root/send/sendlist/toplceorddd" class="input_default" inputtype="date" style="left:212px; top:34; width:90px; height:19px; "/>
- <button id="bnt_suplplcecd" class="icon_search" style="left:520px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd_search,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd_search");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:346px; top:35; width:86px; height:17px; ">거 래 처 :</caption>
- <input id="ipt_suplplcecd_search" ref="/root/send/sendlist/suplplcecd" class="input_essential" maxlength="10" style="left:429px; top:34; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcecd_search.value.length == 0)
- ipt_suplplcenm_search.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(cmb_instcd_search.attribute("ref")) +",," + model.getValue(ipt_suplplcecd_search.attribute("ref")),"","suplplcecd,suplplcenm" ,ipt_suplplcecd_search,"SPRSD00220","instcd","cmb_instcd_search");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_suplplcenm_search" ref="/root/send/sendlist/suplplcenm" class="input_fix" appearance="input" style="left:539px; top:34; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcenm_search.value.length == 0)
- ipt_suplplcecd_search.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd_search.attribute("ref")) +",," + model.getValue(ipt_suplplcenm_search.attribute("ref")),"","suplplcecd,suplplcenm" ,
- ipt_suplplcenm_search,"SPRSD00220","instcd","cmb_instcd_search");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:724px; top:35; width:86px; height:17px; ">진행상태 :</caption>
- <select1 id="cmb_prcsstat_search" ref="/root/send/sendlist/prcsstat" class="combo_default" appearance="minimal" style="left:809px; top:34; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prcsstat">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption14" class="search_no_b" style="left:195px; top:35px; width:12px; height:17px; ">~</caption>
- </group>
- <caption id="caption4" class="tit_2" style="left:5px; top:79px; width:157px; height:13px; ">장비발주 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:94px; x2:1194px; y2:94px; "/>
- <line id="line3" class="line_1" style="x1:0px; y1:371px; x2:330px; y2:371px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:356px; width:100px; height:13px; ">입고내역</caption>
- <input id="ipt_plcewinamt" ref="/root/main/cp_node/eqmtplcewinlist/plcewinamt" class="input_s_essential" format="#,###" style="left:736px; top:590px; width:109px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAmtByIopsnflag();
- ]]>
- </script>
- </input>
- <output id="opt_installplcenm" ref="/root/main/cp_node/eqmtplcewinlist/installplcenm" class="output_fix" style="left:417px; top:638px; width:133px; height:19px; "/>
- <input id="ipt_installplcecd" ref="/root/main/cp_node/eqmtplcewinlist/installplcecd" visibility="hidden" style="left:735px; top:375px; width:22px; height:19px; "/>
- <caption id="caption61" class="tit_2" style="left:345px; top:356px; width:95px; height:13px; ">입고내역상세</caption>
- <input id="ipt_goodnm" ref="/root/main/cp_node/eqmtplcewinlist/goodnm" class="input_default" visibility="visible" style="left:417px; top:446px; width:428px; height:19px; "/>
- <input id="ipt_prodcmpy" ref="/root/main/cp_node/eqmtplcewinlist/prodcmpy" class="input_default" visibility="hidden" style="left:695px; top:415px; width:33px; height:19px; "/>
- <input id="ipt_chgrate" ref="/root/main/cp_node/eqmtplcewinlist/chgrate" class="input_default" visibility="hidden" style="left:790px; top:375px; width:24px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAmtByIopsnflag();
- ]]>
- </script>
- </input>
- <caption id="caption30" class="cell_1" style="left:340px; top:469px; width:75px; height:23px; vertical-align:middle; ">품명(한글)</caption>
- <output id="opt_smlnm" ref="/root/main/cp_node/eqmtplcewinlist/smlnm" visibility="hidden" style="left:770px; top:378px; width:16px; height:19px; "/>
- <output id="opt_lrgnm" ref="/root/main/cp_node/eqmtplcewinlist/lrgnm" class="output_fix" style="left:468px; top:401px; width:157px; height:19px; "/>
- <input id="ipt_incmpemtno" ref="/root/main/cp_node/eqmtplcewinlist/incmpemtno" style="left:417px; top:662px; width:161px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:340px; top:660px; width:75px; height:23px; vertical-align:middle; ">허가번호</caption>
- <input id="ipt_goodflagengnm" ref="/root/main/cp_node/eqmtplcewinlist/goodflagengnm" class="input_s_essential" style="left:417px; top:424px; width:428px; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:340px; top:588px; width:55px; height:23px; vertical-align:middle; ">외화단가</caption>
- <caption id="caption10" class="cell_1" style="left:340px; top:518px; width:75px; height:22px; vertical-align:middle; ">제조국</caption>
- <caption id="caption21" class="cell_1" style="left:340px; top:470px; width:75px; height:23px; vertical-align:middle; ">모델</caption>
- <input id="ipt_forgnwinamt" ref="/root/main/cp_node/eqmtplcewinlist/forgnwinamt" class="input_default" format="#,###" style="left:565px; top:590px; width:106px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAmtByIopsnflag();
- ]]>
- </script>
- </input>
- <caption id="caption33" class="cell_1" style="left:340px; top:399px; width:75px; height:22px; vertical-align:middle; ">대/중분류</caption>
- <caption id="caption44" class="cell_1" style="left:340px; top:541px; width:75px; height:22px; vertical-align:middle; ">내자/외자</caption>
- <button id="btn_prodcmpy" class="icon_search" style="left:550px; top:495px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpy,"","prodcmpy,prodcmpynm","SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption34" class="cell_1" style="left:340px; top:422px; width:77px; height:23px; vertical-align:middle; ">장비명(영문)</caption>
- <output id="opt_mdlnm" ref="/root/main/cp_node/eqmtplcewinlist/mdlnm" class="output_fix" style="left:679px; top:401px; width:166px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:580px; top:518px; width:81px; height:22px; vertical-align:middle; ">거래처</caption>
- <input id="ipt_forgncurncyamt" ref="/root/main/cp_node/eqmtplcewinlist/forgncurncyamt" class="input_default" disabled="true" format="#,###" style="left:397px; top:590px; width:106px; height:19px; text-align:right; "/>
- <caption id="caption23" class="cell_1" style="left:505px; top:588px; width:58px; height:23px; vertical-align:middle; ">외화금액</caption>
- <input id="ipt_suplplcecd" ref="/root/main/cp_node/eqmtplcewinlist/suplplcecd" class="input_default" visibility="hidden" style="left:715px; top:375px; width:22px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:340px; top:494px; width:75px; height:23px; vertical-align:middle; ">제조원</caption>
- <caption id="caption24" class="cell_1" style="left:674px; top:588px; width:60px; height:23px; vertical-align:middle; ">원화금액</caption>
- <input id="ipt_mtlmngtno" ref="/root/main/cp_node/eqmtplcewinlist/mtlmngtno" style="left:679px; top:662px; width:163px; height:19px; "/>
- <select1 id="rdo_iopsnflag" ref="/root/main/cp_node/eqmtplcewinlist/iopsnflag" class="input_s_essential" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:417px; top:543px; width:161px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/iopsnflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetDispByIopsnflag();
- fSetAmtByIopsnflag();
- ]]>
- </script>
- </select1>
- <input id="ipt_goodmodel" ref="/root/main/cp_node/eqmtplcewinlist/goodmodel" class="input_default" style="left:417px; top:472px; width:428px; height:19px; "/>
- <input id="ipt_smlcd" ref="/root/main/cp_node/eqmtplcewinlist/smlcd" visibility="hidden" style="left:755px; top:378px; width:15px; height:19px; "/>
- <input id="ipt_lrgcd" ref="/root/main/cp_node/eqmtplcewinlist/lrgcd" class="input_s_essential" disabled="true" style="left:417px; top:401px; width:50px; height:19px; text-align:center; "/>
- <output id="opt_suplplcenm" ref="/root/main/cp_node/eqmtplcewinlist/suplplcenm" class="output_fix" appearance="output" style="left:663px; top:520px; width:161px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:340px; top:636px; width:75px; height:23px; vertical-align:middle; ">설치장소</caption>
- <caption id="caption15" class="cell_1" style="left:674px; top:564px; width:60px; height:23px; vertical-align:middle; ">원화단가</caption>
- <input id="ipt_wncurncyamt" ref="/root/main/cp_node/eqmtplcewinlist/wncurncyamt" class="input_default" disabled="true" format="#,###" style="left:736px; top:566px; width:109px; height:19px; text-align:right; "/>
- <output id="ipt_prodcmpynm" ref="/root/main/cp_node/eqmtplcewinlist/prodcmpynm" class="output_fix" appearance="output" style="left:420px; top:495px; width:125px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:580px; top:636px; width:81px; height:23px; vertical-align:middle; ">수익성평가</caption>
- <caption id="caption16" class="cell_1" style="left:580px; top:494px; width:75px; height:23px; vertical-align:middle; ">수량</caption>
- <caption id="caption28" class="cell_1" style="left:580px; top:660px; width:95px; height:23px; vertical-align:middle; ">분류번호(등급)</caption>
- <caption id="caption17" class="cell_1" style="left:580px; top:541px; width:81px; height:23px; vertical-align:middle; ">화폐단위</caption>
- <input id="ipt_mdlcd" ref="/root/main/cp_node/eqmtplcewinlist/mdlcd" class="input_s_essential" disabled="true" style="left:627px; top:401px; width:49px; height:19px; text-align:center; "/>
- <select1 id="cmb_curncyunit" ref="/root/main/cp_node/eqmtplcewinlist/curncyunit" class="combo_search" appearance="minimal" style="left:663px; top:543px; width:162px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_prodplce" ref="/root/main/cp_node/eqmtplcewinlist/prodplce" class="combo_search" appearance="minimal" style="left:417px; top:520px; width:161px; height:19px; ">
- <choices>
- <itemset>
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_eqmtplceordlist" nodeset="/root/main/list/eqmtplceordlist" visibility="visible" caption="상태^발주일자^번호^청구부서^품명^모델^발주량^원화금액^외화금액^외자비용^단위^제조원^거래처^내/외자^LC/NO" colsep="^" colwidth="45, 60, 38, 89, 198, 108, 50, 74, 61, 62, 48, 100, 93, 55, 85, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:99px; width:1195px; height:246px; ">
- <col ref="prcsstatnm"/>
- <col ref="plceorddd"/>
- <col ref="plceordseqno" style="text-align:center; "/>
- <col ref="reqdeptnm"/>
- <col ref="goodnm"/>
- <col ref="goodmodel"/>
- <col ref="plceordqty" format="#,###" style="text-align:right; "/>
- <col ref="plceordamt" format="#,###" style="text-align:right; "/>
- <col ref="forgnordamt" format="#,###" style="text-align:right; "/>
- <col ref="costamt" format="#,###" style="text-align:right; "/>
- <col ref="curncyunitnm"/>
- <col ref="prodcmpynm"/>
- <col ref="suplplcenm"/>
- <col ref="iopsnflagnm"/>
- <col ref="lcno"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="prodplce" visibility="hidden"/>
- <col ref="prodplcenm" visibility="hidden"/>
- <col ref="suppcustcd" visibility="hidden"/>
- <col ref="suppcustnm" visibility="hidden"/>
- <col ref="forgncurncyamt" visibility="hidden"/>
- <col ref="wncurncyamt" visibility="hidden"/>
- <col ref="trancond" visibility="hidden"/>
- <col ref="paycond" visibility="hidden"/>
- <col ref="delivedd" visibility="hidden"/>
- <col ref="grntterm" visibility="hidden"/>
- <col ref="testmthd" visibility="hidden"/>
- <col ref="cnsttndd" visibility="hidden"/>
- <col ref="prcsstat" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="slipdd" visibility="hidden"/>
- <col ref="slipno" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="iopsnflag" visibility="hidden"/>
- <col ref="etccostrt" visibility="hidden"/>
- <col ref="prcsstat" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="lrgnm" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="mdlnm" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="smlnm" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="lcestbdd" visibility="hidden"/>
- <col ref="lcestbbank" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="curncyunit" visibility="hidden"/>
- <col ref="chgrate" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtflag" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="cntrdeptcd" visibility="hidden"/>
- <col ref="cntrdeptnm" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="mngtdeptnm" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="goodflaghngnm" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- if( grd_eqmtplceordlist.rows >= grd_eqmtplceordlist.fixedRows ) {
-
- misfGridInit(grd_eqmtplcewinlist);
- model.resetInstanceNode("/root/main/cp_node/eqmtplcewinlist");
-
- model.setValue("/root/send/sendlist_detail/instcd" , grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("instcd")));
- model.setValue("/root/send/sendlist_detail/goodflag" , grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("goodflag")));
- model.setValue("/root/send/sendlist_detail/plceorddd" , grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("plceorddd")));
- model.setValue("/root/send/sendlist_detail/plceordseqno" , grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("plceordseqno")));
- submit("TRRSI03101");
- //misfMsterDetailRetrieve();
-
- fAllControlDisabled('Y')
- grd_eqmtplcewinlist.row = 1;
- grd_eqmtplcewinlist.dispatch("onrowchanged");
- model.refresh();
- }
- grd_eqmtplceordlist.dispatch("onmouseup");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_eqmtplceordlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_eqmtplcewinlist" nodeset="/root/main/list/eqmtplcewinlist" caption="실입고일^입고번호^입고번호^입고수량^단가^금액^대분류^중분류^소분류^품명^규격^모델^제조회사^설치장소^caption1" colsep="^" colwidth="80, 32, 40, 57, 62, 73, 105, 99, 102, 157, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:380px; width:330px; height:359px; ">
- <col ref="windd" format="YYYYMMDD"/>
- <col ref="winno" style="text-align:center; "/>
- <col ref="winseqno" style="text-align:center; "/>
- <col ref="plcewinqty" format="#,###" style="text-align:right; "/>
- <col ref="wncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="plcewinamt" format="#,###" style="text-align:right; "/>
- <col ref="lrgnm" visibility="hidden"/>
- <col ref="mdlnm" visibility="hidden"/>
- <col ref="smlnm" visibility="hidden"/>
- <col ref="goodnm" visibility="hidden"/>
- <col ref="goodspec" visibility="hidden"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="calcdocukind" visibility="hidden"/>
- <col ref="calcdocudd" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="goodflagengnm" visibility="hidden"/>
- <col ref="goodflaghngnm" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="prodplce" visibility="hidden"/>
- <col ref="prodplcenm" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="suplplcenm" visibility="hidden"/>
- <col ref="suppcustcd" visibility="hidden"/>
- <col ref="suppcustnm" visibility="hidden"/>
- <col ref="iopsnflag" visibility="hidden"/>
- <col ref="curncyunit" visibility="hidden"/>
- <col ref="forgncurncyamt" visibility="hidden"/>
- <col ref="chgrate" visibility="hidden"/>
- <col ref="forgnwinamt" visibility="hidden"/>
- <col ref="bugtflag" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="acntcd" visibility="hidden"/>
- <col ref="cntrdeptcd" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="incmpemtno" visibility="hidden"/>
- <col ref="mtlmngtno" visibility="hidden"/>
- <col ref="eqmtearnvaluyn" visibility="hidden"/>
- <col ref="prcsstat" visibility="hidden"/>
- <col ref="plceorddd" visibility="hidden"/>
- <col ref="plceordseqno" visibility="hidden"/>
- <col ref="slipdd" visibility="hidden"/>
- <col ref="slipno" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="acqtflag" visibility="hidden"/>
- <col ref="paycond" visibility="hidden"/>
- <col ref="pre_plcewinqty" visibility="hidden"/>
- <col ref="cntrdeptnm" visibility="hidden"/>
- <col ref="mngtdeptnm" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="flwgrnttermfr" visibility="hidden"/>
- <col ref="flwgrnttermto" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.resetInstanceNode("/root/main/cp_node");
-
- if( grd_eqmtplcewinlist.rows > grd_eqmtplcewinlist.fixedRows )
- {
- model.copyNode("/root/main/cp_node/eqmtplcewinlist" ,grd_eqmtplcewinlist.nodeset + "["+ grd_eqmtplcewinlist.row + "]");
-
- // 입고된건은 어떠한 데이타도 수정할수 없다.
- if (grd_eqmtplcewinlist.valueMatrix(grd_eqmtplcewinlist.row,grd_eqmtplcewinlist.colRef("winno")) == null || grd_eqmtplcewinlist.valueMatrix(grd_eqmtplcewinlist.row,grd_eqmtplcewinlist.colRef("winno")).length== 0)
- fAllControlDisabled('N');
- else fAllControlDisabled('Y');
-
-
- }
-
- model.refresh();
-
- grd_eqmtplcewinlist.dispatch("onmouseup");
-
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_instcd_search" ref="/root/send/sendlist/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:18px; width:202px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_insert" class="btn2_letter3" style="left:738px; top:350px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if(fCheckRetrieveData(true) == false)return;
- if (grd_eqmtplceordlist.rows-grd_eqmtplceordlist.fixedRows == 0) return;
-
- misfGridIUD(grd_eqmtplcewinlist, "A");
-
- grd_eqmtplcewinlist.dispatch("onrowchanged");
-
- /*
- model.copyNode("/root/main/cp_node/eqmtplcewinlist" ,grd_eqmtplcewinlist.nodeset + "["+ grd_eqmtplcewinlist.row + "]");
-
- fAllControlDisabled('N')
- */
- fDefaultSetting();
-
- fSetDispByIopsnflag();
-
- /* 동일 장비명 검색 */
- ipt_goodflagengnm_search.value = ipt_goodflagengnm.value;
- btn_search_cd.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn2_letter3" style="left:792px; top:350px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_eqmtplcewinlist, "D");
- grd_eqmtplcewinlist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:863px; top:356px; width:105px; height:13px; ">장비 명칭 검색</caption>
- <line id="line2" class="line_1" style="x1:859px; y1:371px; x2:1178px; y2:371px; "/>
- <button id="btn_search_cd" class="btn2_letter2" style="left:1133px; top:350px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(swh_select.selectedIndex == 1)
- {
- misfGridInit(grd_lrglist);
- misfGridInit(grd_mdllist);
- // misfGridInit(grd_smllist);
-
- model.setValue("/root/send/lrgcd/goodflag" , model.getValue(ipt_goodflag.attribute("ref")));
- model.setValue("/root/send/lrgcd/instcd" , model.getValue(cmb_instcd_search.attribute("ref")));
- submit("TRRSD11104");
-
- if(grd_lrglist.rows>1) {
- grd_lrglist.row=1;
- }
- grd_lrglist.dispatch("onrowchanged");
- }
- else
- {
- misfGridInit(grd_fixasetcdlist);
-
- submit("TRRFC00201");
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_installplcecd" class="icon_search" style="left:555px; top:637px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "installplcecd,installplcenm";
- misfOpenPopUpList("19", ipt_installplcecd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="rdo_eqmtearnvaluyn" ref="/root/main/cp_node/eqmtplcewinlist/eqmtearnvaluyn" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:663px; top:640px; width:148px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_plcewinqty" ref="/root/main/cp_node/eqmtplcewinlist/plcewinqty" class="input_s_essential" format="#,###" style="left:657px; top:494px; width:63px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSetAmtByIopsnflag();
- fSetAmt();
- ]]>
- </script>
- </input>
- <caption id="caption7" class="cell_1" style="left:340px; top:446px; width:77px; height:23px; vertical-align:middle; ">장비명(한글)</caption>
- <caption id="caption8" class="cell_1" style="left:340px; top:684px; width:75px; height:23px; vertical-align:middle; ">도 입 구 분</caption>
- <caption id="caption18" class="cell_1" style="left:580px; top:684px; width:81px; height:23px; vertical-align:middle; ">결재조건</caption>
- <select1 id="cmb_acqtflag" ref="/root/main/cp_node/eqmtplcewinlist/acqtflag" class="combo_search" appearance="minimal" style="left:417px; top:686px; width:161px; height:19px; ">
- <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>
- </select1>
- <select1 id="cmb_paycond" ref="/root/main/cp_node/eqmtplcewinlist/paycond" class="combo_search" appearance="minimal" style="left:663px; top:686px; width:182px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/paycond">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <line id="line16" class="line_2" style="x1:340px; y1:515px; x2:845px; y2:515px; "/>
- <line id="line18" class="line_2" style="x1:340px; y1:491px; x2:845px; y2:491px; "/>
- <line id="line19" class="line_2" style="x1:340px; y1:467px; x2:845px; y2:467px; "/>
- <button id="btn_suplplcecd" class="icon_search" style="left:829px; top:521px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd_search");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_cntrdeptnm" ref="/root/main/cp_node/eqmtplcewinlist/cntrdeptnm" class="input_s_essential" appearance="input" style="left:417px; top:615px; width:133px; height:19px; ">
- <script type="javascript" ev:event="xforms-valid">
- <![CDATA[
- if(ipt_cntrdeptnm.value.length == 0)
- ipt_cntrdeptcd.value = "";
- else
- misfValidationCheck("02", "", "cntrdeptcd,cntrdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_cntrdeptcd" ref="/root/main/cp_node/eqmtplcewinlist/cntrdeptcd" class="input_s_essential" visibility="hidden" style="left:695px; top:375px; width:23px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "cntrdeptcd,cntrdeptnm" );
- model.refresh();
- model.setFocus("ipt_cntrdeptcd");
- ]]>
- </script>
- </input>
- <button id="btn_cntrdeptcd" class="icon_search" style="left:555px; top:615px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "cntrdeptcd,cntrdeptnm";
- misfOpenPopUpList("02", ipt_cntrdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption22" class="cell_1" style="left:340px; top:612px; width:75px; height:23px; vertical-align:middle; ">청구부서</caption>
- <button id="btn_mngtdeptcd" class="icon_search" style="left:829px; top:616px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "mngtdeptcd,mngtdeptnm";
- misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptnm" ref="/root/main/cp_node/eqmtplcewinlist/mngtdeptnm" class="input_s_essential" appearance="input" style="left:663px; top:615px; width:157px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngtdeptnm.value.length == 0)
- ipt_mngtdeptcd.value = "";
- else
- misfValidationCheck("02", "", "mngtdeptcd,mngtdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_mngtdeptcd" ref="/root/main/cp_node/eqmtplcewinlist/mngtdeptcd" class="input_s_essential" visibility="hidden" style="left:680px; top:375px; width:18px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "mngtdeptcd,mngtdeptnm" );
- model.refresh();
- model.setFocus("ipt_mngtdeptcd");
- ]]>
- </script>
- </input>
- <caption id="caption25" class="cell_1" style="left:580px; top:612px; width:81px; height:23px; vertical-align:middle; ">관리부서</caption>
- <input id="ipt_bugtyy" ref="/root/main/cp_node/eqmtplcewinlist/bugtyy" class="input_search" format="yyyy" style="left:417px; top:710px; width:50px; height:19px; text-align:center; "/>
- <select1 id="cmb_bugtflag" ref="/root/main/cp_node/eqmtplcewinlist/bugtflag" class="combo_default" appearance="minimal" style="left:471px; top:710px; width:105px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption35" class="cell_1" style="left:580px; top:708px; width:81px; height:23px; vertical-align:middle; ">연구과제</caption>
- <input id="ipt_stdysubjnm" ref="/root/main/cp_node/eqmtplcewinlist/stdysubjnm" class="input_fix" appearance="input" style="left:663px; top:710px; width:157px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjnm.value.length == 0)
- ipt_stdysubjno.value = "";
- else
- rszfValidationCheck("TRRSD00261", "studylist", "instcd,refcond,stdysubjnm",
- opt_instcd.value + ",stdysubjnm," + ipt_stdysubjnm.value, "", "stdysubjno,stdysubjnm",
- ipt_stdysubjnm, "SPRSD00260", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption36" class="cell_1" style="left:340px; top:708px; width:75px; height:23px; vertical-align:middle; ">예산년/계정</caption>
- <input id="ipt_stdysubjno" ref="/root/main/cp_node/eqmtplcewinlist/stdysubjno" class="input_search" visibility="hidden" maxlength="4" style="left:655px; top:375px; width:27px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <button id="btn_stdysubjnm" class="icon_search" style="left:825px; top:710px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd","opt_instcd");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_flwgrnttermfr" class="cell_1" style="left:340px; top:564px; width:80px; height:23px; vertical-align:middle; ">하자보증기간</caption>
- <input id="ipt_flwgrnttermfr" ref="/root/main/cp_node/eqmtplcewinlist/flwgrnttermfr" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:423px; top:566px; width:120px; height:19px; "/>
- <input id="ipt_flwgrnttermto" ref="/root/main/cp_node/eqmtplcewinlist/flwgrnttermto" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:545px; top:566px; width:120px; height:19px; "/>
- <input id="ipt_goodflaghngnm" ref="/root/main/cp_node/eqmtplcewinlist/goodflaghngnm" class="input_s_essential" visibility="hidden" style="left:745px; top:490px; width:63px; height:19px; "/>
- <input id="ipt_calcdocudd" ref="/root/main/cp_node/eqmtplcewinlist/calcdocudd" class="input_s_essential" visibility="visible" inputtype="date" style="left:449px; top:378px; width:115px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:340px; top:376px; width:105px; height:22px; vertical-align:middle; ">계산서일자</caption>
- <input id="ipt_windd" ref="/root/main/cp_node/eqmtplcewinlist/windd" class="input_s_essential" inputtype="date" style="left:627px; top:378px; width:115px; height:19px; "/>
- <output id="ipt_winno" ref="/root/main/cp_node/eqmtplcewinlist/winno" class="output_fix" style="left:744px; top:378px; width:37px; height:19px; "/>
- <output id="ipt_winseqno" ref="/root/main/cp_node/eqmtplcewinlist/winseqno" class="output_fix" style="left:785px; top:378px; width:37px; height:19px; "/>
- <input id="input1" ref="/root/main/cp_node/eqmtplcewinlist/windd" class="input_s_essential" inputtype="date" style="left:648px; top:378px; width:115px; height:19px; "/>
- <output id="output1" ref="/root/main/cp_node/eqmtplcewinlist/winno" class="output_fix" style="left:765px; top:378px; width:37px; height:19px; "/>
- <output id="output2" ref="/root/main/cp_node/eqmtplcewinlist/winseqno" class="output_fix" style="left:806px; top:378px; width:37px; height:19px; "/>
- <caption id="caption29" class="cell_1" style="left:571px; top:376px; width:75px; height:22px; vertical-align:middle; ">실입고일</caption>
- <switch id="swh_select" style="left:855px; top:405px; width:335px; height:325px; ">
- <case id="cse_fixasetcd" selected="true">
- <input id="ipt_goodflagengnm_search" ref="/root/send/sendlist/goodflagengnm" class="input_s_essential" style="left:5px; top:5px; width:320px; height:19px; "/>
- <datagrid id="grd_fixasetcdlist" nodeset="/root/main/list/fixasetcd/fixasetcdlist" caption="영문명칭^모델^제조원^대분류^대분류명^중분류^중분류명^소분류^소분류명" colsep="^" colwidth="117, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:320px; height:290px; ">
- <col ref="goodflagengnm"/>
- <col ref="goodmodel"/>
- <col ref="prodcmpynm"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="lrgnm" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="mdlnm" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="smlnm" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fMovecd();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="cse_lrgcd" style="left:0px; top:0px; width:583px; height:329px; ">
- <datagrid id="grd_mdllist" nodeset="/root/main/list/mdl/mdllist" allowuserresize="false" caption="중분류코드^중분류명^계정코드(입고)^계정코드(입고)^계정코드(비용)^계정코드(비용)^물품구분^대분류코드^최초등록자ID^최초등록일시^최종등록자ID^최종등록일시" colsep="^" colwidth="6, 135, 100, 120, 100, 120, 100, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:162px; top:4px; width:170px; height:300px; ">
- <col class="input_essential" disabled="true" ref="mdlcd" type="input" visibility="hidden"/>
- <col ref="mdlnm" type="output"/>
- <col ref="winacnt" visibility="hidden"/>
- <col ref="winacntnm" visibility="hidden"/>
- <col ref="amtacnt" visibility="hidden"/>
- <col ref="amtacntnm" visibility="hidden"/>
- <col ref="instcd" type="output" visibility="hidden"/>
- <col ref="goodflag" type="output" visibility="hidden"/>
- <col ref="lrgcd" type="output" visibility="hidden"/>
- <col ref="fstrgstrid" type="output" visibility="hidden"/>
- <col ref="fstrgstdt" type="output" visibility="hidden"/>
- <col ref="lastupdtrid" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.setValue("/root/send/lrgcd/mdlcd" , grd_mdllist.valueMatrix(grd_mdllist.row, grd_mdllist.colRef("mdlcd")));
- submit("TRRSD11106");
- grd_mdllist.dispatch("onmouseup");
-
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // if (grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("deptaprvyn")) == "Y" ||
- // grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("acptflag")) == "C" ||
- // grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("acptflag")) == "Y" ) fMovecd("grd_mdllist");
- if (grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row, grd_fixasetcdlist.colRef("deptaprvyn")) == "Y" || (grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row, grd_fixasetcdlist.colRef("acptflag")) == "C" || grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row, grd_fixasetcdlist.colRef("acptflag")) == "Y"))
- {
-
- }else{
- fMovecd("grd_mdllist");
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_lrglist" nodeset="/root/main/list/lrg/lrglist" allowuserresize="false" caption="대분류코드^대분류명^주관부서^주관부서^계정코드(입고)^계정코드(입고)^계정코드(비용)^계정코드(비용)^기관코드^물품구분^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="6, 103, 130, 135, 130, 135, 130, 135, 100, 100, 130, 120, 150, 120" dataheight="25" extendlastcol="scroll" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:3px; width:159px; height:300px; ">
- <col class="input_essential" disabled="true" ref="lrgcd" type="input" visibility="hidden"/>
- <col ref="lrgnm" type="output"/>
- <col ref="mainmngtdeptcd" visibility="hidden"/>
- <col ref="mainmngtdeptnm" visibility="hidden"/>
- <col ref="winacnt" visibility="hidden"/>
- <col ref="winacntnm" visibility="hidden"/>
- <col ref="amtacnt" visibility="hidden"/>
- <col ref="amtacntnm" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="fstrgstrid" type="output" visibility="hidden"/>
- <col ref="fstrgstdt" type="output" visibility="hidden"/>
- <col ref="lastupdtrid" type="output" visibility="hidden"/>
- <col ref="lastupdtdt" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.setValue("/root/send/lrgcd/lrgcd" , grd_lrglist.valueMatrix(grd_lrglist.row, grd_lrglist.colRef("lrgcd")));
- submit("TRRSD11105");
- if(grd_mdllist.rows>1) {
- grd_mdllist.row=1;
- }
- grd_mdllist.dispatch("onrowchanged");
-
- grd_lrglist.dispatch("onmouseup");
-
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row, grd_fixasetcdlist.colRef("deptaprvyn")) == "Y" || (grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row, grd_fixasetcdlist.colRef("acptflag")) == "C" || grd_fixasetcdlist.valueMatrix(grd_fixasetcdlist.row, grd_fixasetcdlist.colRef("acptflag")) == "Y"))
- {
-
- }else{
- fMovecd("grd_lrglist");
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="button4" class="btn_sw" group="tab" selected="true" style="left:855px; top:380px; width:144px; height:22px; ">
- <caption>분류코드</caption>
- <toggle case="cse_lrgcd" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //btn_exceldown.visible = false;
- ]]>
- </script>
- </button>
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:998px; top:380px; width:144px; height:22px; ">
- <caption>부서내 비품코드</caption>
- <toggle case="cse_fixasetcd" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // btn_exceldown.visible = true;
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1070px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(fCheckSaveData() == false)return;
- fSave();
- //misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <output id="opt_purcacptflag" ref="/root/send/sendlist/purcacptflag" class="output_fix" visibility="hidden" appearance="output" style="left:835px; top:5px; width:78px; height:19px; "/>
- <input id="ipt_goodflag" ref="/root/send/sendlist/goodflag" visibility="hidden" style="left:763px; top:5px; width:70px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|