123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- [2008.10.13]
- (기존에 화면, 조회조건, GRID만 존재함)
- * 최초작성 / JHP
- -->
- <?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="">
- <send>
- <termflag>clamym</termflag>
- <fromdd/>
- <todd/>
- <ioflag>A</ioflag>
- </send>
- <main>
- <list01>
- <gridclamdepospeclist>
- <clamym/>
- <uncoym/>
- <ioflag/>
- <insukind/>
- <clamflag/>
- <clamdg/>
- <acptno/>
- <acptdd/>
- <clcnt/>
- <clclamamt/>
- <judgdg/>
- <depodd/>
- <depoamt/>
- <jrdecicnt/>
- <jrdeciamt/>
- <rtnscheamt/>
- <rtnamt/>
- <realcnt/>
- <realclamamt/>
- <realcutamt/>
- <realcutrate/>
- <lostamt/>
- <sendcnt/>
- <sendclamamt/>
- <unclamcnt/>
- <unclamamt/>
- <uncoamt/>
- </gridclamdepospeclist>
- </list01>
- </main>
- <init>
- <P0114list>
- <P0114>
- <cdid/>
- <cdnm/>
- </P0114>
- </P0114list>
- <P0425list>
- <P0425>
- <cdid/>
- <cdnm/>
- </P0425>
- </P0425list>
- <P0242list>
- <P0242>
- <cdid/>
- <cdnm/>
- </P0242>
- </P0242list>
- <U0001list>
- <U0001/>
- </U0001list>
- <P0121list>
- <P0121>
- <cdid/>
- <cdnm/>
- </P0121>
- </P0121list>
- </init>
- <hidden>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- <hidbatchgrid>
- <ofidocno/>
- <ofidocarvdd/>
- </hidbatchgrid>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- CommCode_Load();
- fInitialize();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF71101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- // zbcfGetCodeList(new Array("P0426","P0121","P0114"), new Array("/root/init/P0426list","/root/init/P0121list","/root/init/P0114list"));
- }
- //초기화
- function fInitialize(){
- // rdo_flag.select(1); // 구분 : 개인별선택
- // rdo_ioflag.select(2); // 내원유형 : 입원선택
- rdo_termflag.select(0); // 기간구분 : 청구월선택
-
- model.setValue("/root/send/todd", getCurrentDate().toDate().getDateFormat("YYYYMM"));
- model.setValue("/root/send/fromdd", getCurrentDate().toDate().getAddDate(-90).getDateFormat("YYYYMM"));
-
- // 그리드 초기화(행을 모두 삭제한다.)
- // model.removeNodeset("/root/main/gridlist/indgrid");
- model.removeNodeset("/root/main/list01/gridclamdepospeclist");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_btn" style="left:0px; top:757px; width:1194px; height:27px; "/>
- <group id="grp_tle" style="left:0px; top:0px; width:1194px; 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:1196px; height:744px; ">
- <button id="button3" class="btn2_letter3" style="left:989px; top:50px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_clamdepospeclist.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter6" style="left:1043px; top:50px; width:86px; height:19px; ">
- <caption>Open Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- try {
- window.exec("excel");
- } catch(e) {
- alert(e);
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:935px; top:50px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_clamdepospeclist.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <line id="line27" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <group id="group5" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 보험유형이 보험인 경우 보호에 해당하는 필드 감추기. 보험에 해당하는 필드 보이기.
- submit("TRPIF71101");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption31" style="left:294px; top:10px; width:15px; height:15px; ">~</caption>
- <select1 id="rdo_termflag" ref="/root/send/termflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:85px; top:9px; width:115px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>clamym</value>
- </item>
- <item>
- <label>미수월</label>
- <value>uncoym</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/send/fromdd","");
- model.setValue("/root/send/todd","");
-
- if(rdo_termflag.value == "clamym" || rdo_termflag.value == "uncoym") {
- ipt_fromdd.attribute("format") = "yyyy-mm";
- ipt_todd.attribute("format") = "yyyy-mm";
- ipt_fromdd.attribute("maxlength") = 6;
- ipt_todd.attribute("maxlength") = 6;
- ipt_fromdd.attribute("inputtype") = "date";
- ipt_todd.attribute("inputtype") = "date";
- } else {
- ipt_fromdd.attribute("format") = "";
- ipt_todd.attribute("format") = "";
- ipt_fromdd.attribute("maxlength") = 8;
- ipt_todd.attribute("maxlength") = 8;
- ipt_fromdd.attribute("inputtype") = "";
- ipt_todd.attribute("inputtype") = "";
- }
- model.setFocus("ipt_fromdd");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption67" class="search_name" style="left:465px; top:9px; width:90px; height:17px; ">내원유형 :</caption>
- <caption id="caption38" class="search_name" style="left:20px; top:9px; width:60px; height:17px; ">구분 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:205px; top:9px; width:85px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value;
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:308px; top:9px; width:85px; height:19px; "/>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:555px; top:9px; width:135px; height:17px; 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>
- </group>
- <caption id="cap_title" class="tit_2" style="left:0px; top:55px; width:154px; height:14px; ">청구 및 입금 내역 목록</caption>
- <datagrid id="grd_clamdepospeclist" nodeset="/root/main/list01/gridclamdepospeclist" class="datagrid2" caption="청구월^미수월^내원
유형^산재
유형^청구
형태^차수^접수번호^접수일자^건수^청구액^심사
차수^입금일자^입금액^입금구분^심결
건수^심사결정액^환수예정액^환수금^실건수^실청구액^실삭감액^삭감율^결손액^반송
건수^반송액^미보완
건수^미보완
청구액^미수금^비고" colsep="^" colwidth="60, 60, 62, 62, 70, 50, 70, 100, 50, 100, 70, 100, 80, 78, 60, 100, 100, 100, 70, 100, 100, 100, 100, 61, 100, 66, 100, 100" dataheight="23" defaultrows="2" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1195px; height:665px; ">
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="insukind"/>
- <col ref="clamflag"/>
- <col ref="clamdg"/>
- <col ref="acptno"/>
- <col ref="acptdd"/>
- <col ref="clcnt"/>
- <col ref="clclamamt"/>
- <col ref="judgdg"/>
- <col ref="depodd"/>
- <col ref="depoamt"/>
- <col ref="jrdecicnt"/>
- <col ref="jrdeciamt"/>
- <col ref="rtnscheamt"/>
- <col ref="rtnamt"/>
- <col ref="realcnt"/>
- <col ref="realclamamt"/>
- <col ref="realcutamt"/>
- <col ref="realcutrate"/>
- <col ref="lostamt"/>
- <col ref="sendcnt"/>
- <col ref="sendclamamt"/>
- <col ref="unclamcnt"/>
- <col ref="unclamamt"/>
- <col ref="uncoamt"/>
- <col/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <button id="button10" class="btn2_letter3" style="left:881px; top:50px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_clamdepospeclist.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var today = new Date();
-
- var yy = today.getYear()+"";
- var mm = today.getMonth()+1;
- var dd = today.getDate();
-
- if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
- if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
-
- var tmp = yy+mm+dd;
- var title = "반송재청구장부(자보)_"+tmp;
-
- var fileName = window.fileDialog("save", ",", false, title, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_clamdepospeclist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|