123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>환수내역조회(SMPIF60100)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <termflag>1</termflag>
- <fromdd/>
- <todd/>
- <insukind>11</insukind>
- <cpcd/>
- <assocd/>
- </send>
- <main>
- <list01>
- <gridrtndetl1>
- <clamym/>
- <uncoym/>
- <ioflag/>
- <acptno/>
- <judgdg/>
- <ofidocno/>
- <ordfildcd/>
- <ofidocarvdd/>
- <rtnscheamt/>
- <rtnflag/>
- <rtndd/>
- <rtnamt/>
- <rtnacptno/>
- <rtnjudgdg/>
- <rtnordym/>
- <rtnioflag/>
- <rtnordfildcd/>
- <rtnofidocno/>
- <rtnofidocarvdd/>
- <rem/>
- </gridrtndetl1>
- </list01>
- <list02>
- <gridrtndetl2>
- <clamym/>
- <uncoym/>
- <ioflag/>
- <acptno/>
- <judgdg/>
- <ordfildcd/>
- <cpcd/>
- <assocd/>
- <rtnscheamt/>
- <rtnflag/>
- <rtndd/>
- <rtnamt/>
- <rtnacptno/>
- <rtnjudgdg/>
- <rtnordym/>
- <rtnioflag/>
- <rtnordfildcd/>
- <rtnofidocno/>
- <rtnofidocarvdd/>
- <rem/>
- </gridrtndetl2>
- </list02>
- </main>
- <init>
- <P0235list>
- <P0235>
- <cdid/>
- <cdnm/>
- </P0235>
- </P0235list>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- <P0302list>
- <P0302>
- <cdid/>
- <cdnm/>
- </P0302>
- </P0302list>
- <P0121list>
- <P0121>
- <cdid/>
- <cdnm/>
- </P0121>
- </P0121list>
- <P0291list>
- <P0291>
- <cdid/>
- <cdnm/>
- </P0291>
- </P0291list>
- <P0415list>
- <P0415>
- <cdid/>
- <cdnm/>
- </P0415>
- </P0415list>
- <U0004list>
- <U0004>
- <assocd/>
- <assonm/>
- </U0004>
- </U0004list>
- <temp>
- <code00list>
- <code00/>
- </code00list>
- </temp>
- <U0005list>
- <U0005>
- <cpcd/>
- <cpnm/>
- </U0005>
- </U0005list>
- <U0006list>
- <U0006>
- <assocd/>
- <assonm/>
- </U0006>
- </U0006list>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF60101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRPIF60102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list02"/>
- <submission id="TRPIF60326" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0004list"/>
- <submission id="TRPIF60327" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/temp"/>
- <submission id="TRPIF60328" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0001list"/>
- <submission id="TRPIF60329" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0006list"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드 Load작업
- CommCode_Load();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- function Node_Init() {
- // NodeSet 초기화
- model.resetInstanceNode("/root/main/list01");
- model.resetInstanceNode("/root/main/list02");
- model.refresh();
- }
-
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- // zbcfGetCodeList(new Array("P0235"), new Array( "/root/init/P0235list")); // 상계청구분야
- // zbcfGetCodeList(new Array("P0028"), new Array( "/root/init/P0028list")); // 상계구분
- // zbcfGetCodeList(new Array("P0302"), new Array( "/root/init/P0302list")); // 환수구분
- // zbcfGetCodeList(new Array("P0121"), new Array( "/root/init/P0121list")); // 청구구분
- // zbcfGetCodeList(new Array("P0291"), new Array( "/root/init/P0291list")); // 진료분야
- zbcfGetCodeList(new Array("P0415"), new Array( "/root/init/P0415list")); // 시도
- // model.refresh();
- // ipt_fromdd.disabled = true;
- // ipt_todd.disabled = true;
- model.makeNode("/root/send/usesrcflag");
- model.setValue("/root/send/usesrcflag","srch");
- submit("TRPIF60327");
- model.setFocus("ipt_fromdd");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="datagrid2" guideline="1,1194;" 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:757px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" 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" navindex="5" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(rdo_termflag.value == "1") {
- if(ipt_fromdd.value == "") {
- messageBox("진료월 시작일을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(ipt_todd.value == "") {
- messageBox("진료월 종료일을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- }
-
- if(rdo_termflag.value == "2") {
- if(ipt_fromdd.value == "") {
- messageBox("청구월 시작일을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(ipt_todd.value == "") {
- messageBox("청구월 종료일을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- }
-
- if(rdo_termflag.value == "3") {
- if(ipt_fromdd.value == "") {
- messageBox("환수일자 시작일을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(ipt_todd.value == "") {
- messageBox("환수일자 종료일을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- }
-
- if(rdo_termflag.value == "4") {
- if(ipt_fromdd.value == "") {
- messageBox("공문도착일자 시작일을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(ipt_todd.value == "") {
- messageBox("공문도착일자 종료일을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- }
-
- if(rdo_insukind.value == '11' || rdo_insukind.value == '41' ) {
- submit("TRPIF60101");
- btn_rtndetl1.selected = true;
- model.toggle("case1");
- }
- if(rdo_insukind.value == '21') {
- submit("TRPIF60102");
- btn_rtndetl2.selected = true;
- model.toggle("case2");
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <caption id="caption4" class="search_name" style="left:465px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
- <select1 id="rdo_insukind" ref="/root/send/insukind" class="radio_search" navindex="4" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:554px; top:10px; width:151px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>보험</label>
- <value>11</value>
- </item>
- <item>
- <label>보호</label>
- <value>21</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(rdo_insukind.value == "11") {
- cpt_cpcd.visible = false;
- cpt_assocd.visible = false;
- cmb_cpcd.visible = false;
- cmb_assocd.visible = false;
- }else if(rdo_insukind.value == "41") {
- cpt_cpcd.visible = false;
- cpt_assocd.visible = false;
- cmb_cpcd.visible = false;
- cmb_assocd.visible = false;
- } else {
- cpt_cpcd.visible = true;
- cpt_assocd.visible = true;
- cmb_cpcd.visible = true;
- cmb_assocd.visible = true;
- // 시도 조회
- model.setFocus("cmb_cpcd");
- // if(submit("TRPIF60328")) {
- // model.setFocus("cmb_cpcd");
- // }
- }
- ]]>
- </script>
- </select1>
- <caption id="caption3" style="left:345px; top:10px; width:15px; height:20px; ">~</caption>
- <select1 id="rdo_termflag" ref="/root/send/termflag" class="radio_search" navindex="1" appearance="full" cols="4" rows="1" overflow="visible" style="left:15px; top:10px; width:240px; height:15px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>1</value>
- </item>
- <item>
- <label>미수월</label>
- <value>2</value>
- </item>
- <item>
- <label>환수월</label>
- <value>3</value>
- </item>
- <item>
- <label>통보월</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // ipt_fromdd.disabled = false;
- // ipt_todd.disabled = false;
-
- model.setFocus("ipt_fromdd");
- ]]>
- </script>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="2" inputtype="date" maxlength="6" format="yyyy-mm" style="left:259px; top:9px; width:81px; 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" navindex="3" inputtype="date" maxlength="6" format="yyyy-mm" style="left:360px; top:9px; width:80px; height:19px; "/>
- <select1 id="cmb_cpcd" ref="/root/send/cpcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:780px; top:7px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0415list/P0415">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // model.resetInstanceNode("/root/init/U0006list");
- model.removeNodeset("/root/init/U0006list");
- model.resetInstanceNode("/root/send/assocd");
- model.refresh();
-
- submit("TRPIF60329"); // 조회조건의 시군구코드 조회
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_assocd" ref="/root/send/assocd" class="combo_search" visibility="hidden" appearance="minimal" style="left:995px; top:7px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0006list/U0006">
- <label ref="assonm"/>
- <value ref="assocd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cpt_cpcd" class="search_name" visibility="hidden" style="left:710px; top:8px; width:65px; height:17px; ">시 도 :</caption>
- <caption id="cpt_assocd" class="search_name" visibility="hidden" style="left:905px; top:8px; width:83px; height:17px; ">시 군 구 :</caption>
- </group>
- <switch id="switch1" class="sw_box" style="left:0px; top:73px; width:1194px; height:662px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_rtndetl1" nodeset="/root/main/list01/gridrtndetl1" class="datagrid2" caption="청구월^미수월^내원
유형^접수번호^심사차수^공문번호^공문도착일자^청구
분야^환수예정액^환수구분^환수일^환수액^상계
접수번호^상계
심사차수^상계
진료월^상계
구분^상계
진료과^상계
공문번호^상계공문
도착일자^비고" colsep="^" colwidth="55, 55, 40, 65, 65, 80, 80, 40, 80, 80, 80, 80, 65, 65, 55, 40, 45, 80, 80, 166" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:4px; top:13px; width:1183px; height:632px; ">
- <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; ">
- <choices>
- <itemset nodeset="/root/init/P0028list/P0028">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="judgdg" style="text-align:center; "/>
- <col ref="ofidocno" style="text-align:center; "/>
- <col ref="ofidocarvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordfildcd" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0235list/P0235">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rtnscheamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rtnflag">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col ref="rtndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rtnamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rtnacptno" style="text-align:center; "/>
- <col ref="rtnjudgdg" style="text-align:center; "/>
- <col ref="rtnordym" style="text-align:center; "/>
- <col ref="rtnioflag" style="text-align:center; "/>
- <col ref="rtnordfildcd" style="text-align:center; "/>
- <col ref="rtnofidocno" style="text-align:center; "/>
- <col ref="rtnofidocarvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rem"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rtndetl1.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_rtndetl2" nodeset="/root/main/list02/gridrtndetl2" class="datagrid2" caption="청구월^미수월^내원
유형^접수번호^심사차수^청구
분야^시도코드^입금보장기관기호^환수예정액^환수구분^환수일^환수액^상계
접수번호^상계
심사차수^상계
진료월^상계
I/O^상계
진료과^공문번호^공문도착일자^비고" colsep="^" colwidth="55, 55, 40, 65, 65, 40, 70, 110, 80, 90, 80, 80, 70, 70, 55, 40, 45, 80, 80, 112" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:4px; top:13px; width:1183px; height:632px; ">
- <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="acptno" style="text-align:center; "/>
- <col ref="judgdg" style="text-align:center; "/>
- <col ref="ordfildcd" style="text-align:center; "/>
- <col ref="cpcd" style="text-align:center; "/>
- <col disabled="true" ref="assocd" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/temp/code00list/code00">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="rtnscheamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rtnflag"/>
- <col ref="rtndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rtnamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rtnacptno" style="text-align:center; "/>
- <col ref="rtnjudgdg" style="text-align:center; "/>
- <col ref="rtnordym" style="text-align:center; "/>
- <col ref="rtnioflag" style="text-align:center; "/>
- <col ref="rtnordfildcd" style="text-align:center; "/>
- <col ref="rtnofidocno" style="text-align:center; "/>
- <col ref="rtnofidocarvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rem"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rtndetl2.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_rtndetl1" class="btn_sw" group="tab" selected="true" style="left:0px; top:52px; width:145px; height:22px; ">
- <caption>환수구분 (보험/산재)</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="btn_rtndetl2" class="btn_sw" group="tab" style="left:145px; top:52px; width:137px; height:22px; ">
- <caption>환수구분 (보호)</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="button2" class="btn2_letter4" style="left:1124px; top:50px; 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;
- if(rdo_insukind.value == "11") {
- var fileName = window.fileDialog("save", ",", false, "환수내역조회(보험)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") { grd_rtndetl1.saveExcel(fileName, "SheetName", true, true, "", "", ""); }
- }
-
- if(rdo_insukind.value == "21") {
- var fileName = window.fileDialog("save", ",", false, "환수내역조회(보호)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") { grd_rtndetl2.saveExcel(fileName, "SheetName", true, true, "", "", ""); }
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|