123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <?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="">
- <init>
- <instcd/>
- <winacnt/>
- <winacntnm/>
- <maincustlastsuplplce/>
- <maincustlastsuplplcenm/>
- <lrgcd/>
- <lrgnm/>
- <mdlcd/>
- <mdlnm/>
- <goodcd/>
- <goodnm/>
- <winfrdd/>
- <wintodd/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- </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/purccommonweb/js/PURC.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- misfComboComCdListMulti("Z0007","cmb_instcd" );
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- 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: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:38; width:1195px; height:744px; ">
- <datagrid id="datagrid1" nodeset="/root/main" caption="물품코드^품명^규격^입고수량^입고금액" colwidth="100, 240, 120, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:152px; width:705px; height:582px; ">
- <col ref="e"/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:147px; x2:705px; y2:147px; "/>
- <group id="group4" style="left:0px; top:10px; width:1195px; height:113px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:113px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" navindex="7" class="btn1_letter2" style="left:1124px; top:44px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:15px; top:61; width:89px; height:17px; ">계 정 :</caption>
- <line id="line3" class="line_4" style="top:54; x1:1109px; y1:12px; x2:1109px; y2:99px; "/>
- <caption id="caption1" class="search_name" style="left:249px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
- <select1 id="radio2" class="radio_search" overflow="visible" appearance="full" cols="2" cellspacing="50" style="left:334px; top:10px; width:145px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>금액</label>
- <value>radio2</value>
- </item>
- <item>
- <label>수량</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:505px; top:9px; width:88px; height:17px; ">대 분 류 :</caption>
- <caption id="caption13" class="search_name" style="left:505px; top:61px; width:89px; height:17px; ">거 래 처 :</caption>
- <caption id="caption2" class="search_name" style="left:15; top:35; width:86px; height:17px; ">입고일자 :</caption>
- <caption id="caption3" style="left:230px; top:35px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="input1" ref="/root/init/winfrdd" class="input_s_essential" inputtype="date" style="left:100px; top:34px; width:126px; height:19px; "/>
- <input id="input3" ref="/root/init/wintodd" class="input_s_essential" inputtype="date" style="left:247px; top:34px; width:126px; height:19px; "/>
- <caption id="caption14" class="search_name" style="left:15; top:9; width:91px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/init/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:8px; width:126px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption15" class="search_name" style="left:15px; top:87; width:89px; height:17px; ">물품코드 :</caption>
- <caption id="caption16" class="search_name" style="left:505px; top:35px; width:88px; height:17px; ">중 분 류 :</caption>
- <button id="btn_lrgcd" class="icon_search" style="left:692px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- purcfOpenPopUpListByWndName(ipt_lrgcd,"","lrgcd,lrgnm","SPRSD00130","goodflag","cmb_goodflag");
- model.refresh();
- model.setFocus("ipt_mdlcd");
- ]]>
- </script>
- </button>
- <output id="opt_lrgnm" ref="/root/init/lrgnm" class="output_fix" appearance="output" style="left:715px; top:8px; width:210px; height:19px; "/>
- <input id="ipt_lrgcd" ref="/root/init/lrgcd" class="input_s_essential" style="left:587px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- purfValidationCheck("TRRSD00131", "lrglist", "refcond,goodflag,lrgcd,lrgnm","lrgnm," + model.getValue(cmb_goodflag.attribute("ref")) +",," + model.getValue(ipt_lrgcd.attribute("ref")),"","lrgcd,lrgnm" ,ipt_lrgcd,"SPRSD00130","goodflag","cmb_goodflag");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_asetflag");
- else model.setFocus("ipt_mdlcd");
- }
- event.preventDefault();
- ]]>
- </script>
- </input>
- <output id="opt_maincustlastsuplplcenm" ref="/root/init/maincustlastsuplplcenm" class="output_fix" appearance="output" style="left:715px; top:60px; width:210px; height:19px; "/>
- <input id="ipt_maincustlastsuplplce" ref="/root/init/maincustlastsuplplce" class="input_default" style="left:587px; top:60px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- purfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,custnm", model.getValue(cmb_instcd.attribute("ref")) +"," + model.getValue(ipt_maincustlastsuplplce.attribute("ref")),"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- model.setFocus("ipt_suppcustcd");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcflag");
- else model.setFocus("ipt_suppcustcd");
- }
- event.preventDefault();
- ]]>
- </script>
- </input>
- <button id="btn_maincustlastsuplplce" class="icon_search" style="left:692px; top:61px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //purcfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00180","goodflag,prodcmpycd,prodcmpynm","cmb_goodflag,ipt_prodcmpycd,opt_prodcmpynm");
- purcfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_goodcd" class="icon_search" style="left:204px; top:85px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- purcfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodcd" ref="/root/init/goodcd" navindex="6" class="input_s_essential" style="left:100px; top:86px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- purfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm","goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_goodflag.attribute("ref")) + ",," + model.getValue(ipt_goodcd.attribute("ref")) + ",,," ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="input2" ref="/root/init/goodnm" navindex="6" class="output_fix" style="left:225px; top:86px; width:210px; height:19px; "/>
- <output id="opt_winacntnm" ref="/root/init/winacntnm" class="output_fix" appearance="output" style="left:225px; top:60px; width:210px; height:19px; "/>
- <button id="btn_winacnt" class="icon_search" style="left:204px; top:63px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- purcfOpenPopUpListByWndName(ipt_winacnt,"","winacnt,winacntnm","PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_winacnt" ref="/root/init/winacnt" class="input_essential" style="left:100px; top:60px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- purfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_winacnt.attribute("ref")) ,"","winacnt,winacntnm" ,ipt_winacnt,"PPRAC00100","","");
- model.refresh();
- model.setFocus("ipt_amtacnt");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_lrgcd");
- else model.setFocus("ipt_amtacnt");
- }
- event.preventDefault();
- ]]>
- </script>
- </input>
- <button id="btn_mdlcd" class="icon_search" style="left:692px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- purcfOpenPopUpListByWndName(ipt_mdlcd,"","mdlcd,mdlnm","SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag,ipt_lrgcd,opt_lrgnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="opt_mdlnm" ref="/root/init/mdlnm" class="output_fix" appearance="output" style="left:715px; top:34px; width:210px; height:19px; "/>
- <input id="ipt_mdlcd" ref="/root/init/mdlcd" class="input_default" style="left:587px; top:34px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- purfValidationCheck("TRRSD00141", "mdllist", "refcond,goodflag,lrgcd,mdlcd,mdlnm","mdlnm," + model.getValue(cmb_goodflag.attribute("ref")) + "," + model.getValue(ipt_lrgcd.attribute("ref")) + ",," + model.getValue(ipt_mdlcd.attribute("ref"))
- ,"","mdlcd,mdlnm" ,ipt_mdlcd,"SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag,ipt_lrgcd,opt_lrgnm");
- model.refresh();
- model.setFocus("ipt_smlcd");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_lrgcd");
- else model.setFocus("ipt_smlcd");
- }
- event.preventDefault();
- ]]>
- </script>
- </input>
- </group>
- <line id="line4" class="line_1" style="x1:710px; y1:147px; x2:1195px; y2:147px; "/>
- <datagrid id="datagrid2" nodeset="/root/main" caption="년월^성모^강남^의정부" colwidth="100, 100, 120, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:710px; top:152px; width:485px; height:582px; ">
- <col ref="e"/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <caption id="caption21" class="tit_2" style="left:5px; top:132px; width:131px; height:13px; ">품목 목록</caption>
- <caption id="caption12" class="tit_2" style="left:715px; top:132px; width:131px; height:13px; ">기관별 입고 목록</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <line id="line2" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="button16" class="btn4_letter2" style="left:1069px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- </button>
- <button id="button18" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|