123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- <?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>
- <data1>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- </data1>
- <data2>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- </data2>
- <list1>
- <obtm/>
- </list1>
- </send>
- <main>
- <list1>
- <obtm/>
- </list1>
- <list2>
- <obtd/>
- </list2>
- </main>
- <init>
- <!-- 보험유형 -->
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </P0008list>
- <!-- 이신구분 -->
- <P0264list>
- <P0264>
- <cdid/>
- <cdnm/>
- </P0264>
- </P0264list>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 0. 데이터 초기화
- model.removenode("/root/main/list1");
- model.removenode("/root/main/list2");
- model.makeNode("/root/main/list1");
- model.makeNode("/root/main/list2");
-
- // 1. 공통코드 초기화 (보험유형, 이신구분)
- zbcfGetCodeList(
- new Array("P0008", "P0264"),
- new Array("/root/init/P0008list", "/root/init/P0264list")
- );
-
- // 2. 이의신청 명세서를 조회한다.
- submit("TRPIR31007");
-
- grd_obtmlist.refresh();
- grd_obtdlist.refresh();
- ]]>
- </script>
- <submission id="TRPIR31007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/list1"/>
- <submission id="TRPIR31008" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/list2"/>
- <submission id="TXPIR31003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list1" resultref="/root/temp"/>
- <submission id="TXPIR31004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list1" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="830" pageheight="470" guideline="1,805;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:805px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; ">이의신청 정산의뢰 현황</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:805px; height:442px; ">
- <datagrid id="grd_obtmlist" nodeset="/root/main/list1/obtm" class="datagrid2" caption="선택^이신구분^접수번호^심사차수^청구번호^명일련^묶음번호^보험유형^메모^이의신청액" colsep="^" colwidth="30, 90, 55, 55, 70, 50, 55, 60, 205, 80" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:26px; width:805px; height:134px; ">
- <col ref="chksel" type="checkbox"/>
- <col disabled="true" ref="obtappflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0264list/P0264">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acptno"/>
- <col ref="judgdg"/>
- <col ref="clamno"/>
- <col ref="docuseqno"/>
- <col ref="setno"/>
- <col disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="obtapprem"/>
- <col ref="obtappamt" format="#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_obtmlist.row;
- var judgdg = model.getValue("/root/main/list1/obtm["+row+"]/judgdg");
- var clamno = model.getValue("/root/main/list1/obtm["+row+"]/clamno");
- var acptno = model.getValue("/root/main/list1/obtm["+row+"]/acptno");
- var docuseqno = model.getValue("/root/main/list1/obtm["+row+"]/docuseqno");
- var obtappflag = model.getValue("/root/main/list1/obtm["+row+"]/obtappflag");
-
- if (judgdg != "" && clamno != "" && acptno != "" && docuseqno != "" && obtappflag != "") {
-
- // 1. 이의신청 처방을 조회할 데이터를 담는다.
- model.makeValue("/root/send/data2/judgdg", judgdg);
- model.makeValue("/root/send/data2/clamno", clamno);
- model.makeValue("/root/send/data2/acptno", acptno);
- model.makeValue("/root/send/data2/docuseqno", docuseqno);
- model.makeValue("/root/send/data2/obtappflag", obtappflag);
-
- // 2. 선택한 이의신청 명세서의 이의신청 처방내역을 조회한다.
- model.removenode("/root/main/list2");
- model.makeNode("/root/main/list2");
- submit("TRPIR31008");
-
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:160px; height:14px; ">이의신청 명세서</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:805px; y2:21px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:169px; width:160px; height:14px; ">이의신청 처방내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:185px; x2:805px; y2:185px; "/>
- <datagrid id="grd_obtdlist" nodeset="/root/main/list2/obtd" class="datagrid2" caption="이신구분^EDI구분^EDI코드^처방코드^처방명^정산
일회^정산
일투^정산
총투^이의신청액" colsep="^" colwidth="90, 60, 100, 100, 185, 45, 45, 45, 80" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:190px; width:805px; height:210px; ">
- <col disabled="true" ref="obtappflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0264list/P0264">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="edicdflag"/>
- <col ref="edicd"/>
- <col ref="calcscorcd"/>
- <col ref="hngnm"/>
- <col ref="obtapponeqty" format="###" style="text-align:right; "/>
- <col ref="obtappdayqty" format="###" style="text-align:right; "/>
- <col ref="obtapptotqty" format="###" style="text-align:right; "/>
- <col ref="obtappamt" format="(-)#,###" style="text-align:right; "/>
- </datagrid>
- </group>
- <button id="btn_delete" class="btn3_letter6" navindex="7" style="left:635px; top:425px; width:104px; height:22px; ">
- <caption>정산의뢰삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1. 데이터를 초기화한다.
- model.removenode("/root/send/list1");
- model.makeNode("/root/send/list1");
-
- // 2. 체크된 이의신청 명세서를 담는다.
- var check = false;
- var cnt = 0;
- for (i = 1; i < grd_obtmlist.rows; i++) {
-
- check = grd_obtmlist.valueMatrix(i, grd_obtmlist.colRef("chksel"));
- if (check == "true") {
- cnt++;
- model.makeValue("/root/send/list1/obtm["+cnt+"]/obtm_judgdg", model.getValue("/root/main/list1/obtm["+i+"]/judgdg"));
- model.makeValue("/root/send/list1/obtm["+cnt+"]/obtm_clamno", model.getValue("/root/main/list1/obtm["+i+"]/clamno"));
- model.makeValue("/root/send/list1/obtm["+cnt+"]/obtm_acptno", model.getValue("/root/main/list1/obtm["+i+"]/acptno"));
- model.makeValue("/root/send/list1/obtm["+cnt+"]/obtm_docuseqno", model.getValue("/root/main/list1/obtm["+i+"]/docuseqno"));
- model.makeValue("/root/send/list1/obtm["+cnt+"]/obtm_obtappflag", model.getValue("/root/main/list1/obtm["+i+"]/obtappflag"));
- }
- }
- if (cnt == 0) return;
-
- // 3. 이의신청 명세서를 삭제한다.
- if (messageBox("정산의뢰 요청한 이의신청 명세서를", "S001") != 6) return;
-
- // 4. 이의신청명세서 - 처방내역을 삭제한다.
- if (submit("TXPIR31003")) {
-
- // 5. 이의신청 청구서를 수정한다. (명세서가 모두 삭제되었으면 청구서도 삭제, 명세서가 존재하면 이의 합산 이의신청금액을 청구서에 반영한다.)
- if (submit("TXPIR31004")) {
- messageBox("정산의뢰 취소가", "I002");
- window.close();
- }
- }
-
-
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn3_letter2" navindex="7" style="left:745px; top:425px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|