123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602 |
- <?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>
- <goodgawin>
- <goodgawinlist/>
- </goodgawin>
- </list>
- </main>
- <init>
- <winqty/>
- <winamt/>
- <ifstatus>
- <label>전체</label>
- <value/>
- <label>미입고</label>
- <value>C</value>
- <label>입고</label>
- <value>S</value>
- </ifstatus>
- <nonusegoodview>
- <label>포함</label>
- <value>Y</value>
- <label>제외</label>
- <value>N</value>
- </nonusegoodview>
- </init>
- <send>
- <goodgawin>
- <instcd/>
- <goodflag/>
- <winpsn/>
- <winpsnnm/>
- <windeptcd/>
- <windeptnm/>
- <suppcustcd/>
- <suppcustnm/>
- <gawindd/>
- <gatowindd/>
- <iokind/>
- <instnm/>
- <ifstatus/>
- <goodcd/>
- <goodnm/>
- </goodgawin>
- <save>
- <goodgawinlist/>
- <interfacecustcdlist>
- <purc_main_suplplcecd/>
- <drg_main_suplplcecd/>
- </interfacecustcdlist>
- </save>
- </send>
- <hidden>
- <nonusegoodview/>
- </hidden>
- </root>
- </instance>
- <bind id="winqty" ref="/root/main/list/goodgawin/goodwinlist/winqty" calculate="../winpackqty *../winpackcntperunit"/>
- <bind id="winamt" ref="/root/main/list/goodgawin/goodwinlist/winamt" calculate="(../winpackqty *../winpackcntperunit) * ../winunitcost"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSI00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodgawin" resultref="/root/main/list/goodgawin"/>
- <submission id="TXRSI00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp">"</submission>
- </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[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
-
- misfGridInit(grd_goodgawin);
- misfMsterDetailSet(grd_goodgawin,null, "TRRSI00801" ,"Y");
- model.setValue(opt_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(opt_instnm.attribute("ref") , getUserInfo("dutplceinstnm"));
-
- model.setValue(ipt_gawindd.attribute("ref") , getCurrentDate());
- model.setValue(ipt_gatowindd.attribute("ref") , getCurrentDate());
-
- 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"));
- // hiddem col
- model.setValue(opt_goodflag.attribute("ref") , "Y");
- model.setValue(opt_iokind.attribute("ref") , "1B");
- rdo_nonusegoodview.select(0);
- model.refresh();
- }
-
- function fCheckGrid()
- {
-
- for(var r = grd_goodgawin.fixedRows; r < grd_goodgawin.rows; r++)
- {
- if(grd_goodgawin.valueMatrix( r, grd_goodgawin.colRef("ifstatus")) != 'S' ) {
- grd_goodgawin.valueMatrix(r, grd_goodgawin.colRef("ifstatus")) = 'S';
- grd_goodgawin.valueMatrix(r, grd_goodgawin.colRef("windd")) = grd_goodgawin.valueMatrix(r, grd_goodgawin.colRef("gawindd")) ;
- grd_goodgawin.valueMatrix(r, grd_goodgawin.colRef("iokind")) = model.getValue(opt_iokind.attribute("ref"));
- grd_goodgawin.valueMatrix(r, grd_goodgawin.colRef("windeptcd")) = model.getValue(ipt_windeptcd.attribute("ref"));
- grd_goodgawin.valueMatrix(r, grd_goodgawin.colRef("suplplcecd")) = rszfGetMainCust(purc_main_suplplcecd);
- grd_goodgawin.valueMatrix(r, grd_goodgawin.colRef("winpsn")) = model.getValue(ipt_winpsn.attribute("ref"));
- grd_goodgawin.rowStatus(r) = "2";
- }
- }
- model.refresh();
- }
-
- function fCheckSaveData()
- {
- if(model.getValue(opt_instcd.attribute("ref")).length== 0 )
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("opt_instcd");
- return false;
- }
- if(model.getValue(opt_goodflag.attribute("ref")).length== 0 )
- {
- messageBox("물품구분을 " ,"C002");
- model.setFocus("opt_goodflag");
- return false;
- }
- if(model.getValue(ipt_gawindd.attribute("ref")).length== 0 )
- {
- messageBox("가입고일자를 " ,"C001");
- model.setFocus("ipt_gawindd");
- return false;
- }
- if(model.getValue(ipt_winpsn.attribute("ref")).length== 0 )
- {
- messageBox("입고담당자를 " ,"C001");
- model.setFocus("ipt_winpsn");
- return false;
- }
- if(model.getValue(ipt_windeptcd.attribute("ref")).length== 0 )
- {
- messageBox("입고부서를 " ,"C001");
- model.setFocus("ipt_windeptcd");
- return false;
- }
- /*
- var winqty = 0;
- var delivedeptqty = 0;
- var stocqty = 0;
-
- for(var currow = grd_goodgawin.fixedRows ; currow < grd_goodgawin.rows ; currow++)
- {
- if(grd_goodgawin.valueMatrix(currow , grd_goodgawin.colRef("goodcd")).length == 0)
- {
- messageBox(currow + " 번째 물품코드를 " ,"C001");
- grd_goodgawin.row = currow;
- grd_goodgawin.col= grd_goodgawin.colRef("goodcd");
- grd_goodgawin.editCell();
- return false;
- }
- else
- {
- for(srcrow = currow + 1 ; srcrow < grd_goodgawin.rows ; srcrow++)
- {
- if(grd_goodgawin.valueMatrix(currow , grd_goodgawin.colRef("goodcd")) == grd_goodgawin.valueMatrix(srcrow , grd_goodgawin.colRef("goodcd")))
- {
- messageBox("동일 물품코드가 [" + (currow - grd_goodgawin.fixedRows + 1)+ "," + (srcrow - grd_goodgawin.fixedRows + 1)+ "->" + grd_goodgawin.valueMatrix(currow , grd_goodgawin.colRef("goodcd")) + "] 존재하여 저장 " ,"E001");
- return false;
- }
- }
- }
- if(grd_goodgawin.valueMatrix(currow , grd_goodgawin.colRef("winqty")).length == 0)
- {
- messageBox((currow)+ " 번째 요구량을 " ,"C001");
- grd_goodgawin.row = currow;
- grd_goodgawin.col= grd_goodgawin.colRef("winqty");
- grd_goodgawin.editCell();
- return false;
- }
- if(grd_goodgawin.valueMatrix(currow , grd_goodgawin.colRef("winunitcost")) == 0)
- {
- messageBox((currow)+ " 번째 단가를 " ,"C001");
- grd_goodgawin.row = currow;
- grd_goodgawin.col= grd_goodgawin.colRef("winunitcost");
- grd_goodgawin.editCell();
- return false;
- }
- if(grd_goodgawin.valueMatrix(currow , grd_goodgawin.colRef("winamt")) == 0)
- {
- messageBox((currow -1)+ " 번째 금액을 " ,"C001");
- grd_goodgawin.row = currow;
- grd_goodgawin.col= grd_goodgawin.colRef("winamt");
- grd_goodgawin.editCell();
- return false;
- }
-
- winqty = grd_goodgawin.valueMatrix(currow , grd_goodgawin.colRef("winqty"));
- delivedeptqty = grd_goodgawin.valueMatrix(currow , grd_goodgawin.colRef("delivedeptqty"));
- stocqty = winqty - delivedeptqty;
- model.setValue(grd_goodgawin.nodeset + "[" + (currow - grd_goodgawin.fixedRows + 1) + "]/stocqty" , stocqty);
- if(stocqty > 0)model.setValue(grd_goodgawin.nodeset + "[" + (currow - grd_goodgawin.fixedRows + 1) + "]/stocynindx" , "Y");
- else model.setValue(grd_goodgawin.nodeset + "[" + (currow - grd_goodgawin.fixedRows + 1) + "]/stocynindx" , "N");
-
- }
- */
- return true;
- }
- function fCheckRetrieveData(pmsg)
- {
- if(model.getValue(opt_instcd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("opt_instcd");
- }
- return false;
- }
- if(model.getValue(opt_goodflag.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("물품구분을 " ,"C002");
- model.setFocus("opt_goodflag");
- }
- return false;
- }
-
- if(model.getValue(ipt_gawindd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("가입고일자를 " ,"C001");
- model.setFocus("ipt_gawindd");
- }
- 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(model.getValue(opt_iokind.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("입고유형을 " ,"C001");
- model.setFocus("opt_iokind");
- }
- return false;
- }
- /*
- if(pmsg == true)
- {
- if(model.getValue(ipt_maincustlastsuplplce.attribute("ref")).length== 0 )
- {
- messageBox("공급처를 " ,"C001");
- model.setFocus("ipt_maincustlastsuplplce");
- return false;
- }
- }
- */
- return true;
- }
- ]]>
- </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:38; width:1195; height:744; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1195px; y2:96px; "/>
- <datagrid id="grd_goodgawin" nodeset="/root/main/list/goodgawin/goodgawinlist" caption="가입고일자^물품코드^물품코드^품명^규격^모델^보조거래처^포장수량^포장수량^포장수량^입고량^입고량^단가^입고금액^입고" colsep="^" colwidth="76, 73, 25, 245, 120, 100, 112, 40, 40, 40, 54, 40, 79, 82, 37, 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="|" tooltip="true" style="left:0px; top:101px; width:1195px; height:633px; ">
- <col ref="gawindd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="goodcd" _chartype="upper" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="suppcustnm"/>
- <col ref="winpackqty" format="#,###" maxlength="9" style="text-align:right; "/>
- <col ref="winpackunit" style="text-align:center; "/>
- <col ref="winpackcntperunit" format="#,###" maxlength="9" style="text-align:right; "/>
- <col ref="winqty" format="#,###" maxlength="9" style="text-align:right; "/>
- <col ref="winunit" style="text-align:center; "/>
- <col ref="winunitcost" format="#,###" maxlength="14" style="text-align:right; "/>
- <col ref="winamt" format="#,###" maxlength="14" style="text-align:right; "/>
- <col checkvalue="S,C" ref="ifstatus" type="checkbox"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="winno" visibility="hidden"/>
- <col ref="winseqno" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="suppcustcd" visibility="hidden"/>
- <col ref="ifid" visibility="hidden"/>
- <col ref="ifcmd" visibility="hidden"/>
- <col ref="ifsnddt" visibility="hidden"/>
- <col ref="ifsvrdt" visibility="hidden"/>
- <col ref="windd" visibility="hidden"/>
- <col ref="gawinseqno" visibility="hidden"/>
- <col ref="preifstatus" visibility="hidden"/>
- <col ref="iokind" visibility="hidden"/>
- <col ref="windeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_goodgawin.col == grd_goodgawin.colRef("ifstatus") )
- {
- if( grd_goodgawin.valueMatrix(grd_goodgawin.row, grd_goodgawin.colRef("ifstatus")) == 'S' )
- {
- model.setValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/windd" ,model.getValue( grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/gawindd" ));
- model.setValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/iokind" ,model.getValue(opt_iokind.attribute("ref")));
- model.setValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/windeptcd" ,model.getValue(ipt_windeptcd.attribute("ref")));
- model.setValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/suplplcecd",rszfGetMainCust(purc_main_suplplcecd) );
- model.setValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/winpsn" ,model.getValue(ipt_winpsn.attribute("ref")) );
- }
-
- if (model.getValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/windd" )=="") model.setValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/windd" ,model.getValue(ipt_gawindd.attribute("ref" )));
- if (model.getValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/windeptcd")=="") model.setValue(grd_goodgawin.nodeset + "[" + (grd_goodgawin.row - grd_goodgawin.fixedRows + 1) + "]/windeptcd" ,model.getValue(ipt_windeptcd.attribute("ref")));
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)
- {
- if(grd_goodgawin.colAttribute(grd_goodgawin.col + 1, "type").indexOf ("input") > -1)
- {
- for(curcol = grd_goodgawin.col -1 ; curcol > -1 ; curcol--)
- {
- if(grd_goodgawin.colAttribute(curcol, "type").indexOf ("input") > -1)
- {
- grd_goodgawin.col = curcol;
- grd_goodgawin.editCell();
- return;
- }
- }
- }
- }
- else
- {
- if(grd_goodgawin.colAttribute(grd_goodgawin.col, "type").indexOf ("input") == -1)
- {
- if(grd_goodgawin.col - 1 == grd_goodgawin.colRef("goodcd") && grd_goodgawin.valueMatrix(grd_goodgawin.row, grd_goodgawin.col - 1).length == 0)
- {
- grd_goodgawin.col = grd_goodgawin.colRef("goodcd");
- grd_goodgawin.editCell();
- return;
- }
- for(curcol = grd_goodgawin.col ; curcol <grd_goodgawin.cols ; curcol++)
- {
- if(grd_goodgawin.colAttribute(curcol, "type").indexOf ("input") > -1)
- {
- grd_goodgawin.col = curcol;
- grd_goodgawin.editCell();
- return;
- }
- }
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodgawin.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:5px; top:80px; width:139px; height:14px; ">평화드림 가입고내역</caption>
- <output id="opt_winpsnnm" ref="/root/send/goodgawin/winpsnnm" class="output_fix" appearance="output" style="left:1015px; top:44px; width:70px; height:19px; "/>
- <input id="ipt_winpsn" ref="/root/send/goodgawin/winpsn" class="input_essential" visibility="hidden" maxlength="10" appearance="input" style="left:995px; top:20px; width:19px; height:19px; "/>
- <input id="ipt_windeptcd" ref="/root/send/goodgawin/windeptcd" class="input_s_essential" visibility="hidden" maxlength="10" appearance="input" style="left:1015px; top:20px; width:15px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_windeptcd.value.length == 0)
- ipt_windeptnm.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_windeptcd.value, "", "windeptcd,windeptnm",
- ipt_windeptcd, "SPRPZ00200", "","");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_suppcustnm" ref="/root/send/goodgawin/suppcustnm" class="input_fix" appearance="input" style="left:226px; top:44px; width:146px; 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(opt_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustnm.attribute("ref")),"","suppcustcd,suppcustnm" ,
- ipt_suppcustnm,"SPRSD00220","instcd","opt_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suppcustcd" ref="/root/send/goodgawin/suppcustcd" class="input_default" style="left:112px; top:44px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suppcustcd.value.length == 0)
- ipt_suppcustnm.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(opt_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustcd.attribute("ref")),"","suppcustcd,suppcustnm" ,
- ipt_suppcustcd,"SPRSD00220","instcd","opt_instcd");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_suppcustcd" class="icon_search" style="left:206px; top:47px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suppcustcd,"","suppcustcd,suppcustnm","SPRSD00220","instcd","opt_instcd");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fCheckRetrieveData(false) == false)return;
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_4" style="x1:1100px; y1:18px; x2:1100px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption8" class="search_name" style="left:12px; top:19px; width:101px; height:17px; ">기 관 코 드 :</caption>
- <caption id="caption14" class="search_name" style="left:12px; top:45px; width:108px; height:17px; ">보조거래처 :</caption>
- <caption id="caption18" class="search_name" style="left:790px; top:45px; width:99px; height:17px; ">입고담당자 :</caption>
- <output id="opt_goodflag" ref="/root/send/goodgawin/goodflag" visibility="hidden" style="left:1070px; top:20px; width:20px; height:19px; "/>
- <output id="opt_instnm" ref="/root/send/goodgawin/instnm" class="output_fix" style="left:112px; top:20px; width:118px; height:19px; "/>
- <output id="opt_instcd" ref="/root/send/goodgawin/instcd" visibility="hidden" style="left:1035px; top:20px; width:15px; height:19px; "/>
- <output id="opt_iokind" ref="/root/send/goodgawin/iokind" visibility="hidden" style="left:1050px; top:20px; width:20px; height:19px; "/>
- <output id="opt_windeptnm" ref="/root/send/goodgawin/windeptnm" class="output_fix" style="left:890px; top:44px; width:120px; height:19px; "/>
- <select1 id="cmb_ifstatus" ref="/root/send/goodgawin/ifstatus" appearance="minimal" style="left:890px; top:20px; width:107px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/ifstatus">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_excel" class="btn2_letter3" style="left:1074px; top:76px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_goodgawin);
- ]]>
- </script>
- </button>
- <button id="btn_choices" class="btn2_letter4" style="left:1128px; top:76px; width:64px; height:19px; ">
- <caption>Choice</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCheckGrid();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:790px; top:19px; width:102px; height:17px; ">입 고 처 리 :</caption>
- <input id="ipt_goodnm" ref="/root/send/goodgawin/goodnm" class="input_search" style="left:610px; top:45px; width:135px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodnm.value != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodnm,nonusegoodview",
- "goodnm," + opt_instcd.value + "," + opt_goodflag.value + "," + ipt_goodnm.value + "," + rdo_nonusegoodview.value ,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd,goodflag","opt_instcd,opt_goodflag");
- }else
- {
- ipt_goodcd.value = "";
- ipt_goodnm.value = "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd" ref="/root/send/goodgawin/goodcd" class="input_search" imemode="disabled" _chartype="upper" style="left:509px; top:45px; width:81px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodcd.value != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,nonusegoodview",
- "goodcd," + opt_instcd.value + "," + opt_goodflag.value + "," + ipt_goodcd.value + "," + rdo_nonusegoodview.value,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd,goodflag","opt_instcd,opt_goodflag");
- }else{
- ipt_goodcd.value = "";
- ipt_goodnm.value = "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_goodSearchs" class="icon_search" style="left:592px; top:45px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 자산코드 팝업창 오픈
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag,nonusegoodview","opt_instcd,opt_goodflag,rdo_nonusegoodview");
- // rszfOpenPopUpListByWndName(grd_gooddmnd,"","goodcd,goodnm","SPRSD00190","instcd,goodflag,nonusegoodview","cmb_instcd,cmb_goodflag,rdo_nonusegoodview");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:402px; top:45px; width:101px; height:17px; ">물 품 코 드 :</caption>
- <input id="ipt_gatowindd" ref="/root/send/goodgawin/gatowindd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:638px; top:19px; width:107px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_gawindd" class="search_name" style="left:402px; top:19px; width:104px; height:17px; ">가입고일자 :</caption>
- <caption id="caption1" style="left:620px; top:22px; width:15px; height:16px; ">~</caption>
- <input id="ipt_gawindd" ref="/root/send/goodgawin/gawindd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:508px; top:19px; width:107px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="rdo_nonusegoodview" ref="/root/hidden/nonusegoodview" visibility="hidden" appearance="full" cols="2" style="left:755px; top:45px; width:15px; height:17px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/nonusegoodview">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button1" class="btn3_letter4" visibility="hidden" style="left:58px; top:3px; width:80px; 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="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- <line id="line2" 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;
-
- /* 가입고는 인터페이스 전달하지 않는다 */
- //model.setValue("/root/send/save/interfacecustcdlist/purc_main_suplplcecd",rszfGetMainCust(purc_main_suplplcecd));
- //model.setValue("/root/send/save/interfacecustcdlist/drg_main_suplplcecd",rszfGetMainCust(drg_main_suplplcecd));
- model.setValue("/root/send/save/interfacecustcdlist/purc_main_suplplcecd",'xx');
- model.setValue("/root/send/save/interfacecustcdlist/drg_main_suplplcecd",'xx');
- misfSave("TXRSI00801");
- if (model.getValue(gvErrorMsgPath + "/type") != "error")btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|