1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114 |
- <?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>원외처방정산내역서(F070) 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <termflag>1</termflag>
- <fromterm/>
- <toterm/>
- <insuflag>0</insuflag>
- <chosflag>A</chosflag>
- <acptno/>
- <setno/>
- <clamno/>
- <ordfildcd/>
- <sendpiehf701>
- <calcjudgdg/>
- <calcnotidd/>
- <acptno/>
- <clamseqno/>
- <instcd/>
- </sendpiehf701>
- <sendpiehf703>
- <calcjudgdg/>
- <calcnotidd/>
- <acptno/>
- <clamseqno/>
- <calcyearseqno/>
- <calcseqno/>
- <docuseqno/>
- <instcd/>
- </sendpiehf703>
- <summary/>
- <rem>
- <textno/>
- </rem>
- <send04>
- <calcjudgdg/>
- <acptno/>
- <insukind/>
- </send04>
- <clamdgfrom/>
- <clamdgto/>
- <clamflag/>
- <clamym/>
- </send>
- <main>
- <list01>
- <gridpiehf701>
- <calcjudgdg/>
- <calcnotidd/>
- <insuflag/>
- <clamno/>
- <ioflag/>
- <ordfildcd/>
- <acptno/>
- <setno/>
- <judgdg/>
- <judgflag/>
- <jrcntsum/>
- <cadecidifamtsum/>
- <ordym/>
- <clamflag/>
- <acptym/>
- <docuno/>
- <verflag/>
- <clamseqno/>
- <corpmark/>
- <suppcd/>
- <instcd/>
- <calcyearseqno/>
- <flag/>
- </gridpiehf701>
- </list01>
- <list02>
- <gridpiehf702_1>
- <caownbrtnamtsum/>
- <caadjtamtsum/>
- <cacorpramtsum/>
- <cainsubamtsum/>
- <cajudgdeciamtsum/>
- <cacntsum/>
- <cadecidifamtsum/>
- <rem/>
- <jrownbrtnamtsum/>
- <jradjtamtsum/>
- <jrcorpramtsum/>
- <jrinsubamtsum/>
- <jrjudgdeciamtsum/>
- <jrcntsum/>
- </gridpiehf702_1>
- <gridpiehf702_3>
- <calcyearseqno/>
- <judgflag/>
- <calcchrgdeptnm/>
- <calcchrgjonm/>
- <calcchrgnm/>
- <calcchrgno/>
- <calcbizcd/>
- <calcbiznm/>
- <calcchrgtel/>
- </gridpiehf702_3>
- <gridpiehf703>
- <docuseqno/>
- <pid/>
- <patnm/>
- <flag/>
- <cadecidifamt/>
- <bizplcemark/>
- <certno/>
- <medcarekindflag/>
- <subscrnm/>
- <docuseqnorem/>
- <calcyearseqno/>
- <calcseqno/>
- <calcjudgdg/>
- <calcnotidd/>
- <acptno/>
- <clamseqno/>
- <instcd/>
- </gridpiehf703>
- </list02>
- <list03>
- <gridpiehf702_2>
- <caownbrtnamt/>
- <caadjtamt/>
- <cacorpramt/>
- <cainsubamt/>
- <cadeciamt/>
- <cadecidifamt/>
- <jrownbrtnamt/>
- <jradjtamt/>
- <jrcorpramt/>
- <jrinsubamt/>
- <jrdeciamt/>
- <docuseqnorem/>
- </gridpiehf702_2>
- <gridpiehf704>
- <mpsno/>
- <lnno/>
- <caadjtresn/>
- <cacd/>
- <caprcpflag/>
- <caoneqtyrt/>
- <cadayqtyrt/>
- <catotqtyrt/>
- <caadjtamt/>
- <cadeciamt/>
- <calcjrsltrem/>
- <jradjtresn/>
- <jrcd/>
- <jrprcpflag/>
- <jroneqtyrt/>
- <jrdayqtyrt/>
- <jrtotqtyrt/>
- <jradjtamt/>
- <jrjudgdeciamt/>
- <prcpinstmark/>
- <prcpinstnm/>
- <prcpinstacptno/>
- <prcpinstacptym/>
- <prcpinstdocuseqno/>
- </gridpiehf704>
- </list03>
- </main>
- <init>
- <P0235list>
- <P0235>
- <cdid/>
- <cdnm/>
- </P0235>
- </P0235list>
- <P0247list>
- <P0247>
- <cdid/>
- <cdnm/>
- </P0247>
- </P0247list>
- <P0261list>
- <P0261>
- <cdid/>
- <cdnm/>
- </P0261>
- </P0261list>
- <P0295list>
- <P0295>
- <cdid/>
- <cdnm/>
- </P0295>
- </P0295list>
- <clamdgfrom>
- <clamdglist>
- <clamdgnm/>
- <clamdgcd/>
- </clamdglist>
- </clamdgfrom>
- <clamdgto>
- <clamdglist>
- <clamdgnm/>
- <clamdgcd/>
- </clamdglist>
- </clamdgto>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- </init>
- <popupdata>
- <popupmenu>
- <grd_f701h>
- <item>
- <name>정산차수별입금등록관리</name>
- <func>fGridChkCalcjudgdg</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>원외처방정산 삭제</name>
- <func>fDeleteF070</func>
- </item>
- </grd_f701h>
- </popupmenu>
- </popupdata>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIE01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRPIE01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendpiehf701" resultref="/root/main/list02"/>
- <submission id="TRPIE01603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendpiehf703" resultref="/root/main/list03"/>
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
- </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.resetInstanceNode("/root/main/list03");
- model.refresh();
- }
-
- // 공통코드 Load작업
- function CommCode_Load() {
- zbcfGetCodeList(new Array("P0235", "P0155"), new Array( "/root/init/P0235list", "/root/init/P0155list"));
-
- // 다른화면에서 호출 (SPPIE00740_정산요약보기)
- var acptno = model.getValue("/root/send/summary/acptno");
- if (acptno != "") {
- ipt_fromterm.disabled = false;
- ipt_toterm.disabled = false;
-
- model.setValue("/root/send/termflag",model.getValue("/root/send/summary/termflag"));
- model.setValue("/root/send/fromterm",model.getValue("/root/send/summary/fromterm"));
- model.setValue("/root/send/toterm",model.getValue("/root/send/summary/toterm"));
- model.setValue("/root/send/acptno",model.getValue("/root/send/summary/acptno"));
- model.setValue("/root/send/clamno",model.getValue("/root/send/summary/clamno"));
-
- submit("TRPIE01601");
- }
-
- ipt_fromterm.attribute("format") = "";
- ipt_toterm.attribute("format") = "";
- ipt_fromterm.attribute("maxlength") = 8;
- ipt_toterm.attribute("maxlength") =8;
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
-
- model.setFocus("ipt_fromterm");
- model.refresh();
- }
-
- // 원외처방정산 삭제
- function fDeleteF070() {
-
- if (grd_f701h.row >= grd_f701h.fixedRows ) {
-
- // 1. 삭제할 원외처방정산 데이터를 만든다.
- var rows = grd_f701h.selectedRows;
- var cnt = 1;
- for (var i = 0; i < rows; i++) {
- var sel = grd_f701h.selectedRow(i);
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "f070");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/rsrvflag", "Y");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/uncoflag", "N");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/cutflag", "Y");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcjudgdg", model.getValue("/root/main/list01/gridpiehf701[" + sel + "]/calcjudgdg"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptno", model.getValue("/root/main/list01/gridpiehf701[" + sel + "]/acptno"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamseqno", model.getValue("/root/main/list01/gridpiehf701[" + sel + "]/clamseqno"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcnotidd", model.getValue("/root/main/list01/gridpiehf701[" + sel + "]/calcnotidd"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/list01/gridpiehf701[" + sel + "]/clamno"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/calcyearseqno", model.getValue("/root/main/list01/gridpiehf701[" + sel + "]/calcyearseqno"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/judgdg", model.getValue("/root/main/list01/gridpiehf701[" + sel + "]/judgdg"));
- cnt++;
- }
-
- // 2. 수신테이블 삭제 팝업 호출
- modal("SPPIE00810", "", "10", "10", "SPPIE00810", "/root/hidden/sppie00810" ,"/root/main", "", "");
-
- }
- }
-
- function fSearch() {
- model.resetInstanceNode("/root/main/list01");
- model.resetInstanceNode("/root/main/list02");
- model.resetInstanceNode("/root/main/list03");
- model.refresh();
-
- submit("TRPIE01601");
-
- fSearch_Step();
- }
-
- function fSearch_Step() {
- if (grd_f701h.rows > 1 ) {
-
- model.removeNodeset("/root/main/list02");
- model.removeNodeset("/root/main/list03");
- model.refresh();
-
- if (grd_f701h.rows > 1) {
- var row = 1;
-
- model.setValue("instance('instance1')/send/sendpiehf701/calcjudgdg", model.getValue("/root/main/list01/gridpiehf701["+row+"]/calcjudgdg"));
- model.setValue("instance('instance1')/send/sendpiehf701/calcnotidd", model.getValue("/root/main/list01/gridpiehf701["+row+"]/calcnotidd"));
- model.setValue("instance('instance1')/send/sendpiehf701/acptno", model.getValue("/root/main/list01/gridpiehf701["+row+"]/acptno"));
- model.setValue("instance('instance1')/send/sendpiehf701/clamseqno", model.getValue("/root/main/list01/gridpiehf701["+row+"]/clamseqno"));
- model.setValue("instance('instance1')/send/sendpiehf701/instcd", model.getValue("/root/main/list01/gridpiehf701["+row+"]/instcd"));
-
- submit("TRPIE01602");
-
- btn_acptno.selected = true;
- model.toggle("case1");
- }
- }
-
- model.removeNodeset("/root/main/list03");
- model.refresh();
-
- if (grd_f703h.rows > 1) {
- var row = 1;
-
- model.setValue( "instance('instance1')/send/sendpiehf703/calcyearseqno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/calcyearseqno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/calcseqno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/calcseqno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/docuseqno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/docuseqno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/calcjudgdg", model.getValue("/root/main/list02/gridpiehf703["+row+"]/calcjudgdg"));
- model.setValue( "instance('instance1')/send/sendpiehf703/calcnotidd", model.getValue("/root/main/list02/gridpiehf703["+row+"]/calcnotidd"));
- model.setValue( "instance('instance1')/send/sendpiehf703/acptno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/acptno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/clamseqno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/clamseqno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/instcd", model.getValue("/root/main/list02/gridpiehf703["+row+"]/instcd"));
-
- rtn = submit("TRPIE01603");
-
- btn_acptno.selected = true;
- model.toggle("case1");
- }
- }
-
-
- // 청구년월 함수
- function pidfGetClamdg() {
-
- var check = model.getValue("/root/send/termflag");
-
- if ( model.getValue("/root/send/fromterm") > model.getValue("/root/send/toterm") ) {
- messageBox("종료일은 시작일보다 클 수 ", "I004");
- model.setValue("/root/send/toterm","")
- }
-
- if(check == "2"){
- if(model.getValue("/root/send/fromterm") != "" || model.getValue("/root/send/toterm") != ""){
- model.removeNodeset("/root/init/clamdg");
- model.makeNode("/root/init/clamdg");
- model.setValue("/root/send/clamym",model.getValue("/root/send/fromterm"));
-
- model.removeNodeset("/root/send/ioflag");
- model.makeNode("/root/send/ioflag");
- model.setValue("/root/send/ioflag", model.getValue("/root/send/chosflag"));
-
- submit("TRPID20407");
- model.copyNode("/root/init/clamdgfrom","/root/init/clamdg");
- cmb_clamdgfrom.refresh();
- cmb_clamdgfrom.select(0);
-
- model.setValue("/root/send/clamym",model.getValue("/root/send/toterm"));
- submit("TRPID20407");
- model.copyNode("/root/init/clamdgto","/root/init/clamdg");
- addComboItem("cmb_clamdgfrom","전체","","above");
- addComboItem("cmb_clamdgto","전체","","above");
- cmb_clamdgto.refresh();
- cmb_clamdgto.select(0);
- }
- }
-
- }
-
- // 청구년월 차수 기간 체크
- function fChkClamym()
- {
- var fromym = model.getValue("/root/send/fromterm");
- var toym = model.getValue("/root/send/toterm");
- var check = model.getValue("/root/send/termflag");
-
- if(check == "2"){
- if ( fromym != toym ){
-
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
-
- }else{
- cmb_clamdgfrom.disabled = false;
- cmb_clamdgto.disabled = false;
- cmb_clamdgfrom.select(0);
- cmb_clamdgto.select(0);
- }
- cmb_clamdgto.refresh();
- cmb_clamdgfrom.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 정산차수별입금등록관리
- function fGridChkCalcjudgdg() {
- if (model.getValue("/root/send/insuflag") == "0" || model.getValue("/root/send/insuflag") == "3") {
- messageBox("보험유형이 전체나 산재는 허용되지 않습니다. 다시","C002");
- return false;
- }
- else {
- var row_cnt = grd_f701h.selectedRow(0);
- model.setValue("/root/send/send04/calcjudgdg", model.getValue("/root/main/list01/gridpiehf701["+row_cnt+"]/calcnotino"));
- model.setValue("/root/send/send04/acptno", model.getValue("/root/main/list01/gridpiehf701["+row_cnt+"]/acptno"));
- model.setValue("/root/send/send04/insukind", model.getValue("/root/send/insuflag"));
-
- modal("SMPIF30700", 1, 0, 0, "SMPIF30700", "/root/send/send04", "/root/send/send04");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">원외처방정산내역서(F070) 조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" 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="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:780px; top:8px; width:145px; height:17px; ">청구번호/청구분야 :</caption>
- <caption id="caption7" style="left:311px; top:9px; width:15px; height:15px; ">~</caption>
- <input id="ipt_fromacptym" ref="/root/send/fromacptym" class="input_search" style="left:222px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_toacptym" ref="/root/send/toacptym" class="input_search" style="left:325px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_clamno" class="input_search" style="left:932px; top:8px; width:80px; height:19px; "/>
- <select1 id="rdo_term" ref="/root/send/termflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:5px; top:8px; width:210px; height:17px; 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>
- </choices>
- </select1>
- <select1 id="cmb_clamfield" class="combo_search" appearance="minimal" style="left:1015px; top:8px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <input id="input1" ref="/root/send/toacptym" class="input_search" style="left:510px; top:8px; width:80px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:420px; top:8px; width:90px; height:17px; ">접수번호 :</caption>
- <input id="input2" ref="/root/send/toacptym" class="input_search" style="left:690px; top:8px; width:80px; height:19px; "/>
- <caption id="caption10" class="search_name" style="left:600px; top:8px; width:90px; height:17px; ">묶음번호 :</caption>
- </group>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption36" class="tit_2" style="left:5px; top:75px; width:165px; height:14px; ">F070.1, F070.2 (청구서)</caption>
- <line id="line27" class="line_1" style="x1:0px; y1:90px; x2:1194px; y2:90px; "/>
- <caption id="caption37" class="tit_2" style="left:300px; top:334px; width:114px; height:14px; ">F070.3 (명세서)</caption>
- <line id="line28" class="line_1" style="x1:295px; y1:349px; x2:1194px; y2:349px; "/>
- <caption id="caption38" class="tit_2" style="left:295px; top:539px; width:127px; height:14px; ">F070.4 (원외처방)</caption>
- <line id="line29" class="line_1" style="x1:295px; y1:554px; x2:1194px; y2:554px; "/>
- <button id="button26" class="btn2_letter2" style="left:1152px; top:70px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- model.removenode("/root/hidden/prnt1");
- model.makeNode("/root/hidden/prnt1");
-
- // 1. 출력 데이터 생성
- var totamt = 0;
- for (var i = 1; i < grd_f701h.rows; i++) {
-
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/calcjudgdg", grd_f701h.valueMatrix(i, grd_f701h.colRef("calcjudgdg"))); // 정산심사차수
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/calcnotidd", grd_f701h.valueMatrix(i, grd_f701h.colRef("calcnotidd"))); // 정산심사차수
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/insuflag", grd_f701h.valueMatrix(i, grd_f701h.colRef("insuflag"))); // 보험자구분
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/clamno", grd_f701h.valueMatrix(i, grd_f701h.colRef("clamno"))); // 청구번호
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/ioflag", grd_f701h.valueMatrix(i, grd_f701h.colRef("ioflag"))); // 내원유형
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/ordfildcd", grd_f701h.labelMatrix(i, grd_f701h.colRef("ordfildcd"))); // 분야
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/acptno", grd_f701h.valueMatrix(i, grd_f701h.colRef("acptno"))); // 접수번호
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/judgdg", grd_f701h.valueMatrix(i, grd_f701h.colRef("judgdg"))); // 심사차수
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/jrcntsum", grd_f701h.labelMatrix(i, grd_f701h.colRef("jrcntsum"))); // 건수
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/cadecidifamtsum", grd_f701h.valueMatrix(i, grd_f701h.colRef("cadecidifamtsum"))); // 결정차액
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/ordym", grd_f701h.valueMatrix(i, grd_f701h.colRef("ordym"))); // 진료월
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/flag", grd_f701h.valueMatrix(i, grd_f701h.colRef("flag"))); // 환수환급구분
- totamt = totamt + Number(grd_f701h.valueMatrix(i, 13));
- model.makeValue("/root/hidden/prnt1/f701["+i+"]/totamtsum", totamt); // 결정차액합계
- }
-
- // 2. 보고서 호출
- exeReportPreview("RPPIE01600", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:921px; top:70px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_f701h.attribute("selectionmode") = "free";
- grd_f703h.attribute("selectionmode") = "free";
- grd_f704h.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:975px; top:70px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_f701h.attribute("selectionmode") = "bycol";
- grd_f703h.attribute("selectionmode") = "bycol";
- grd_f704h.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:1030px; top:70px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_f701h.attribute("selectionmode") = "byrow";
- grd_f703h.attribute("selectionmode") = "byrow";
- grd_f704h.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:1085px; top:70px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "원외처방정산내역서(F070.1) 조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_f701h.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <switch id="switch1" class="sw_box" style="left:0px; top:355px; width:291px; height:383px; ">
- <case id="case1">
- <line id="line41" class="line_2" style="x1:4px; y1:176px; x2:285px; y2:176px; "/>
- <input id="input50" ref="/root/main/list02/gridpiehf702_1/rem" class="input_default" style="left:48px; top:205px; width:238px; height:19px; "/>
- <input id="input61" class="input_default" format="#,###" style="left:218px; top:180px; width:68px; height:19px; text-align:right; "/>
- <line id="line42" class="line_2" style="x1:4px; y1:201px; x2:285px; y2:201px; "/>
- <input id="input52" ref="/root/main/list02/gridpiehf702_1/jrjudgdeciamtsum" class="input_default" format="#,###" style="left:218px; top:130px; width:68px; height:19px; text-align:right; "/>
- <line id="line33" class="line_2" style="x1:4px; y1:51px; x2:285px; y2:51px; "/>
- <input id="input42" ref="/root/main/list02/gridpiehf702_1/cacorpramtsum" class="input_default" format="#,###" style="left:147px; top:80px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption41" class="cell_1" style="left:4px; top:4px; width:140px; height:23px; vertical-align:middle; "/>
- <caption id="caption52" class="cell_1" style="left:4px; top:203px; width:41px; height:23px; text-align:right; vertical-align:middle; ">참조</caption>
- <line id="line44" class="line_2" style="x1:4px; y1:26px; x2:286px; y2:26px; "/>
- <line id="line34" class="line_2" style="x1:4px; y1:76px; x2:285px; y2:76px; "/>
- <input id="input43" ref="/root/main/list02/gridpiehf702_1/caadjtamtsum" class="input_default" format="#,###" style="left:147px; top:55px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption42" class="cell_1" style="left:4px; top:53px; width:140px; height:23px; text-align:right; vertical-align:middle; ">조정금액합계</caption>
- <caption id="caption53" class="cell_1" style="left:145px; top:4px; width:71px; height:23px; text-align:center; vertical-align:middle; ">정산심결</caption>
- <line id="line35" class="line_3" style="x1:4px; y1:226px; x2:286px; y2:226px; "/>
- <input id="input44" ref="/root/main/list02/gridpiehf702_1/cainsubamtsum" class="input_default" format="#,###" style="left:147px; top:105px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption43" class="cell_1" style="left:4px; top:103px; width:140px; height:23px; text-align:right; vertical-align:middle; ">보험자부담금합계</caption>
- <input id="input55" ref="/root/main/list02/gridpiehf702_1/jrcorpramtsum" class="input_default" format="#,###" style="left:218px; top:80px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption54" class="cell_1" style="left:217px; top:4px; width:69px; height:23px; text-align:center; vertical-align:middle; ">이전심결</caption>
- <line id="line36" class="line_2" style="x1:4px; y1:101px; x2:285px; y2:101px; "/>
- <input id="input45" ref="/root/main/list02/gridpiehf702_1/caownbrtnamtsum" class="input_default" format="#,###" style="left:147px; top:30px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption44" class="cell_1" style="left:4px; top:28px; width:140px; height:23px; text-align:right; vertical-align:middle; ">본인부담환급금합계</caption>
- <input id="input56" ref="/root/main/list02/gridpiehf702_1/jradjtamtsum" class="input_default" format="#,###" style="left:218px; top:55px; width:68px; height:19px; text-align:right; "/>
- <line id="line37" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
- <caption id="caption45" class="cell_1" style="left:4px; top:78px; width:140px; height:23px; text-align:right; vertical-align:middle; ">요양기관환수금합계</caption>
- <input id="input46" ref="/root/main/list02/gridpiehf702_1/cacntsum" class="input_default" format="#,###" style="left:147px; top:155px; width:68px; height:19px; text-align:right; "/>
- <input id="input57" ref="/root/main/list02/gridpiehf702_1/jrinsubamtsum" class="input_default" format="#,###" style="left:218px; top:105px; width:68px; height:19px; text-align:right; "/>
- <line id="line38" class="line_2" style="x1:4px; y1:126px; x2:285px; y2:126px; "/>
- <caption id="caption46" class="cell_1" style="left:4px; top:153px; width:140px; height:23px; text-align:right; vertical-align:middle; ">건수합계</caption>
- <input id="input58" ref="/root/main/list02/gridpiehf702_1/jrownbrtnamtsum" class="input_default" format="#,###" style="left:218px; top:30px; width:68px; height:19px; text-align:right; "/>
- <line id="line39" class="line_2" style="x1:4px; y1:151px; x2:285px; y2:151px; "/>
- <input id="input48" ref="/root/main/list02/gridpiehf702_1/cadecidifamtsum" class="input_default" format="#,###" style="left:147px; top:180px; width:68px; height:19px; text-align:right; "/>
- <input id="input59" ref="/root/main/list02/gridpiehf702_1/jrcntsum" class="input_default" format="#,###" style="left:218px; top:155px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption48" class="cell_1" style="left:4px; top:178px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산결정차액합계</caption>
- <input id="input49" ref="/root/main/list02/gridpiehf702_1/cajudgdeciamtsum" class="input_default" format="#,###" style="left:147px; top:130px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption49" class="cell_1" style="left:4px; top:128px; width:140px; height:23px; text-align:right; vertical-align:middle; ">심사결정액합계</caption>
- </case>
- <case id="case2">
- <line id="line30" class="line_2" style="x1:4px; y1:151px; x2:285px; y2:151px; "/>
- <input id="input54" class="input_default" format="#,###" style="left:218px; top:180px; width:68px; height:19px; text-align:right; "/>
- <line id="line31" class="line_2" style="x1:4px; y1:176px; x2:285px; y2:176px; "/>
- <line id="line43" class="line_2" style="x1:4px; y1:201px; x2:285px; y2:201px; "/>
- <input id="input63" ref="/root/main/list03/gridpiehf702_2/jrdeciamt" class="input_default" format="#,###" style="left:218px; top:130px; width:68px; height:19px; text-align:right; "/>
- <line id="line45" class="line_2" style="x1:4px; y1:26px; x2:286px; y2:26px; "/>
- <caption id="caption40" class="cell_1" style="left:4px; top:4px; width:140px; height:23px; vertical-align:middle; "/>
- <input id="input65" ref="/root/main/list03/gridpiehf702_2/cacorpramt" class="input_default" format="#,###" style="left:147px; top:80px; width:68px; height:19px; text-align:right; "/>
- <line id="line46" class="line_2" style="x1:4px; y1:51px; x2:285px; y2:51px; "/>
- <caption id="caption50" class="cell_1" style="left:145px; top:4px; width:71px; height:23px; text-align:center; vertical-align:middle; ">정산심결</caption>
- <caption id="caption51" class="cell_1" style="left:4px; top:53px; width:140px; height:23px; text-align:right; vertical-align:middle; ">조정금액</caption>
- <input id="input66" ref="/root/main/list03/gridpiehf702_2/caadjtamt" class="input_default" format="#,###" style="left:147px; top:55px; width:68px; height:19px; text-align:right; "/>
- <line id="line47" class="line_2" style="x1:4px; y1:76px; x2:285px; y2:76px; "/>
- <caption id="caption55" class="cell_1" style="left:217px; top:4px; width:69px; height:23px; text-align:center; vertical-align:middle; ">이전심결</caption>
- <input id="input67" ref="/root/main/list03/gridpiehf702_2/jrcorpramt" class="input_default" format="#,###" style="left:218px; top:80px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption56" class="cell_1" style="left:4px; top:103px; width:140px; height:23px; text-align:right; vertical-align:middle; ">보험자부담금</caption>
- <input id="input68" ref="/root/main/list03/gridpiehf702_2/cainsubamt" class="input_default" format="#,###" style="left:147px; top:105px; width:68px; height:19px; text-align:right; "/>
- <line id="line48" class="line_3" style="x1:4px; y1:226px; x2:286px; y2:226px; "/>
- <input id="input69" ref="/root/main/list03/gridpiehf702_2/jradjtamt" class="input_default" format="#,###" style="left:218px; top:55px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption57" class="cell_1" style="left:4px; top:28px; width:140px; height:23px; text-align:right; vertical-align:middle; ">본인부담환급금</caption>
- <input id="input70" ref="/root/main/list03/gridpiehf702_2/caownbrtnamt" class="input_default" format="#,###" style="left:147px; top:30px; width:68px; height:19px; text-align:right; "/>
- <line id="line49" class="line_2" style="x1:4px; y1:101px; x2:285px; y2:101px; "/>
- <input id="input71" ref="/root/main/list03/gridpiehf702_2/jrinsubamt" class="input_default" format="#,###" style="left:218px; top:105px; width:68px; height:19px; text-align:right; "/>
- <input id="input72" class="input_default" style="left:147px; top:155px; width:68px; height:19px; text-align:center; "/>
- <caption id="caption58" class="cell_1" style="left:4px; top:78px; width:140px; height:23px; text-align:right; vertical-align:middle; ">요양기관환수금</caption>
- <line id="line50" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
- <input id="input73" ref="/root/main/list03/gridpiehf702_2/jrownbrtnamt" class="input_default" format="#,###" style="left:218px; top:30px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption59" class="cell_1" style="left:4px; top:153px; width:140px; height:23px; text-align:right; vertical-align:middle; ">건수</caption>
- <line id="line51" class="line_2" style="x1:4px; y1:126px; x2:285px; y2:126px; "/>
- <input id="input75" class="input_default" style="left:218px; top:155px; width:68px; height:19px; text-align:center; "/>
- <input id="input76" ref="/root/main/list03/gridpiehf702_2/cadecidifamt" class="input_default" format="#,###" style="left:147px; top:180px; width:68px; height:19px; text-align:right; "/>
- <line id="line52" class="line_2" style="x1:4px; y1:151px; x2:285px; y2:151px; "/>
- <input id="input77" ref="/root/main/list03/gridpiehf702_2/cadeciamt" class="input_default" format="#,###" style="left:147px; top:130px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption61" class="cell_1" style="left:4px; top:178px; width:140px; height:23px; text-align:right; vertical-align:middle; ">결정차액</caption>
- <caption id="caption62" class="cell_1" style="left:4px; top:128px; width:140px; height:23px; text-align:right; vertical-align:middle; ">심사결정액</caption>
- <input id="input53" ref="/root/main/list03/gridpiehf702_2/docuseqnorem" class="input_default" style="left:48px; top:205px; width:238px; height:19px; "/>
- <caption id="caption39" class="cell_1" style="left:4px; top:203px; width:41px; height:23px; text-align:right; vertical-align:middle; ">참조</caption>
- </case>
- <case id="case3" selected="true">
- <caption id="caption92" class="cell_1" style="left:4px; top:103px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당자성명</caption>
- <line id="line84" class="line_2" style="x1:4px; y1:101px; x2:285px; y2:101px; "/>
- <line id="line74" class="line_2" style="x1:4px; y1:176px; x2:285px; y2:176px; "/>
- <line id="line85" class="line_2" style="x1:4px; y1:26px; x2:286px; y2:26px; "/>
- <caption id="caption94" class="cell_1" style="left:4px; top:28px; width:140px; height:23px; text-align:right; vertical-align:middle; ">심사구분</caption>
- <line id="line77" class="line_2" style="x1:4px; y1:126px; x2:285px; y2:126px; "/>
- <caption id="caption96" class="cell_1" style="left:4px; top:4px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산연번</caption>
- <line id="line88" class="line_2" style="x1:4px; y1:51px; x2:285px; y2:51px; "/>
- <input id="input98" ref="/root/main/list02/gridpiehf702_3/calcbizcd" class="input_default" style="left:147px; top:154px; width:139px; height:19px; text-align:center; "/>
- <caption id="caption75" class="cell_1" style="left:4px; top:53px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당부</caption>
- <caption id="caption97" class="cell_1" style="left:4px; top:153px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산업무코드</caption>
- <input id="input110" ref="/root/main/list02/gridpiehf702_3/calcchrgnm" class="input_default" style="left:147px; top:105px; width:139px; height:19px; text-align:center; "/>
- <caption id="caption98" class="cell_1" style="left:4px; top:78px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당조</caption>
- <input id="input111" ref="/root/main/list02/gridpiehf702_3/calcbiznm" class="input_default" style="left:147px; top:179px; width:139px; height:19px; text-align:center; "/>
- <caption id="caption99" class="cell_1" style="left:4px; top:178px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산업무명</caption>
- <input id="input101" ref="/root/main/list02/gridpiehf702_3/judgflag" class="input_default" style="left:147px; top:29px; width:139px; height:19px; text-align:center; "/>
- <input id="input124" ref="/root/main/list02/gridpiehf702_3/calcchrgdeptnm" class="input_default" style="left:147px; top:55px; width:139px; height:19px; text-align:center; "/>
- <caption id="caption78" class="cell_1" style="left:4px; top:203px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당전화번호</caption>
- <input id="input113" ref="/root/main/list02/gridpiehf702_3/calcchrgtel" class="input_default" style="left:147px; top:204px; width:139px; height:19px; text-align:center; "/>
- <input id="input126" ref="/root/main/list02/gridpiehf702_3/calcchrgno" class="input_default" style="left:147px; top:129px; width:139px; height:19px; text-align:center; "/>
- <input id="input118" ref="/root/main/list02/gridpiehf702_3/calcchrgjonm" class="input_default" style="left:147px; top:79px; width:139px; height:19px; text-align:center; "/>
- <line id="line70" class="line_2" style="x1:4px; y1:76px; x2:285px; y2:76px; "/>
- <caption id="caption90" class="cell_1" style="left:4px; top:128px; width:140px; height:23px; text-align:right; vertical-align:middle; ">정산담당자번호</caption>
- <line id="line82" class="line_2" style="x1:4px; y1:201px; x2:285px; y2:201px; "/>
- <input id="input109" ref="/root/main/list02/gridpiehf702_3/calcyearseqno" class="input_default" style="left:147px; top:6px; width:139px; height:19px; text-align:center; "/>
- <line id="line72" class="line_3" style="x1:4px; y1:226px; x2:286px; y2:226px; "/>
- <line id="line83" class="line_2" style="x1:4px; y1:151px; x2:285px; y2:151px; "/>
- <line id="line87" class="line_3" style="x1:4px; y1:4px; x2:286px; y2:4px; "/>
- </case>
- </switch>
- <button id="button1" class="btn2_letter2" style="left:1152px; top:329px; width:42px; height:19px; ">
- <caption>출력</caption>
- </button>
- <button id="button7" class="btn2_letter4" style="left:1085px; top:329px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "원외처방정산내역서(F070.3) 조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_f703h.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button3" class="btn1_letter2" style="left:1123px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption30" class="search_name" style="left:870px; top:34px; width:90px; height:17px; ">청구분야 :</caption>
- <caption id="caption31" style="left:376px; top:11px; width:15px; height:15px; ">~</caption>
- <input id="input39" ref="/root/send/clamno" class="input_search" style="left:660px; top:35px; width:80px; height:19px; "/>
- <select1 id="combo1" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:960px; top:34px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0235list/P0235">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input40" ref="/root/send/acptno" class="input_search" style="left:90px; top:34px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- setInputNodeCurText();
- fSearch();
- }
- ]]>
- </script>
- </input>
- <caption id="caption34" class="search_name" style="left:0px; top:34px; width:90px; height:17px; ">접수번호 :</caption>
- <input id="input41" ref="/root/send/setno" class="input_search" style="left:275px; top:35px; width:65px; height:19px; "/>
- <caption id="caption35" class="search_name" style="left:185px; top:35px; width:90px; height:17px; ">묶음번호 :</caption>
- <select1 id="radio3" ref="/root/send/chosflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:960px; top:10px; 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>
- <select1 id="radio2" ref="/root/send/insuflag" overflow="visible" appearance="full" cols="4" rows="1" style="left:660px; top:10px; width:180px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>보험</label>
- <value>1</value>
- </item>
- <item>
- <label>보호</label>
- <value>2</value>
- </item>
- <item>
- <label>산재</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption63" class="search_name" style="left:570px; top:10px; width:90px; height:17px; ">보험유형 :</caption>
- <caption id="caption64" class="search_name" style="left:870px; top:10px; width:90px; height:17px; ">내원유형 :</caption>
- <caption id="caption65" class="search_name" style="left:570px; top:35px; width:90px; height:17px; ">청구번호 :</caption>
- <select1 id="rdo_termflag" ref="/root/send/termflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:5px; top:10px; width:230px; height:17px; 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>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("ipt_fromterm");
-
- if (rdo_termflag.value == "1") {
- ipt_fromterm.attribute("format") = "";
- ipt_toterm.attribute("format") = "";
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
- }
- else if (rdo_termflag.value == "2") {
- ipt_fromterm.attribute("format") = "yyyy-mm";
- ipt_toterm.attribute("format") = "yyyy-mm";
- cmb_clamdgfrom.disabled = false;
- cmb_clamdgto.disabled = false;
- cmb_clamdgfrom.select(0);
- cmb_clamdgto.select(0);
- }
- else if (rdo_termflag.value == "3") {
- ipt_fromterm.attribute("format") = "yyyy-mm-dd";
- ipt_toterm.attribute("format") = "yyyy-mm-dd";
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_fromterm" ref="/root/send/fromterm" class="input_search" inputtype="date" style="left:247px; top:10px; width:85px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/send/toterm",model.getValue("/root/send/fromterm"));
- model.refresh();
- pidfGetClamdg();
- fChkClamym();
- ]]>
- </script>
- </input>
- <input id="ipt_toterm" ref="/root/send/toterm" class="input_search" inputtype="date" style="left:395px; top:10px; width:85px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- pidfGetClamdg();
- fChkClamym();
- ]]>
- </script>
- </input>
- <button id="button4" class="btn2_letter3" style="left:1124px; top:35px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/termflag","1");
- model.setValue("/root/send/insuflag","0");
- model.setValue("/root/send/chosflag","1");
-
- model.removeNodeset("/root/main/list01");
- model.removeNodeset("/root/main/list02");
- model.removeNodeset("/root/main/list03");
- // model.removeNodeset("/root/main/list04");
-
- btn_acptno.selected = true;
- model.toggle("case1");
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
-
- model.setFocus("ipt_fromterm");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_clamdgto" ref="/root/send/clamdgto" class="combo_search" appearance="minimal" style="left:483px; top:10px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdgto/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/clamdgfrom", model.getValue("/root/send/clamdgto"));
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_clamdgfrom" ref="/root/send/clamdgfrom" class="combo_search" appearance="minimal" style="left:335px; top:10px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdgfrom/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/clamdgto", model.getValue("/root/send/clamdgfrom"));
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_clamflag" ref="/root/send/clamflag" class="combo_search" appearance="minimal" style="left:449px; top:36px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:359px; top:36px; width:86px; height:17px; ">청구구분 :</caption>
- </group>
- <datagrid id="grd_f703h" nodeset="/root/main/list02/gridpiehf703" caption="명일련^등록번호^수진자^구분^결정차액^사업장기호^증번호^종별구분^가입자^비고^정산연번^정산일련번호" colsep="^" colwidth="50, 70, 50, 40, 80, 75, 85, 85, 60, 120, 80, 80, 100, 100, 100, 100, 100" dataheight="23" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:295px; top:354px; width:899px; height:179px; ">
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="flag" style="text-align:center; "/>
- <col ref="cadecidifamt" format="#,###" style="text-align:right; "/>
- <col ref="bizplcemark" style="text-align:center; "/>
- <col ref="certno" style="text-align:center; "/>
- <col ref="medcarekindflag" style="text-align:center; "/>
- <col ref="subscrnm" style="text-align:center; "/>
- <col ref="docuseqnorem" type="inputbutton" style="text-align:center; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var row = grd_f703h.row;
-
- model.setValue("/root/send/rem/textno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/rem"));
-
- modal("SPPIE00200", "", "400", "400" ,"", "/root/send/rem/textno", "/root/send/textno");
- ]]>
- </script>
- </col>
- <col ref="calcyearseqno" style="text-align:center; "/>
- <col ref="calcseqno" style="text-align:center; "/>
- <col ref="calcjudgdg" visibility="hidden"/>
- <col ref="calcnotidd" visibility="hidden"/>
- <col ref="acptno" visibility="hidden"/>
- <col ref="clamseqno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.removeNodeset("/root/main/list03");
- model.refresh();
-
- if (grd_f703h.isCell(event.target) && grd_f703h.row >= grd_f703h.fixedRows) {
- var row = grd_f703h.selectedRow(0);
-
- model.setValue( "instance('instance1')/send/sendpiehf703/calcyearseqno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/calcyearseqno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/calcseqno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/calcseqno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/docuseqno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/docuseqno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/calcjudgdg", model.getValue("/root/main/list02/gridpiehf703["+row+"]/calcjudgdg"));
- model.setValue( "instance('instance1')/send/sendpiehf703/calcnotidd", model.getValue("/root/main/list02/gridpiehf703["+row+"]/calcnotidd"));
- model.setValue( "instance('instance1')/send/sendpiehf703/acptno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/acptno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/clamseqno", model.getValue("/root/main/list02/gridpiehf703["+row+"]/clamseqno"));
- model.setValue( "instance('instance1')/send/sendpiehf703/instcd", model.getValue("/root/main/list02/gridpiehf703["+row+"]/instcd"));
-
- rtn = submit("TRPIE01603");
-
- btn_calcyearseqno.selected = true;
- model.toggle("case2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_f703h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_f704h" nodeset="/root/main/list03/gridpiehf704" caption="처방전교부번호^줄번호^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^정산심사결정^비고^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^이전심사결정^조제기관정보^조제기관정보^조제기관정보^조제기관정보^조제기관정보^비고|처방전교부번호^줄번호^조정사유^코드^처방명^1회량^일투^총투^조정금액^결정금액^비고^조정사유^코드^처방명^1회량^일투^총투^조정금액^결정금액^기호^명칭^접수번호^접수년도^명일련^비고" colsep="^" colwidth="95, 50, 60, 80, 110, 60, 50, 50, 80, 80, 120, 60, 80, 110, 60, 60, 60, 80, 80, 100, 100, 100, 70, 100" dataheight="23" defaultrows="2" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:295px; top:559px; width:899px; height:179px; ">
- <col ref="mpsno" style="text-align:center; "/>
- <col ref="lnno" style="text-align:center; "/>
- <col ref="caadjtresn" style="text-align:center; "/>
- <col ref="cacd" style="text-align:center; "/>
- <col ref="caprcpflag"/>
- <col ref="caoneqtyrt" style="text-align:center; "/>
- <col ref="cadayqtyrt" style="text-align:center; "/>
- <col ref="catotqtyrt" style="text-align:center; "/>
- <col ref="caadjtamt" format="#,###" style="text-align:right; "/>
- <col ref="cadeciamt" format="#,###" style="text-align:right; "/>
- <col ref="calcjrsltrem" type="inputbutton" style="text-align:center; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var row = grd_f704h.row;
-
- model.setValue("/root/send/rem/textno", model.getValue("/root/main/list03/gridpiehf704["+(row-1)+"]/rem"));
-
- modal("SPPIE00200", "", "400", "400" ,"", "/root/send/rem/textno", "/root/send/textno");
- ]]>
- </script>
- </col>
- <col ref="jradjtresn" style="text-align:center; "/>
- <col ref="jrcd" style="text-align:center; "/>
- <col ref="jrprcpflag"/>
- <col ref="jroneqtyrt" style="text-align:center; "/>
- <col ref="jrdayqtyrt" style="text-align:center; "/>
- <col ref="jrtotqtyrt" style="text-align:center; "/>
- <col ref="jradjtamt" format="#,###" style="text-align:right; "/>
- <col ref="jrjudgdeciamt" format="#,###" style="text-align:right; "/>
- <col ref="prcpinstmark" style="text-align:center; "/>
- <col ref="prcpinstnm" style="text-align:center; "/>
- <col ref="prcpinstacptno" style="text-align:center; "/>
- <col ref="prcpinstacptym" style="text-align:center; "/>
- <col ref="prcpinstdocuseqno" style="text-align:center; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_f701h" nodeset="/root/main/list01/gridpiehf701" caption="정산심사차수^정산통보일자^보험자구분^청구번호^정산연번^내원유형^분야^접수번호^묶음번호^심사차수^심사구분^건수^결정차액^진료월^청구단위구분^접수년도^서식번호^VER^청구서일련번호^요양급여기관기호^지원^caption1^caption2" colsep="^" colwidth="83, 87, 80, 74, 60, 60, 66, 77, 68, 75, 80, 50, 80, 82, 90, 65, 65, 50, 100, 110, 100, 100, 100, 100" dataheight="23" defaultrows="2" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:1px; top:95px; width:1194px; height:230px; ">
- <col ref="calcjudgdg" style="text-align:center; "/>
- <col ref="calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="insuflag" style="text-align:center; "/>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="calcyearseqno" visibility="hidden"/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="ordfildcd" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="setno" style="text-align:center; "/>
- <col ref="judgdg" style="text-align:center; "/>
- <col ref="judgflag" style="text-align:center; "/>
- <col ref="jrcntsum" style="text-align:center; "/>
- <col ref="cadecidifamtsum" format="#,###" style="text-align:right; "/>
- <col ref="ordym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamflag" style="text-align:center; "/>
- <col ref="acptym" format="yyyy" style="text-align:center; "/>
- <col ref="docuno" style="text-align:center; "/>
- <col ref="verflag" style="text-align:center; "/>
- <col ref="clamseqno" style="text-align:center; "/>
- <col ref="corpmark" style="text-align:center; "/>
- <col ref="suppcd" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="calcyearseqno" visibility="hidden"/>
- <col ref="flag" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ((grd_f701h.row >= grd_f701h.fixedRows) && (grd_f701h.isCell(event.target))) {
-
- model.removeNodeset("/root/main/list02");
- model.removeNodeset("/root/main/list03");
- model.refresh();
-
- if (grd_f701h.isCell(event.target) && grd_f701h.row >= grd_f701h.fixedRows) {
- var row = grd_f701h.selectedRow(0);
-
- model.setValue("instance('instance1')/send/sendpiehf701/calcjudgdg", model.getValue("/root/main/list01/gridpiehf701["+row+"]/calcjudgdg"));
- model.setValue("instance('instance1')/send/sendpiehf701/calcnotidd", model.getValue("/root/main/list01/gridpiehf701["+row+"]/calcnotidd"));
- model.setValue("instance('instance1')/send/sendpiehf701/acptno", model.getValue("/root/main/list01/gridpiehf701["+row+"]/acptno"));
- model.setValue("instance('instance1')/send/sendpiehf701/clamseqno", model.getValue("/root/main/list01/gridpiehf701["+row+"]/clamseqno"));
- model.setValue("instance('instance1')/send/sendpiehf701/instcd", model.getValue("/root/main/list01/gridpiehf701["+row+"]/instcd"));
-
- submit("TRPIE01602");
-
- btn_acptno.selected = true;
- model.toggle("case1");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_f701h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) {
- if (grd_f701h.isCell(event.target) && grd_f701h.mouseRow >= grd_f701h.fixedrows) {
- setPopupMenu("grd_f701h", false, "/root/popupdata/popupmenu/grd_f701h/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <button id="btn_acptno" class="btn_sw" group="tab" selected="true" style="left:0px; top:334px; width:70px; height:22px; ">
- <caption>청구서</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="btn_calcyearseqno" class="btn_sw" group="tab" style="left:70px; top:334px; width:70px; height:22px; ">
- <caption>명세서</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="btn_chrgnm" class="btn_sw" group="tab" style="left:140px; top:334px; width:59px; height:22px; ">
- <caption>담당자</caption>
- <toggle case="case3" ev:event="onclick"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|