123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAED00700_재고 입출고 현황
- * 설 명 : 치기공
- * 설 계 자 : 최예원
- * 작 성 자 : 최예원
- * 작 성 일 : 2011.01.24
- * 수정이력 : 2011.01.24
- * 기 타 :
- -->
- <?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>
- <inoutgbcdlist>
- <item>
- <cdid>1</cdid>
- <cdnm>입 고</cdnm>
- </item>
- <item>
- <cdid>2</cdid>
- <cdnm>출 고</cdnm>
- </item>
- </inoutgbcdlist>
- <inoutlst>
- <item>
- <stockdd/>
- <acptno/>
- <pid/>
- <hngnm/>
- <calcscorcd/>
- <metalcd/>
- <rcptamt/>
- <stockbqty/>
- <inqty/>
- <outqty/>
- <stockaqty/>
- <bigo/>
- <cnclyn/>
- </item>
- </inoutlst>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- <srchmetalcd/>
- <srchinoutgb/>
- <basecdflag/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init>
- <combobscdlst/>
- </init>
- <hidden/>
- <temp/>
- <rexprnt>
- <inoutlst>
- <srchsearch/>
- </inoutlst>
- </rexprnt>
- </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="../../../ast/tissuebankbaseweb/js/tissuebankcombolist.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetScreenInit();
- ]]>
- </script>
- <submission id="TRAVB00001"/>
- <submission id="TRAVT02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/benflist"/>
- <submission id="TRAVT01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dntglist"/>
- <submission id="TRAVB00002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/comboptcdlst"/>
- <submission id="TRAED00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtlist"/>
- <submission id="TRAED00700" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/inoutlst"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 화면 초기화
- function fGetScreenInit(){
- aezfSetSuppDeptcd();
-
- // 금속종류 코드 LIST(대분류)
- model.setValue("/root/send/basecdflag", "H");
- submit("TRAED00103");
-
- model.setValue("/root/send/srchfromdd", getCurrentDate());
- model.setValue("/root/send/srchtodd", getCurrentDate());
-
- addComboItem("cmb_metalcd", "전 체", "", "above");
- cmb_metalcd.value = "";
-
- addComboItem("cmb_inoutgb", "전 체", "", "above");
- cmb_inoutgb.value = "";
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,784;1,1193;" 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:210px; height:14px; ">치기공 재고 입출고 현황</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:210px; height:14px; ">치기공 재고 입출고 현황 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
- <datagrid id="dtg_inoutlst" nodeset="/root/main/inoutlst/item" scroll="auto" caption="입출고 일자^번 호^환자번호^성 명^처방코드^금속^수납금액^이전 재고량^입고량/반납량^출고량/사용량^이후 재고량^비 고^취소여부" colsep="^" colwidth="129, 80, 80, 80, 90, 80, 80, 80, 100, 100, 200, 60" dataheight="23" defaultrows="3" ellipsis="true" explorerbar="sortmove" focuscolor="#b9e5fb" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1194px; height:664px; text-align:center; ">
- <col disabled="true" ref="stockdd" format="yyyy-mm-dd hh:nn:ss"/>
- <col disabled="true" ref="acptno"/>
- <col ref="pid" type="output"/>
- <col ref="hngnm" type="output"/>
- <col ref="calcscorcd" type="output"/>
- <col disabled="true" ref="metalcd" type="combo" style="text-align:right; padding-right:15; ">
- <choices>
- <itemset nodeset="/root/main/eqmtlist/item">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="rcptamt" type="output" style="text-align:right; padding-right:15; "/>
- <col ref="stockbqty" type="output" style="text-align:right; padding-right:15; "/>
- <col ref="inqty" type="output" style="text-align:right; padding-right:15; "/>
- <col ref="outqty" type="output" style="text-align:right; padding-right:15; "/>
- <col ref="stockaqty" type="output" style="text-align:right; padding-right:15; "/>
- <col ref="bigo" type="output" style="text-align:left; padding-left:5; "/>
- <col ref="cnclyn" type="output"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- dtg_inoutlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:120px; height:17px; ">입출고 일자 :</caption>
- <caption id="caption5" class="search_no_b" style="left:227px; top:9px; width:12px; height:17px; ">~</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:124px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:242px; top:8px; width:100px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( model.getValue("/root/send/srchfromdd") == ""){
- messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
-
- if( model.getValue("/root/send/srchtodd") == "" ){
- messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
-
- if( submit("TRAED00700") ){
- var rows = dtg_inoutlst.rows
- if( rows > 1){
- // model.setValue(/root/main/dntglist/item/partcode)
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:360px; top:9px; width:75px; height:17px; ">금 속 :</caption>
- <caption id="caption4" class="search_name" visibility="hidden" style="left:525px; top:9px; width:75px; height:17px; ">구 분 :</caption>
- <select1 id="cmb_inoutgb" ref="/root/send/srchinoutgb" class="combo_search" visibility="hidden" appearance="minimal" style="left:600px; top:8px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/inoutgbcdlist/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_metalcd" ref="/root/send/srchmetalcd" class="combo_search" appearance="minimal" style="left:435px; top:8px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/eqmtlist/item">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <button id="btn_excsave" class="btn2_letter4" style="left:1122px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
- if (filename != "")
- {
- dtg_inoutlst.saveExcel(filename);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <button id="button2" class="btn6_letter2" style="left:3px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = getNodesetCount("/root/main/inoutlst/item");
-
- for( var i = 1; i <= cnt; i++){
- model.makeNode("/root/rexprnt/inoutlst/item[" + i + "]");
- model.copyNode("/root/rexprnt/inoutlst/item[" + i + "]", "/root/main/inoutlst/item["+ i +"]");
- model.setValue("/root/rexprnt/inoutlst/item[" + i + "]/stockdd", dtg_inoutlst.labelMatrix(i, dtg_inoutlst.colRef("stockdd")));
- model.setValue("/root/rexprnt/inoutlst/item[" + i + "]/metalcd", dtg_inoutlst.labelMatrix(i, dtg_inoutlst.colRef("metalcd")));
- }
-
- var srchtitle = "";
- srchtitle = "▣ 입출고 일자 : " + ipt_fromdd.label + " ~ " + ipt_todd.label ;
-
- if( cmb_metalcd.value != "" ){
- srchtitle = srchtitle + " ▣ 금 속 : " + cmb_metalcd.label ;
- }
-
- if( cmb_inoutgb.value != "" ){
- srchtitle = srchtitle + " ▣ 구 분 : " + cmb_inoutgb.label ;
- }
-
- model.setValue("/root/rexprnt/inoutlst/srchsearch", srchtitle );
- model.refresh();
-
- exeReportPreview("RPAED00700", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- model.removeNodeset("/root/rexprnt/inoutlst/item");
- model.resetInstanceNode("/root/rexprnt/inoutlst/srchsearch");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|