123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423 |
- <?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>
- <fromdd/>
- <todd/>
- <certno/>
- <ioflag>A</ioflag>
- <endyn>A</endyn>
- <uncoamt>1000</uncoamt>
- <selectflag/>
- <srchflag>M</srchflag>
- </send>
- <main>
- <list>
- <datagrid1>
- <clamym/>
- <clamdg/>
- <instcmpymark/>
- <pid/>
- <patnm/>
- <ioflag/>
- <patrrgstno/>
- <acptdd/>
- <clamamt/>
- <uncoamt/>
- <interestamt/>
- <instcmpymarknm/>
- </datagrid1>
- <datagrid2>
- <clamym/>
- <clamdg/>
- <instcmpymark/>
- <pid/>
- <patnm/>
- <ioflag/>
- <patrrgstno/>
- <acptdd/>
- <clamamt/>
- <adjtamt/>
- <aprvamt/>
- <depoamt/>
- <uncoamt/>
- <interestamt/>
- <rem/>
- <instcmpymarknm/>
- </datagrid2>
- </list>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <init>
- <U0001list>
- <U0001>
- <cd/>
- <nm/>
- </U0001>
- </U0001list>
- <P0268list>
- <P0268>
- <cdid/>
- <cdnm/>
- </P0268>
- </P0268list>
- </init>
- <hidden>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <insukind/>
- </cond>
- </sppmc02500>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- zbcfGetCodeList(new Array("P0268"), new Array("/root/init/P0268list"));
-
- model.setValue("/root/send/fromdd" , getCurrentDate().substr(0, 6));
- model.setValue("/root/send/todd" , getCurrentDate().substr(0, 6));
-
- // 기본값셋팅
- // cap_uncoamtyn.visible = false;
- // chk_uncoamtyn.visible = false;
- btn_rtndetl1.dispatch("DOMActivate");
- btn_rtndetl1.dispatch("onclick");
-
- // 손보사 코드 조회
- if(submit("TRPIF70305")){
- addComboItem("cmb_insucmpymark", "전체", "", "above");
- }
- // 진료과, 진료의조회
- submit("TRPID20309", false);
-
- model.removeNodeset("/root/main/list");
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ioflag" resultref="root/hidden/tmp"/>
- <!-- 손보사 리스트 조회 -->
- <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
- <!-- 미수현황 -->
- <submission id="TRPIF71501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- </model>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- function fGetInAftJudgTrgtManList(){
-
- // 환자단위조회를 하는 경우
- var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
- model.setValue("/root/send/patunitsrch1", patunitsrch1);
- if (patunitsrch1 == "") {
- model.setValue("/root/send/patunitsrch2", "");
- }
- else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
- /** [2007.03.23 jumi]
- Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
- */
- // if (patunitsrch1.length < 8) {
- // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- // }
- model.setValue("/root/send/patunitsrch2", "pidSrch");
- } else { // 문자가 입력된 경우 환자이름으로 조회한다.
- if (patunitsrch1.length > 1) {
- model.setValue("/root/send/patunitsrch2", "nmSrch");
- } else {
- model.setValue("/root/send/patunitsrch2", "");
- model.refresh();
- messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
- return;
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="datagrid2" 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:311px; height:14px; ">미수현황(자보)</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:737px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:64px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:1115px; top:23px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 조회구분
- model.setValue("/root/send/selectflag", switch1.selectedIndex);
-
- submit("TRPIF71501");
-
-
- // 청구월별 미수현황
- if (switch1.selectedIndex == 0) {
- datagrid1.subtotalposition= "below";
- datagrid1.subtotal("sum",-1, datagrid1.colRef("clamamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid1.colRef("patrrgstno"), "총합계", false);
- datagrid1.subtotal("sum",-1, datagrid1.colRef("uncoamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid1.colRef("patrrgstno"), "총합계", false);
- datagrid1.subtotal("sum",-1, datagrid1.colRef("interestamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid1.colRef("patrrgstno"), "총합계", false);
- }
- // 미납현황
- if (switch1.selectedIndex == 1) {
- datagrid2.subtotalposition= "below";
- datagrid2.subtotal("sum",-1, datagrid2.colRef("clamamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid2.colRef("patrrgstno"), "총합계", false);
- datagrid2.subtotal("sum",-1, datagrid2.colRef("adjtamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid2.colRef("patrrgstno"), "총합계", false);
- datagrid2.subtotal("sum",-1, datagrid2.colRef("aprvamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid2.colRef("patrrgstno"), "총합계", false);
- datagrid2.subtotal("sum",-1, datagrid2.colRef("depoamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid2.colRef("patrrgstno"), "총합계", false);
- datagrid2.subtotal("sum",-1, datagrid2.colRef("uncoamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid2.colRef("patrrgstno"), "총합계", false);
- datagrid2.subtotal("sum",-1, datagrid2.colRef("interestamt"),"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#f4f4f4; color:#0000ff; ", datagrid2.colRef("patrrgstno"), "총합계", false);
- }
-
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1095px; y1:22px; x2:1095px; y2:44px; "/>
- <caption id="caption3" style="left:226px; top:10px; width:15px; height:20px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm" style="left:135px; top:9px; width:86px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm" style="left:241px; top:9px; width:85px; height:19px; "/>
- <select1 id="radio1" ref="/root/send/ioflag" class="radio_search" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:431px; top:10px; width:145px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:341px; top:9px; width:86px; height:17px; ">내원 유형</caption>
- <caption id="caption8" class="search_name" style="left:341px; top:35px; width:88px; height:17px; ">손 보 사</caption>
- <select1 id="cmb_insucmpymark" ref="/root/send/certno" class="combo_search" appearance="minimal" style="left:435px; top:35px; width:166px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_endyn" ref="/root/send/endyn" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:705px; top:10px; width:149px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>미완료</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" style="left:612px; top:9px; width:116px; height:17px; ">종결 여부</caption>
- <caption id="cap_depodd" class="search_name" style="left:15px; top:9px; width:60px; height:17px; ">기간:</caption>
- <caption id="cap_uncoamt" class="search_name" style="left:613px; top:35px; width:84px; height:17px; ">미납금액</caption>
- <input id="ipt_uncoamt" ref="/root/send/uncoamt" class="input_search" navindex="20" imemode="alpha" maxlength="10" format="#,###" style="left:703px; top:35px; width:89px; height:19px; ">
- <hint>
- <![CDATA[끝번호]]>
- </hint>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetOutAftJudgTrgtManList("docuSrch");
- }
- ]]>
- </script>
- </input>
- <select1 id="rdo_srchflag" ref="/root/send/srchflag" appearance="full" cols="1" overflow="visible" style="left:73px; top:7px; width:60px; height:55px; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>M</value>
- </item>
- <item>
- <label>청구일</label>
- <value>D</value>
- </item>
- <item>
- <label>심결일</label>
- <value>DD</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (rdo_srchflag.value == "M") {
- model.setValue(ipt_fromdd.attribute("ref"), ipt_fromdd.value.substring(0,6));
- model.setValue(ipt_todd.attribute("ref"), ipt_todd.value.substring(0,6));
- ipt_fromdd.attribute("format") = "yyyy-mm";
- ipt_todd.attribute("format") = "yyyy-mm";
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- } else {
- ipt_fromdd.attribute("format") = "yyyy-mm-dd";
- ipt_todd.attribute("format") = "yyyy-mm-dd";
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- }
- ]]>
- </script>
- </select1>
- </group>
- <switch id="switch1" class="sw_box" style="left:0px; top:104px; width:1194px; height:631px; ">
- <case id="case1" selected="true">
- <datagrid id="datagrid1" nodeset="/root/main/list/datagrid1" caption="청구월^청구차수^손보사^등록번호^수진자명^내원유형^주민번호^청구일자^청구금액^심결일^심결액^미수액^지연이자^사고번호^정산차수" colsep="^" colwidth="74, 74, 154, 90, 80, 60, 136, 80, 100, 80, 74, 100, 100, 120, 60" dataheight="25" defaultrows="2" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:4px; top:13px; width:1183px; height:613px; ">
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col disabled="true" ref="instcmpymark" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="patrrgstno" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="notidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="deciamt" format="#,###" style="text-align:right; "/>
- <col ref="uncoamt" format="#,###" style="text-align:right; "/>
- <col ref="interestamt" format="#,###" style="text-align:right; "/>
- <col ref="acdacptno" visibility="hidden"/>
- <col ref="dg" style="text-align:center; "/>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="datagrid2" nodeset="/root/main/list/datagrid2" caption="청구월^차수^손보사^등록번호^수진자명^내원유형^주민번호^청구일자^심결일자^청구금액^심결액^조정금액^동의금액^입금액^미납금액^지연이자^비고^사고번호^정산차수" colsep="^" colwidth="72, 48, 146, 90, 64, 60, 114, 81, 80, 80, 81, 80, 80, 80, 80, 80, 150, 120, 56" dataheight="25" defaultrows="2" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:4px; top:13px; width:1183px; height:613px; ">
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col disabled="true" ref="instcmpymark" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="patrrgstno" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="notidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="deciamt" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt" format="#,###" style="text-align:right; "/>
- <col ref="aprvamt" format="#,###" style="text-align:right; "/>
- <col ref="depoamt" format="#,###" style="text-align:right; "/>
- <col ref="uncoamt" format="#,###" style="text-align:right; "/>
- <col ref="interestamt" format="#,###" style="text-align:right; "/>
- <col ref="rem" style="text-align:left; "/>
- <col ref="acdacptno" visibility="hidden"/>
- <col ref="dg" style="text-align:center; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_rtndetl1" class="btn_sw" group="tab" selected="true" style="left:0px; top:83px; width:137px; height:22px; ">
- <caption>청구월별 미수현황</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- cap_uncoamt.visible = false;
- ipt_uncoamt.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_rtndetl2" class="btn_sw" group="tab" style="left:137px; top:83px; width:137px; height:22px; ">
- <caption>자보 미완납현황</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cap_uncoamt.visible = true;
- ipt_uncoamt.visible = true;
- ]]>
- </script>
- </button>
- <button id="button93" class="btn6_letter2" style="left:1138px; top:80px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.print();
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:1070px; top:82px; width:64px; height:19px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(btn_rtndetl1.selected == true){
- var fileName = window.fileDialog("save", ",", false, '청구월별 미수현황', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- }else if(btn_rtndetl2.selected == true){
- var fileName = window.fileDialog("save", ",", false, '자보 미납현황', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid2.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" style="left:1025px; top:82px; width:35px; height:15px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_rtndetl1.selected == true) {
- exeReportPreview("RPPIF71500", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }else if(btn_rtndetl2.selected == true) {
- exeReportPreview("RPPIF71510", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:752px; width:1195px; height:28px; ">
- <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|