12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739 |
- <?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>
- </init>
- <main>
- <list>
- <eqmtplceordlist/>
- <eqmtplcewinlist/>
- <fixasetcd>
- <fixasetcdlist/>
- </fixasetcd>
- <lrg>
- <lrglist/>
- </lrg>
- <mdl>
- <mdllist/>
- </mdl>
- <serialnolist>
- <fixasetcd/>
- <mngtno/>
- </serialnolist>
- </list>
- <cp_node>
- <eqmtplcewinlist>
- <suplplcecd/>
- <suplplcenm/>
- <prodcmpy/>
- <prodcmpynm/>
- <prodplce/>
- <curncyunit>\</curncyunit>
- <calcdocukind/>
- <calcdocudd/>
- <installplcecd/>
- <installplcenm/>
- <plcewinqty/>
- <plcewinamt/>
- <forgncurncyamt/>
- <chgrate/>
- <wncurncyamt/>
- <forgnwinamt/>
- <flwgrntterm/>
- <cmt/>
- </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/>
- <windd/>
- <winno/>
- <winseqno/>
- </sendlist_detail>
- <save>
- <eqmtplcewinlist/>
- <serialnolist/>
- </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="TRRFC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/fixasetcd"/>
- <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="TRRSI03102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist_detail" resultref="/root/main/list/serialnolist"/>
- </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_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,R0292,R0316,R0348","cmb_curncyunit,cmb_prodplce,cmb_prcsstat_search,cmb_acqtflag,cmb_fundorigin,cmb_flwgrntterm");
-
-
- rszfComboBgcdBugtList("cmb_groupbugt",getUserInfo("dutplceinstcd"), '2');
- rszfComboBgcdBugtList("grd_eqmtplceordlist.groupbugt",getUserInfo("dutplceinstcd"), '2');
-
- // rszfGridComboBugtList(grd_eqmtplceordlist,"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") ,"E");
-
- 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_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(ipt_tempmngtdeptnm.attribute("ref")).length== 0 )
- {
- messageBox("관리부서를 " ,"C001");
- model.setFocus("ipt_tempmngtdeptnm");
- 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;
- }
-
- if(model.getValue(opt_installplcenm.attribute("ref")).length== 0 )
- {
- messageBox("설치장소를 " ,"C001");
- model.setFocus("btn_installplcecd");
- 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()
- {
- //serial no 기능추가하면서 만듬
- //------------------------------------------------------------
- var updtdata = getGridUpdateData(grd_serialno);
- model.setValue("/root/send/save/serialnolist", updtdata);
- //------------------------------------------------------------
-
- 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_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";
- ipt_tempmngtdeptnm.disabled="true";
-
- cmb_acqtflag.disabled="true";
- cmb_paycond.disabled="true";
- ipt_bugtyy.disabled="true";
- cmb_groupbugt.disabled="true";
- ipt_stdysubjnm.disabled="true";
-
- btn_bugtflagnm.disabled="true";
- ipt_bugtflagnm.disabled="true";
- ipt_flwgrnttermfr.disabled="ture";
- ipt_flwgrnttermto.disabled="true";
- cmb_flwgrntterm.disabled="true";
- ipt_cmt.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_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";
- ipt_tempmngtdeptnm.disabled="false";
-
- cmb_acqtflag.disabled="false";
- cmb_paycond.disabled="false";
- ipt_bugtyy.disabled="false";
- cmb_groupbugt.disabled="false";
- ipt_stdysubjnm.disabled="false";
-
- btn_bugtflagnm.disabled="false";
- ipt_bugtflagnm.disabled="false";
- ipt_flwgrnttermfr.disabled="false";
- ipt_flwgrnttermto.disabled="false";
- cmb_flwgrntterm.disabled="false";
-
- ipt_cmt.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_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_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 /// nm으로 찾기 - 건수가 0보다 크면 그냥 대입시킴 - 간단함
- {
-
- 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();
- }
- }
-
-
-
-
- /*기존 소스*/
- // if(model.GetValue(ipt_windd.attribute("ref")).length == 0)
- // {
- // messageBox("행추가를 먼저하시거나 입고일자를 먼저 " ,"C002");
- // //model.setFocus("cmb_instcd_search");
- // return;
- // }
- // 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("goodnm")));
- model.setValue(ipt_goodflagengnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("goodnm")));
- 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")));8
- 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_tempmngtdeptcd.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("tempmngtdeptcd")));
- model.setValue(ipt_tempmngtdeptnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("tempmngtdeptnm")));
-
- model.setValue(ipt_bugtyy.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("bugtyy")));
- model.setValue(cmb_groupbugt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("groupbugt")));
- 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_projectid.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("projectid")));
- model.setValue(opt_projectnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("projectnm")));
- model.setValue(ipt_bugtflag.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("bugtflag")));
- model.setValue(ipt_bugtflagnm.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("bugtflagnm")));
-
- model.setValue(ipt_totamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("totamt")));
- model.setValue(ipt_bugtexpcamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("bugtexpcamt")));
- model.setValue(ipt_bugtexecamt.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("bugtexecamt")));
- model.setValue(ipt_remainder.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("remainder")));
- model.setValue(cmb_fundorigin.attribute("ref"), grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("fundorigin")));
- 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:192px; height:13px; ">장비입고관리(성의교정)</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:742px; ">
- <datagrid id="grd_eqmtplceordlist" nodeset="/root/main/list/eqmtplceordlist" visibility="visible" caption="상태^발주일자^번호^청구부서^품명^모델^연구과제^발주량^원화금액^외화금액^외자비용^단위^제조원^거래처^내/외자^LC/NO^계정^계정^프로젝트^예산평성액^예산추산액^예산집행액^예산잔액^caption1^caption2^caption3^caption4^caption5^caption6^caption7" colsep="^" colwidth="45, 60, 38, 89, 198, 108, 70, 50, 74, 61, 62, 48, 100, 93, 55, 85, 108, 112, 132, 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, 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:186px; ">
- <col ref="prcsstatnm"/>
- <col ref="plceorddd"/>
- <col ref="plceordseqno" style="text-align:center; "/>
- <col ref="reqdeptnm"/>
- <col ref="goodnm"/>
- <col ref="goodmodel"/>
- <col ref="stdysubjnm"/>
- <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 disabled="true" ref="groupbugt" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="bugtflagnm" style="text-align:center; "/>
- <col ref="projectnm"/>
- <col ref="totamt" format="#,###" style="text-align:right; "/>
- <col ref="bugtexpcamt" format="#,###" style="text-align:right; "/>
- <col ref="bugtexecamt" format="#,###" style="text-align:right; "/>
- <col ref="remainder" format="#,###" style="text-align:right; "/>
- <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="stdysubjno" visibility="hidden"/>
- <col ref="cntrdeptcd" visibility="hidden"/>
- <col ref="cntrdeptnm" visibility="hidden"/>
- <col ref="mngtdeptcd"/>
- <col ref="mngtdeptnm" visibility="hidden"/>
- <col ref="projectid" visibility="hidden"/>
- <col ref="bugtflag" visibility="hidden"/>
- <col ref="fundorigin" visibility="hidden"/>
- <col ref="tempmngtdeptcd" visibility="hidden"/>
- <col ref="tempmngtdeptnm" visibility="hidden"/>
- <col ref="flwgrnttermfr" visibility="hidden" style="left:6908px; top:23px; width:100px; height:23px; "/>
- <col ref="flwgrnttermto" visibility="hidden"/>
- <col ref="windd" visibility="hidden"/>
- <col ref="winno" visibility="hidden"/>
- <col ref="winseqno" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- grp_serialno.visible = false;
-
- 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")));
- //alert(grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("windd")));
-
-
- model.setValue("/root/send/sendlist_detail/windd" , grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("windd")));
- model.setValue("/root/send/sendlist_detail/winno" , grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("winno")));
- model.setValue("/root/send/sendlist_detail/winseqno" , grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("winseqno")));
-
-
- submit("TRRSI03101"); /// eqmtplcewinlist에 넣고 있음
- submit("TRRSI03102");
- //misfMsterDetailRetrieve();
-
- /// /root/send/sendlist_detail
- /// /root/main/list/eqmtplcewinlist
-
- fAllControlDisabled('Y')
- grd_eqmtplcewinlist.row = 1;
- grd_eqmtplcewinlist.dispatch("onrowchanged");
-
- /// model.coyNode("/root/main/cp_node/eqmtplcewinlist/tempmngtdeptcd", "/root/main/cp_node/eqmtplcewinlist/mngtdeptcd");
- ///model.setValue("/root/main/cp_node/eqmtplcewinlist/tempmngtdeptcd" , grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row, grd_eqmtplceordlist.colRef("mngtdeptcd")));
- model.refresh();
- }
- grd_eqmtplceordlist.dispatch("onmouseup");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_eqmtplceordlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line7" class="line_2" style="x1:355px; y1:613px; x2:754px; y2:613px; "/>
- <line id="line6" class="line_2" style="x1:355px; y1:398px; x2:870px; y2:398px; "/>
- <line id="line28" class="line_2" style="x1:355px; y1:494px; x2:870px; y2:494px; "/>
- <line id="line38" class="line_2" style="x1:355px; y1:565px; x2:870px; y2:565px; "/>
- <line id="line37" class="line_2" style="x1:355px; y1:541px; x2:870px; y2:541px; "/>
- <line id="line15" class="line_2" style="x1:355px; y1:352px; x2:870px; y2:352px; "/>
- <line id="line14" class="line_2" style="x1:355px; y1:375px; x2:870px; y2:375px; "/>
- <line id="line35" class="line_2" style="x1:355px; y1:519px; x2:870px; y2:519px; "/>
- <line id="line13" class="line_1" style="x1:355px; y1:306px; x2:870px; y2:306px; "/>
- <line id="line12" class="line_2" style="x1:355px; y1:637px; x2:870px; y2:637px; "/>
- <line id="line8" class="line_3" style="x1:355px; y1:736px; x2:870px; y2:736px; "/>
- <line id="line40" class="line_2" style="x1:355px; y1:589px; x2:870px; y2:589px; "/>
- <line id="line11" class="line_2" style="x1:355px; y1:613px; x2:860px; y2:613px; "/>
- <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:326px; x2:350px; y2:326px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:291px; width:100px; height:13px; ">입고내역</caption>
- <input id="ipt_plcewinamt" ref="/root/main/cp_node/eqmtplcewinlist/plcewinamt" class="input_s_essential" format="#,###" style="left:763px; top:497px; width:111px; 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:432px; top:570px; width:133px; height:19px; "/>
- <input id="ipt_installplcecd" ref="/root/main/cp_node/eqmtplcewinlist/installplcecd" visibility="hidden" style="left:335px; top:245px; width:22px; height:19px; "/>
- <caption id="caption61" class="tit_2" style="left:360px; top:291px; width:95px; height:13px; ">입고내역상세</caption>
- <input id="ipt_goodnm" ref="/root/main/cp_node/eqmtplcewinlist/goodnm" class="input_default" style="left:432px; top:381px; width:433px; height:19px; "/>
- <input id="ipt_windd" ref="/root/main/cp_node/eqmtplcewinlist/windd" class="input_s_essential" inputtype="date" style="left:671px; top:313px; width:115px; height:19px; "/>
- <input id="ipt_prodcmpy" ref="/root/main/cp_node/eqmtplcewinlist/prodcmpy" class="input_default" style="left:432px; top:451px; width:58px; height:19px; "/>
- <input id="ipt_chgrate" ref="/root/main/cp_node/eqmtplcewinlist/chgrate" class="input_default" visibility="hidden" style="left:390px; top:245px; width:24px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAmtByIopsnflag();
- ]]>
- </script>
- </input>
- <output id="ipt_winno" ref="/root/main/cp_node/eqmtplcewinlist/winno" class="output_fix" style="left:788px; top:313px; width:37px; height:19px; "/>
- <caption id="caption30" class="cell_1" style="left:355px; top:424px; width:75px; height:23px; vertical-align:middle; ">품명(한글)</caption>
- <output id="opt_smlnm" ref="/root/main/cp_node/eqmtplcewinlist/smlnm" visibility="hidden" style="left:370px; top:248px; width:16px; height:19px; "/>
- <output id="opt_lrgnm" ref="/root/main/cp_node/eqmtplcewinlist/lrgnm" class="output_fix" style="left:483px; top:336px; width:157px; height:19px; "/>
- <input id="ipt_incmpemtno" ref="/root/main/cp_node/eqmtplcewinlist/incmpemtno" style="left:432px; top:594px; width:161px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:355px; top:592px; 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:432px; top:358px; width:433px; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:543px; top:520px; width:55px; height:23px; vertical-align:middle; ">외화단가</caption>
- <caption id="caption10" class="cell_1" style="left:686px; top:449px; width:55px; height:22px; vertical-align:middle; ">제조국</caption>
- <caption id="caption21" class="cell_1" style="left:355px; top:426px; 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:763px; top:520px; width:111px; 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:355px; top:334px; width:75px; height:22px; vertical-align:middle; ">대/중분류</caption>
- <caption id="caption44" class="cell_1" style="left:355px; top:473px; width:75px; height:22px; vertical-align:middle; ">내자/외자</caption>
- <button id="btn_prodcmpy" class="icon_search" style="left:493px; top:453px; 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:355px; top:356px; width:77px; height:23px; vertical-align:middle; ">장비명(영문)</caption>
- <output id="opt_mdlnm" ref="/root/main/cp_node/eqmtplcewinlist/mdlnm" class="output_fix" style="left:694px; top:336px; width:171px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:595px; top:473px; 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:599px; top:520px; width:107px; height:19px; text-align:right; "/>
- <caption id="caption23" class="cell_1" style="left:708px; top:520px; width:55px; height:23px; vertical-align:middle; ">외화금액</caption>
- <input id="ipt_suplplcecd" ref="/root/main/cp_node/eqmtplcewinlist/suplplcecd" class="input_default" visibility="hidden" style="left:315px; top:245px; width:22px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:355px; top:449px; width:75px; height:23px; vertical-align:middle; ">제조원</caption>
- <caption id="caption24" class="cell_1" style="left:708px; top:498px; width:55px; height:23px; vertical-align:middle; ">원화금액</caption>
- <input id="ipt_mtlmngtno" ref="/root/main/cp_node/eqmtplcewinlist/mtlmngtno" style="left:678px; top:594px; width:167px; 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:432px; top:475px; 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:432px; top:428px; width:248px; height:19px; "/>
- <input id="ipt_smlcd" ref="/root/main/cp_node/eqmtplcewinlist/smlcd" visibility="hidden" style="left:355px; top:248px; width:15px; height:19px; "/>
- <input id="ipt_lrgcd" ref="/root/main/cp_node/eqmtplcewinlist/lrgcd" class="input_s_essential" disabled="true" style="left:432px; top:336px; 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:678px; top:475px; width:167px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:355px; top:568px; width:75px; height:23px; vertical-align:middle; ">설치장소</caption>
- <caption id="caption15" class="cell_1" style="left:543px; top:495px; width:55px; 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:598px; top:497px; width:108px; height:19px; text-align:right; "/>
- <output id="ipt_prodcmpynm" ref="/root/main/cp_node/eqmtplcewinlist/prodcmpynm" class="output_fix" appearance="output" style="left:512px; top:451px; width:168px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:686px; top:403px; width:67px; height:20px; vertical-align:middle; ">수익성평가</caption>
- <caption id="caption16" class="cell_1" style="left:355px; top:520px; width:75px; height:23px; vertical-align:middle; ">수량</caption>
- <caption id="caption28" class="cell_1" style="left:595px; top:592px; width:80px; height:23px; vertical-align:middle; ">분류번호</caption>
- <caption id="caption17" class="cell_1" style="left:355px; top:496px; width:75px; 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:642px; top:336px; width:49px; height:19px; text-align:center; "/>
- <caption id="caption29" class="cell_1" style="left:355px; top:311px; width:75px; height:22px; vertical-align:middle; ">계산서일자</caption>
- <select1 id="cmb_curncyunit" ref="/root/main/cp_node/eqmtplcewinlist/curncyunit" class="combo_search" appearance="minimal" style="left:432px; top:497px; width:108px; 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:745px; top:451px; width:121px; height:19px; ">
- <choices>
- <itemset>
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_eqmtplcewinlist" nodeset="/root/main/list/eqmtplcewinlist" caption="입고일자^입고번호^입고번호^입고수량^단가^금액^대분류^중분류^소분류^품명^규격^모델^제조회사^설치장소^caption1^caption2^caption3^caption4" colsep="^" colwidth="61, 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, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:315px; width:350px; height:420px; ">
- <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="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="flwgrnttermfr" visibility="hidden"/>
- <col ref="flwgrnttermto" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="groupbugt" visibility="hidden"/>
- <col ref="projectid" visibility="hidden"/>
- <col ref="projectnm" visibility="hidden"/>
- <col ref="bugtflagnm" visibility="hidden"/>
- <col ref="totamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="bugtexpcamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="bugtexecamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="remainder" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="fundorigin" visibility="hidden"/>
- <col ref="tempmngtdeptcd" visibility="hidden"/>
- <col ref="tempmngtdeptnm" 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 + "]");
- /// 이현민
- ///model.copyNode("/root/main/cp_node/eqmtplcewinlist/" ,grd_eqmtplcewinlist.nodeset + "["+ grd_eqmtplcewinlist.row + "]");
- /*model.setValue( ipt_tempmngtdeptcd.attribute("ref"),grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("mngtdeptcd")))*/
- //alert(model.getValue(grd_eqmtplceordlist.valueMatrix(grd_eqmtplceordlist.row , grd_eqmtplceordlist.colRef("mngtdeptcd"))));
- // 입고된건은 어떠한 데이타도 수정할수 없다.
-
- 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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(cmb_instcd_search.value=='032'){
- rszfComboBgcdBugtList("cmb_groupbugt",'103', '2');
- rszfComboBgcdBugtList("grd_eqmtplceordlist.groupbugt",'103', '2');
- }else{
- rszfComboBgcdBugtList("cmb_groupbugt",cmb_instcd_search.value, '2');
- rszfComboBgcdBugtList("grd_eqmtplceordlist.groupbugt",cmb_instcd_search.value, '2');
- }
- ]]>
- </script>
- </select1>
- <button id="btn_insert" class="btn2_letter3" style="left:763px; top:285px; 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");
-
-
- model.makeNode("/root/main/cp_node/eqmtplcewinlist/flwgrntterm"); //
- model.resetInstanceNode("/root/main/list/serialnolist");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn2_letter3" style="left:817px; top:285px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_eqmtplcewinlist, "D");
- grd_eqmtplcewinlist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <output id="ipt_winseqno" ref="/root/main/cp_node/eqmtplcewinlist/winseqno" class="output_fix" style="left:827px; top:313px; width:37px; height:19px; "/>
- <caption id="caption1" class="tit_2" style="left:880px; top:291px; width:105px; height:13px; ">장비 명칭 검색</caption>
- <line id="line2" class="line_1" style="x1:875px; y1:306px; x2:1194px; y2:306px; "/>
- <button id="btn_search_cd" class="btn2_letter2" style="left:1148px; top:286px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //hbh
- // misfGridInit(grd_fixasetcdlist);
- // submit("TRRFC00201");
- 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");
- }
- //grd_lrglist.rebuild();
- grd_lrglist.gridToInstance();
- grd_mdllist.gridToInstance();
-
- ]]>
- </script>
- </button>
- <button id="btn_installplcecd" class="icon_search" style="left:570px; top:569px; 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="40" cols="2" overflow="visible" style="left:754px; top:405px; width:111px; 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:432px; top:520px; width:62px; 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:355px; top:379px; width:77px; height:23px; vertical-align:middle; ">장비명(한글)</caption>
- <caption id="caption8" class="cell_1" style="left:355px; top:616px; width:75px; height:23px; vertical-align:middle; ">도 입 구 분</caption>
- <caption id="caption18" class="cell_1" style="left:595px; top:616px; width:81px; height:23px; vertical-align:middle; ">결재조건</caption>
- <select1 id="cmb_acqtflag" ref="/root/main/cp_node/eqmtplcewinlist/acqtflag" class="combo_s_essential" appearance="minimal" style="left:432px; top:618px; width:161px; height:19px; ">
- <choices>
- <itemset>
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_paycond" ref="/root/main/cp_node/eqmtplcewinlist/paycond" class="combo_s_essential" appearance="minimal" style="left:678px; top:618px; width:187px; 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:355px; y1:470px; x2:870px; y2:470px; "/>
- <line id="line18" class="line_2" style="x1:355px; y1:446px; x2:870px; y2:446px; "/>
- <line id="line19" class="line_2" style="x1:355px; y1:422px; x2:870px; y2:422px; "/>
- <button id="btn_suplplcecd" class="icon_search" style="left:849px; top:476px; 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:432px; top:547px; 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:295px; top:245px; 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:570px; top:547px; 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:355px; top:544px; width:75px; height:23px; vertical-align:middle; ">귀속부서</caption>
- <button id="btn_mngtdeptcd" class="icon_search" style="left:849px; top:548px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "mngtdeptcd,mngtdeptnm";
- misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list) ;
-
- //model.copyNode("/root/main/cp_node/eqmtplcewinlist/tempmngtdeptcd", "/root/main/cp_node/eqmtplcewinlist/mngtdeptcd");
- //alert(model.getValue("/root/main/cp_node/eqmtplcewinlist/mngtdeptcd"));
- //alert(model.getValue("/root/main/cp_node/eqmtplcewinlist/tempmngtdeptcd"));
-
- //이현민 -20091201 막음
- //model.setValue( ipt_tempmngtdeptcd.attribute("ref"),model.getValue(ipt_mngtdeptcd.attribute("ref")))
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptnm" ref="/root/main/cp_node/eqmtplcewinlist/mngtdeptnm" class="input_s_essential" appearance="input" style="left:677px; top:547px; width:167px; 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:275px; top:245px; 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:595px; top:544px; 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:432px; top:642px; width:50px; height:19px; text-align:center; "/>
- <select1 id="cmb_groupbugt" ref="/root/main/cp_node/eqmtplcewinlist/groupbugt" class="combo_default" appearance="minimal" style="left:486px; top:642px; width:139px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_stdysubjno.value = '';
- ipt_stdysubjnm.value = '';
- ]]>
- </script>
- </select1>
- <caption id="caption35" class="cell_1" style="left:595px; top:663px; 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:678px; top:665px; width:167px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjnm.value.length == 0)
- {
- ipt_stdysubjno.value = "";
- }else{
- // var fprojectyn = model.getValue(cmb_bugtflag.choices.itemset.attribute("nodeset") + "[" + (cmb_bugtflag.focusIndex +1) +"]/projectyn");
- rszfValidationCheck("TRRSD00261", "studylist", "instcd,refcond,stdysubjnm,reqdd",
- cmb_instcd_search.value + ",stdysubjnm," + ipt_stdysubjnm.value + "," + grd_eqmtplcewinlist.valueMatrix(grd_eqmtplcewinlist.row, grd_eqmtplcewinlist.colRef("windd")), "", "stdysubjno,stdysubjnm",
- ipt_stdysubjnm, "SPRSD00260", "instcd,reqdd","cmb_instcd_search," + grd_eqmtplcewinlist.valueMatrix(grd_eqmtplcewinlist.row, grd_eqmtplcewinlist.colRef("windd")));
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption36" class="cell_1" style="left:355px; top:640px; 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:245px; top:245px; width:27px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <button id="btn_stdysubjnm" class="icon_search" style="left:849px; top:665px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var fprojectyn = model.getValue(cmb_bugtflag.choices.itemset.attribute("nodeset") + "[" + (cmb_bugtflag.focusIndex +1) +"]/projectyn");
- // rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd,reqdd","cmb_instcd_search," + grd_eqmtplcewinlist.valueMatrix(grd_eqmtplcewinlist.row, grd_eqmtplcewinlist.colRef("windd")));
- // 20080527 Y.Y.J 수정
- rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd,reqdd","cmb_instcd_search,ipt_windd");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="opt_projectnm" ref="/root/main/cp_node/eqmtplcewinlist/projectnm" class="output_fix" style="left:432px; top:665px; width:161px; height:19px; "/>
- <input id="ipt_bugtflag" ref="/root/main/cp_node/eqmtplcewinlist/bugtflag" visibility="hidden" style="left:660px; top:265px; width:80px; height:19px; "/>
- <input id="ipt_bugtflagnm" ref="/root/main/cp_node/eqmtplcewinlist/bugtflagnm" style="left:650px; top:642px; width:215px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_stdysubjno.value = '';
- ipt_stdysubjnm.value = '';
- ]]>
- </script>
- </input>
- <button id="btn_bugtflagnm" class="icon_search" style="left:630px; top:642px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(cmb_instcd_search.value=='032'){
- rszfOpenPopUpListByWndName(ipt_bugtflag,"","bugtflag,bugtflagnm,projectid,projectnm,totamt,bugtexpcamt,bugtexecamt,remainder,projectyn","SPRSD00340","instcd,reqdd,deptcd,supacntcd4", '103' + "," + model.getValue("/root/main/cp_node/eqmtplcewinlist/plceorddd") + "," + model.getValue("/root/main/cp_node/eqmtplcewinlist/cntrdeptcd") + "," + cmb_groupbugt.value);
- }else{
- rszfOpenPopUpListByWndName(ipt_bugtflag,"","bugtflag,bugtflagnm,projectid,projectnm,totamt,bugtexpcamt,bugtexecamt,remainder,projectyn","SPRSD00340","instcd,reqdd,deptcd,supacntcd4", cmb_instcd_search.value + "," + model.getValue("/root/main/cp_node/eqmtplcewinlist/plceorddd") + "," + model.getValue("/root/main/cp_node/eqmtplcewinlist/cntrdeptcd") + "," + cmb_groupbugt.value);
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_projectid" ref="/root/main/cp_node/eqmtplcewinlist/projectid" visibility="hidden" style="left:575px; top:265px; width:80px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:355px; top:664px; width:75px; height:23px; vertical-align:middle; ">프로젝트</caption>
- <caption id="caption37" class="cell_1" style="left:355px; top:688px; width:145px; height:23px; vertical-align:middle; ">예산편성/추산/집행/잔액</caption>
- <input id="ipt_remainder" ref="/root/main/cp_node/eqmtplcewinlist/remainder" class="output_fix" format="#,###" style="left:781px; top:690px; width:91px; height:19px; text-align:right; "/>
- <input id="ipt_bugtexpcamt" ref="/root/main/cp_node/eqmtplcewinlist/bugtexpcamt" class="output_fix" format="#,###" style="left:595px; top:690px; width:91px; height:19px; text-align:right; "/>
- <input id="ipt_totamt" ref="/root/main/cp_node/eqmtplcewinlist/totamt" class="output_fix" format="#,###" style="left:502px; top:690px; width:91px; height:19px; text-align:right; "/>
- <input id="ipt_bugtexecamt" ref="/root/main/cp_node/eqmtplcewinlist/bugtexecamt" class="output_fix" format="#,###" style="left:688px; top:690px; width:91px; height:19px; text-align:right; "/>
- <caption id="cap_fundorigin" class="cell_1" style="left:686px; top:426px; width:55px; height:23px; vertical-align:middle; ">자금출처</caption>
- <select1 id="cmb_fundorigin" ref="/root/main/cp_node/eqmtplcewinlist/fundorigin" class="combo_default" disabled="true" appearance="minimal" style="left:745px; top:428px; width:121px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_tempmngtdeptcd" ref="/root/main/cp_node/eqmtplcewinlist/tempmngtdeptcd" visibility="hidden" style="left:510px; top:260px; width:27px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ///model.copyNode("/root/main/cp_node/eqmtplcewinlist/tempmngtdeptcd", "/root/main/cp_node/eqmtplcewinlist/mngtdeptcd");
- ///model.copyNode("/root/main/cp_node/eqmtplcewinlist/tempmngtdeptcd", "/root/main/cp_node/eqmtplcewinlist/mngtdeptcd");
- ///alert("/root/main/cp_node/eqmtplcewinlist/tempmngtdeptcd");
- misfValidationCheck("02", "", "tempmngtdeptcd,tempmngtdeptnm" );
- model.refresh();
- model.setFocus("ipt_tempmngtdeptcd");
-
- ]]>
- </script>
- </input>
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:1018px; top:315px; 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>
- <button id="button4" class="btn_sw" group="tab" selected="true" style="left:875px; top:315px; 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>
- <switch id="swh_select" style="left:875px; top:334px; width:315px; height:400px; ">
- <case id="cse_fixasetcd" style="left:0px; top:0px; width:313px; height:395px; ">
- <input id="ipt_goodflagengnm_search" ref="/root/send/sendlist/goodflagengnm" class="input_s_essential" style="left:2px; top:3px; width:308px; height:19px; "/>
- <datagrid id="grd_fixasetcdlist" nodeset="/root/main/list/fixasetcd/fixasetcdlist" caption="영문명칭^모델^제조원^대분류^대분류명^중분류^중분류명^소분류^소분류명" colsep="^" colwidth="109, 97, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:24px; width:308px; height:361px; ">
- <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" selected="true" style="left:0px; top:0px; width:313px; height:395px; ">
- <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" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:150px; top:5px; width:160px; height:380px; ">
- <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" caption="대분류코드^대분류명^주관부서^주관부서^계정코드(입고)^계정코드(입고)^계정코드(비용)^계정코드(비용)^기관코드^물품구분^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="6, 103, 130, 135, 130, 135, 130, 135, 100, 100, 130, 120, 150, 120" ellipsis="true" extendlastcol="scroll" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:5px; width:149px; height:380px; ">
- <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>
- <caption id="caption38" class="cell_1" style="left:593px; top:311px; width:75px; height:22px; vertical-align:middle; ">실입고일</caption>
- <input id="ipt_calcdocudd" ref="/root/main/cp_node/eqmtplcewinlist/calcdocudd" class="input_s_essential" visibility="visible" inputtype="date" style="left:432px; top:313px; width:140px; height:19px; "/>
- <caption id="caption39" class="cell_1" style="left:595px; top:565px; width:81px; height:23px; vertical-align:middle; ">관리부서</caption>
- <button id="button2" class="icon_search" style="left:849px; top:573px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "tempmngtdeptcd,tempmngtdeptnm";
- misfOpenPopUpList("02", ipt_tempmngtdeptcd,"", recv_list) ;
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_tempmngtdeptnm" ref="/root/main/cp_node/eqmtplcewinlist/tempmngtdeptnm" class="input_s_essential" appearance="input" style="left:678px; top:570px; width:167px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(ipt_tempmngtdeptnm.value.length == 0)
- ipt_tempmngtdeptcd.value = "";
- else
- misfValidationCheck("02", "", "tempmngtdeptcd,tempmngtdeptnm" );
- model.refresh();
-
-
- ]]>
- </script>
- </input>
- <caption id="cap_flwgrnttermfr" class="cell_1" style="left:355px; top:401px; width:80px; height:23px; vertical-align:middle; ">하자보증기간</caption>
- <select1 id="cmb_flwgrntterm" ref="/root/main/cp_node/eqmtplcewinlist/flwgrntterm" class="input_search" appearance="minimal" style="left:627px; top:405px; width:53px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var flwgrntterm = parseInt(model.getValue(cmb_flwgrntterm.attribute("ref")));
- var flwgrnttermfr = model.getValue(ipt_flwgrnttermfr.attribute("ref"));
- flwgrnttermfr_dt = flwgrnttermfr.toDate("YYYYMMDD");
- model.setValue(ipt_flwgrnttermto.attribute("ref"), flwgrnttermfr_dt.getAddDate(+flwgrntterm,"Y").getDateFormat("YYYYMMDD"));
- ipt_flwgrnttermto.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_flwgrnttermto" ref="/root/main/cp_node/eqmtplcewinlist/flwgrnttermto" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:530px; top:405px; width:95px; height:19px; "/>
- <input id="ipt_flwgrnttermfr" ref="/root/main/cp_node/eqmtplcewinlist/flwgrnttermfr" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:432px; top:405px; width:95px; height:19px; "/>
- <button id="btn_serialno" class="btn2_letter2" visibility="visible" style="left:498px; top:520px; width:42px; height:19px; ">
- <caption>S/N</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chk_flag = false;
- var plcewinqty = model.getValue(ipt_plcewinqty.attribute("ref"));
- for (var i=1;i < grd_serialno.rows;i++){
- if (!(grd_serialno.valueMatrix(i, grd_serialno.colRef("fixasetcd"))=="")){
- chk_flag = true;
- break;
- }
- }
- grp_serialno.visible = true;
-
- if (chk_flag==false){
- grd_serialno.rowstatus(1) = 1;
- }
-
- if (chk_flag==false && grd_serialno.rows-1 < plcewinqty){
- for (var i=0;grd_serialno.rows <= plcewinqty;i++){
- grd_serialno.addRow();
- }
- }
-
- ]]>
- </script>
- </button>
- <group id="grp_serialno" visibility="hidden" showeffect="slidepositive 500" style="left:590px; top:380px; width:280px; height:350px; ">
- <shape id="rectangle2" appearance="rectangle" style="left:0px; top:0px; width:280px; height:340px; border-color:#339966; border-width:2px; "/>
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:3px; width:268px; height:27px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_confirm" class="btn4_letter2" style="left:207px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_serialno.attribute("visibility") = "hidden" ;
- ]]>
- </script>
- </button>
- <datagrid id="grd_serialno" nodeset="/root/main/list/serialnolist" caption="자산코드^Serial No." colsep="^" colwidth="83, 126" ellipsis="true" extendlastcol="scroll" rowheader="update" rowsep="|" tooltip="true" style="left:5px; top:35px; width:260px; height:295px; ">
- <col ref="fixasetcd" type="output"/>
- <col ref="mngtno" type="input"/>
- </datagrid>
- </group>
- <caption id="caption40" class="cell_1" style="left:355px; top:712px; width:75px; height:23px; vertical-align:middle; ">비고</caption>
- <input id="ipt_cmt" ref="/root/main/cp_node/eqmtplcewinlist/cmt" style="left:431px; top:714px; width:440px; height:19px; "/>
- </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>
|