12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- 2013.07.22/ 최초작성 / 박황백
- -->
- <?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>자동차보험 접수및반송증조회(N010)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <gridlist101>
- <n101h>
- <acptdd/>
- <appflag/>
- <appflagdesc/>
- <verflag/>
- <docuno/>
- <corpmark/>
- <suppcd/>
- <rem/>
- <clamcnt/>
- </n101h>
- </gridlist101>
- <gridlist102>
- <n102h>
- <ioflag/>
- <acptdd/>
- <clamno/>
- <acptno/>
- <insuflag/>
- <flag/>
- <reqinstmark/>
- <acptflag/>
- <clamcnt/>
- <clamamt/>
- <ordym/>
- <clamflag/>
- <totordamt/>
- <ownbamt/>
- </n102h>
- </gridlist102>
- <gridlist103>
- <n103h>
- <ioflag/>
- <acptdd/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <rtnrsncd/>
- <rem/>
- </n103h>
- </gridlist103>
- </grid>
- <tmp>
- <gridlist101>
- <n101h>
- <acptdd/>
- <appflag/>
- <appflagdesc/>
- <verflag/>
- <docuno/>
- <corpmark/>
- <suppcd/>
- <rem/>
- <clamcnt/>
- </n101h>
- </gridlist101>
- <gridlist102>
- <n102h>
- <appflagdesc/>
- <acptdd/>
- <clamno/>
- <acptno/>
- <insuflag/>
- <flag/>
- <reqinstmark/>
- <acptflag/>
- <clamcnt/>
- <clamamt/>
- <ordym/>
- <clamflag/>
- <totordamt/>
- <ownbamt/>
- <depoamt/>
- <clamtypecd/>
- </n102h>
- </gridlist102>
- <gridlist103>
- <n103h>
- <appflagdesc/>
- <acptdd/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <rtnrsncd/>
- <rem/>
- </n103h>
- </gridlist103>
- </tmp>
- <list02>
- <rem/>
- </list02>
- </main>
- <send>
- <fromacptym/>
- <toacptym/>
- <termflag/>
- <srchnum/>
- <ioflag/>
- <numflag/>
- <appflag/>
- <acptdd/>
- <clamdgfrom/>
- <clamdgto/>
- <clamym/>
- <clamflag/>
- <summary/>
- <insucmno/>
- </send>
- <popupdata>
- <popupmenu>
- <grd_n102h>
- <item>
- <name>개인별미수관리</name>
- <func>fCallindspec</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>접수반송증 삭제</name>
- <func>fDeleteN010</func>
- </item>
- </grd_n102h>
- </popupmenu>
- </popupdata>
- <init>
- <P0255list>
- <P0255>
- <cdid/>
- <cdnm/>
- </P0255>
- </P0255list>
- <P0103list>
- <P0103>
- <cdid/>
- <cdnm/>
- </P0103>
- </P0103list>
- <P0274list>
- <P0274>
- <cdid/>
- <cdnm/>
- </P0274>
- </P0274list>
- <PK037list>
- <PK037>
- <cdid/>
- <cdnm/>
- </PK037>
- </PK037list>
- <P0456list>
- <P0456>
- <cdid/>
- <cdnm/>
- </P0456>
- </P0456list>
- <clamdg/>
- <clamdgfrom/>
- <clamdgto/>
- <PK032list>
- <PK032>
- <cdid/>
- <cdnm/>
- </PK032>
- </PK032list>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- </init>
- <hidden>
- <smpif20100>
- <ioflag/>
- <dateflag/>
- <fromdd/>
- <todd/>
- <insukind/>
- <clamflag/>
- <clamdg/>
- <ordfildcd/>
- <acptno/>
- </smpif20100>
- </hidden>
- <report>
- <grid>
- <gridlist102>
- <n102h>
- <appflagdesc/>
- <acptdd/>
- <clamno/>
- <insuflag/>
- <flag/>
- <reqinstmark/>
- <acptflag/>
- <clamcnt/>
- <clamamt/>
- <ordym/>
- <clamflag/>
- <ordfildcd/>
- <totordamt/>
- <ownbamt/>
- </n102h>
- </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();
- ]]>
- </script>
- <submission id="TRPIE05100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grid"/>
- <submission id="TRPIE05101" 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="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </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" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function Node_Init() {
- 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("TRPIE05100");
- }else{
- rdo_numflag.select(1); // 조회구분 1.접수번호
- }
- }
-
-
- // 초기화
- function fInitialize() {
-
- model.resetInstanceNode("/root/send");
-
- 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("P0103"), new Array("/root/init/P0103list"));
- zbcfGetCodeList(new Array("P0274"), new Array("/root/init/P0274list"));
- zbcfGetCodeList(new Array("P0456"), new Array("/root/init/P0456list"));
- zbcfGetCodeList(new Array("P0155"), new Array("/root/init/P0155list"));
- pamfGetCodeList(new Array( "PK032" ), new Array("/root/init/PK032list" ,"/root/init/PK032list" ));
- pamfGetCodeList(new Array( "PK037" ), new Array("/root/init/PK037list" ,"/root/init/PK037list" ));
- model.refresh();
- }
-
- // 개인별미수관리
- function fCallindspec() {
- if (grd_n102h.row >= grd_n102h.fixedRows ) {
- var row = grd_n102h.row;
-
- model.setValue("/root/hidden/smpif20100/ioflag", model.getValue("/root/main/grid/gridlist102/n102h/ioflag")); //내원구분
- model.setValue("/root/hidden/smpif20100/dateflag", "2"); //진료년월 구분자(2)
- model.setValue("/root/hidden/smpif20100/fromdd", model.getValue("/root/main/grid/gridlist102/n102h/ordym")); //진료년월
- model.setValue("/root/hidden/smpif20100/todd", model.getValue("/root/main/grid/gridlist102/n102h/ordym"));//진료년월
- model.setValue("/root/hidden/smpif20100/insukind", model.getValue("/root/main/grid/gridlist102/n102h/insuflag"));//유형
- model.setValue("/root/hidden/smpif20100/clamflag", model.getValue("/root/main/grid/gridlist102/n102h/clamflag"));//청구구분(워,추,재)
- model.setValue("/root/hidden/smpif20100/clamdg", model.getValue("/root/main/grid/gridlist102/n102h/clamdg"));//청구차수
- model.setValue("/root/hidden/smpif20100/acptno", model.getValue("/root/main/grid/gridlist102/n102h/acptno"));//접수번호
-
- modal("SMPIF20100", "", "10", "10", "SMPIF20100", "/root/hidden/smpif20100" ,"/root/hidden/smpif20100", "", "");
- }
- }
-
- // 접수반송증 삭제
- function fDeleteN010() {
-
- if (grd_n102h.row >= grd_n102h.fixedRows ) {
-
- // 1. 삭제할 접수반송증 데이터를 만든다.
- var rows = grd_n102h.selectedRows;
- var cnt = 1;
- for (var i = 0; i < rows; i++) {
- var sel = grd_n102h.selectedRow(i);
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "n010");
- 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/n102h[" + sel + "]/appflag"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptdd", model.getValue("/root/main/grid/gridlist102/n102h[" + sel + "]/acptdd"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/grid/gridlist102/n102h[" + sel + "]/clamno"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/insuflag", model.getValue("/root/main/grid/gridlist102/n102h[" + sel + "]/insuflag"));
- model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/flag", model.getValue("/root/main/grid/gridlist102/n102h[" + 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 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("TRPIE05100");
- }
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pageheight="650" guideline="1,1193;" 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="caption7" style="left:290px; top:29px; width:15px; height:15px; ">~</caption>
- <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");
- ]]>
- </script>
- </input>
- <select1 id="rdo_term" ref="/root/send/termflag" class="radio_search" appearance="full" cols="1" rows="2" overflow="visible" 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);
-
- 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>
- <caption id="caption10" class="search_name" style="left:460px; top:29px; width:86px; height:17px; ">내원유형 :</caption>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:549px; top:31px; 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" appearance="full" cols="1" rows="2" overflow="visible" 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("TRPIE05100");
- }
- else if ((leng == 7 || leng == 15) && rdo_numflag.value == 2) {
- model.setValue("root/send/srchnum",str);
-
- // 접수번호로 submit
- submit("TRPIE05100");
- }
- ]]>
- </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>
- <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:20px; width:88px; height:17px; ">청구구분 :</caption>
- <select1 id="combo1" ref="/root/send/clamflag" class="combo_search" navindex="3" appearance="minimal" style="left:822px; top:21px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/send/insucmno" class="combo_search" appearance="minimal" style="left:822px; top:46px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/PK032list/PK032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:730px; top:45px; width:88px; height:17px; ">보험회사 :</caption>
- </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(N010.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(N010.3)</caption>
- <line id="line2" class="line_1" style="x1:285px; y1:393px; x2:1194px; y2:393px; "/>
- <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_n102h.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <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_n102h.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_n102h.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, "N010_2", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_n102h.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, "N010_3", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_n103h.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_n102h.rows; i++) {
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/appflagdesc", grd_n102h.valueMatrix(i, grd_n102h.colRef("appflagdesc"))); //신청구분
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/ioflag", grd_n102h.valueMatrix(i, grd_n102h.colRef("ioflag"))); //내원유형
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/acptdd", grd_n102h.valueMatrix(i, grd_n102h.colRef("acptdd"))); //접수일자
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/flag", grd_n102h.valueMatrix(i, grd_n102h.colRef("flag"))); //접수,반송구분
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/ordym", grd_n102h.valueMatrix(i, grd_n102h.colRef("ordym"))); //진료년월
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/insuflag", grd_n102h.labelMatrix(i, grd_n102h.colRef("insuflag"))); //보험자종별
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/ordfildcd", grd_n102h.labelMatrix(i, grd_n102h.colRef("ordfildcd"))); //분야
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/clamflag", grd_n102h.labelMatrix(i, grd_n102h.colRef("clamflag"))); //청구구분
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/clamno", grd_n102h.valueMatrix(i, grd_n102h.colRef("clamno"))); //청구번호
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/acptno", grd_n102h.valueMatrix(i, grd_n102h.colRef("acptno"))); //접수번호
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/clamcnt", grd_n102h.valueMatrix(i, grd_n102h.colRef("clamcnt"))); //청구건수
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/totordamt", grd_n102h.valueMatrix(i, grd_n102h.colRef("medcaretotamt"))); //총진료비
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/ownbamt", grd_n102h.valueMatrix(i, grd_n102h.colRef("ownbamt"))); //본인부담금
- model.makeValue("/root/report/grid/gridlist102/n102h["+i+"]/clamamt", grd_n102h.valueMatrix(i, grd_n102h.colRef("clamamt"))); //청구금액
- }
-
- 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>
- <caption id="caption5" class="tit_2" style="left:5px; top:95px; width:150px; height:13px; ">접수반송증1(N010.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_n102h.valueMatrix(grd_n102h.row, grd_n102h.colRef("clamno")));
-
- var insukind = grd_n102h.valueMatrix(grd_n102h.row, grd_n102h.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_n102h.attribute("selectionmode") = "free";
- // grd_i100.attribute("selectionmode") = "free";
- grd_n103h.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_n102h.attribute("selectionmode") = "bycol";
- // grd_i100.attribute("selectionmode") = "bycol";
- grd_n103h.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_n102h.attribute("selectionmode") = "byrow";
- // grd_i100.attribute("selectionmode") = "byrow";
- grd_n103h.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <datagrid id="grd_n101h" nodeset="/root/main/grid/gridlist101/n101h" 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_n101h.valueMatrix(grd_n101h.row,grd_n101h.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="insucmno" style="text-align:center; "/>
- <col ref="appflagdesc"/>
- <col ref="appflag" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rtn = null;
-
- if (grd_n101h.isCell(event.target) && grd_n101h.row >= grd_n101h.fixedRows) {
- var row = grd_n101h.selectedRow(0);
-
- var acptdd = grd_n101h.textmatrix(row, 1); // 접수일자
- var appflag = grd_n101h.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("TRPIE05101");
- //내용: 구조화를 갖춘 인스턴스 트리에 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_n102h.rebuild();
- grd_n103h.rebuild();
- }
-
- model.refresh();
- // grd_n102h.colStyle(9,"data","background-color") = "#ffffcc";
- // grd_n102h.colStyle(10,"data","background-color") = "#ffff99";
- // grd_n102h.colStyle(11,"data","background-color") = "#ffff88";
- // grd_n102h.colStyle(12,"data","background-color") = "#ffff77";
- // grd_n102h.colStyle(13,"data","background-color") = "#ffff66";
- // grd_n102h.colStyle(14,"data","background-color") = "#ffff55";
- // grd_n102h.colStyle(15,"data","background-color") = "#ffff44";
- // grd_n102h.colStyle(16,"data","background-color") = "#ffff33";
- // grd_n102h.colStyle(17,"data","background-color") = "#ffff22";
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_n101h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_n102h" nodeset="/root/main/grid/gridlist102/n102h" 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:284px; top:110px; 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/P0103list/P0103">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <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:650px; top:23px; width:65px; height:23px; text-align:right; "/>
- <col ref="totordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamamt" format="(-)#,###" style="text-align:right; "/>
- <col disabled="true" ref="acptflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/PK037list/PK037">
- <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"/>
- <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_n101h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_n102h.row;
-
- var acptno = grd_n102h.valueMatrix(row, grd_n102h.colRef("acptno"));
-
- for (var i = 1; i < grd_n103h.rows; i++) {
- if (grd_n103h.valueMatrix(i,grd_n103h.colRef("acptno")) == acptno) {
- grd_n103h.rowhidden(i) = false;
- }
- else {
- grd_n103h.rowhidden(i) = true;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_n102h.isCell(event.target) && grd_n102h.mouseRow >= grd_n102h.fixedrows) {
- setPopupMenu("grd_n102h", false, "/root/popupdata/popupmenu/grd_n102h/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_n102h.isCell(event.target) && grd_n102h.row >= grd_n102h.fixedRows) {
- var row = grd_n102h.row;
- var col = grd_n102h.col;
- var clip = grd_n102h.labelMatrix(row, col);
- window.clipBoardData = clip;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_n103h" nodeset="/root/main/grid/gridlist103/n103h" 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_n103h.valueMatrix(grd_n103h.row,grd_n103h.col));
-
- modal("SPPIE00200", "", "400", "400" ,"", "/root/main/list02/rem", "/root/send/textno");
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </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; ">자보접수반송증조회(N010)</caption>
- </group>
- <!-- ########## 산재추가7 완료 JHP 2008.10.22 ########## -->
- <group id="grp_btn" scroll="auto" style="left:0px; top:617px; 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>
|