123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>재고자산 실사량 입력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <inoutinfo>
- <inoutlist>
- <inoutflag/>
- <inoutdd/>
- <inoutseqno/>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <deptcd/>
- <deptnm/>
- <inoutpsn/>
- <inoutqty/>
- <inoutunit/>
- <inoutunitcost/>
- <inoutamt/>
- <cmt/>
- </inoutlist>
- </inoutinfo>
- <wininputinfo>
- <wininputinfo>
- <wininputlist/>
- </wininputinfo>
- <iptwininputinfo>
- <iptwininput>
- <goodcd/>
- <goodnm/>
- <allsizespecid/>
- <allsizespecidnm/>
- <goodmodel/>
- <totstocqty/>
- <goodflag>Y</goodflag>
- <winqty/>
- <goodunitcost/>
- <winamt/>
- <windd/>
- <winseqno/>
- <winunit/>
- <suplplcecd/>
- <suplplcenm/>
- <cmt/>
- </iptwininput>
- <iptvalichkflag>
- <valichkflag/>
- </iptvalichkflag>
- </iptwininputinfo>
- <tmpwininputinfo>
- <tmpwininputlist/>
- </tmpwininputinfo>
- </wininputinfo>
- <deliveinfo>
- <reqdelivelist/>
- </deliveinfo>
- <stocsuminfo>
- <stocsumlist/>
- </stocsuminfo>
- </list>
- </main>
- <send>
- <search>
- <instcd/>
- <goodflag>Y</goodflag>
- <lrgcd/>
- <mdlcd/>
- <goodcd/>
- <goodnm/>
- <fromdd/>
- <todd/>
- </search>
- <popuppara>
- <instcd/>
- <goodflag/>
- <goodcd/>
- <allsizespecid/>
- </popuppara>
- <ipt_search>
- <rctpdisbursedt/>
- <instcd/>
- <goodflag>Y</goodflag>
- <lrgcd/>
- <mdlcd/>
- <goodcd/>
- <goodnm/>
- <jobflag>R</jobflag>
- <allsizespecid/>
- <allsizespecidnm/>
- <purcflag/>
- <stocmngtflag/>
- <reqdeptcd/>
- <reqdeptnm/>
- <goodunitcost/>
- <rctpdisburseqty/>
- <adjtqty/>
- <plceordamt/>
- <ioflag/>
- </ipt_search>
- <goodcdinfo>
- <instcd/>
- <goodflag/>
- <goodcd/>
- <allsizespecid/>
- <jobflag>I</jobflag>
- <inputyn>N</inputyn>
- <purcflag/>
- <stocmngtflag/>
- <rctpdisbursedtfrom/>
- <rctpdisbursedtto/>
- <rctpdisbursedt/>
- </goodcdinfo>
- </send>
- <save>
- <iptwininput/>
- <wininputlist/>
- </save>
- <init>
- </init>
- <temp>
- <rstinfo>
- <allsizespecid/>
- <allsizespecidnm/>
- </rstinfo>
- <inputyninfo/>
- <barcdinfo>
- <barcd/>
- </barcdinfo>
- </temp>
- </root>
- </instance>
- <submission id="TRRSG07301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list/wininputinfo/wininputinfo"/>
- <submission id="TRRSG07302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list/rctpdisburseinfo"/>
- <submission id="TRRSG07303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list/deliveinfo"/>
- <submission id="TRRSG07304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list/stocsuminfo"/>
- <submission id="TXRSG07301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/temp"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <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()
- {
- misfComboComCdListMulti("Z0007","cmb_instcd");
- model.setValue(ipt_fromdd.attribute("ref") , getCurrentDate());
- model.setValue(ipt_todd.attribute("ref") , getCurrentDate());
- model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
- addComboItem( "cmb_lrgcd" , "전체", "", "above");
- model.removeNodeset("/root/main/list/wininputinfo/wininputinfo/wininputlist");
-
- model.setValue(ipt_windd.attribute("ref"), getCurrentDate());
- model.refresh();
-
- }
-
- // 조회버튼클릭
- function fSearchButtonClick() {
-
- model.removeNodeset("/root/send/data");
- model.makeValue("/root/send/data/instcd", model.getValue(cmb_instcd.attribute("ref")));
- model.makeValue("/root/send/data/fromdd", model.getValue(ipt_fromdd.attribute("ref")));
- model.makeValue("/root/send/data/todd", model.getValue(ipt_todd.attribute("ref")));
- model.makeValue("/root/send/data/goodflag", model.getValue(cmb_goodflag.attribute("ref")));
- model.makeValue("/root/send/data/goodcd", model.getValue(ipt_searchgoodcd.attribute("ref")));
- model.makeValue("/root/send/data/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
- model.makeValue("/root/send/data/mdlcd", model.getValue(cmb_mdlcd.attribute("ref")));
-
-
- if (swh_select.selectedIndex == 0) {
- model.removeNodeset(grd_inoutlist.nodeset);
- grd_inoutlist.refresh();
-
- submit("TRRSG07302");
-
- } else if (swh_select.selectedIndex == 1) {
-
- submit("TRRSG07301");
-
- } else if (swh_select.selectedIndex == 2) {
- submit("TRRSG07303");
-
- } else if (swh_select.selectedIndex == 3) {
- model.removeNodeset(grd_stocksumlist.nodeset);
- grd_stocksumlist.refresh();
-
- submit("TRRSG07304");
-
- }
- fClearInputData();
- }
- //입고관리 초기화.
- function fClearInputData() {
- model.setValue(ipt_windd.attribute("ref"), getCurrentDate());
- model.setValue(ipt_winseqno.attribute("ref"), "");
- model.setValue(cmb_goodflag2.attribute("ref"), "Y");
- model.setValue(ipt_goodcd.attribute("ref"), "");
- model.setValue(ipt_goodnm2.attribute("ref"), "");
- model.setValue(ipt_allsizespecid.attribute("ref"), "");
- model.setValue(ipt_allsizespecidnm.attribute("ref"), "");
- model.setValue(ipt_goodmodel.attribute("ref"), "");
- model.setValue(ipt_totstocqty.attribute("ref"), "");
- model.setValue(ipt_winqty.attribute("ref"), "");
- model.setValue(ipt_winunit.attribute("ref"), "");
- model.setValue(ipt_suplplcecd.attribute("ref"), "");
- model.setValue(ipt_suplplcenm.attribute("ref"), "");
- model.setValue(ipt_goodunitcost.attribute("ref"), "");
- model.setValue(ipt_winamt.attribute("ref"), "");
- model.setValue(tar_cmt.attribute("ref"), "");
-
- ipt_windd.refresh();
- ipt_winseqno.refresh();
- cmb_goodflag2.refresh();
- ipt_goodcd.refresh();
- ipt_goodnm2.refresh();
- ipt_allsizespecid.refresh();
- ipt_allsizespecidnm.refresh();
- ipt_goodmodel.refresh();
- ipt_totstocqty.refresh();
- ipt_winqty.refresh();
- ipt_winunit.refresh();
- ipt_suplplcecd.refresh();
- ipt_suplplcenm.refresh();
- ipt_goodunitcost.refresh();
- ipt_winamt.refresh();
- tar_cmt.refresh();
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,574;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">물품 수불내역 관리</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_search" style="left:0px; top:17px; width:1195px; height:63px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line30" class="line_4" style="x1:1110px; y1:4px; x2:1110px; y2:58px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchButtonClick();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:104px; top:10px; width:206px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_default" appearance="minimal" style="left:414px; top:10px; width:121px; height:19px; ">
- <choices>
- <item>
- <label>의료비품</label>
- <value>U</value>
- </item>
- <item>
- <label>의료소모품</label>
- <value>Y</value>
- </item>
- <item>
- <label>공급실물품</label>
- <value>T</value>
- </item>
- <item>
- <label>일반소모품</label>
- <value>Z</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
- addComboItem( "cmb_lrgcd", "전체", "", "above");
- cmb_mdlcd.value='';
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_goodflag" class="search_name" style="left:320px; top:10px; width:86px; height:17px; ">물품구분 :</caption>
- <select1 id="cmb_lrgcd" ref="/root/send/search/lrgcd" appearance="minimal" style="left:414px; top:36px; width:121px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
- cmb_mdlcd.dispatch("xforms-value-changed");
- addComboItem( "cmb_mdlcd", "전체", "", "above");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/send/search/mdlcd" appearance="minimal" style="left:639px; top:36px; width:126px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:320px; top:36px; width:88px; height:17px; ">대 분 류 :</caption>
- <caption id="caption8" class="search_name" style="left:543px; top:36px; width:88px; height:17px; ">중 분 류 :</caption>
- <input id="ipt_goodnm" ref="/root/send/search/goodnm" class="output_search" style="left:745px; top:10px; width:140px; height:19px; "/>
- <button id="btn_goodcd" class="icon_search" style="left:726px; top:10px; width:16px; height:16px; ">
- <caption/>
- </button>
- <input id="ipt_searchgoodcd" ref="/root/send/search/goodcd" class="input_search" maxlength="10" appearance="input" style="left:639px; top:10px; width:81px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodcd.value != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm","goodcd," + model.getValue(cmb_instcd.attribute("ref")) + ",," + model.getValue(ipt_goodcd.attribute("ref")) + ",,,," ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,reqflag","cmb_instcd,cmb_reqflag");
- model.refresh();
- }else{
- ipt_goodcd.value = "";
- ipt_goodnm.value = "";
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="cap_goodcd" class="search_name" style="left:545px; top:10px; width:86px; height:17px; ">물품코드 :</caption>
- <input id="ipt_fromdd" ref="/root/send/search/fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:104px; top:36px; width:91px; height:19px; "/>
- <caption id="caption15" class="search_name" style="left:10px; top:36px; width:86px; height:17px; ">수불기간 :</caption>
- <input id="ipt_todd" ref="/root/send/search/todd" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:220px; top:36px; width:91px; height:19px; "/>
- <caption id="caption29" style="left:200px; top:37px; width:15px; height:17px; ">~</caption>
- </group>
- <switch id="swh_select" style="left:0px; top:110px; width:1191px; height:595px; ">
- <case id="cse_inout">
- <caption id="caption22" class="tit_2" style="left:10px; top:6px; width:98px; height:14px; ">수불 내역</caption>
- <line id="lin_main" class="line_1" style="x1:5px; y1:24px; x2:1185px; y2:24px; "/>
- <datagrid id="grd_inoutlist" nodeset="/root/main/list/inoutinfo/inoutlist" caption="수불구분^수불일자^수불순번^물품코드^물품코드^물품명^규격^모델^주거래처^주거래처^보조거래처^보조거래처^수불수량^수불단위^수불단가^수불금액^비고" colsep="^" colwidth="60, 90, 60, 80, 25, 170, 135, 100, 100, 100, 100, 100, 66, 60, 100, 100, 100" ellipsis="true" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" tooltip="true" style="left:5px; top:29px; width:1180px; height:561px; font-weight:normal; text-align:center; ">
- <col ref="inoutflag" type="combo">
- <choices>
- <item>
- <label>입고</label>
- <value>I</value>
- </item>
- <item>
- <label>출고</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="inoutdd" type="inputdate" style="text-align:center; "/>
- <col ref="inoutseqno"/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid"/>
- <col ref="goodnm" style="text-align:left; padding-left:5; "/>
- <col ref="goodspec" style="text-align:left; padding-left:5; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:5; "/>
- <col ref="suplplcecd"/>
- <col ref="suplplcenm"/>
- <col ref="suppcustcd"/>
- <col ref="suppcustnm"/>
- <col ref="inoutqty" format="#,###" style="text-align:right; "/>
- <col ref="inoutunit" style="text-align:left; "/>
- <col ref="inoutunitcost" format="#,###" style="text-align:right; "/>
- <col ref="inoutamt" format="#,###" style="text-align:right; "/>
- <col ref="cmt" style="text-align:left; "/>
- </datagrid>
- </case>
- <case id="cse_wininput">
- <caption id="caption21" class="tit_2" style="left:10px; top:18px; width:80px; height:13px; ">입고 내역</caption>
- <datagrid id="grd_wininputlist" nodeset="/root/main/list/wininputinfo/wininputinfo/wininputlist" caption="입고일자^입고순번^기관코드^물품구분^물품코드^물품코드^물품명^규격^모델^공급처코드^공급처명^입고수량^입고단위^입고단가^입고금액^비고^재고수량" colsep="^" colwidth="90, 60, 0, 0, 80, 25, 170, 110, 100, 0, 100, 66, 60, 100, 100, 100, 100" ellipsis="true" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" tooltip="true" style="left:5px; top:40px; width:904px; height:550px; font-weight:normal; text-align:center; ">
- <col ref="windd" type="inputdate" style="text-align:center; "/>
- <col ref="winseqno"/>
- <col ref="instcd" visibility="hidden" style="text-align:left; "/>
- <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid"/>
- <col ref="goodnm" style="text-align:left; padding-left:5; "/>
- <col ref="goodspec" style="text-align:left; padding-left:5; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:5; "/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="suplplcenm"/>
- <col ref="winqty" format="#,###" style="text-align:right; "/>
- <col ref="winunit" style="text-align:left; "/>
- <col ref="winunitcost" format="#,###" style="text-align:right; "/>
- <col ref="winamt" format="#,###" style="text-align:right; "/>
- <col ref="cmt" style="text-align:left; "/>
- <col ref="totstocqty" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var windd = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("windd" ));
- var winseqno = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winseqno" ));
- var instcd = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("instcd" ));
- var goodflag = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodflag" ));
- var goodcd = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodcd" ));
- var allsizespecid = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("allsizespecid"));
- var goodnm = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodnm" ));
- var goodspec = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodspec" ));
- var goodmodel = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodmodel" ));
- var winqty = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winqty" ));
- var winunit = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winunit" ));
- var winunitcost = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winunitcost" ));
- var winamt = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winamt" ));
- var cmt = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("cmt" ));
- var totstocqty = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("totstocqty" ));
- var suplplcecd = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("suplplcecd" ));
- var suplplcenm = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("suplplcenm" ));
-
- model.setValue(ipt_windd.attribute("ref"), windd );
- model.setValue(ipt_winseqno.attribute("ref"), winseqno );
- model.setValue(cmb_goodflag2.attribute("ref"), goodflag );
- model.setValue(ipt_goodcd.attribute("ref"), goodcd );
- model.setValue(ipt_allsizespecid.attribute("ref"), allsizespecid );
- model.setValue(ipt_goodnm2.attribute("ref"), goodnm );
- model.setValue(ipt_allsizespecidnm.attribute("ref"),goodspec );
- model.setValue(ipt_goodmodel.attribute("ref"), goodmodel );
- model.setValue(ipt_totstocqty.attribute("ref"), totstocqty );
- model.setValue(ipt_winqty.attribute("ref"), winqty );
- model.setValue(ipt_winunit.attribute("ref"), winunit );
- model.setValue(ipt_goodunitcost.attribute("ref"), winunitcost );
- model.setValue(ipt_winamt.attribute("ref"), winamt );
- model.setValue(tar_cmt.attribute("ref"), cmt );
- model.setValue(ipt_suplplcecd.attribute("ref"), suplplcecd );
- model.setValue(ipt_suplplcenm.attribute("ref"), suplplcenm );
-
- ipt_windd.refresh();
- ipt_winseqno.refresh();
- cmb_goodflag2.refresh();
- ipt_goodcd.refresh();
- ipt_allsizespecid.refresh();
- ipt_goodnm2.refresh();
- ipt_allsizespecidnm.refresh();
- ipt_goodmodel.refresh();
- ipt_totstocqty.refresh();
- ipt_winqty.refresh();
- ipt_winunit.refresh();
- ipt_goodunitcost.refresh();
- ipt_suplplcecd.refresh();
- ipt_suplplcenm.refresh();
- ipt_winamt.refresh();
- tar_cmt.refresh();
-
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:35px; x2:909px; y2:35px; "/>
- <input id="ipt_winqty" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/winqty" class="input_essential" format="#,###" style="left:1010px; top:258px; width:175px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var winunitcost = parseFloat(model.getValue(ipt_goodunitcost.attribute("ref")));
- var winqty = parseInt(model.getValue(ipt_winqty.attribute("ref")));
-
- model.setValue(ipt_winamt.attribute("ref"), winunitcost * winqty);
- ipt_winamt.refresh();
-
- ]]>
- </script>
- </input>
- <line id="line8" class="line_2" style="x1:916px; y1:279px; x2:1185px; y2:279px; "/>
- <button id="btn_iptgoodcd" class="icon_search" style="left:1166px; top:114px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,allsizespecid,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
- model.setValue(ipt_allsizespecid.attribute("ref"), "");
- ipt_allsizespecid.refresh();
- //rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag,reqflag","cmb_instcd,cmb_goodflag,cmb_reqflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line9" class="line_2" style="x1:916px; y1:303px; x2:1185px; y2:303px; "/>
- <line id="line20" class="line_2" style="x1:1010px; y1:327px; x2:1185px; y2:327px; "/>
- <input id="ipt_winamt" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/winamt" class="output_default" disabled="true" editable="false" format="#,###" style="left:1010px; top:379px; width:175px; height:19px; text-align:right; "/>
- <input id="ipt_windd" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/windd" class="input_essential" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:1010px; top:42px; width:175px; height:19px; "/>
- <line id="line10" class="line_2" style="x1:916px; y1:135px; x2:1185px; y2:135px; "/>
- <input id="ipt_goodcd" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodcd" class="input_essential" appearance="input" style="left:1010px; top:114px; width:151px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_goodflag2.value = model.getValue(ipt_iptgoodcd.attribute("ref")).substr(0, 1);
- ]]>
- </script>
- </input>
- <line id="line11" class="line_2" style="x1:916px; y1:159px; x2:1185px; y2:159px; "/>
- <line id="line12" class="line_2" style="x1:916px; y1:183px; x2:1185px; y2:183px; "/>
- <caption id="caption20" class="cell_1" style="left:916px; top:89px; width:91px; height:23px; text-align:center; ">물 품 구 분</caption>
- <caption id="caption10" class="tit_2" style="left:916px; top:22px; width:75px; height:13px; ">입고관리</caption>
- <line id="line13" class="line_2" style="x1:916px; y1:207px; x2:1185px; y2:207px; "/>
- <input id="ipt_allsizespecid" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/allsizespecid" class="input_essential" disabled="true" style="left:1010px; top:162px; width:151px; height:19px; "/>
- <line id="line14" class="line_2" style="x1:916px; y1:231px; x2:1185px; y2:231px; "/>
- <caption id="caption11" class="cell_1" style="left:916px; top:113px; width:91px; height:23px; text-align:center; ">물 품 코 드</caption>
- <textarea id="tar_cmt" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/cmt" scroll="auto" style="left:1010px; top:404px; width:175px; height:184px; "/>
- <input id="ipt_suplplcenm" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/suplplcenm" class="output_default" disabled="true" editable="false" style="left:1011px; top:330px; width:175px; height:19px; text-align:right; "/>
- <line id="line15" class="line_2" style="x1:916px; y1:255px; x2:1185px; y2:255px; "/>
- <caption id="caption12" class="cell_1" style="left:916px; top:137px; width:91px; height:23px; text-align:center; ">물 품 명</caption>
- <caption id="caption23" class="cell_1" style="left:916px; top:402px; width:91px; height:188px; text-align:center; ">비 고</caption>
- <line id="line16" class="line_2" style="x1:916px; y1:352px; x2:1185px; y2:352px; "/>
- <caption id="caption13" class="cell_1" style="left:916px; top:185px; width:91px; height:23px; text-align:center; ">규 격 명</caption>
- <caption id="caption24" class="cell_1" style="left:916px; top:65px; width:91px; height:23px; text-align:center; ">입 고 순 번</caption>
- <input id="ipt_winunit" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/winunit" class="output_default" disabled="true" editable="false" style="left:1010px; top:282px; width:175px; height:19px; text-align:right; "/>
- <input id="ipt_suplplcecd" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/suplplcecd" class="output_default" disabled="true" editable="false" style="left:1010px; top:306px; width:175px; height:19px; text-align:right; "/>
- <input id="ipt_goodmodel" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodmodel" class="output_fix" disabled="true" editable="false" style="left:1010px; top:210px; width:175px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodnm.value != ""){
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodcd,goodnm",
- "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_reqflag.attribute("ref")) + ",," + model.getValue(ipt_goodnm.attribute("ref"))
- ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd");
- }else{
- ipt_goodcd.value = "";
- }
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_goodunitcost" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodunitcost" class="output_default" disabled="true" editable="false" format="#,###" style="left:1010px; top:355px; width:175px; height:19px; text-align:right; "/>
- <line id="line17" class="line_2" style="x1:916px; y1:376px; x2:1185px; y2:376px; "/>
- <caption id="caption14" class="cell_1" style="left:916px; top:209px; width:91px; height:23px; text-align:center; ">모 델</caption>
- <caption id="caption25" class="cell_1" style="left:916px; top:281px; width:91px; height:23px; text-align:center; ">단 위</caption>
- <input id="ipt_goodnm2" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodnm" class="output_fix" disabled="true" editable="false" style="left:1010px; top:138px; width:175px; height:19px; "/>
- <input id="ipt_allsizespecidnm" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/allsizespecidnm" class="output_fix" disabled="true" editable="false" style="left:1010px; top:186px; width:175px; height:19px; "/>
- <input id="ipt_totstocqty" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/totstocqty" class="output_fix" disabled="true" editable="false" format="#,###" style="left:1010px; top:234px; width:175px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodnm.value != ""){
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodcd,goodnm",
- "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_reqflag.attribute("ref")) + ",," + model.getValue(ipt_goodnm.attribute("ref"))
- ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd");
- }else{
- ipt_goodcd.value = "";
- }
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_goodflag2" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodflag" class="combo_essential" appearance="minimal" style="left:1010px; top:90px; width:175px; height:19px; ">
- <choices>
- <item>
- <label>의료비품</label>
- <value>U</value>
- </item>
- <item>
- <label>의료소모품</label>
- <value>Y</value>
- </item>
- <item>
- <label>공급실물품</label>
- <value>T</value>
- </item>
- <item>
- <label>일반소모품</label>
- <value>Z</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
- addComboItem( "cmb_lrgcd", "전체", "", "above");
- cmb_mdlcd.value='';
-
- cmb_lrgcd.refresh();
- ]]>
- </script>
- </select1>
- <line id="line18" class="line_2" style="x1:916px; y1:400px; x2:1185px; y2:400px; "/>
- <caption id="caption26" class="cell_1" style="left:916px; top:354px; width:91px; height:23px; text-align:center; ">단 가</caption>
- <line id="line3" class="line_1" style="x1:916px; y1:36px; x2:1185px; y2:36px; "/>
- <caption id="caption27" class="cell_1" style="left:916px; top:378px; width:91px; height:23px; text-align:center; ">금 액</caption>
- <line id="line19" class="line_3" style="x1:916px; y1:589px; x2:1185px; y2:589px; "/>
- <caption id="caption17" class="cell_1" style="left:916px; top:233px; width:91px; height:23px; text-align:center; ">현재고수량</caption>
- <caption id="caption28" class="cell_1" style="left:916px; top:305px; width:91px; height:48px; text-align:center; ">공 급 처</caption>
- <button id="btn_iptallsizespecid" class="icon_search" style="left:1166px; top:162px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dPath ="/root/send/popuppara/" ;
- var sPath ="/root/send/search/" ;
- var sPath2 ="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/" ;
-
- // 규격코드 정보 popup에 Parameter값을 Setting
- model.setValue(dPath+"instcd" , model.getValue(sPath +"instcd" ));
- model.setValue(dPath+"goodflag" , model.getValue(sPath2+"goodflag" ));
- model.setValue(dPath+"allsizespecid" , model.getValue(sPath +"allsizespecid"));
- model.setValue(dPath+"goodcd" , model.getValue(sPath2+"goodcd" ));
-
- setParameter("SMRSG06200_popuppara", getNodeListCSV(model.instances(0).selectNodes("/root/send/popuppara")) );
- modal("SMRSG06200");
-
- model.removenode("/root/temp/rstinfo");
-
- var csv_rstinfo = getParameter("SMRSG06100_rstinfo");
- setCSVToNode("/root/temp", csv_rstinfo, "rstinfo");
-
- model.setValue(ipt_allsizespecid.attribute("ref") , model.getValue("/root/temp/rstinfo/allsizespecid"));
- model.setValue(ipt_allsizespecidnm.attribute("ref") , model.getValue("/root/temp/rstinfo/allsizespecidnm"));
- model.setValue(ipt_goodunitcost.attribute("ref") , model.getValue("/root/temp/rstinfo/goodunitcost"));
- model.setValue(ipt_goodmodel.attribute("ref") , model.getValue("/root/temp/rstinfo/goodmodel"));
- model.setValue(ipt_totstocqty.attribute("ref") , model.getValue("/root/temp/rstinfo/totstocqty"));
- model.setValue(ipt_winunit.attribute("ref") , model.getValue("/root/temp/rstinfo/unit"));
- model.setValue(ipt_suplplcecd.attribute("ref") , model.getValue("/root/temp/rstinfo/suplplcecd"));
- model.setValue(ipt_suplplcenm.attribute("ref") , model.getValue("/root/temp/rstinfo/suplplcenm"));
-
-
-
- ipt_allsizespecid.refresh();
- ipt_allsizespecidnm.refresh();
- ipt_goodunitcost.refresh();
- ipt_goodmodel.refresh();
- ipt_totstocqty.refresh();
- ipt_winunit.refresh();
- ipt_suplplcecd.refresh();
- ipt_suplplcenm.refresh();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_2" style="x1:916px; y1:87px; x2:1185px; y2:87px; "/>
- <caption id="cap_iptrctpdisbursedt" class="cell_1" style="left:916px; top:41px; width:91px; height:23px; text-align:center; ">입 고 일 자</caption>
- <caption id="caption18" class="cell_1" style="left:916px; top:257px; width:91px; height:23px; text-align:center; ">입 고 수 량</caption>
- <caption id="caption19" class="cell_1" style="left:916px; top:161px; width:91px; height:23px; text-align:center; ">규 격 코 드</caption>
- <line id="line6" class="line_2" style="x1:916px; y1:63px; x2:1185px; y2:63px; "/>
- <input id="ipt_winseqno" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/winseqno" class="input_default" disabled="true" appearance="input" style="left:1010px; top:66px; width:175px; height:19px; text-align:left; "/>
- <button id="btn_iptnew" class="btn2_letter4" style="left:1121px; top:16px; width:64px; height:19px; ">
- <caption>신규입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClearInputData();
- ]]>
- </script>
- </button>
- </case>
- <case id="cse_deliveinput" selected="true">
- <caption id="caption3" class="tit_2" style="left:10px; top:11px; width:120px; height:14px; ">청구내역</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:1185px; y2:25px; "/>
- <datagrid id="grd_goodreq" nodeset="/root/main/list/deliveinfo/reqdelivelist" caption="청구부서^청구부서^청구일자^청구번호^청구순번^기관코드^물품구분^물품코드^물품코드^물품명^규격^모델^공급처코드^공급처명^총재고수량^잔량^청구수량^청구수량^기출고^미출고" colsep="^" colwidth="0, 100, 90, 60, 60, 0, 0, 80, 25, 170, 110, 100, 0, 100, 70, 70, 60, 26, 60, 60" ellipsis="true" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" tooltip="true" style="left:5px; top:30px; width:1180px; height:560px; font-weight:normal; text-align:center; ">
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="reqdeptnm"/>
- <col ref="reqdd" type="inputdate"/>
- <col ref="reqno"/>
- <col ref="reqseqno"/>
- <col ref="instcd" visibility="hidden" style="text-align:left; "/>
- <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid"/>
- <col ref="goodnm" style="text-align:left; padding-left:5; "/>
- <col ref="goodspec" style="text-align:left; padding-left:5; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:5; "/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="suplplcenm" style="text-align:left; "/>
- <col ref="prevddstocqty" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="remstocqty" format="#,###" style="text-align:right; "/>
- <col ref="adjtqty" format="#,###" style="text-align:right; "/>
- <col ref="requnit"/>
- <col ref="deliveqty" format="#,###" style="text-align:right; "/>
- <col ref="remainqty" type="input" format="#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var windd = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("windd" ));
- var winseqno = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winseqno" ));
- var instcd = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("instcd" ));
- var goodflag = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodflag" ));
- var goodcd = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodcd" ));
- var allsizespecid = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("allsizespecid"));
- var goodnm = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodnm" ));
- var goodspec = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodspec" ));
- var goodmodel = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodmodel" ));
- var winqty = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winqty" ));
- var winunit = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winunit" ));
- var winunitcost = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winunitcost" ));
- var winamt = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("winamt" ));
- var cmt = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("cmt" ));
- var totstocqty = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("totstocqty" ));
- var suplplcecd = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("suplplcecd" ));
- var suplplcenm = grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("suplplcenm" ));
-
- model.setValue(ipt_windd.attribute("ref"), windd );
- model.setValue(ipt_winseqno.attribute("ref"), winseqno );
- model.setValue(cmb_goodflag2.attribute("ref"), goodflag );
- model.setValue(ipt_goodcd.attribute("ref"), goodcd );
- model.setValue(ipt_allsizespecid.attribute("ref"), allsizespecid );
- model.setValue(ipt_goodnm2.attribute("ref"), goodnm );
- model.setValue(ipt_allsizespecidnm.attribute("ref"),goodspec );
- model.setValue(ipt_goodmodel.attribute("ref"), goodmodel );
- model.setValue(ipt_totstocqty.attribute("ref"), totstocqty );
- model.setValue(ipt_winqty.attribute("ref"), winqty );
- model.setValue(ipt_winunit.attribute("ref"), winunit );
- model.setValue(ipt_goodunitcost.attribute("ref"), winunitcost );
- model.setValue(ipt_winamt.attribute("ref"), winamt );
- model.setValue(tar_cmt.attribute("ref"), cmt );
- model.setValue(ipt_suplplcecd.attribute("ref"), suplplcecd );
- model.setValue(ipt_suplplcenm.attribute("ref"), suplplcenm );
-
- ipt_windd.refresh();
- ipt_winseqno.refresh();
- cmb_goodflag2.refresh();
- ipt_goodcd.refresh();
- ipt_allsizespecid.refresh();
- ipt_goodnm2.refresh();
- ipt_allsizespecidnm.refresh();
- ipt_goodmodel.refresh();
- ipt_totstocqty.refresh();
- ipt_winqty.refresh();
- ipt_winunit.refresh();
- ipt_goodunitcost.refresh();
- ipt_suplplcecd.refresh();
- ipt_suplplcenm.refresh();
- ipt_winamt.refresh();
- tar_cmt.refresh();
-
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="cse_stocksum">
- <caption id="caption2" class="tit_2" style="left:10px; top:11px; width:135px; height:13px; ">물품 재고 내역</caption>
- <line id="line4" class="line_1" style="x1:5px; y1:25px; x2:1185px; y2:25px; "/>
- <datagrid id="grd_stocksumlist" nodeset="/root/main/list/stocsuminfo/stocsumlist" caption="재고일자^물품코드^물품코드^물품명^규격^모델^주거래처코드^주거래처명^보조거래처코드^보조거래처명^입고수량^출고수량^실사수량^일재고수량^총재고수량" colsep="^" colwidth="70, 80, 25, 230, 120, 120, 100, 100, 100, 100, 64, 64, 69, 73, 80" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:5px; top:30px; width:1180px; height:560px; font-weight:normal; text-align:center; ">
- <col ref="stocdd" format="yyyy-mm-dd"/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodspec" style="text-align:left; padding-left:10; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
- <col ref="suplplcecd"/>
- <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
- <col ref="suppcustcd"/>
- <col ref="suppcustnm" style="text-align:left; padding-left:10; "/>
- <col ref="winqty" format="#,###" style="text-align:right; "/>
- <col ref="delivedeptqty" format="#,###" style="text-align:right; "/>
- <col ref="stocadjtqty" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="stocqty" format="#,###" style="text-align:right; "/>
- <col ref="prevddstocqty" format="#,###" style="text-align:right; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_rctpdisburse" class="btn_sw" group="tab" selected="true" style="left:0px; top:87px; width:144px; height:22px; ">
- <caption>수불내역 조회</caption>
- <toggle case="cse_inout" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <button id="btn_wininput" class="btn_sw" group="tab" style="left:143px; top:87px; width:125px; height:22px; ">
- <caption>입고내역 등록</caption>
- <toggle case="cse_wininput" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <button id="btn_deliveinput" class="btn_sw" group="tab" style="left:269px; top:87px; width:144px; height:22px; ">
- <caption>출고내역 등록</caption>
- <toggle case="cse_deliveinput" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <button id="btn_stocksum" class="btn_sw" group="tab" style="left:412px; top:87px; width:125px; height:22px; ">
- <caption>물품 재고내역 조회</caption>
- <toggle case="cse_stocksum" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_iptsave" class="btn4_letter2" style="left:1058px; top:3px; width:68px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = messageBox("저장하시겠습니까?", "Q");
-
- if(rtn == "6") {
-
- if (swh_select.selectedIndex == 1) {
-
- var windd = model.getValue(ipt_windd.attribute("ref"));
- var goodcd = model.getValue(ipt_goodcd.attribute("ref"));
- var allsizespecid = model.getValue(ipt_allsizespecid.attribute("ref"));
- var winqty = model.getValue(ipt_winqty.attribute("ref"));
-
- if(windd == "") {
- messageBox("입고일자를 입력하세요.", "E");
- return;
- }
- if(goodcd == "") {
- messageBox("물품코드를 입력하세요.", "E");
- return;
- }
- if(allsizespecid == "") {
- messageBox("규격단위를 입력하세요.", "E");
- return;
- }
- if(windd == "") {
- messageBox("입고수량을 입력하세요.", "E");
- return;
- }
- model.removeNodeset("/root/send/data");
-
- model.makeValue("/root/send/data/windd" , model.getValue(ipt_windd.attribute("ref")));
- model.makeValue("/root/send/data/winseqno", model.getValue(ipt_winseqno.attribute("ref")));
- model.makeValue("/root/send/data/goodflag", model.getValue(cmb_goodflag2.attribute("ref")));
- model.makeValue("/root/send/data/goodcd", model.getValue(ipt_goodcd.attribute("ref")));
- model.makeValue("/root/send/data/allsizespecid", model.getValue(ipt_allsizespecid.attribute("ref")));
- model.makeValue("/root/send/data/winqty", model.getValue(ipt_winqty.attribute("ref")));
- model.makeValue("/root/send/data/winunit", model.getValue(ipt_winunit.attribute("ref")));
- model.makeValue("/root/send/data/winunitcost" , model.getValue(ipt_goodunitcost.attribute("ref")));
- model.makeValue("/root/send/data/winamt", model.getValue(ipt_winamt.attribute("ref")));
- model.makeValue("/root/send/data/suplplcecd", model.getValue(ipt_suplplcecd.attribute("ref")));
- model.makeValue("/root/send/data/cmt", model.getValue(tar_cmt.attribute("ref")));
-
- if(submit("TXRSG07301")) {
- messageBox("저장되었습니다", "I");
-
- fSearchButtonClick();
- }
-
- } else if(swh_select.selectedIndex == 2) {
-
-
- }
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|