123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- <?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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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>
- <predeliveinit>
- <predeliveinitlist/>
- </predeliveinit>
- </main>
- <send>
- <search>
- <instcd/>
- <goodcd/>
- <goodnm/>
- <wareflag/>
- <allsizespecid/>
- <acntfrom/>
- <acntto/>
- <yyyymm/>
- </search>
- <save>
- <predeliveinitlist/>
- </save>
- <header>
- <custcode/>
- <custnm/>
- <poomnm/>
- <wareflag/>
- <acptdeptcd/>
- <acptdeptnm/>
- </header>
- <print>
- <instnm/>
- <warenm/>
- </print>
- </send>
- <init/>
- <temp/>
- <goodcd>
- <result>
- <value/>
- </result>
- <search>
- <instcd/>
- <goodcd/>
- <windd/>
- </search>
- </goodcd>
- <popsubdata/>
- <popreq>
- <count/>
- </popreq>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_predeliveinitlist);
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- misfComboComCdListMulti("030M0001", "cmb_wareflag");
- misfComboCopyItemSet(cmb_wareflag, "", grd_predeliveinitlist, "wareflag");
- cmb_wareflag.select(0);
- submit("TRRSO20602"); //계정 조회
-
- cmb_acntfrom.select(0); //계정 from 설정
- cmb_acntto.select(cmb_acntto.length - 1); //계정 to 설정
-
- model.setValue("/root/send/search/yyyymm", getCurrentDate().substr(0,4)+"00");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRSD07801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/predeliveinit"/>
- <submission id="TXRSD07801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TRRSO20602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/acnt"/>
- </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" src="../../../mis/purcbaseweb/js/SMRFE00200.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </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:15px; ">선납재고 초기화</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <caption id="caption21" class="tit_2" style="left:5px; top:68px; width:174px; height:8px; ">선납재고내역</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:85px; x2:1194px; y2:84px; "/>
- <datagrid id="grd_predeliveinitlist" nodeset="/root/main/predeliveinit/predeliveinitlist" caption="창고^물품코드^Allsize^물품명^규격^단위^단가^초기재고량" colsep="^" colwidth="131, 147, 45, 300, 297, 55, 100, 80, 100, 100" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" tooltip="true" navindex="15" style="left:0px; top:88px; width:1194px; height:652px; ">
- <col disabled="true" ref="wareflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="goodcd" type="inputbutton" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodhngnm"/>
- <col ref="goodspec"/>
- <col ref="purcunit" style="text-align:center; "/>
- <col ref="goodunitcost" format="(-)#,###.##" style="text-align:right; "/>
- <col ref="stocqty" type="input" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="endmonth" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_predeliveinitlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- rszfOpenPopUpListByWndName(grd_predeliveinitlist,"","goodcd,allsizespecid,goodhngnm,goodspec,purcunit,goodunitcost,wareflag","SPRSD00210","instcd","cmb_instcd","Y");
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_s_essential" navindex="-1" appearance="minimal" style="left:90px; top:10px; width:140px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="caption14" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="12" style="left:1130px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(ipt_windd.value == ""){
- // messageBox("입고일자가 없습니다. 확인하여 주십시오.", "E999", "");
- // model.setFocus("ipt_windd");
- // return;
- // }
- // if(ipt_winno.value == ""){
- // messageBox("입고번호가 없습니다. 확인하여 주십시오.", "E999", "");
- // model.setFocus("ipt_winno");
- // return;
- // }
- misfGridInit(grd_predeliveinitlist);
- submit("TRRSD07801")
- ]]>
- </script>
- </button>
- <select1 id="cmb_wareflag" ref="/root/send/search/wareflag" appearance="minimal" style="left:340px; top:10px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:260px; top:10px; width:90px; height:17px; ">창고구분:</caption>
- <input id="ipt_goodnm" ref="/root/send/search/goodnm" style="left:455px; top:35px; width:128px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodnm.value.length == 0)
- ipt_goodcd.value = "";
- else
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodnm",
- "goodcd," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodnm,"SPRSD00210","instcd","cmb_instcd");
- ipt_goodcd.refresh();
- ipt_goodnm.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:260px; top:35px; width:90px; height:17px; ">물품코드:</caption>
- <input id="ipt_goodcd" ref="/root/send/search/goodcd" style="left:340px; top:35px; width:93px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodcd.value.length == 0)
- ipt_goodnm.value = "";
- else
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodcd",
- "goodcd," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd","cmb_instcd");
- ipt_goodcd.refresh();
- ipt_goodnm.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_plceordgoodcd" class="icon_search" style="left:436px; top:37px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,allsizespecid,goodnm","SPRSD00210","instcd","cmb_instcd,");
- ipt_goodcd.refresh();
- ipt_goodnm.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption20" class="search_name" style="left:476px; top:10px; width:64px; height:17px; vertical-align:middle; ">계정:</caption>
- <caption id="caption3" style="left:674px; top:8px; width:10px; height:20px; font-weight:bold; ">-</caption>
- <select1 id="cmb_acntfrom" ref="/root/send/search/acntfrom" class="combo_default" navindex="4" appearance="minimal" editmode="search" showvalue="true" style="left:530px; top:10px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/acnt/acntlist">
- <label ref="acntnm"/>
- <value ref="acntcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_acntto" ref="/root/send/search/acntto" class="combo_default" navindex="5" appearance="minimal" editmode="search" showvalue="true" style="left:680px; top:10px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/acnt/acntlist">
- <label ref="acntnm"/>
- <value ref="acntcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:5px; top:35px; width:95px; height:17px; ">초기화년월 :</caption>
- <input id="ipt_yyyymm" ref="/root/send/search/yyyymm" maxlength="7" format="9999-99" style="left:104px; top:35px; width:100px; height:19px; text-align:center; "/>
- <line id="line13" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:52px; "/>
- <button id="btn_delapntrgst" class="btn2_letter3" style="left:1140px; top:63px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_predeliveinitlist,"D");
- ]]>
- </script>
- </button>
- <button id="btn_addapntrgst" class="btn2_letter3" navindex="14" style="left:1086px; top:63px; width:53px; height:19px; text-align:left; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_predeliveinitlist,"A");
- grd_predeliveinitlist.valueMatrix(grd_predeliveinitlist.row, grd_predeliveinitlist.colRef("endmonth")) = ipt_yyyymm.value;
- grd_predeliveinitlist.valueMatrix(grd_predeliveinitlist.row, grd_predeliveinitlist.colRef("instcd")) = cmb_instcd.value;
-
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line11" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1125px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/save/predeliveinitlist", grd_predeliveinitlist.getUpdateData());
- if(submit("TXRSD07801")){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|