123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315 |
- <?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>
- <goodreq>
- <goodreqlist/>
- </goodreq>
- </list>
- </main>
- <send>
- <goodreq>
- <instcd/>
- <reqflag/>
- <workflag/>
- <reqmthdflag/>
- <purcflag/>
- <reqdeptcd/>
- <reqdeptnm/>
- <goodcd/>
- <goodnm/>
- <reqfrdd/>
- <reqtodd/>
- <deliveprcsflag/>
- </goodreq>
- </send>
- <init>
- <workflag>
- <label>전체</label>
- <value/>
- <label>청구</label>
- <value>1</value>
- <label>반품</label>
- <value>2</value>
- </workflag>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSD02001" 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.removeNode("/root/main/grid");
- model.refresh();
- misfComboComCdListMulti("Z0007,R0092,R0111,R0116","cmb_instcd,cmb_reqmthd,cmb_purcflag,cmb_deliveprcsflag");
- rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_reqflag,"N",getUserInfo("dutplceinstcd"),"Y");
- rszfComboAppendBlankChild("cmb_reqmthd,cmb_purcflag,cmb_deliveprcsflag");
-
- misfGridInit(grd_goodreq);
- misfMsterDetailSet(grd_goodreq,null, "TRRSD02001" ,"N");
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(ipt_reqdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
- model.setValue(ipt_reqdeptnm.attribute("ref") , getUserInfo("dutplcenm"));
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
-
- model.setValue(ipt_reqfrdd.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
- model.setValue(ipt_reqtodd.attribute("ref") ,curdate);
- grd_goodreq.frozenCols = grd_goodreq.colRef("goodnm");
- //rbo_workflag.select(0);
- model.refresh();
- }
-
- function fCheckRetrieveData(pmsg)
- {
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- model.setFocus("cmb_instcd");
- return false;
- }
- }
- ]]>
- </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:186px; height:14px; ">일별 청구현황 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:87px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:87px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15; top:9px; width:89px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/goodreq/instcd" class="combo_search" appearance="minimal" style="left:100px; top:8px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line30" class="line_4" style="x1:1109px; y1:8px; x2:1109px; y2:76px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1124px; top:33px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fCheckRetrieveData(false) == false)return;
- misfGridInit(grd_goodreq)
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:260px; top:9px; width:86px; height:17px; vertical-align:middle; ">청구구분 :</caption>
- <select1 id="cmb_reqflag" ref="/root/send/goodreq/reqflag" class="combo_default" appearance="minimal" style="left:345px; top:8px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:15; top:35px; width:86px; height:17px; vertical-align:middle; ">작업구분 :</caption>
- <select1 id="cmb_reqmthd" ref="/root/send/goodreq/reqmthdflag" class="combo_default" appearance="minimal" style="left:100px; top:60px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqmthd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:15px; top:61; width:86px; height:17px; vertical-align:middle; ">청구방법 :</caption>
- <caption id="caption5" class="search_name" style="left:260px; top:61px; width:86px; height:17px; vertical-align:middle; ">구매구분 :</caption>
- <select1 id="cmb_purcflag" ref="/root/send/goodreq/purcflag" class="combo_default" appearance="minimal" style="left:345px; top:60px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/purcflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:505px; top:9px; width:89px; height:17px; vertical-align:middle; ">청구부서 :</caption>
- <input id="ipt_reqdeptnm" ref="/root/send/goodreq/reqdeptnm" class="input_fix" appearance="input" style="left:700px; top:8px; width:149px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptnm.value.length == 0)
- ipt_reqdeptcd.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
- "deptnm," + ipt_reqdeptnm.value, "", "reqdeptcd,reqdeptnm",
- ipt_reqdeptnm, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqdeptcd" ref="/root/send/goodreq/reqdeptcd" class="input_fix" maxlength="10" appearance="input" style="left:590px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptcd.value.length == 0)
- ipt_reqdeptnm.value = "";
- else
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
- "deptcd," + ipt_reqdeptcd.value, "", "reqdeptcd,reqdeptnm",
- ipt_reqdeptcd, "SPRPZ00200", "","");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_windeptcd" class="icon_search" style="left:679px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodnm" ref="/root/send/goodreq/goodnm" class="input_fix" appearance="input" style="left:700px; top:34px; width:149px; 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,reqflag,goodnm",
- "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + cmb_reqflag.value + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd" ref="/root/send/goodreq/goodcd" class="input_fix" imemode="disabled" _chartype="upper" maxlength="10" appearance="input" style="left:590px; top:34px; width:85px; 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,reqflag,goodcd",
- "goodcd," + model.getValue(cmb_instcd.attribute("ref")) + "," + cmb_reqflag.value + "," + model.getValue(ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_name" style="left:505px; top:35px; width:89px; height:17px; vertical-align:middle; ">물품코드 :</caption>
- <button id="button1" class="icon_search" style="left:679px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption12" class="search_name" style="left:505px; top:61px; width:89px; height:17px; vertical-align:middle; ">청구일자 :</caption>
- <input id="ipt_reqfrdd" ref="/root/send/goodreq/reqfrdd" class="input_s_essential" inputtype="date" style="left:590px; top:60px; width:120px; height:19px; "/>
- <input id="ipt_reqtodd" ref="/root/send/goodreq/reqtodd" class="input_s_essential" inputtype="date" style="left:729px; top:60px; width:120px; height:19px; "/>
- <caption id="caption13" class="search_name" style="left:260px; top:35px; width:89px; height:17px; vertical-align:middle; ">진행상태 :</caption>
- <select1 id="cmb_deliveprcsflag" ref="/root/send/goodreq/deliveprcsflag" class="combo_default" appearance="minimal" style="left:345px; top:34px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deliveprcsflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_workflag" ref="/root/send/goodreq/workflag" class="combo_default" appearance="minimal" style="left:100px; top:34; width:125px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>청구</label>
- <value>1</value>
- </item>
- <item>
- <label>반품</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption9" style="left:714px; top:61px; width:20px; height:20px; font-weight:bold; ">~</caption>
- </group>
- <datagrid id="grd_goodreq" nodeset="/root/main/list/goodreq/goodreqlist" caption="청구일자^청구부서^청구구분^작업구분^청구순번^물품코드^물품명^규격^모델^제조회사^청구수량^청구단위^진행상태^조정수량^불출수량^조정자^미입고사유^비고^청구방법^불출구분^구매구분" colsep="^" colwidth="68, 89, 57, 59, 59, 84, 240, 89, 88, 73, 67, 55, 75, 60, 55, 55, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:126px; width:1195px; height:608px; ">
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqdeptnm"/>
- <col ref="reqflag"/>
- <col ref="workflag"/>
- <col ref="reqseqno" style="text-align:center; "/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="prodcmpynm"/>
- <col ref="reqqty" format="#,###" style="text-align:right; "/>
- <col ref="requnit"/>
- <col ref="deliveprcsflag"/>
- <col ref="adjtqty" format="#,###" style="text-align:right; "/>
- <col ref="deliveqty" format="#,###" style="text-align:right; "/>
- <col ref="adjtrsn" style="text-align:right; "/>
- <col ref="unwinresn"/>
- <col ref="cmt"/>
- <col ref="reqmthdflag"/>
- <col ref="deliveflag"/>
- <col ref="purcflag"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodreq.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption8" class="tit_2" style="left:5px; top:106px; width:118px; height:13px; ">청구현황내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:121px; x2:1195px; y2:121px; "/>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">일별 청구현황 조회</caption>
- </group>
- <group id="group2" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="button6" 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:1195px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|