123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356 |
- <?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="">
- <send>
- <instcd/>
- <dept/>
- <day/>
- <goodflag/>
- <goodcd/>
- <goodnm/>
- <shwflag/>
- <instnm/>
- <reqflag/>
- </send>
- <main>
- <goodlist>
- <deptcd/>
- <deptnm/>
- <goodcd/>
- <goodnm/>
- <goodunit/>
- <num1/>
- <num2/>
- <num3/>
- <num4/>
- <num5/>
- <num6/>
- <num7/>
- <num8/>
- <num9/>
- <num10/>
- <num11/>
- <num12/>
- <num13/>
- <num14/>
- <num15/>
- <num16/>
- <num17/>
- <num18/>
- <num19/>
- <num20/>
- <num21/>
- <num22/>
- <num23/>
- <num24/>
- <num25/>
- <num26/>
- <num27/>
- <num28/>
- <num29/>
- <num30/>
- <num31/>
- <total/>
- </goodlist>
- </main>
- <init>
- <radiodept>
- <label>외래</label>
- <value>1</value>
- <label>병동</label>
- <value>2</value>
- <label>OR</label>
- <value>3</value>
- <label>ER</label>
- <value>4</value>
- <label>기타</label>
- <value>5</value>
- <label>전체</label>
- <value/>
- </radiodept>
- <shwflag>
- <label>부 서 별</label>
- <value>1</value>
- <label>품 목 별</label>
- <value>2</value>
- </shwflag>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.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" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fsearch()
- {
- ipt_day.value = ipt_day.value.substr(0,6);
- misfMsterDetailRetrieve();
- }
-
- function fInitialize()
- {
- misfGridInit(grd_goodlist);
-
- // misfComboComCdList("Z0007", cmb_instcd);
- // cmb_instcd.value = getUserInfo("dutplceinstcd");
- //기관코드, 명 설정.
- opt_instcd.value = getUserInfo("dutplceinstcd");
- opt_instnm.value = getUserInfo("dutplceinstnm");
-
- rszfUserReqFlagList(cmb_reqflag,getUserInfo("dutplceinstcd"),getUserInfo("userid"),"5","S"); // '5' csr
-
- addComboItem( "cmb_reqflag", "전체", "", "above" );
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= T) => (goodflag= TM)
- ipt_goodflag.value = "TM";
- ipt_day.value = getCurrentDate();
-
- grd_goodlist.frozenCols = grd_goodlist.colRef("goodunit");
- rdo_shwflag.select(0);
- fGridSetting();
-
- misfMsterDetailSet(grd_goodlist, null, "TRRSG06101", "N");
-
- // btn_search.dispatch("DOMActivate");
- }
-
- function fGridSetting()
- {
- for(licol = 0; licol < grd_goodlist.cols ; licol++)
- {
- if(grd_goodlist.colRef("deptnm") != licol) grd_goodlist.mergecol(licol) = false;
- }
- grd_goodlist.mergecells = "bycol";
-
-
- }
- ]]>
- </script>
- <submission id="TRRSG06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/goodlist"/>
- </model>
- </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:135px; height:14px; ">물품불출집계(일계)</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:37px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:61px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:99px; height:17px; ">기관코드 :</caption>
- <input id="ipt_day" ref="/root/send/day" class="input_default" inputtype="date" format="yyyy-mm" style="left:370px; top:10px; width:95px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fsearch();
- ]]>
- </script>
- </input>
- <caption id="cap_day" class="search_name" style="left:285px; top:10px; width:99px; height:17px; ">조회년월 :</caption>
- <caption id="cap_dept" class="search_name" style="left:285px; top:35px; width:86px; height:17px; ">불출부서 :</caption>
- <input id="ipt_goodcd" ref="/root/send/goodcd" class="input_default" style="left:715px; top:35px; width:90px; 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,goodflag,goodcd",
- "goodcd," + model.getValue(opt_instcd.attribute("ref")) + "," + model.getValue(ipt_goodflag.attribute("ref")) + "," + model.getValue(ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd,goodflag","opt_instcd,ipt_goodflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodnm" ref="/root/send/goodnm" class="input_fix" disabled="true" appearance="input" style="left:829px; top:35px; width:221px; 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(opt_instcd.attribute("ref")) + "," + model.getValue(ipt_goodflag.attribute("ref")) + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd,goodflag","opt_instcd,ipt_goodflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_goodcd" class="search_name" style="left:630px; top:35px; width:86px; height:17px; ">물품코드 :</caption>
- <line id="line30" class="line_4" style="x1:1110px; y1:9px; x2:1110px; y2:52px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fsearch();
- ]]>
- </script>
- </button>
- <select1 id="rdo_dept" ref="/root/send/dept" overflow="visible" appearance="full" cols="6" style="left:370px; top:35px; width:250px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radiodept">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fsearch();
- ]]>
- </script>
- </select1>
- <button id="btn_goodcd" class="icon_search" style="left:809px; top:37px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","opt_instcd,ipt_goodflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodflag" ref="/root/send/goodflag" visibility="hidden" style="left:1075px; top:5px; width:25px; height:19px; "/>
- <select1 id="rdo_shwflag" ref="/root/send/shwflag" overflow="visible" appearance="full" cols="2" style="left:715px; top:10px; width:135px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/shwflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_shwflag.selectedIndex == 0)
- {
- grd_goodlist.colHidden(2) = false;
- grd_goodlist.colWidth(4) = 215;
-
- rdo_dept.disabled = false;
- ipt_goodcd.disabled = true;
- ipt_goodnm.disabled = true;
- ipt_goodcd.value = "";
- ipt_goodnm.value = "";
- btn_goodcd.disabled = true;
-
- fsearch();
- }
- else if(rdo_shwflag.selectedIndex == 1)
- {
- grd_goodlist.colHidden(2) = true;
-
- grd_goodlist.colWidth(4) = grd_goodlist.colWidth(4) + 67;
-
- rdo_dept.disabled = true;
- rdo_dept.value = "";
- ipt_goodcd.disabled = false;
- ipt_goodnm.disabled = false;
- btn_goodcd.disabled = false;
-
- fsearch();
- }
-
- ]]>
- </script>
- </select1>
- <caption id="cap_shwflag" class="search_name" style="left:630px; top:10px; width:89px; height:17px; ">출력구분 :</caption>
- <output id="opt_instcd" ref="/root/send/instcd" visibility="hidden" style="left:1050px; top:5px; width:25px; height:19px; "/>
- <output id="opt_instnm" ref="/root/send/instnm" class="output_fix" style="left:101px; top:10px; width:144px; height:19px; text-align:center; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:34px; width:99px; height:17px; ">청구구분 :</caption>
- <select1 id="cmb_reqflag" ref="/root/send/reqflag" class="combo_default" appearance="minimal" style="left:101px; top:35px; width:144px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fsearch();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="cap_title" class="tit_2" style="left:5px; top:80px; width:157px; height:14px; ">물품불출집계(일계)</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
- <datagrid id="grd_goodlist" nodeset="/root/main/goodlist" caption="부서코드^부서명^물품코드^품명^규격^단위^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^합계" colsep="^" colwidth="100, 100, 78, 197, 100, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:100px; width:1195px; height:634px; ">
- <col ref="deptcd" visibility="hidden"/>
- <col ref="deptnm"/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="goodunit" style="text-align:center; "/>
- <col ref="num1" format="#,###" style="text-align:right; "/>
- <col ref="num2" format="#,###" style="text-align:right; "/>
- <col ref="num3" format="#,###" style="text-align:right; "/>
- <col ref="num4" format="#,###" style="text-align:right; "/>
- <col ref="num5" format="#,###" style="text-align:right; "/>
- <col ref="num6" format="#,###" style="text-align:right; "/>
- <col ref="num7" format="#,###" style="text-align:right; "/>
- <col ref="num8" format="#,###" style="text-align:right; "/>
- <col ref="num9" format="#,###" style="text-align:right; "/>
- <col ref="num10" format="#,###" style="text-align:right; "/>
- <col ref="num11" format="#,###" style="text-align:right; "/>
- <col ref="num12" format="#,###" style="text-align:right; "/>
- <col ref="num13" format="#,###" style="text-align:right; "/>
- <col ref="num14" format="#,###" style="text-align:right; "/>
- <col ref="num15" format="#,###" style="text-align:right; "/>
- <col ref="num16" format="#,###" style="text-align:right; "/>
- <col ref="num17" format="#,###" style="text-align:right; "/>
- <col ref="num18" format="#,###" style="text-align:right; "/>
- <col ref="num19" format="#,###" style="text-align:right; "/>
- <col ref="num20" format="#,###" style="text-align:right; "/>
- <col ref="num21" format="#,###" style="text-align:right; "/>
- <col ref="num22" format="#,###" style="text-align:right; "/>
- <col ref="num23" format="#,###" style="text-align:right; "/>
- <col ref="num24" format="#,###" style="text-align:right; "/>
- <col ref="num25" format="#,###" style="text-align:right; "/>
- <col ref="num26" format="#,###" style="text-align:right; "/>
- <col ref="num27" format="#,###" style="text-align:right; "/>
- <col ref="num28" format="#,###" style="text-align:right; "/>
- <col ref="num29" format="#,###" style="text-align:right; "/>
- <col ref="num30" format="#,###" style="text-align:right; "/>
- <col ref="num31" format="#,###" style="text-align:right; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- </datagrid>
- <caption id="caption2" class="tit_2" visibility="hidden" style="left:190px; top:245px; width:542px; height:13px; ">그리드 컬럼 옮기지 마시요... colid를 하드코딩한 부분이 있오.</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line19" class="line_2" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <line id="line22" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <button id="btm_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>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( rdo_shwflag.value == '1' )
- {
- exeReportPreview("RPRSG06101", "XMLSTR");
- }else if( rdo_shwflag.value == '2' )
- {
- exeReportPreview("RPRSG06102", "XMLSTR");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|