123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAVT01800_수익집계
- * 설 명 : 조직은행 수익집계
- * 설 계 자 : 최예원
- * 작 성 자 : 최예원
- * 작 성 일 : 2011.03.24
- * 수정이력 : 2011.03.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>
- <avtmlist>
- <item>
- <recvno/>
- <pid/>
- <hngnm/>
- <opdd/>
- <opcd/>
- <ophngnm/>
- <opengnm/>
- </item>
- </avtmlist>
- <bscdlstdtl>
- <item>
- <clscd/>
- <etccd/>
- <etcdetlcd/>
- <etcdetlcdkey/>
- <etcdetlnm/>
- <etcitemcnts/>
- <etcitemcnts2/>
- <useyn/>
- </item>
- </bscdlstdtl>
- <selbscdlstdtl>
- <item>
- <clscd/>
- <etccd/>
- <etcdetlcd/>
- <etcdetlcdkey/>
- <etcdetlnm/>
- <etcitemcnts/>
- <etcitemcnts2/>
- <useyn/>
- </item>
- </selbscdlstdtl>
- <prcplist>
- <item>
- <prcpgenrflag/>
- <pid/>
- <prcpdd/>
- <rgsttm/>
- <prcpnm/>
- <prcpcd/>
- <prcpqty/>
- <prcpamt/>
- </item>
- </prcplist>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- <srchdateflag/>
- <clscd/>
- <etccd/>
- <data>
- <srchprcpcd/>
- <srchpid/>
- <srchpickdd/>
- </data>
- <deldata>
- <srfromdd/>
- <srtodd/>
- <srpid/>
- </deldata>
- <srchinstcd/>
- <srchuid/>
- </send>
- <init>
- <combobscdlst/>
- <baseinfo>
- <initprcpgenrflagcd/>
- </baseinfo>
- </init>
- <hidden/>
- <temp/>
- <rexprnt>
- <benflist>
- <srchfromdd/>
- <srchtodd/>
- </benflist>
- </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="../../../com/basiccodeweb/js/ZBC001.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="TRAVT01800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/avtmlist"/>
- <submission id="TRAVB00103" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" replace="instance" resultref="root/main/bscdlstdtl"/>
- <submission id="TRAVT01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/schblist"/>
- <submission id="TXAVT01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- <submission id="TXAVT01800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 화면 초기화
- function fGetScreenInit(){
-
- model.setValue("/root/send/srchfromdd", getCurrentDate());
- model.setValue("/root/send/srchtodd", getCurrentDate());
- model.setValue("/root/send/srchdateflag", "1");
-
- model.removeNodeset("/root/main/avtmlist");
- model.removeNodeset("/root/main/bscdlstdtl/item");
-
- model.setValue("root/send/clscd","C");
- model.setValue("root/send/etccd","C26");
- submit("TRAVB00103");
- model.setValue("/root/send/srchdateflag" , "R");
-
- zbcfGetCodeList( new Array("M0010"), new Array("/root/init/baseinfo/initprcpgenrflagcd") );
-
- 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; ">
- <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:446px; y2:50px; "/>
- <datagrid id="dtg_schblist" nodeset="/root/main/schblst/item" scroll="auto" caption="입/외^환자번호^처방일자^처방일자^처방명^수량^단가^총계^처방코드" colsep="^" colwidth="40, 65, 80, 60, 170, 40, 90, 90, 90" dataheight="23" ellipsis="true" explorerbar="sortmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:450px; top:75px; width:743px; height:660px; text-align:center; ">
- <col disabled="true" ref="iogbn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" type="output"/>
- <col ref="prcpdd" type="output" format="yyyy-mm-dd"/>
- <col ref="rgsttm" type="output" format="hh:nn:ss"/>
- <col ref="prcpnm" type="output" style="text-align:left; "/>
- <col ref="prcpqty" type="output"/>
- <col ref="costamt" type="output" format="#,###" style="text-align:right; padding-right:5; "/>
- <col ref="totamt" type="output" format="#,###" style="text-align:right; padding-right:5; "/>
- <col ref="prcpcd" type="output"/>
- <col ref="prcpno" type="output" visibility="hidden"/>
- <col ref="costamt" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- dtg_schblist.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:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">수술일자 :</caption>
- <caption id="caption5" class="search_no_b" style="left:207px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:104px; top:9px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:222px; top:10px; width:100px; height:19px; "/>
- <button id="button1" class="btn1_letter2" style="left:345px; 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("TRAVT01800") ){
-
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line4" class="line_4" style="x1:334px; y1:7px; x2:334px; y2:29px; "/>
- </group>
- <datagrid id="dtg_avtmlist" nodeset="/root/main/avtmlist/item" scroll="auto" caption="이식번호^환자번호^환자명^수술일자^수술명" colsep="^" colwidth="58, 58, 64, 75, 167, 100" dataheight="23" ellipsis="true" explorerbar="sortmove" focuscolor="#b9e5fb" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:55px; width:445px; height:410px; text-align:center; ">
- <col ref="recvno" type="output"/>
- <col ref="pid" type="output"/>
- <col ref="hngnm" type="output"/>
- <col ref="opdd" type="output" format="yyyy-mm-dd"/>
- <col ref="opengnm" type="output" style="text-align:left; "/>
- <col ref="ophngnm" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- dtg_avtmlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="dtg_prcdlst" nodeset="/root/main/bscdlstdtl/item" scroll="auto" caption="코드^명칭" colsep="^" colwidth="100, 321, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:490px; width:445px; height:245px; text-align:center; ">
- <col ref="etcdetlcd" type="output"/>
- <col ref="etcdetlnm" type="output" style="text-align:left; "/>
- <col ref="clscd" visibility="hidden"/>
- <col ref="etccd" visibility="hidden"/>
- <col ref="etcdetlcdkey" visibility="hidden"/>
- <col ref="etcitemcnts" visibility="hidden"/>
- <col ref="etcitemcnts2" visibility="hidden"/>
- <col ref="useyn" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- dtg_prcdlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:485px; x2:446px; y2:485px; "/>
- <line id="line3" class="line_1" style="x1:450px; y1:70px; x2:1192px; y2:70px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:470px; width:135px; height:13px; ">처방코드</caption>
- <button id="btn_excsave" class="btn2_letter4" style="left:1127px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save",",",false,"조직은행 수익집계_"+getCurrentDate(),"xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
- if (filename != "")
- {
- dtg_schblist.saveExcel(filename);
- }
- ]]>
- </script>
- </button>
- <button id="btn_etcisave" class="btn5_letter6" visibility="visible" style="left:450px; top:48px; width:86px; height:19px; ">
- <caption>수익자료생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/schblst");
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchuid", getUserId());
-
- submit("TXAVT01801");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_srch" class="btn5_letter4" visibility="visible" style="left:539px; top:48px; width:64px; height:19px; ">
- <caption>자료조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/schblst");
- if(submit("TRAVT01801")){
- var Cnt = getNodesetCount("/root/main/schblst/item");
- if( Cnt > 0 ){
- dtg_schblist.subtotalposition = "below";
- dtg_schblist.multitotals = true;
-
- dtg_schblist.subtotal("sum", -1, 7, "format:#,###; roundmode:round; roundpostion:2", "font-weight:bold; background-color:#ffff99; color:#669900; ", 1, "합계", false);
- dtg_schblist.subtotal("sum", -1, 8, "format:#,###; roundmode:round; roundpostion:2", "font-weight:bold; background-color:#ffff99; color:#669900; ", 1, "합계", false);
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn5_letter3" visibility="visible" style="left:606px; top:48px; width:53px; height:19px; ">
- <caption>삭 제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("조회된 수익자료를", "Q001", "") == 6 ) {
- if( submit("TXAVT01800")){
- model.removeNodeset("/root/main/schblst");
- btn_srch.dispatch("DOMActivate");
- }
- model.refresh();
- }
- ]]>
- </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>
- </group>
- </xhtml:body>
- </xhtml:html>
|