1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- 2007.05.30 / 최초작성 / 이종찬
- -->
- <?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>접수및반송증조회(F010)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <gridlist101>
- <f101h>
- <acptdd/>
- <appflag/>
- <appflagdesc/>
- <verflag/>
- <docuno/>
- <corpmark/>
- <suppcd/>
- <rem/>
- <clamcnt/>
- </f101h>
- </gridlist101>
- <gridlist102>
- <f102h>
- <ioflag/>
- <acptdd/>
- <clamno/>
- <acptno/>
- <insuflag/>
- <flag/>
- <reqinstmark/>
- <acptflag/>
- <clamcnt/>
- <clamamt/>
- <ordym/>
- <clamflag/>
- <ordfildcd/>
- <medcaretotamt/>
- <ownbamt/>
- <ownbmaxexamt/>
- <handcaprfund/>
- <ediownbmaxexamtcnt/>
- </f102h>
- </gridlist102>
- <gridlist103>
- <f103h>
- <ioflag/>
- <acptdd/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <rtnrsncd/>
- <rem/>
- </f103h>
- </gridlist103>
- <!-- ########## 산재추가3 시작 JHP 2008.10.07 ########## -->
- <gridlist100>
- <i100>
- <notidd/>
- <acptflag/>
- <clamno/>
- <acptno/>
- <acptrtnflag/>
- <clamcntsum/>
- <clamamtsum/>
- <sendresncd/>
- <rem/>
- <docuno/>
- <healinstcd/>
- <note/>
- </i100>
- </gridlist100>
- <!-- ########## 산재추가3 완료 JHP 2008.10.07 ########## -->
- </grid>
- <tmp>
- <gridlist101>
- <f101h>
- <acptdd/>
- <appflag/>
- <appflagdesc/>
- <verflag/>
- <docuno/>
- <corpmark/>
- <suppcd/>
- <rem/>
- <clamcnt/>
- </f101h>
- </gridlist101>
- <gridlist102>
- <f102h>
- <appflagdesc/>
- <acptdd/>
- <clamno/>
- <acptno/>
- <insuflag/>
- <flag/>
- <reqinstmark/>
- <acptflag/>
- <clamcnt/>
- <clamamt/>
- <ordym/>
- <clamflag/>
- <ordfildcd/>
- <medcaretotamt/>
- <ownbamt/>
- <ownbmaxexamt/>
- <handcaprfund/>
- <ediownbmaxexamtcnt/>
- <depoamt/>
- <clamtypecd/>
- </f102h>
- </gridlist102>
- <gridlist103>
- <f103h>
- <appflagdesc/>
- <acptdd/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <rtnrsncd/>
- <rem/>
- </f103h>
- </gridlist103>
- <gridlist100>
- <i100>
- <acptflag/>
- <ordym/>
- <ioflag/>
- <sumtypecd/>
- <clamno/>
- <acptrtnflag/>
- <notidd/>
- <acptno/>
- <clamcntsum/>
- <clamamtsum/>
- <sendresncd/>
- <rem/>
- <docuno/>
- <healinstcd/>
- <note/>
- </i100>
- </gridlist100>
- </tmp>
- <list01>
- <comboclamfild>
- <clamfildval/>
- <clamfildlab/>
- </comboclamfild>
- </list01>
- <list02>
- <rem/>
- </list02>
- </main>
- <send>
- <fromacptym/>
- <toacptym/>
- <termflag/>
- <insuflag/>
- <srchnum/>
- <clamfild/>
- <ioflag/>
- <numflag/>
- <appflag/>
- <acptdd/>
- <acptflag/>
- <clamdgfrom/>
- <clamdgto/>
- <clamym/>
- <clamflag/>
- <summary/>
- </send>
- <popupdata>
- <popupmenu>
- <grd_f102h>
- <item>
- <name>개인별미수관리</name>
- <func>fCallindspec</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>접수반송증 삭제</name>
- <func>fDeleteF010</func>
- </item>
- </grd_f102h>
- <grd_i100>
- <item>
- <name>산재접수반송증삭제</name>
- <func>fDeleteI010</func>
- </item>
- </grd_i100>
- </popupmenu>
- </popupdata>
- <init>
- <P0255list>
- <P0255>
- <cdid/>
- <cdnm/>
- </P0255>
- </P0255list>
- <P0249list>
- <P0249>
- <cdid/>
- <cdnm/>
- </P0249>
- </P0249list>
- <P0235list>
- <P0235>
- <cdid/>
- <cdnm/>
- </P0235>
- </P0235list>
- <P0408list>
- <P0408>
- <cdid/>
- <cdnm/>
- </P0408>
- </P0408list>
- <P0274list>
- <P0274>
- <cdid/>
- <cdnm/>
- </P0274>
- </P0274list>
- <P0271list>
- <P0271>
- <cdid/>
- <cdnm/>
- </P0271>
- </P0271list>
- <P0286list>
- <P0286>
- <cdid/>
- <cdnm/>
- </P0286>
- </P0286list>
- <P0425list>
- <P0425>
- <cdid/>
- <cdnm/>
- </P0425>
- </P0425list>
- <P0456list>
- <P0456>
- <cdid/>
- <cdnm/>
- </P0456>
- </P0456list>
- <!-- ##### 산재추가6 시작 JHP 2008.10.07 ##### -->
- <P0273list>
- <P0273>
- <cdid/>
- <cdnm/>
- </P0273>
- </P0273list>
- <P0275list>
- <P0275>
- <cdid/>
- <cdnm/>
- </P0275>
- </P0275list>
- <P0257list>
- <P0257>
- <cdid/>
- <cdnm/>
- </P0257>
- </P0257list>
- <P0458list>
- <P0458>
- <cdid/>
- <cdnm/>
- </P0458>
- </P0458list>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- <P0458kindcdlist>
- </P0458kindcdlist>
- <!-- ##### 산재추가6 완료 JHP 2008.10.07 ##### -->
- <clamdg/>
- <clamdgfrom/>
- <clamdgto/>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- </init>
- <hidden>
- <smpif20100>
- <ioflag/>
- <dateflag/>
- <fromdd/>
- <todd/>
- <insukind/>
- <clamflag/>
- <clamdg/>
- <ordfildcd/>
- <acptno/>
- </smpif20100>
- </hidden>
- <report>
- <grid>
- <gridlist102>
- <f102h>
- <appflagdesc/>
- <acptdd/>
- <clamno/>
- <insuflag/>
- <flag/>
- <reqinstmark/>
- <acptflag/>
- <clamcnt/>
- <clamamt/>
- <ordym/>
- <clamflag/>
- <ordfildcd/>
- <medcaretotamt/>
- <ownbamt/>
- <ownbmaxexamt/>
- <handcaprfund/>
- <ediownbmaxexamtcnt/>
- </f102h>
- </gridlist102>
- </grid>
- </report>
- <send2>
- <insukind/>
- <termflag/>
- <fromdd/>
- <todd/>
- <clamflag/>
- <clamno/>
- </send2>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 노드 초기화
- Node_Init();
-
- // 1. 공통코드
- CommCode_Load();
- /*
- // 2. 다른화면에서 팝업으로 열리는 경우
- // 호출화면 : SMPIS00100_청구및자료수집이력조회, SMPIS00200_월별환자조회, SPPIE00710_접수및반송증요약보기
- // var fromacptym = model.getValue("/root/send/fromacptym");
- var srchnum = model.getValue("/root/send/srchnum");
- model.alert(srchnum);
- if (srchnum != "") {
-
- // if (fromacptym) {
- submit("TRPIE00800");
- }
- else {
- // 초기화
- fInitialize();
- }
- //청구구분 전체 추가
- //addComboItem("combo1","전체","","above");
- */
- ]]>
- </script>
- <submission id="TRPIE00800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grid"/>
- <submission id="TRPIE00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tmp"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIE00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIE00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <!-- ##### 수정추가7 시작 JHP 2008.10.07 ##### -->
- <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <!-- ##### 수정추가7 완료 JHP 2008.10.07 ##### -->
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function Node_Init() {
- rdo_insukind.select(0); // 보험유형 -.전체
- rdo_term.select(0); // 조회기간 1.접수일자
- rdo_ioflag.select(0); // 내원형태 -.전체
-
- model.refresh();
-
- // 다른 화면에서 팝업으로 호출하는 경우 자동조회
- // 호출화면 : SMPIS00100_청구및자료수집이력조회, SMPIS00200_월별환자조회, SMPIF20100_개인별모든내역보기, SMPIF20300_개인별청구및심결내역조회, SPPIE00720_심결요약보기
- var srchnum = model.getValue("/root/send/summary/srchnum");
- if (srchnum != "") {
- //ipt_fromterm.disabled = false;
- //ipt_toterm.disabled = false;
-
- model.setValue("/root/send/numflag", model.getValue("/root/send/summary/numflag"));
- model.setValue("/root/send/srchnum", model.getValue("/root/send/summary/srchnum"));
- model.refresh();
- submit("TRPIE00800");
- }else{
- rdo_numflag.select(1); // 조회구분 1.접수번호
- }
- }
-
- function fInitialize() {
- rdo_insukind.select(0); // 보험유형 -.전체
- rdo_term.select(0); // 조회기간 1.접수일자
- rdo_ioflag.select(0); // 내원형태 -.전체
- rdo_numflag.select(1); // 조회구분 1.접수번호
- }
-
- // 초기화
- function fInitialize() {
-
- model.resetInstanceNode("/root/send");
-
- rdo_insukind.select(0); // 보험유형 -.전체
- rdo_term.select(0); // 조회기간 1.접수일자
- rdo_ioflag.select(0); // 내원형태 -.전체
- rdo_numflag.select(1); // 조회구분 1.접수번호
- // 그리드 공라인 없애기
- model.removeNodeset("/root/main/grid/gridlist101");
- model.removeNodeset("/root/main/grid/gridlist102");
- model.removeNodeset("/root/main/grid/gridlist103");
-
- model.refresh();
-
- // 포커스 이동
- model.setFocus("ipt_fromacptym");
- }
-
- // 공통코드
- function CommCode_Load() {
- zbcfGetCodeList(new Array("P0249"), new Array("/root/init/P0249list"));
- zbcfGetCodeList(new Array("P0235"), new Array("/root/init/P0235list"));
- zbcfGetCodeList(new Array("P0408"), new Array("/root/init/P0408list"));
- zbcfGetCodeList(new Array("P0274"), new Array("/root/init/P0274list"));
- zbcfGetCodeList(new Array("P0271"), new Array("/root/init/P0271list"));
- zbcfGetCodeList(new Array("P0286"), new Array("/root/init/P0286list"));
- zbcfGetCodeList(new Array("P0425"), new Array("/root/init/P0425list"));
- zbcfGetCodeList(new Array("P0456"), new Array("/root/init/P0456list"));
-
- // ##### 산재추가5 시작 JHP 2008.10.07 #####
- // P0273 접수구분(산재접수증),
- // P0275 접수반송구분,
- // P0257 심사불능/반송사유(산재)
- // P0458 집계형태코드_청구서 생성시 보험, 보호, 산재, 자보의 진료분야표시
- zbcfGetCodeList(new Array("P0273","P0275","P0257","P0458","P0028", "P0155"),
- new Array("/root/init/P0273list",
- "/root/init/P0275list",
- "/root/init/P0257list",
- "/root/init/P0458list",
- "/root/init/P0028list",
- "/root/init/P0155list"));
- // ##### 산재추가5 완료 JHP 2008.10.07 #####
-
- model.refresh();
- }
-
- // 개인별미수관리
- function fCallindspec() {
- if (grd_f102h.row >= grd_f102h.fixedRows ) {
- var row = grd_f102h.row;
-
- model.setValue("/root/hidden/smpif20100/ioflag", model.getValue("/root/main/grid/gridlist102/f102h/ioflag")); //내원구분
- model.setValue("/root/hidden/smpif20100/dateflag", "2"); //진료년월 구분자(2)
- model.setValue("/root/hidden/smpif20100/fromdd", model.getValue("/root/main/grid/gridlist102/f102h/ordym")); //진료년월
- model.setValue("/root/hidden/smpif20100/todd", model.getValue("/root/main/grid/gridlist102/f102h/ordym"));//진료년월
- model.setValue("/root/hidden/smpif20100/insukind", model.getValue("/root/main/grid/gridlist102/f102h/insuflag"));//유형
- model.setValue("/root/hidden/smpif20100/clamflag", model.getValue("/root/main/grid/gridlist102/f102h/clamflag"));//청구구분(워,추,재)
- model.setValue("/root/hidden/smpif20100/clamdg", model.getValue("/root/main/grid/gridlist102/f102h/clamdg"));//청구차수
- model.setValue("/root/hidden/smpif20100/acptno", model.getValue("/root/main/grid/gridlist102/f102h/acptno"));//접수번호
-
- modal("SMPIF20100", "", "10", "10", "SMPIF20100", "/root/hidden/smpif20100" ,"/root/hidden/smpif20100", "", "");
- }
- }
-
- // 접수반송증 삭제
- function fDeleteF010() {
-
- if (grd_f102h.row >= grd_f102h.fixedRows ) {
-
- // 1. 삭제할 접수반송증 데이터를 만든다.
- var rows = grd_f102h.selectedRows;
- var cnt = 1;
- for (var i = 0; i < rows; i++) {
- var sel = grd_f102h.selectedRow(i);
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "f010");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/rsrvflag", "Y");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/uncoflag", "Y");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/cutflag", "");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/appflag", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/appflag"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptdd", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/acptdd"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/clamno"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/insuflag", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/insuflag"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/flag", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/flag"));
- cnt++;
- }
-
- // 2. 수신테이블 삭제 팝업 호출
- modal("SPPIE00810", "", "10", "10", "SPPIE00810", "/root/hidden/sppie00810" ,"/root/main", "", "");
-
- }
- }
-
- // 청구년월 함수
- function pidfGetClamdg() {
-
- var check = model.getValue("/root/send/termflag");
-
- if ( model.getValue("/root/send/fromacptym") > model.getValue("/root/send/toacptym") ) {
- messageBox("종료일은 시작일보다 클 수 ", "I004");
- model.setValue("/root/send/toacptym","")
- }
-
- if(check == "2"){
- if(model.getValue("/root/send/fromacptym") != "" || model.getValue("/root/send/toacptym") != ""){
- model.removeNodeset("/root/init/clamdg");
- model.makeNode("/root/init/clamdg");
- model.setValue("/root/send/clamym",model.getValue("/root/send/fromacptym"));
- /*
- model.removeNodeset("/root/send/ioflag");
- model.makeNode("/root/send/ioflag");
- model.setValue("/root/send/ioflag", model.getValue("/root/send/ioflag"));
- */
- 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/toacptym"));
- 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/fromacptym");
- var toym = model.getValue("/root/send/toacptym");
- 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();
- }
- }
-
- function fDeleteI010(){
- if (grd_i100.row >= grd_i100.fixedRows ) {
-
- // 1. 삭제할 접수반송증 데이터를 만든다.
- var rows = grd_i100.selectedRows;
- var cnt = 1;
- for (var i = 0; i < rows; i++) {
- var sel = grd_i100.selectedRow(i);
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "i010");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/rsrvflag", "Y");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/uncoflag", "Y");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/cutflag", "");
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/grid/gridlist100/i100[" + sel + "]/clamno"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptno", model.getValue("/root/main/grid/gridlist100/i100[" + sel + "]/acptno"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/notidd", model.getValue("/root/main/grid/gridlist100/i100[" + sel + "]/notidd"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptrtnflag", model.getValue("/root/main/grid/gridlist100/i100[" + sel + "]/acptrtnflag"));
- cnt++;
- }
-
- // 2. 수신테이블 삭제 팝업 호출
- modal("SPPIE00810", "", "10", "10", "SPPIE00810", "/root/hidden/sppie00810" ,"/root/main", "", "");
-
- fSearch();
- }
- }
- function fSearch(){
- // 신청구분 초기화
- model.setValue( "instance('instance1')/send/appflag", "");
-
- model.removenode("/root/main/grid");
- model.refresh();
-
- if ((ipt_fromacptym.currentText == "" && ipt_srchnum.currentText == "") || (ipt_toacptym.currentText == "" && ipt_srchnum.currentText == "")) {
- messageBox("[기간 ]또는 [청구번호/접수번호]를","C001");
- }
- else {
-
- submit("TRPIE00800");
- }
- model.refresh();
- }
-
- ]]>
- </script>
-
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:597px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:75px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:75px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:29px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:12px; x2:1108px; y2:63px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption19" class="search_name" style="left:460px; top:19px; width:86px; height:17px; ">보험유형 :</caption>
- <caption id="caption7" style="left:290px; top:29px; width:15px; height:15px; ">~</caption>
- <select1 id="rdo_insukind" ref="/root/send/insuflag" class="radio_search" overflow="visible" appearance="full" cols="4" rows="1" style="left:549px; top:19px; width:176px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>보험</label>
- <value>4</value>
- </item>
- <item>
- <label>보호</label>
- <value>5</value>
- </item>
- <!-- ########## 산재추가1 시작 JHP 2008.10.07 ########## -->
- <item>
- <label>산재</label>
- <value>6</value>
- </item>
- <!-- ########## 산재추가1 완료 JHP 2008.10.07 ########## -->
- </choices>
- <!-- ########## 산재추가4 시작 JHP 2008.10.07 ########## -->
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var insurkindflag = model.getValue("/root/send/insuflag");
-
- // 보험유형선택시 진료분야(진료구분)의 값을 유형코드별로 변경
- // 4 보험, 5 보호, 6 산재, 7 자보
- if(insurkindflag == '4'){
- var bizid_list = "P0006";
- }else if(insurkindflag == '5'){
- var bizid_list = "P0007";
- }else if(insurkindflag == '6'){
- var bizid_list = "P0008";
- }else if(insurkindflag == '7'){
- var bizid_list = "P0009";
- }
- if(insurkindflag == '-'){
- cmb_clamfield.choices.itemset.attribute("nodeset") = "/root/init/P0458list/P0458";
- cmb_clamfield.refresh();
- }else{
- var cdgrupid_list = "P0458";
- var kindlistcd = bizid_list+cdgrupid_list;
- model.resetInstanceNode("/root/init/P0458kindcdlist/"+kindlistcd);
-
- zbcfGetKindCodeList(
- new Array(bizid_list),
- new Array(cdgrupid_list),
- new Array("/root/init/P0458kindcdlist"),
- false,
- new Array("dispseq"),
- new Array("asc")
- );
- cmb_clamfield.choices.itemset.attribute("nodeset") = "/root/init/P0458kindcdlist/"+kindlistcd;
- cmb_clamfield.refresh();
- }
- // 산재선택시 산재에 따른 추가 조회조건 그룹 보이기.
- if(insurkindflag == '6'){
- cap_notidd.visible = true;
- cap_notidd.attribute("left") = "75";
- cap_notidd.attribute("top") = "21";
- //2009.03.27 syjung 산재 접수일자 형식은 yymmdd지만 입력받을 때는 사용자 편의상 yyyymmdd로 받음. Query에서 yymmdd로 변경하여 조회함.
- // if (rdo_term.value == 1) {
- // ipt_fromacptym.attribute("maxlength") = 6;
- // ipt_toacptym.attribute("maxlength") = 6;
- //
- // ipt_fromacptym.attribute("format") = "yy-mm-dd";
- // ipt_toacptym.attribute("format") = "yy-mm-dd";
- // }
-
- cap_acptflag.visible = true;
- // cap_acptflag.attribute("top") = "21";
-
- cmb_acptflag.visible = true;
- // cap_notidd.attribute("top") = "21";
-
-
- caption2.attribute("top") = "29";
- cmb_clamfield.attribute("top") = "29";
-
- caption8.attribute("top") = "50";
- combo1.attribute("top") = "50";
-
-
- // 산재의 경우 포맷이 다르므로 클리어
- // ipt_fromacptym.value = "";
- // ipt_toacptym.value = "";
- } else {
- cap_notidd.visible= false;
- if (rdo_term.value == 1) {
- ipt_fromacptym.attribute("maxlength") = 8;
- ipt_toacptym.attribute("maxlength") = 8;
-
- // 산재였다가 다른 값을 선택 했을 경우 클리어
- if (ipt_fromacptym.attribute("format") == "yy-mm-dd") {
- ipt_fromacptym.value = "";
- ipt_toacptym.value = "";
- }
-
- ipt_fromacptym.attribute("format") = "yyyy-mm-dd";
- ipt_toacptym.attribute("format") = "yyyy-mm-dd";
- }
-
- cap_acptflag.visible = false;
- cmb_acptflag.visible = false;
-
- caption2.attribute("top") = "19";
- cmb_clamfield.attribute("top") = "19";
-
- caption8.attribute("top") = "39";
- combo1.attribute("top") = "39";
- }
- // ipt_fromacptym.value = "";
- // ipt_toacptym.value = "";
- model.refreshpart("/root/send/fromacptym");
- model.refreshpart("/root/send/toacptym");
-
- // var insuflag1 = model.getValue("/root/send/insuflag");
- // var insuflag2 = rdo_insukind.value;
- //
- // if(insuflag1 == '6'){
- // cmb_clamfield.disabled = true;
- // } else {
- // cmb_clamfield.disabled = false;
- // }
- ]]>
- </script>
- <!-- ########## 산재추가4 완료 JHP 2008.10.07 ########## -->
- </select1>
- <input id="ipt_toacptym" ref="/root/send/toacptym" class="input_s_essential" inputtype="date" style="left:304px; top:26px; width:90px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- pidfGetClamdg();
- fChkClamym();
-
- inputEnterKey("btn_enter2", "DOMActivate");
- // // 2008-04-29 uncocommonapplib의 메소드를 호출한다.
- // // 여기에서 청구분야 조회를 요청한다.
- // model.setValue("/root/send/clamfild","");
- // // 2007.10.12 submit 변경
- // // submit("TRPIE00802");
- // // 기간 입력 없이 포커스만 이동하면서 조회 할 수 있는 예외 동작 차단한다.
- // // 2007.10.18 필수입력으로 체크하지 않고 아래와 같은 방법으로 체크한다.
- // if (ipt_fromacptym.currentText != "" && ipt_toacptym.currentText != "") {
- // submit("TRPIE00803");
- // model.setFocus("cmb_clamfield");
- // }
- //
- // // model.setFocus("cmb_clamfield");
- //
- // // model.setFocus("ipt_clamno");
- //
- //
- //
- //
- // // 2007.11.26 리뷰 후 수정 요구사항 반영(기간 입력 시 자동조회 기능)
- // if ((ipt_fromacptym.currentText == "" && ipt_srchnum.currentText == "") || (ipt_toacptym.currentText == "" && ipt_srchnum.currentText == "")) {
- // messageBox("[기간 ]또는 [청구번호/접수번호]를 입력하여주십시오.","C003");
- // }
- // else {
- // submit("TRPIE00800");
- // }
- ]]>
- </script>
- </input>
- <select1 id="rdo_term" ref="/root/send/termflag" class="radio_search" overflow="visible" appearance="full" cols="1" rows="2" style="left:60px; top:21px; width:70px; height:32px; border-style:none; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>1</value>
- </item>
- <item>
- <label>청구년월</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 진료월을 선택하는 경우 입력 값의 길이가 6자리를 넘는지 체크한다.
- if (rdo_term.value == 2) {
- ipt_fromacptym.attribute("maxlength") = 6;
- ipt_toacptym.attribute("maxlength") = 6;
-
- // 2007.10.12 날짜 형식 지정
- ipt_fromacptym.attribute("format") = "yyyy-mm";
- ipt_toacptym.attribute("format") = "yyyy-mm";
-
- model.setFocus("ipt_fromacptym");
-
- var cur_date = getCurrentDate();
-
- ipt_fromacptym.value = cur_date.substr(0,6);
- ipt_toacptym.value = cur_date.substr(0,6);
- /*
- if (ipt_fromacptym.value.length >= 7) {
- // 사용자에게 에러 메시지를 보여주고 'YYYYMM'형식으로 변환시킨다.
- messageBox("진료년월을 'YYYYMM'형식으로 입력해 주십시오.", "C003");
- ipt_fromacptym.value = ipt_fromacptym.value.substr(0,6);
- ipt_toacptym.value = ipt_toacptym.value.substr(0,6);
- }
- */
-
- cmb_clamdgfrom.disabled = false;
- cmb_clamdgto.disabled = false;
- cmb_clamdgfrom.select(0);
- cmb_clamdgto.select(0);
-
- }
-
- // 2007.11.26 리뷰 후 수정 요구사항 반영
- if (rdo_term.value == 1) {
- ipt_fromacptym.attribute("maxlength") = 8;
- ipt_toacptym.attribute("maxlength") = 8;
-
- // 2007.10.12 날짜 형식 지정
- ipt_fromacptym.attribute("format") = "yyyy-mm-dd";
- ipt_toacptym.attribute("format") = "yyyy-mm-dd";
-
- model.setFocus("ipt_fromacptym");
-
- var cur_date = getCurrentDate();
-
- ipt_fromacptym.value = cur_date;
- ipt_toacptym.value = cur_date;
-
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <!--
- <select1 id="cmb_clamfield" ref="/root/send/clamfild" class="combo_search" navindex="3" appearance="minimal" style="left:782px; top:15px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0425list/P0425">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- -->
- <caption id="caption10" class="search_name" style="left:460px; top:39px; width:86px; height:17px; ">내원유형 :</caption>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" overflow="visible" appearance="full" cols="3" rows="1" style="left:549px; top:41px; width:141px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_numflag" ref="/root/send/numflag" class="radio_search" overflow="visible" appearance="full" cols="1" rows="2" style="left:926px; top:21px; width:70px; height:32px; border-style:none; ">
- <choices>
- <item>
- <label>청구번호</label>
- <value>1</value>
- </item>
- <item>
- <label>접수번호</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (rdo_numflag.value == 2) {
- // ipt_srchnum.attribute("maxlength") = 7;
-
- model.setFocus("ipt_srchnum");
-
- // if (ipt_srchnum.value.length >= 8) {
- // // 사용자에게 에러 메시지를 보여주고 'YYYYMM'형식으로 변환시킨다.
- // messageBox("접수번호는 최대 7자리까지 입력해 주십시오.", "C003");
- // ipt_srchnum.value = "";
- // }
- }
- else {
- // ipt_srchnum.attribute("maxlength") = 10;
-
- // 초기 화면 로딩 시에는 포커스를 주지 않는다.
- if (ipt_fromacptym.value.length > 0) {
- model.setFocus("ipt_srchnum");
- }
- }
-
- ipt_srchnum.value = "";
- model.refreshpart("/root/send/srchnum");
- ]]>
- </script>
- </select1>
- <input id="ipt_srchnum" ref="/root/send/srchnum" class="input_search" navindex="4" style="left:1000px; top:28px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- setInputNodeCurText();
-
- // 아무 동작을 필요로 하지 않는다.
- //inputEnterKey("button3", "DOMActivate");
- var leng = ipt_srchnum.currentText.length
- var str = ipt_srchnum.currentText;
- //alert(leng+1);
-
- if (leng == 10 && rdo_numflag.value == 1) {
- model.setValue("root/send/srchnum",str);
- // 청구번호로 submit
- submit("TRPIE00800");
- }
- else if ((leng == 7 || leng == 15) && rdo_numflag.value == 2) {
- model.setValue("root/send/srchnum",str);
-
- // 접수번호로 submit
- submit("TRPIE00800");
- }
- ]]>
- </script>
- </input>
- <caption id="cap_fromacptym" class="search_name" style="left:0px; top:27px; width:66px; height:17px; ">기간 :</caption>
- <caption id="cap_toacptym" class="search_name" visibility="hidden" style="left:10px; top:37px; width:66px; height:17px; ">기간 :</caption>
- <caption id="cap_notidd" visibility="hidden" style="left:145px; top:45px; width:55px; height:17px; background-color:#FFFBF2; ">통지일자</caption>
- <input id="ipt_fromacptym" ref="/root/send/fromacptym" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm" style="left:137px; top:26px; width:90px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/send/toacptym",model.getValue("/root/send/fromacptym"));
- model.refresh();
- pidfGetClamdg();
- fChkClamym();
-
- //inputEnterKey("btn_enter1", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_acptflag" class="search_name" visibility="hidden" style="left:730px; top:7px; width:90px; height:17px; ">접수구분 :</caption>
- <select1 id="cmb_acptflag" ref="/root/send/acptflag" class="combo_search" visibility="hidden" appearance="minimal" style="left:822px; top:5px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0273list/P0273">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_clamfield" ref="/root/send/clamfild" class="combo_search" navindex="3" appearance="minimal" style="left:822px; top:28px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0458list/P0458">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:730px; top:29px; width:90px; height:17px; ">청구분야 :</caption>
- <select1 id="cmb_clamdgto" ref="/root/send/clamdgto" class="combo_search" appearance="minimal" style="left:396px; top:26px; 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:229px; top:26px; 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>
- <caption id="caption8" class="search_name" style="left:730px; top:50px; width:88px; height:17px; ">청구구분 :</caption>
- <select1 id="combo1" ref="/root/send/clamflag" class="combo_search" navindex="3" appearance="minimal" style="left:822px; top:51px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line3" class="line_1" style="x1:0px; y1:110px; x2:280px; y2:110px; "/>
- <caption id="caption1" class="tit_2" style="left:290px; top:95px; width:145px; height:13px; ">접수반송증2(F010.2)</caption>
- <line id="line1" class="line_1" style="x1:285px; y1:110px; x2:1194px; y2:110px; "/>
- <caption id="caption3" class="tit_2" style="left:290px; top:378px; width:150px; height:13px; ">접수반송증3(F010.3)</caption>
- <line id="line2" class="line_1" style="x1:285px; y1:393px; x2:1194px; y2:393px; "/>
- <datagrid id="grd_f101h" nodeset="/root/main/grid/gridlist101/f101h" caption="접수일자^건수^신청구분^참조^VER^요양기관기호^지원^신청구분^appflag^비고" colsep="^" colwidth="76, 34, 55, 80, 48, 80, 43, 55, 100" dataheight="23" ellipsis="true" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:115px; width:280px; height:481px; color:#b9e5fb; ">
- <col ref="acptdd" format="yyyy-mm-dd" style="left:0px; top:32px; width:59px; height:23px; text-align:center; "/>
- <col ref="clamcnt" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="appflagdesc" style="text-align:center; "/>
- <col ref="rem" type="inputbutton"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.setValue("/root/main/list02/rem", grd_f101h.valueMatrix(grd_f101h.row,grd_f101h.col));
-
- modal("SPPIE00200", "", "400", "400" ,"", "/root/main/list02/rem", "/root/send/textno");
- ]]>
- </script>
- <col ref="verflag" style="text-align:center; "/>
- <col ref="corpmark" style="text-align:center; "/>
- <col ref="suppcd" style="text-align:center; "/>
- <col ref="appflagdesc"/>
- <col ref="appflag" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rtn = null;
-
- if (grd_f101h.isCell(event.target) && grd_f101h.row >= grd_f101h.fixedRows) {
- var row = grd_f101h.selectedRow(0);
-
- var acptdd = grd_f101h.textmatrix(row, 1); // 접수일자
- var appflag = grd_f101h.textmatrix(row, 9); // 신청구분
-
- //rdo_term.select(0); // 접수일자
-
- model.setValue( "root/send/acptdd", acptdd);
- model.setValue( "root/send/appflag", appflag);
- // model.makeNode( "/root/send/appflag" );
- // model.setValue( "instance('instance1')/send/appflag", appflag );
- rtn = submit("TRPIE00801");
- //내용: 구조화를 갖춘 인스턴스 트리에 submission을 여러개 사용하지 않고 특정 매핑 컨트롤만 업데이트 할 수 있도록 한 처리 방안(통합팀 김선희 사원)
- if (rtn) {
- // 교체 할 자식 노드가 있는 부모 노드 선택
- var node = instance1.selectSingleNode("/root/main/grid");
- // 자식 노드 교체
- //node.replaceChild(instance1.root.temp.gridlist102, instance1.root.main.grid.gridlist102);
- //node.replaceChild(instance1.root.temp.gridlist103, instance1.root.main.grid.gridlist103);
- node.replaceChild(instance1.root.main.tmp.gridlist102, instance1.root.main.grid.gridlist102);
- node.replaceChild(instance1.root.main.tmp.gridlist103, instance1.root.main.grid.gridlist103);
- grd_f102h.rebuild();
- grd_f103h.rebuild();
- }
-
- model.refresh();
- // grd_f102h.colStyle(9,"data","background-color") = "#ffffcc";
- // grd_f102h.colStyle(10,"data","background-color") = "#ffff99";
- // grd_f102h.colStyle(11,"data","background-color") = "#ffff88";
- // grd_f102h.colStyle(12,"data","background-color") = "#ffff77";
- // grd_f102h.colStyle(13,"data","background-color") = "#ffff66";
- // grd_f102h.colStyle(14,"data","background-color") = "#ffff55";
- // grd_f102h.colStyle(15,"data","background-color") = "#ffff44";
- // grd_f102h.colStyle(16,"data","background-color") = "#ffff33";
- // grd_f102h.colStyle(17,"data","background-color") = "#ffff22";
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_f101h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_f102h" nodeset="/root/main/grid/gridlist102/f102h" caption="내원유형^신청구분코드^접수일자^구분^진료년월^보험자 종별^분야^청구구분^청구번호^접수번호^청구건수^총진료비^본인부담금^청구금액^상한액^지원금^장애인^대불금^접수구분^의뢰기관기호^입금액^청구유형^상한초과건수" colsep="^" colwidth="55, 85, 76, 32, 68, 79, 35, 60, 80, 60, 65, 82, 82, 82, 82, 82, 82, 82, 61, 96,100, 100, 82" dataheight="23" ellipsis="true" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:285px; top:115px; width:909px; height:255px; ">
- <col disabled="true" ref="ioflag" style="text-align:center; "/>
- <col ref="appflag" visibility="hidden" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="flag" style="text-align:center; "/>
- <col ref="ordym" format="yyyy-mm" style="text-align:center; "/>
- <col disabled="true" ref="insuflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0249list/P0249">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordfildcd" style="text-align:center; "/>
- <col ref="clamflag" style="text-align:center; "/>
- <col ref="clamno" savetype="text" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="clamcnt" format="(-)#,###" style="left:612px; top:23px; width:65px; height:23px; text-align:right; "/>
- <col ref="medcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="suppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="handcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="subtamt" format="(-)#,###" style="text-align:right; "/>
- <col disabled="true" ref="acptflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0271list/P0271">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqinstmark" style="left:1230px; top:23px; width:96px; height:23px; text-align:center; "/>
- <col ref="depoamt" format="#,###" style="left:721px; top:0px; width:0px; height:0px; text-align:right; "/>
- <col ref="clamtypecd" visibility="hidden"/>
- <col ref="ediownbmaxexamtcnt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //window.load("SMPIE_금액정보.xrw", "modal", "pop", "width:1140; height:640;", "/root/main/list01", "/root/main/list01");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_f101h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_f102h.row;
-
- var acptno = grd_f102h.valueMatrix(row, grd_f102h.colRef("acptno"));
-
- for (var i = 1; i < grd_f103h.rows; i++) {
- if (grd_f103h.valueMatrix(i,grd_f103h.colRef("acptno")) == acptno) {
- grd_f103h.rowhidden(i) = false;
- }
- else {
- grd_f103h.rowhidden(i) = true;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_f102h.isCell(event.target) && grd_f102h.mouseRow >= grd_f102h.fixedrows) {
- setPopupMenu("grd_f102h", false, "/root/popupdata/popupmenu/grd_f102h/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- // 셀 복사 Ctrl + C 키를 누른 경우
- if (grd_f102h.isCell(event.target) && grd_f102h.row >= grd_f102h.fixedRows) {
- var row = grd_f102h.row;
- var col = grd_f102h.col;
- var clip = grd_f102h.labelMatrix(row, col);
- window.clipBoardData = clip;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn2_letter3" style="left:924px; top:90px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_f102h.attribute("selectionmode") = "free";
- // grd_i100.attribute("selectionmode") = "free";
- // grd_f103h.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <datagrid id="grd_f103h" nodeset="/root/main/grid/gridlist103/f103h" caption="내원유형^접수일자^청구번호^접수번호^명일련^반송코드^반송사유^비고" colsep="^" colwidth="55, 76, 76, 57, 46, 65, 270, 225" dataheight="23" ellipsis="true" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:285px; top:398px; width:909px; height:199px; ">
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="rtnrsncd" style="text-align:center; "/>
- <col ref="rtnrsndesc" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0456list/P0456">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rem" type="inputbutton" style="text-align:center; "/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.setValue("/root/main/list02/rem", grd_f103h.valueMatrix(grd_f103h.row,grd_f103h.col));
-
- modal("SPPIE00200", "", "400", "400" ,"", "/root/main/list02/rem", "/root/send/textno");
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <button id="button5" class="btn2_letter3" style="left:978px; top:90px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_f102h.attribute("selectionmode") = "bycol";
- // grd_i100.attribute("selectionmode") = "bycol";
- // grd_f103h.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:1032px; top:90px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_f102h.attribute("selectionmode") = "byrow";
- // grd_i100.attribute("selectionmode") = "byrow";
- // grd_f103h.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:1087px; top:90px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "F010_2", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_f102h.saveExcel(fileName, "sheetname:접수반송증내역", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" style="left:1087px; top:373px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "F010_3", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_f103h.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <button id="button26" class="btn2_letter2" style="left:1152px; top:90px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/report/grid/gridlist102");
- model.makeNode("/root/report/grid/gridlist102");
-
- // 보고서에 들어갈 내용 담기
- for (var i = 1; i < grd_f102h.rows; i++) {
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/appflagdesc", grd_f102h.valueMatrix(i, grd_f102h.colRef("appflagdesc"))); //신청구분
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ioflag", grd_f102h.valueMatrix(i, grd_f102h.colRef("ioflag"))); //내원유형
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/acptdd", grd_f102h.valueMatrix(i, grd_f102h.colRef("acptdd"))); //접수일자
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/flag", grd_f102h.valueMatrix(i, grd_f102h.colRef("flag"))); //접수,반송구분
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ordym", grd_f102h.valueMatrix(i, grd_f102h.colRef("ordym"))); //진료년월
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/insuflag", grd_f102h.labelMatrix(i, grd_f102h.colRef("insuflag"))); //보험자종별
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ordfildcd", grd_f102h.labelMatrix(i, grd_f102h.colRef("ordfildcd"))); //분야
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/clamflag", grd_f102h.labelMatrix(i, grd_f102h.colRef("clamflag"))); //청구구분
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/clamno", grd_f102h.valueMatrix(i, grd_f102h.colRef("clamno"))); //청구번호
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/acptno", grd_f102h.valueMatrix(i, grd_f102h.colRef("acptno"))); //접수번호
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/clamcnt", grd_f102h.valueMatrix(i, grd_f102h.colRef("clamcnt"))); //청구건수
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/medcaretotamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("medcaretotamt"))); //총진료비
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ownbamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("ownbamt"))); //본인부담금
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/clamamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("clamamt"))); //청구금액
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ownbmaxexamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("ownbmaxexamt"))); //상한액
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/suppamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("suppamt")));//지원금
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/handcaprfund", grd_f102h.valueMatrix(i, grd_f102h.colRef("handcaprfund"))); //장애인금액
- model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/subtamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("subtamt")));//대불금
- }
-
- exeReportPreview("RPPIE00810", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:1152px; top:373px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPIE00820", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="btn_enter1" class="btn2_letter15" visibility="hidden" style="left:20px; top:145px; width:240px; height:19px; ">
- <caption>[인풋박스]접수년월로 포커스이동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setFocus("ipt_toacptym");
- ]]>
- </script>
- </button>
- <button id="btn_enter2" class="btn2_letter16" visibility="hidden" style="left:30px; top:155px; width:240px; height:19px; ">
- <caption>[인풋박스]환자유형으로 포커스이동</caption>
- <!-- - 2007.05.30 / 화면수정 / 다음 인풋박스로 이동하기위한 [Enter] 이벤트 핸들러 -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 청구번호가 아닌 조회 기간으로 분야를 획득하도록 수정해야 한다.
- model.setValue("/root/send/clamfild","");
- // 2007.10.12 submit 변경
- // submit("TRPIE00802");
- // submit("TRPIE00803");
-
- model.setFocus("cmb_clamfield");
-
- // model.setFocus("ipt_clamno");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter16" visibility="hidden" style="left:40px; top:165px; width:196px; height:19px; ">
- <caption>[인풋박스]환자유형으로 포커스이동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/clamfild","");
-
- submit("TRPIE00802");
-
- model.setFocus("cmb_clamfield");
- ]]>
- </script>
- </button>
- <!-- ########## 산재추가2 시작 JHP 2008.10.07 ########## -->
- <!-- ########## 산재추가2 완료 JHP 2008.10.07 ########## -->
- <caption id="caption5" class="tit_2" style="left:5px; top:95px; width:150px; height:13px; ">접수반송증1(F010.1)</caption>
- <!-- ########## 산재추가7 시작 JHP 2008.10.22 ########## -->
- <button id="button9" class="btn2_letter10" style="left:790px; top:90px; width:130px; height:19px; ">
- <caption>월별진료비 입금내역</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send2/clamno",grd_f102h.valueMatrix(grd_f102h.row, grd_f102h.colRef("clamno")));
-
- var insukind = grd_f102h.valueMatrix(grd_f102h.row, grd_f102h.colRef("clamtypecd"));
-
- if ( insukind == "1" ) insukind = "11";
- if ( insukind == "4" ) insukind = "21";
- if ( insukind == "6" ) insukind = "41";
- if ( insukind == "8" ) insukind = "31";
-
- model.setValue("/root/send2/insukind",insukind);
- model.setValue("/root/send2/termflag","4");
-
- open("SMPIF31400", "1", "10", "10", "SMPIF31400", "/root/send2", "/root/send", "", "");
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter3" style="left:925px; top:373px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // grd_f102h.attribute("selectionmode") = "free";
- // grd_i100.attribute("selectionmode") = "free";
- grd_f103h.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="button15" class="btn2_letter3" style="left:979px; top:373px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // grd_f102h.attribute("selectionmode") = "bycol";
- // grd_i100.attribute("selectionmode") = "bycol";
- grd_f103h.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter3" style="left:1033px; top:373px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // grd_f102h.attribute("selectionmode") = "byrow";
- // grd_i100.attribute("selectionmode") = "byrow";
- grd_f103h.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0px; top:610px; width:1195px; height:150px; ">
- <caption id="caption4" class="tit_2" style="left:0px; top:8px; width:150px; height:13px; ">
- <![CDATA[산재접수반송증(I100)]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (group4.attribute("top") == "610" || group4.attribute("top") == "610px") {
- group4.attribute("top") = "390px";
- group4.attribute("height") = "370px";
- grd_i100.attribute("height") = "337px";
- grd_f101h.attribute("height") = "255px";
- } else {
- group4.attribute("top") = "610px";
- group4.attribute("height") = "150px";
- grd_i100.attribute("height") = "117px";
- grd_f101h.attribute("height") = "481px";
- }
-
- model.refresh();
- ]]>
- </script>
- </caption>
- <line id="line4" class="line_1" style="x1:0px; y1:23px; x2:1195px; y2:23px; "/>
- <datagrid id="grd_i100" nodeset="/root/main/grid/gridlist100/i100" caption="접수구분^진료년월^내원유형^집계형태^청구번호^접수반송구분^통지일자^접수번호^청구건수계^청구액계^반송사유^참조란^서식번호^의료기관코드" colsep="^" colwidth="84, 63, 62, 59, 77, 84, 64, 110, 73, 90, 66, 170, 67, 93" dataheight="23" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:28px; width:1195px; height:117px; ">
- <col disabled="true" ref="acptflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0273list/P0273">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordym" format="yyyy/mm" style="text-align:center; "/>
- <col ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0028list/P0028">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="sumtypecd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0458list/P0458">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamno" style="text-align:center; "/>
- <col disabled="true" ref="acptrtnflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0275list/P0275">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="notidd" format="yy/mm/dd" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="clamcntsum" format="#,###" style="text-align:right; "/>
- <col ref="clamamtsum" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="sendresncd" style="text-align:left; "/>
- <col ref="rem" style="text-align:left; "/>
- <col ref="docuno" style="text-align:center; "/>
- <col ref="healinstcd" style="text-align:center; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_i100.isCell(event.target) && grd_i100.mouseRow >= grd_i100.fixedrows) {
- setPopupMenu("grd_i100", false, "/root/popupdata/popupmenu/grd_i100/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button7" class="btn2_letter4" style="left:1129px; top:2px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "I100", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_i100.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
-
- // var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
- // // 그리드 제목을 선택하면 저장이 안된다.
- // if (grd_i100.rows == 1) {
- // return;
- // }
- //
- // var fileName = window.fileDialog("save", ",", false, "I100-산재접수반송증_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- //
- // if (fileName != "")
- // {
- // grd_i100.saveExcel(fileName, "SheetName", true, true, "", "", "");
- // }
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:967px; top:2px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // grd_f102h.attribute("selectionmode") = "free";
- grd_i100.attribute("selectionmode") = "free";
- // grd_f103h.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" style="left:1021px; top:2px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // grd_f102h.attribute("selectionmode") = "bycol";
- grd_i100.attribute("selectionmode") = "bycol";
- // grd_f103h.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter3" style="left:1075px; top:2px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // grd_f102h.attribute("selectionmode") = "byrow";
- grd_i100.attribute("selectionmode") = "byrow";
- // grd_f103h.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- </group>
- <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; ">접수반송증조회(F010)</caption>
- </group>
- <!-- ########## 산재추가7 완료 JHP 2008.10.22 ########## -->
- <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; "/>
- <button id="button8" class="btn4_letter3" visibility="visible" style="left:1127px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|