123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>입고내역조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <goodwin>
- <goodwinlist/>
- </goodwin>
- <goodreq>
- <goodreqlist/>
- </goodreq>
- </list>
- <item/>
- </main>
- <init>
- </init>
- <send>
- <goodwin>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <lrgnm/>
- <windeptcd/>
- <windeptnm/>
- <suplplcecd/>
- <suplplcenm/>
- <goodcd/>
- <goodnm/>
- <winfrdd/>
- <wintodd/>
- </goodwin>
- <goodreq>
- <reqdd/>
- <reqno/>
- <reqseqno/>
- <goodcd/>
- </goodreq>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSI00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodwin" resultref="/root/main/list/goodwin"/>
- <submission id="TRRSD00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/list/goodreq"/>
- </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() {
- model.resetInstanceNode("/root/send");
- misfGridInit(grd_goodwin);
- rszfUserGoodFlagList(cmb_goodflag,getUserInfo("userid"),"Y");
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- rszfGridComboLrgcdList("PH", cmb_lrgcd, "lrgcd","Y");
- //rszfComboAppendBlankChild("cmb_lrgcd");
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- rszfComboStockArthDeptcdList(cmb_windeptcd,getUserInfo("dutplceinstcd"),"PH","Y" );
-
- model.setValue(ipt_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- //hidden
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- model.setValue(cmb_goodflag.attribute("ref"),"PH");
-
- model.setValue(ipt_winfrdd.attribute("ref") , getCurrentDate());
- model.setValue(ipt_wintodd.attribute("ref") , getCurrentDate());
- misfMsterDetailSet(grd_goodwin,null, "TRRSI00401" ,"N");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:189px; height:14px; ">입고현황 조회</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:38; width:1195px; height:744; ">
- <datagrid id="grd_goodwin" nodeset="/root/main/list/goodwin/goodwinlist" caption="입고일자^입고부서^순번^주거래처^입고유형^약품코드^약품명^함량^제조회사^낱개^낱개^포장^포장^입고금액^입고번호^발주번호^입고자^입고정보|입고일자^입고부서^순번^주거래처^입고유형^약품코드^약품명^함량^제조회사^수량^단가^수량^구입가^입고금액^입고번호^발주번호^입고자^입고정보" colsep="^" colwidth="82, 81, 49, 83, 87, 84, 250, 26, 0, 64, 64, 65, 85, 100, 100, 100, 93, 130, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:100px; width:1195px; height:634px; ">
- <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="windeptnm"/>
- <col ref="winseqno" style="text-align:center; "/>
- <col ref="suplplcenm"/>
- <col ref="iokindnm"/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec" visibility="hidden"/>
- <col ref="prodcmpynm"/>
- <col ref="winqty" format="#,###" style="text-align:right; "/>
- <col ref="winunitcost" format="#,###" style="text-align:right; "/>
- <col ref="winpackqty" format="#,###" style="text-align:right; "/>
- <col ref="goodpurccost" format="#,###" style="text-align:right; "/>
- <col ref="winamt" format="#,###" style="text-align:right; "/>
- <col ref="winno" visibility="hidden" style="left:1135px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="deliveno" visibility="hidden" style="text-align:center; "/>
- <col ref="winpsnnm" style="text-align:center; "/>
- <col ref="winputno"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="winpackunit" visibility="hidden"/>
- <col ref="winpackcntperunit" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="winunit" visibility="hidden"/>
- <col ref="delivedeptqty" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="stocqty" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="winpsn" visibility="hidden"/>
- <col ref="windeptcd" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="paycond" visibility="hidden"/>
- <col ref="temppay" visibility="hidden"/>
- <col ref="calcdocukind" visibility="hidden"/>
- <col ref="elctstmntyn" visibility="hidden"/>
- <col ref="iokind" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="purcdmnddd" visibility="hidden"/>
- <col ref="purcdmndno" visibility="hidden"/>
- <col ref="purcdmndseq" visibility="hidden"/>
- <col ref="deliveseqno" visibility="hidden"/>
- <col ref="bnscd" visibility="hidden"/>
- <col ref="calcdocudd" visibility="hidden"/>
- <col ref="profno" visibility="hidden"/>
- <col ref="acntcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqno" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="valiterm" visibility="hidden"/>
- <col ref="stocynindx" visibility="hidden"/>
- <col ref="chkdd" visibility="hidden"/>
- <col ref="chkpsn" visibility="hidden"/>
- <col ref="chkyn" visibility="hidden"/>
- <col ref="slipdd" visibility="hidden"/>
- <col ref="slipno" visibility="hidden"/>
- <col ref="suppcustcd" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="prewinqty" visibility="hidden"/>
- <col ref="minexch" visibility="hidden"/>
- <col ref="suppcustnm" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodwin.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption35" class="tit_2" style="left:5px; top:80px; width:95px; height:13px; ">입고내역</caption>
- <line id="line15" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
- <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:74px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_goodwin);
- ]]>
- </script>
- </button>
- <group id="group7" style="left:0px; top:10px; width:1195px; height:61px; vertical-align:top; ">
- <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:61px; "/>
- <select1 id="cmb_goodflag" ref="/root/send/goodwin/goodflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:1053px; top:8; width:33px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption41" class="search_name" style="left:15px; top:9; width:86px; height:17px; ">입고일자 :</caption>
- <caption id="caption42" class="search_name" style="left:437px; top:9; width:86px; height:17px; ">입고부서 :</caption>
- <caption id="caption44" class="search_name" style="left:15px; top:35px; width:88px; height:17px; ">거 래 처 :</caption>
- <caption id="caption45" class="search_name" style="left:437px; top:35px; width:86px; height:17px; ">약품코드 :</caption>
- <line id="line30" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:51px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <caption id="caption22" style="left:209px; top:9px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
- <input id="ipt_maincustlastsuplplcenm" ref="/root/send/goodwin/suplplcenm" class="input_search" style="left:225px; top:34; width:186px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_maincustlastsuplplcenm.value.length == 0)
- ipt_maincustlastsuplplce.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(ipt_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplcenm.attribute("ref")),"","suplplcecd,suplplcenm" ,
- ipt_maincustlastsuplplcenm,"SPRSD00220","instcd","ipt_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_maincustlastsuplplce" ref="/root/send/goodwin/suplplcecd" class="input_search" style="left:104px; top:34; width:94px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_maincustlastsuplplce.attribute("ref")).length == 0 ) model.setValue(ipt_maincustlastsuplplcenm.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(ipt_instcd.attribute("ref")) +",,"+model.getValue(ipt_maincustlastsuplplce.attribute("ref")) ,"","suplplcecd,suplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","ipt_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button9" class="icon_search" style="left:204px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","suplplcecd,suplplcenm","SPRSD00220","instcd","ipt_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodnm" ref="/root/send/goodwin/goodnm" class="input_search" style="left:651px; top:34; width:310px; 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,goodflag,goodnm",
- "goodnm," + model.getValue(ipt_instcd.attribute("ref")) + "," + model.getValue(cmb_goodflag.attribute("ref")) + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodnm,"SPRSD00210","instcd,goodflag","ipt_instcd,cmb_goodflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd" ref="/root/send/goodwin/goodcd" class="input_search" imemode="disabled" _chartype="upper" style="left:522px; top:34; width:105px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_goodcd.attribute("ref")).length == 0 ) model.setValue(ipt_goodnm.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm","goodcd," + model.getValue(ipt_instcd.attribute("ref")) + "," + model.getValue(cmb_goodflag.attribute("ref")) + "," + model.getValue(ipt_goodcd.attribute("ref")) + ",,,," ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,goodflag","ipt_instcd,cmb_goodflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button10" class="icon_search" style="left:631px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","ipt_instcd,cmb_goodflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption40" class="search_name" style="left:756px; top:9; width:89px; height:17px; ">대 분 류 :</caption>
- <select1 id="cmb_windeptcd" ref="/root/send/goodwin/windeptcd" class="combo_s_essential" appearance="minimal" style="left:522px; top:8; width:130px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_lrgcd" ref="/root/send/goodwin/lrgcd" class="combo_s_essential" appearance="minimal" style="left:840px; top:8; width:121px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_instcd" ref="/root/send/goodwin/instcd" visibility="hidden" style="left:1020px; top:8; width:30px; height:19px; "/>
- <input id="ipt_winfrdd" ref="/root/send/goodwin/winfrdd" class="input_s_essential" inputtype="date" style="left:104px; top:8; width:100px; height:19px; "/>
- <input id="ipt_wintodd" ref="/root/send/goodwin/wintodd" class="input_s_essential" inputtype="date" style="left:225px; top:8; width:100px; height:19px; "/>
- </group>
- </group>
- <group id="group2" style="left:0px; top:12px; width:1195; height:27px; ">
- <button id="button1" class="btn3_letter6" visibility="hidden" style="left:58px; 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:1193px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|