123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SPPIJ02401_항목별진료비조회.xrw (심사차액조회 화면에 iviewer 형태로 들어갈 화면)
- * 수정이력
- * - 2008.09.02 / 최초작성 / 박지욱
- *
- * - opener 에서 전달받는 조건 경로
- /root/send/data1
- -->
- <?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/>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list1>
- </list1>
- </main>
- <send>
- <data1>
- <pid/>
- <indd/>
- <cretno/>
- <fromdd/>
- <todd/>
- <payflag/>
- </data1>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ]]>
- </script>
- <submission id="TRPIJ02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면을 초기화한다.
- function fInitialize() {
-
- // 1. opener 에서 key 데이터를 받는다.
- model.setValue("/root/send/data1/pid", opener.window.javaScript.getParameter("SPPIJ02400_pid"));
- model.setValue("/root/send/data1/indd", opener.window.javaScript.getParameter("SPPIJ02400_indd"));
- model.setValue("/root/send/data1/cretno", opener.window.javaScript.getParameter("SPPIJ02400_cretno"));
- model.setValue("/root/send/data1/fromdd", opener.window.javaScript.getParameter("SPPIJ02400_fromdd"));
- model.setValue("/root/send/data1/todd", opener.window.javaScript.getParameter("SPPIJ02400_todd"));
- model.setValue("/root/send/data1/payflag", opener.window.javaScript.getParameter("SPPIJ02400_payflag"));
-
- // 2. 항목별 심사전후 진료비 차액을 구한다.
- if (model.getValue("/root/send/data1/pid") != "") {
-
- submit("TRPIJ02401");
- grd_clodlist.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1070" pageheight="610" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1070px; height:610px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:100px; height:13px; ">항목별 진료비</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1070px; y2:25px; "/>
- <datagrid id="grd_clodlist" nodeset="/root/main/list1/clod" caption="항목^항목^명칭^심사후금액^심사전금액^차액|항^목^명칭^심사후금액^심사전금액^차액" colsep="^" colwidth="50, 50, 400, 140, 140, 140" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed-rows="2" style="left:0px; top:31px; width:1070px; height:579px; ">
- <col ref="item1" style="text-align:center; "/>
- <col ref="item2" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="aftamt" format="#,###" style="text-align:right; "/>
- <col ref="bframt" format="#,###" style="text-align:right; "/>
- <col ref="difamt" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if (grd_clodlist.isCell(event.target) && grd_clodlist.mouseRow >= grd_clodlist.fixedRows) {
- var row = grd_clodlist.row - 1;
- var item1 = model.getValue("/root/main/list1/clod[" + row + "]/item1");
- var item2 = model.getValue("/root/main/list1/clod[" + row + "]/item2");
- if (item1 != "" && item2 != "") {
- opener.window.javaScript.fGetJudgDetlDifAmtList(item1, item2);
- }
- }
-
- ]]>
- </script>
- </datagrid>
- </group>
- <button id="btn_excel" class="btn2_letter4" style="left:1002px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_clodlist.rows == 2) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_clodlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- messageBox("EXCEL 저장이 완료되었습니다.","I999");
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|