12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>비품입고관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <goodwin>
- <goodwinlist/>
- <goodmaxwinno/>
- </goodwin>
- <goodnonwin>
- <goodnonwinlist/>
- <goodmaxwinno/>
- </goodnonwin>
- <fixplceord>
- <fixplceordlist/>
- </fixplceord>
- <fixplcewin>
- <fixplcewinlist/>
- </fixplcewin>
- <fixplcewinno>
- <fixplcewinnolist/>
- </fixplcewinno>
- </list>
- <item/>
- </main>
- <send>
- <save>
- </save>
- <goodwin>
- <instcd/>
- <goodflag/>
- <windd/>
- <winno/>
- <windeptcd/>
- <windeptnm/>
- <winpsn/>
- <winpsnnm/>
- <installplcecd/>
- <installplcenm/>
- <paycond/>
- <suplplcecd/>
- <suplplcenm/>
- <temppay/>
- <calcdocukind/>
- <calcdocudd/>
- <plceordfrdd/>
- <plceordtodd/>
- <retrmaxwinnoyn/>
- <suppcustcd/>
- <suppcustnm/>
- <pgm_gubun/>
- <prcsstat/>
- <fromdd/>
- <todd/>
- </goodwin>
- <gooddmndreq>
- <instcd/>
- <goodflag/>
- <purcdmnddd/>
- <purcdmndno/>
- <purcdmndseq/>
- </gooddmndreq>
- <fixplceord>
- <fixplceordlist/>
- </fixplceord>
- <fixplcewin>
- <fixplcewinlist/>
- </fixplcewin>
- </send>
- <init>
- <winqty/>
- <winamt/>
- </init>
- <hidden/>
- <temp/>
- <copynode/>
- </root>
- </instance>
- <bind id="bind1" ref="/root/main/list/fixplceord/fixplceordlist/plcewinamt" calculate="../plcewinqty *../wncurncyamt"/>
- <bind id="bind2" ref="/root/main/list/fixplceord/fixplcewinlist/plcewinamt" calculate="../plcewinqty *../wncurncyamt"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ////화면 Control을 초기화한다
- fCheckAuth();
- fInitialize();
- ]]>
- </script>
- <submission id="TXRSO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddelive" resultref="/root/hidden/temp">"</submission>
- <submission id="TRRSR05201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodwin" resultref="/root/main/list/fixplceord"/>
- <submission id="TXRSI02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixplceord" resultref="/root/hidden/temp">"</submission>
- <submission id="TRRSI02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodwin" resultref="/root/main/list/fixplcewin"/>
- <submission id="TXRSI02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixplcewin" resultref="/root/hidden/temp">"</submission>
- <submission id="TRRSI02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodwin" resultref="/root/main/list/fixplcewinno"/>
- <bind id="bind3" ref="/root/main/list/fixplcewin/fixplcewinlist/winamtcheck" calculate="if(../plcewinamt = ../plceordamt, 1, 0)"/>
- </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() {
- model.resetInstanceNode("/root/send");
- rszfUserInstList(cmb_instcd,getUserInfo("userid"));
- misfComboComCdListMulti("R0109","cmb_calcdocukind");
- // 조회가 아닌데 전체는 의미가 없다...HBH . 2007.08.13
- //rszfComboAppendBlankChild("cmb_calcdocukind");
-
- misfGridInit(grd_fixplcewin);
- misfGridInit(grd_fixplceord);
-
- // misfMsterDetailSet(grd_fixplceord,null, "TRRSI00101" ,"Y");
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
-
- // model.setValue(ipt_windd.attribute("ref") ,curdate);
- model.setValue(ipt_fromdd.attribute("ref") , curdate.substr(0,6)+"01" );
- model.setValue(ipt_todd.attribute("ref") , curdate.substr(0,6)+cvtdate.getMonthDay() );
- model.setValue(ipt_plceordfrdd.attribute("ref") , curdate.substr(0,6)+"01" );
- model.setValue(ipt_plceordtodd.attribute("ref") , curdate.substr(0,6)+cvtdate.getMonthDay() );
-
- rdo_paycond.select(0);
-
- model.setValue(ipt_windd.attribute("ref"), getCurrentDate()); //입고일자
- model.setValue(ipt_calcdocudd.attribute("ref"), getCurrentDate()); //계산서일자
- //hidden
- model.setValue(ipt_goodflag.attribute("ref"),'GE'); // 물품구분
- model.setValue(ipt_pgm_gubun.attribute("ref"),'W'); // 조회구분 ( P:요구, W :입고)
- model.setValue(ipt_prcsstat.attribute("ref"),'3'); // 진행상태 ( 요구조회 프로그램과 같이 사용하기 위해)
-
- model.setValue(ipt_sumwinqty.attribute("ref"),0);
- model.setValue(opt_sumwinamt.attribute("ref"),0);
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(ipt_windeptcd.attribute("ref") , getUserInfo("dutplcecd"));
- model.setValue(opt_windeptnm.attribute("ref") , getUserInfo("dutplcenm"));
- model.setValue(ipt_winpsn.attribute("ref") , getUserInfo("userid"));
- model.setValue(opt_winpsnnm.attribute("ref") , getUserInfo("usernm"));
-
- grd_fixplcewin.explorerbar = "sortshow";
- grd_fixplceord.explorerbar = "sortshow";
-
- // grd_fixplceord.frozenCols = grd_fixplceord.colRef("winunit");
- model.refresh();
- }
-
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
- function fCheckRetrieveData(pmsg)
- {
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- }
- return false;
- }
- if(model.getValue(ipt_winpsn.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("입고담당자를 " ,"C001");
- model.setFocus("ipt_winpsn");
- }
- return false;
- }
- if(model.getValue(ipt_windeptcd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("입고부서를 " ,"C001");
- model.setFocus("ipt_windeptcd");
- }
- return false;
- }
- if(sch_select.selectedIndex == 0)
- {
- /* 미입고내역 조회는 거래처가 없어도 될듯 2007.10.14 HBH
- if(model.getValue(ipt_suplplcecd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("거래처를 " ,"C001");
- model.setFocus("ipt_suplplcecd");
- }
- return false;
- }
- */
- if(model.getValue(ipt_plceordfrdd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("요구시작일자 " ,"C001");
- model.setFocus("ipt_plceordfrdd");
- }
- return false;
- }
- if(model.getValue(ipt_plceordtodd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("요구종료일자 " ,"C001");
- model.setFocus("ipt_plceordtodd");
- }
- return false;
- }
- return true;
- }
- else
- {
- // if(model.getValue(ipt_windd.attribute("ref")).length== 0 )
- // {
- // if(pmsg == true)
- // {
- // messageBox("입고일자를 " ,"C001");
- // model.setFocus("ipt_windd");
- // }
- // return false;
- // }
- }
- return true;
- }
- function fDefaultSetting(prow)
- {
- var grd_setting;
- if(sch_select.selectedIndex == 0)grd_setting = grd_fixplceord;
- else grd_setting = grd_fixplcewin;
- model.setValue(grd_setting.nodeset+"["+prow+"]/instcd",model.getValue(cmb_instcd.attribute("ref")));
- model.setValue(grd_setting.nodeset+"["+prow+"]/goodflag",model.getValue(ipt_goodflag.attribute("ref")));
- model.setValue(grd_setting.nodeset+"["+prow+"]/windd",model.getValue(ipt_windd.attribute("ref")));
- model.setValue(grd_setting.nodeset+"["+prow+"]/winpsn",model.getValue(ipt_winpsn.attribute("ref")));
- model.setValue(grd_setting.nodeset+"["+prow+"]/windeptcd",model.getValue(ipt_windeptcd.attribute("ref")));
- model.setValue(grd_setting.nodeset+"["+prow+"]/installplcecd",model.getValue("/root/send/goodwin/installplcecd"));
- model.setValue(grd_setting.nodeset+"["+prow+"]/paycond",rdo_paycond.value);
- model.setValue(grd_setting.nodeset+"["+prow+"]/calcdocukind",model.getValue(cmb_calcdocukind.attribute("ref")));;
- model.setValue(grd_setting.nodeset+"["+prow+"]/calcdocudd",model.getValue(ipt_calcdocudd.attribute("ref")));
- model.setValue(grd_setting.nodeset+"["+prow+"]/suplplcecd",model.getValue(ipt_suplplcecd.attribute("ref")));
- model.setValue(grd_setting.nodeset+"["+prow+"]/winseqno",fGetMaxWinSeqNo());
- model.setValue(grd_setting.nodeset+"["+prow+"]/delivedeptqty",0);
- model.setValue(grd_setting.nodeset+"["+prow+"]/deliveno",0);
- model.setValue(grd_setting.nodeset+"["+prow+"]/stocqty",0);
- model.setValue(grd_setting.nodeset+"["+prow+"]/iokind",model.getValue(ipt_iokind.attribute("ref")));
-
- }
- function fGetMaxWinSeqNo()
- {
- var maxwinseqno = "";
- for(var currow = grd_fixplceord.fixedRows ; currow < grd_fixplceord.rows; currow++)
- {
- if(maxwinseqno < grd_fixplceord.valueMatrix(currow , grd_fixplceord.colRef("winseqno")))
- maxwinseqno = grd_fixplceord.valueMatrix(currow , grd_fixplceord.colRef("winseqno"));
- }
-
- if(maxwinseqno.length == 0)maxwinseqno = "001";
- else maxwinseqno = parseInt(maxwinseqno) + 1;
-
- maxwinseqno = "" + maxwinseqno;
- return maxwinseqno.getLeftPad(3,"0");
- }
- function fSettingSaveInData()
- {
- for(var liRow = grd_fixplceord.fixedRows; liRow < grd_fixplceord.rows ; liRow++)
- {
- //fDefaultSetting(liRow);
- //model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/windeptcd" , model.getValue(ipt_windeptcd.attribute("ref")));
- //model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/delivedeptcd" , model.getValue(ipt_windeptcd.attribute("ref")));
-
- model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/paycond" , model.getValue(rdo_paycond.attribute("ref")));
- model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/windd" , model.getValue(ipt_windd.attribute("ref")));
- // model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/calcdocukind" , model.getValue(rdo_paycond.attribute("ref")));
- model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/calcdocukind" , model.getValue(cmb_calcdocukind.attribute("ref")));
- model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/calcdocudd" , model.getValue(ipt_calcdocudd.attribute("ref")));
- }
- }
- function fCheckSaveData()
- {
-
- if(sch_select.selectedIndex == 0)
- {
- var updtdata = getGridUpdateData(grd_fixplceord);
- if (updtdata == "" )
- {
- messageBox("입고처리할 내역이" ,"I004");
- return false;
- }
- }
- else
- {
- var updtdata = getGridUpdateData(grd_fixplcewin);
- if (updtdata == "" )
- {
- messageBox("입고처리 변경 내역이" ,"I004");
- return false;
- }
-
- }
-
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- return false;
- }
-
- if(sch_select.selectedIndex == 0)
- {
-
- if(model.getValue(ipt_windd.attribute("ref")).length== 0 )
- {
- messageBox("입고일자를 " ,"C001");
- model.setFocus("ipt_windd");
- return false;
- }
-
- if(model.getValue(ipt_windeptcd.attribute("ref")).length== 0 )
- {
- messageBox("입고부서를 " ,"C001");
- model.setFocus("ipt_windeptcd");
- return false;
- }
-
- if(model.getValue(ipt_winpsn.attribute("ref")).length== 0 )
- {
- messageBox("입고담당자를 " ,"C001");
- model.setFocus("ipt_winpsn");
- return false;
- }
-
- if(model.getValue(rdo_paycond.attribute("ref")).length== 0 )
- {
- messageBox("지불 필을 " ,"C001");
- model.setFocus("rdo_paycond");
- 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;
- }
- for(var currow = grd_fixplceord.fixedRows ; currow < grd_fixplceord.rows ; currow++)
- {
- if((grd_fixplceord.valueMatrix(currow , grd_fixplceord.colRef("select")) == "Y") &&
- (grd_fixplceord.valueMatrix(currow , grd_fixplceord.colRef("plcewinqty")).length == 0 ||grd_fixplceord.valueMatrix(currow , grd_fixplceord.colRef("plcewinqty")) == 0))
- {
- messageBox(currow + " 번째 입고량을 " ,"C001");
- //grd_fixplceord.endEditCell();
- grd_fixplceord.row = currow;
- grd_fixplceord.col= grd_fixplceord.colRef("plcewinqty");
- grd_fixplceord.editCell();
- return false;
- }
- }
- }
- /*
- else
- {
- if(model.getValue(ipt_suplplcecd.attribute("ref")).length== 0 )
- {
- messageBox("거래처를 " ,"C001");
- model.setFocus("ipt_suplplcecd");
- return false;
- }
- }
- */
- return true;
- }
- function fAfterRetrieve()
- {
-
- if(sch_select.selectedIndex == 0)
- {
- }
- else
- {
- var winqty = 0;
- var winamt = 0;
- for(var currow = grd_fixplcewin.fixedRows ; currow < grd_fixplcewin.rows ; currow++)
- {
- //winqty = winqty + parseFloat( grd_fixplceord.valueMatrix(currow , grd_fixplceord.colRef("winqty")));
- winqty = winqty + 1;
- winamt = winamt + 0 + parseFloat(grd_fixplcewin.valueMatrix(currow , grd_fixplcewin.colRef("plcewinamt")));
-
- //20080928
- //지불필 및 집기비품을 readOnly로 변경
- grd_fixplcewin.isReadOnly(currow , grd_fixplcewin.colRef("paycond") ) = true;
- grd_fixplcewin.isReadOnly(currow , grd_fixplcewin.colRef("fixtrflag") ) = true;
- }
- model.setValue(ipt_sumwinqty.attribute("ref"),grd_fixplcewin.rows - grd_fixplcewin.fixedRows);
- model.setValue(opt_sumwinamt.attribute("ref"),winamt);
-
- }
- 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:243px; height:14px; ">비품입고관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:737px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:65px; "/>
- <input id="ipt_winno" ref="/root/send/goodwin/winno" class="input_default" disabled="true" visibility="hidden" editable="false" style="left:1010px; top:44px; width:47px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- // inputEnterKey("btn_search", "DOMActivate");
- if(event.keyCode == 13)
- {
- model.setValue(ipt_winno.attribute("ref"),ipt_winno.currentText);
- model.refresh();
- if(fCheckRetrieveData(false) == false)return;
- if(sch_select.selectedIndex == 0)
- {
- misfGridInit(grd_fixplceord);
- submit("TRRSI00102");
- }
- else
- {
- misfMsterDetailRetrieve();
- }
- fAfterRetrieve();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_windeptcd" ref="/root/send/goodwin/windeptcd" class="input_s_essential" disabled="false" maxlength="10" appearance="input" style="left:502px; top:18px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "windeptcd,windeptnm" );
- model.refresh();
- if(sch_select.selectedIndex == 1)btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <output id="opt_windeptnm" ref="/root/send/goodwin/windeptnm" class="output_fix" appearance="output" style="left:594px; top:18px; width:130px; height:19px; "/>
- <button id="bnt_suplplcecd" class="icon_search" style="left:195px; top:46px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="ipt_suplplcecd" ref="/root/send/goodwin/suplplcecd" class="input_essential" maxlength="10" style="left:100px; top:44px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcecd.value.length == 0)
- ipt_suplplcenm.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcecd.attribute("ref")),"","suplplcecd,suplplcenm" ,
- ipt_suplplcecd,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_suplplcenm" ref="/root/send/goodwin/suplplcenm" class="input_fix" appearance="input" style="left:215px; top:44px; width:170px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcenm.value.length == 0)
- ipt_suplplcecd.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcenm.attribute("ref")),"","suplplcecd,suplplcenm" ,
- ipt_suplplcenm,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_instcd" ref="/root/send/goodwin/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:18px; width:139px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <output id="opt_winpsnnm" ref="/root/send/goodwin/winpsnnm" class="output_fix" appearance="output" style="left:502px; top:44px; width:102px; height:19px; "/>
- <input id="ipt_winpsn" ref="/root/send/goodwin/winpsn" class="input_fix" visibility="hidden" maxlength="10" appearance="input" style="left:1073px; top:45px; width:31px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1124px; top:39px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fCheckRetrieveData(true) == false)return;
- model.setValue("/root/send/goodwin/retrmaxwinnoyn","Y");
- //model.setValue("/root/send/goodwin/winno","");
- if(sch_select.selectedIndex == 0)
- {
- misfGridInit(grd_fixplceord);
- //submit("TRRSI00102");
- submit("TRRSR05201");
- }
- else
- {
- // 조회전 최대값 가져온다.
- model.removenode("/root/main/list/fixplcewinno/fixplcewinnolist");
- model.makeNode("/root/main/list/fixplcewinno/fixplcewinnolist");
- //submit("TRRSI02502");
- //model.setValue(ipt_winno.attribute("ref"),model.getValue("/root/main/list/fixplcewinno/fixplcewinnolist/winno"));
- misfGridInit(grd_fixplcewin);
- submit("TRRSI02501");
- }
- fAfterRetrieve();
- ]]>
- </script>
- </button>
- <switch id="sch_select" style="left:0px; top:107px; width:1195px; height:598px; ">
- <case id="cse_nonwin" selected="true" style="left:0px; top:0px; width:1193px; height:637; ">
- <button id="btnselect" class="btn2_letter9" style="left:1074px; top:3px; width:119px; height:19px; ">
- <caption>전체/전체선택 취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var liRow = grd_fixplceord.fixedRows; liRow < grd_fixplceord.rows ; liRow++)
- {
- if(grd_fixplceord.valueMatrix(liRow,grd_fixplceord.colRef("select")) == "Y")
- {
- model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/select" , "N");
- model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/plcewinqty" , 0);
- grd_fixplceord.rowStatus(liRow) = "0";
- }
- else
- {
- model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/select" , "Y");
- model.setValue(grd_fixplceord.nodeset + "[" + (liRow - grd_fixplceord.fixedRows + 1) + "]/plcewinqty" , ( grd_fixplceord.valueMatrix(liRow,grd_fixplceord.colRef("plceordqty"))
- - grd_fixplceord.valueMatrix(liRow,grd_fixplceord.colRef("pre_plcewinqty")) ));
- grd_fixplceord.rowStatus(liRow) = "2";
- }
- }
- model.recalculate();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:24px; x2:1193; y2:24px; "/>
- <datagrid id="grd_fixplceord" nodeset="/root/main/list/fixplceord/fixplceordlist" caption="선택^요구일자번호^요구일자번호^대분류^중분류^소분류^품명^모델^규격^청구부서^거래처명^요구량^요구금액^기입고량^입고수량^입고단가^입고금액^설치장소^집기비품^caption1" colsep="^" colwidth="31, 75, 35, 60, 60, 60, 120, 80, 70, 75, 55, 55, 60, 55, 55, 80, 80, 54, 70, 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" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:29px; width:1193px; height:561px; ">
- <col checkvalue="Y,N" ref="select" type="checkbox"/>
- <col ref="plceorddd" format="yyyy-mm-dd"/>
- <col ref="plceordseqno" style="text-align:center; "/>
- <col ref="lrgnm"/>
- <col ref="mdlnm"/>
- <col ref="smlnm"/>
- <col ref="goodnm"/>
- <col ref="goodmodel"/>
- <col ref="goodspec"/>
- <col ref="reqdeptnm"/>
- <col ref="suplplcenm"/>
- <col ref="plceordqty" format="#,###" style="text-align:right; "/>
- <col ref="plceordamt" format="#,###" style="text-align:right; "/>
- <col ref="pre_plcewinqty" format="#,###" style="left:856px; top:23px; width:55px; height:23px; text-align:right; "/>
- <col ref="plcewinqty" type="input" style="text-align:right; "/>
- <col ref="wncurncyamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="plcewinamt" format="#,###" style="text-align:right; "/>
- <col ref="installplcenm" visibility="hidden"/>
- <col checkvalue="1,2" ref="fixtrflag" type="checkbox"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="plceordseqno" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="prodplce" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="suppcustcd" visibility="hidden"/>
- <col ref="iopsnflag" visibility="hidden"/>
- <col ref="forgncurncyamt" visibility="hidden"/>
- <col ref="curncyunit" visibility="hidden"/>
- <col ref="chgrate" visibility="hidden"/>
- <col ref="forgnordamt" visibility="hidden"/>
- <col ref="lcno" visibility="hidden"/>
- <col ref="lcestbdd" visibility="hidden"/>
- <col ref="lcestbbank" 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="reqflag" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqno" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="reqqty" visibility="hidden"/>
- <col ref="adjtqty" visibility="hidden"/>
- <col ref="calcdocukind" visibility="hidden"/>
- <col ref="calcdocudd" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="cntrdeptcd" visibility="hidden"/>
- <col ref="cntrdeptnm" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="mngtdeptnm" visibility="hidden"/>
- <col ref="prodplcenm" visibility="hidden"/>
- <col ref="windd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_fixplceord.col == grd_fixplceord.colRef("installplcenm") )
- {
- var recv_list = "installplcecd,installplcenm";
- misfOpenPopUpList("19", grd_fixplceord,"", recv_list) ;
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if (grd_fixplceord.col == grd_fixplceord.colRef("select") )
- {
- if(grd_fixplceord.valueMatrix(grd_fixplceord.row,grd_fixplceord.colRef("select")) == "Y")
- {
- model.setValue(grd_fixplceord.nodeset + "[" + (grd_fixplceord.row - grd_fixplceord.fixedRows + 1) + "]/plcewinqty" , ( grd_fixplceord.valueMatrix(grd_fixplceord.row,grd_fixplceord.colRef("plceordqty"))
- - grd_fixplceord.valueMatrix(grd_fixplceord.row,grd_fixplceord.colRef("pre_plcewinqty")) ));
- grd_fixplceord.rowStatus(grd_fixplceord.row) = "2";
- }
- else
- {
- model.setValue(grd_fixplceord.nodeset + "[" + (grd_fixplceord.row - grd_fixplceord.fixedRows + 1) + "]/plcewinqty" , 0);
- grd_fixplceord.rowStatus(grd_fixplceord.row) = "0";
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixplceord.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button5" class="btn5_letter5" navindex="12" style="left:996px; top:3px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_fixplceord.rows - grd_fixplceord.fixedRows > 0 ) {
- var fileName = "요구내역";
- var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_fixplceord.saveExcel(fileName, "Sheet");
- } else {
- messageBox("저장 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_windd" ref="/root/send/goodwin/windd" class="input_s_essential" visibility="visible" inputtype="date" style="left:410px; top:3px; width:120px; height:19px; "/>
- <caption id="caption8" style="left:342px; top:6px; width:65px; height:18px; font-weight:bold; vertical-align:middle; ">입고일자 :</caption>
- <input id="ipt_calcdocudd" ref="/root/send/goodwin/calcdocudd" class="input_search" inputtype="date" style="left:628px; top:3px; width:120px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/goodwin/windd", model.getValue("/root/send/goodwin/calcdocudd")); // 20081209. 계산서 일자 변경시 입고일자 같이 변경 _ 현업요구사항
- ipt_windd.refresh();
-
- var selectdate = model.getValue(ipt_calcdocudd.attribute("ref")).substr(0,6); //선택한 달
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD").getDateFormat("YYYYMM"); //이번달
-
- //if ( selectdate != cvtdate ) {
- // messageBox("계산서일자는 이번달만 선택하실수","I010");
- // model.setValue(ipt_calcdocudd.attribute("ref") ,curdate); //계산서일자를 다시오늘로 셋팅하자
- // model.refresh();
- //}
- ]]>
- </script>
- </input>
- <caption id="caption7" style="left:550px; top:5px; width:77px; height:18px; font-weight:bold; vertical-align:middle; ">계산서일자 :</caption>
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:118px; height:14px; ">구매요구 내역</caption>
- <select1 id="cmb_calcdocukind" ref="/root/send/goodwin/calcdocukind" class="combo_search" appearance="minimal" style="left:849px; top:3px; width:113px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/calcdocukind">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption9" style="left:770px; top:5px; width:77px; height:18px; font-weight:bold; vertical-align:middle; ">계산서유형 :</caption>
- </case>
- <case id="cse_win" style="left:0px; top:0px; width:1193px; height:637px; ">
- <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:118px; height:13px; ">입고내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:24px; x2:1192px; y2:24px; "/>
- <button id="btn_choidel" class="btn2_letter3" style="left:1140px; top:3px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- if(grd_fixplcewin.valueMatrix( grd_fixplcewin.row, grd_fixplcewin.colRef("calccnfmyn")) == "Y"){
- messageBox("선택하신 입고건은 정산이 확정되어 입고삭제를 " ,"E001"); //E001 ->할 수 없습니다.
- return;
- }
- if(grd_fixplcewin.valueMatrix( grd_fixplcewin.row, grd_fixplcewin.colRef("chkyn")) == "Y" ){
- messageBox("선택하신 입고건은 검수가 완료되어 입고삭제를 " ,"E001");
- return;
- }
-
- misfGridIUD(grd_fixplcewin, "D");
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn5_letter5" navindex="12" style="left:1064px; top:3px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_fixplcewin.rows - grd_fixplcewin.fixedRows > 0 ) {
- var fileName = "입고내역_" + getCurrentDate();
- var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_fixplcewin.saveExcel(fileName, "Sheet");
- } else {
- messageBox("저장 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- <output id="ipt_sumwinqty" ref="/root/init/winqty" class="output_default" style="left:780px; top:3px; width:70px; height:19px; font-weight:bold; "/>
- <output id="opt_sumwinamt" ref="/root/init/winamt" class="output_default" format="#,###" style="left:933px; top:3px; width:125px; height:19px; font-weight:bold; "/>
- <datagrid id="grd_fixplcewin" nodeset="/root/main/list/fixplcewin/fixplcewinlist" caption="입고번호^입고번호^입고번호^대분류^중분류^소분류^품명^모델^규격^청구부서^사용부서^요구량^요구금액^입고수량^입고단가^금액^거래처^설치부서^지불필^집기비품^입고금액변경^^caption1^caption2^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^32^33^34^35^36^검수유무^정산확정여부^39" colsep="^" colwidth="75, 35, 35, 72, 70, 75, 160, 90, 80, 70, 70, 60, 80, 65, 80, 80, 80, 70, 55, 55, 80, 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" ellipsis="true" explorerbar="sortshow" frozencols="11" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:29px; width:1193px; height:561px; ">
- <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="winno" style="text-align:center; "/>
- <col ref="winseqno" style="text-align:center; "/>
- <col ref="lrgnm" visibility="hidden"/>
- <col ref="mdlnm" visibility="hidden"/>
- <col ref="smlnm" visibility="hidden"/>
- <col ref="goodnm"/>
- <col ref="goodmodel"/>
- <col ref="goodspec"/>
- <col ref="reqdeptnm"/>
- <col ref="mngtdeptnm"/>
- <col ref="plceordqty" style="text-align:right; "/>
- <col ref="plceordamt" format="#,###" style="text-align:right; "/>
- <col ref="plcewinqty" style="text-align:right; "/>
- <col ref="wncurncyamt" format="#,###" style="text-align:right; "/>
- <col ref="plcewinamt" format="#,###" style="text-align:right; "/>
- <col ref="suplplcenm"/>
- <col ref="installplcenm"/>
- <col checkvalue="2,1" ref="paycond" type="checkbox"/>
- <col checkvalue="1,2" ref="fixtrflag" type="checkbox"/>
- <col checkvalue="0,1" disabled="true" ref="winamtcheck" type="checkbox"/>
- <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="prodcmpynm" 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="pre_plcewinqty" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqno" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="chkyn"/>
- <col ref="calccnfmyn"/>
- <col ref="reqflag" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixplcewin.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" style="left:721px; top:1px; width:60px; height:23px; vertical-align:middle; ">입고건수 :</caption>
- <caption id="caption5" style="left:875px; top:1px; width:60px; height:23px; vertical-align:middle; ">입고합계 :</caption>
- </case>
- </switch>
- <button id="button2" class="btn_sw" group="tab" style="left:125px; top:86px; width:144px; height:22px; ">
- <caption>입고관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cap_purcdd.visible = false;
- ipt_plceordfrdd.visible = false;
- ipt_plceordtodd.visible = false;
-
- cap_windd.visible = true;
- ipt_fromdd.visible = true;
- ipt_todd.visible = true;
-
- model.toggle("cse_win");
-
-
- ]]>
- </script>
- <toggle case="cse_win" ev:event="DOMActivate"/>
- </button>
- <button id="button6" class="btn_sw" group="tab" selected="true" style="left:0px; top:86px; width:125px; height:22px; ">
- <caption>미입고조회/입고</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cap_purcdd.visible = true;
- ipt_plceordfrdd.visible = true;
- ipt_plceordtodd.visible = true;
-
- cap_windd.visible = false;
- ipt_fromdd.visible = false;
- ipt_todd.visible = false;
- model.toggle("cse_nonwin");
- ]]>
- </script>
- </button>
- <input id="ipt_goodflag" ref="/root/send/goodwin/goodflag" visibility="hidden" style="left:1064px; top:45px; width:40px; height:19px; "/>
- <button id="button4" class="icon_search" visibility="hidden" style="left:822px; top:83px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suppcustcd,suppcustnm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="ipt_suppcustnm" ref="/root/send/goodwin/suppcustnm" class="input_fix" visibility="hidden" appearance="input" style="left:842px; top:80px; width:160px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suppcustnm.value.length == 0)
- ipt_suppcustcd.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustnm.attribute("ref")),"","suppcustcd,suppcustnm" ,
- ipt_suppcustnm,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suppcustcd" ref="/root/send/goodwin/suppcustcd" class="input_default" visibility="hidden" appearance="output" style="left:730px; top:80px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplce.attribute("ref")),"","suplplcecd,suplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
- if(ipt_suppcustcd.value.length == 0)
- ipt_suppcustnm.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustcd.attribute("ref")),"","suppcustcd,suppcustnm" ,
- ipt_suppcustcd,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_pgm_gubun" ref="/root/send/goodwin/pgm_gubun" visibility="hidden" style="left:1060px; top:65px; width:40px; height:19px; "/>
- <input id="ipt_prcsstat" ref="/root/send/goodwin/prcsstat" class="input_fix" visibility="hidden" maxlength="10" appearance="input" style="left:1073px; top:45px; width:31px; height:19px; "/>
- <line id="line18" class="line_4" style="x1:1109px; y1:18px; x2:1109px; y2:88px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption11" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">기관코드 :</caption>
- <caption id="cap_windd" class="search_name" visibility="hidden" style="left:747px; top:20px; width:86px; height:17px; ">입고일자 :</caption>
- <caption id="caption13" class="search_name" style="left:15px; top:46px; width:83px; height:17px; ">거 래 처 :</caption>
- <caption id="caption19" class="search_name" visibility="hidden" style="left:632px; top:81px; width:99px; height:17px; ">보조거래처 :</caption>
- <caption id="caption20" class="search_name" style="left:400px; top:19px; width:101px; height:17px; ">관리부서 :</caption>
- <caption id="caption21" class="search_name" style="left:400px; top:46px; width:99px; height:17px; ">입고담당자 :</caption>
- <caption id="cap_paycond" class="search_name" style="left:747px; top:50px; width:88px; height:17px; ">지 불 필 :</caption>
- <select1 id="rdo_paycond" ref="/root/send/goodwin/paycond" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:835px; top:51px; width:185px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>정상</label>
- <value>1</value>
- </item>
- <item>
- <label>지불 필</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_todd" ref="/root/send/goodwin/todd" class="input_s_essential" visibility="hidden" inputtype="date" style="left:952px; top:18px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_fromdd" ref="/root/send/goodwin/fromdd" class="input_s_essential" visibility="hidden" inputtype="date" style="left:835px; top:18px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" style="left:937px; top:18px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
- <caption id="caption23" style="left:937px; top:18px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
- <caption id="cap_purcdd" class="search_name" style="left:747px; top:20px; width:91px; height:17px; font-weight:bold; vertical-align:middle; ">요구일자 :</caption>
- <input id="ipt_plceordfrdd" ref="/root/send/goodwin/plceordfrdd" class="input_s_essential" inputtype="date" style="left:835px; top:18px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_plceordtodd" ref="/root/send/goodwin/plceordtodd" class="input_s_essential" inputtype="date" style="left:952px; top:18px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button1" class="btn3_letter6" visibility="hidden" style="left:57px; top:3px; width:104px; height:22px; ">
- <caption>입고전표관리</caption>
- </button>
- <button id="button3" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </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:25px; x2:1195px; y2:25px; "/>
- <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;
-
- if(sch_select.selectedIndex == 0)
- {
- fSettingSaveInData();
- model.setValue("/root/send/fixplceord/fixplceordlist", grd_fixplceord.getUpdateData());
-
- submit("TXRSI02501");
- }
- else
- {
- model.removenode("/root/send/fixplcewin/fixplcewinlist");
- model.makeNode("/root/send/fixplcewin/fixplcewinlist");
- model.setValue("/root/send/fixplcewin/fixplcewinlist" ,grd_fixplcewin.getUpdateData());
- submit("TXRSI02502");
- }
- if (model.getValue(gvErrorMsgPath + "/type") != "error")btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|