123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPPAO00600_현금환불승인.xrw
- * 설 명 : 본화면은 공통에 포함되며 현금환불시 데이터를 기록할때 사용된다.
- 팝업으로 사용되며 팝업 호출시 환자번호 ~ 진료의까지의 기본 데이터를 받게되고
- 받은 데이터는 인적사항에 자동으로 셋팅된다.
- 사용자는 환불금액,일자,시간, 환불자,관계,전화번호를 입력받고 마지막으로 서명을 받게된다.
- 저장버튼을 누르게되면 자동으로 저장되고 이력이 자동으로 조회된다.
- * 설 계 자 : 박승만
- * 작 성 자 : 이성인
- * 작 성 일 : 2009.01.08
- * 수정이력 :
- * 기 타 :
- -->
- <?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>환불승인</xhtml:title>
- <model id="model1">
- <![CDATA[/>]]>
- <instance id="instance1">
- <root xmlns="">
- <send>
- <srchpid/>
- <srchfromdd/>
- <srchtodd/>
- <srchflag/>
- <instcd/>
- <histyn/>
- <dataflag/>
- <patinfosrchflag/>
- </send>
- <main>
- <rtnlist>
- <rtndd/>
- <rtntm/>
- <rtnamt/>
- <orddd/>
- <orddeptcd/>
- <fstrgstrid/>
- <rtnstst/>
- <ordtype/>
- <insukind/>
- <rtnkind/>
- <orddrnm/>
- <orddrid/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <hometel/>
- <mpphontel/>
- <rtnrid/>
- <rtnrrela/>
- <rtnrtel/>
- <elctsigncnts/>
- <rtnresn/>
- <remfact/>
- <instcd/>
- <cretno/>
- <seqno/>
- <lastupdtrid/>
- <lastupdtdt/>
- <elctsignkey/>
- </rtnlist>
- <rtninfo>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <hometel/>
- <mpphontel/>
- <orddd/>
- <orddeptcd/>
- <orddrid/>
- <rtnamt/>
- <rtndd/>
- <rtntm/>
- <rtnrid/>
- <rtnrrela/>
- <rtnrtel/>
- <remfact/>
- <instcd/>
- <cretno/>
- <elctsignkey>-</elctsignkey>
- <elctsigncnts>-</elctsigncnts>
- <seqno/>
- <dataflag/>
- <insukind/>
- <ordtype/>
- <rtnkind/>
- </rtninfo>
- <usgeflag/>
- </main>
- <init>
- <P0016list/>
- <P0008list/>
- <P0001list/>
- <P0032list/>
- <P6591list/>
- </init>
- <hidden>
- <session/>
- </hidden>
- <tmp>
- <patinfo/>
- <editmodeyn/>
- </tmp>
- <comport/>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPAO00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rtnlist"/>
- <submission id="TXPAO00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rtninfo" resultref="/root/main/rtnlist"/>
- <submission id="TRPAO00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp/patinfo"/>
- <submission id="TRZSU10117" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" 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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //사인패드의 기기가 다르므로
- //pamfGetCodeList(new Array("P0032"), new Array("/root/init/P0032list"));//사인패드의 공통코드
- //setParameter("signpad_kind", model.getValue("/root/init/P0032list/P0032[cdid = '50']/cdnm"));
-
- fsignpad_init();
- /*
- if(getParameter("signpad_kind") == "ep-661" ) {
- //이지패드에서 빼서 앞에다 둬야지 인식이 잘된다.
- KiccDSCX1.Port = 11;
- KiccDSCX1.Speed = 57600;
- KiccDSCX1.LineType = 0;
- kocces_grup.attribute("visibility") = "hidden";
- kicc_grup.attribute("visibility") = "visible";
- SignPad_img.attribute("visibility") = "hidden";
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
- SignPad.GetSetSize("240", "120");
- kocces_grup.attribute("visibility") = "visible";
- kicc_grup.attribute("visibility") = "hidden";
- SignPad_img.attribute("visibility") = "hidden";
-
- }
- if(getParameter("signpad_kind") == "kis-sp30" ) {
- kis_sp30.SetPortNo(6);
- kis_sp30.SetBaudRate(57600);
-
- kocces_grup.attribute("visibility") = "hidden";
- kicc_grup.attribute("visibility") = "hidden";
- kis_grup.attribute("visibility") = "visible";
- SignPad_img.attribute("visibility") = "hidden";
- }
- */
-
- var sUserInfosS = getUserInfos();
- var UserInfosS_Array = sUserInfosS.split("|");
- model.makeValue("/root/tmp/instcd", UserInfosS_Array[6]);
-
- fCodeSet(); //공통코드
- fDefaultSet(); //화면의 기본데이터 셋팅
- fPopupSet(); //팝업일때 데이터 셋팅
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- fsignpad_close();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fPopupSet(){
- //만약 상태가 팝업이라면
- if( checkOpener() ){
- setParameter("SPPAO00600_RTN","");
- var SPPAO00600_PARM = opener.javascript.getParameter("SPPAO00600_PARM");
- var array_parm = SPPAO00600_PARM.split("▦");
- gUsgeflag = array_parm[0]; //1.외래등록, 외래수납,입원수납 에서 환불내역 조회용 2.환불수납후 영수증을 위해 호출
- gInstcd = array_parm[1];//근무지 기관코드
- if(gInstcd == null){
- gInstcd = model.getValue("/root/tmp/instcd");
- }
-
- //근무지 기관코드
- gPid = array_parm[2];
- gHngnm = array_parm[3];
- gRrgstno1 = array_parm[4];
- gRrgstno2 = array_parm[5];
- gHometel = array_parm[6];
- gMpphontel = array_parm[7];
- gOrddd = array_parm[8];
- gCretno = array_parm[9];
- gOrddeptcd = array_parm[10];
- gOrddrid = array_parm[11];
- gRtnamt = array_parm[12];
- gInsukind = array_parm[13];
- gOrdtype = array_parm[14];
-
- setParameter("SPPAO00600_PARM","");
- model.setValue("/root/main/usgeflag" , gUsgeflag);
- model.setValue("/root/main/rtninfo/instcd" , gInstcd);
- model.setValue("/root/main/rtninfo/pid" , gPid );
- model.setValue("/root/main/rtninfo/hngnm" , gHngnm );
- model.setValue("/root/main/rtninfo/rrgstno1" , gRrgstno1 );
- model.setValue("/root/main/rtninfo/rrgstno2" , gRrgstno2 );
- model.setValue("/root/main/rtninfo/hometel" , gHometel );
- model.setValue("/root/main/rtninfo/mpphontel" , gMpphontel ); //.setReplaceWord("-","")
- model.setValue("/root/main/rtninfo/orddd" , gOrddd );
- model.setValue("/root/main/rtninfo/cretno" , gCretno ); //진료의 공통키 이므로 받는다.
- model.setValue("/root/main/rtninfo/orddeptcd" , gOrddeptcd );
- model.setValue("/root/main/rtninfo/orddrid" , gOrddrid );
- model.setValue("/root/main/rtninfo/rtnrid" , gHngnm ); //환불자를 기본으로 환자로 셋팅
- model.setValue("/root/main/rtninfo/rtnrtel" , gMpphontel ); //환불자전화번호를 기본으로 환불자로 셋팅
- model.setValue("/root/main/rtninfo/rtnamt" , gRtnamt );
- model.setValue("/root/main/rtninfo/insukind" , gInsukind );
- model.setValue("/root/main/rtninfo/ordtype" , gOrdtype );
- model.setValue("/root/send/instcd" , gInstcd );
- ipt_srchpid.value = gPid;
-
- //다없으면 첫번째if문을 탄다
- if(gOrddd =="" || gOrddeptcd==""){
- fPatInfoSrch("otpt");
- }
-
- if(gUsgeflag == "1"){
- var srchpid = ipt_srchpid.currentText;
- if(srchpid.length > 0){
- btn_srch.dispatch("DOMActivate");
- }
- //2.일때는 환불을 하기 위해서이므로 인적사항에 셋팅
- }else if(gUsgeflag == "2"){
- //fEasyPadCall(); //이지패드콜
- fsignpad_request(model.getValue("/root/main/rtninfo/rtnamt"));
- }
- cmb_orddeptcd.dispatch("xforms-value-changed");
- model.setFocus("btn_save");
- }
- }
-
- function fCodeSet(){
- zbcfGetCodeList(
- new Array("P0016","P0008","P0001"),
- new Array("/root/init/P0016list","/root/init/P0008list" ,"/root/init/P0001list")
- );
-
- // 환불종류를 기초코드로 변경(2016/11/10)
- pamfGetCodeList(new Array("P6591"), new Array("/root/init/P6591list"));
- // 환불종류를 기초코드로 변경(2016/11/10)
- //addComboItem로 서브밋이 되면 5자리 값으로 들어가게된다.
- addComboItem( "cmb_insukind" , "-", "above");
- model.setValue("/root/init/P0008list/P0008/cdid","-");
- model.setValue("/root/init/P0008list/P0008/cdnm","-");
- //진료과코드 진료의사ID 조회
- zsdfGetInOutOrdDeptList( model.getValue("/root/tmp/instcd"), "/root/init/orddeptcd/orddeptcdlist", 'dispseq', 'asc', getCurrentDate() );
-
- model.setValue("/root/init/orddeptcd/orddeptcdlist/dept/deptcd","-");
- model.setValue("/root/init/orddeptcd/orddeptcdlist/dept/depthngnm","-");
- }//fCodeSet end
-
- function fSave(flag)
- {
- if(fChkValue()== false){return};
- /*
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.ReqInit();
- KiccDSCX1.Open = false;
- }
- */
- model.makeValue("/root/main/rtninfo/dataflag", flag);
- var srchpid = model.getValue("/root/main/rtninfo/pid");
-
- if(submit("TXPAO00601",false)==false){
- messageBox("데이터 입력 실패.", "E999");
- return false;
- }else{
- messageBox("정상적으로 처리 되었습니다.", "E999");
- fsignpad_close();
- if(flag == "I") window.close();
- }
- /*
- if(getParameter("signpad_kind") == "sign-1000" ) {
- SignPad.SPclose();
- window.close();
- }
-
- if(getParameter("signpad_kind") == "ep-661" ) {
- model.setValue("/root/send/srchfromdd",model.getValue("/root/main/rtninfo/rtndd"));
- model.setValue("/root/send/srchtodd",model.getValue("/root/main/rtninfo/rtndd"));
- model.setValue("/root/send/srchpid", srchpid);
- fRtnSrch(srchpid);
- //1번째 줄 자동 클릭
- grd_rtnlist.row =1;
- grd_rtnlist.dispatch("onentercell");
- grd_rtnlist.dispatch("ondblclick");
- model.setFocus("button3");
- }
- */
- }//fSave end
-
- function fEasyPadCall(){
- if(getParameter("signpad_kind") == "ep-661" ) {
- model.setValue("/root/tmp/editmodeyn","Y");//이중 수정 모드를 막기 위함.
- KiccDSCX1.Open = false;
- KiccDSCX1.Open = true;
- //초기화
- KiccDSCX1.ReqInit();
-
- var rtnamt = model.getValue("/root/main/rtninfo/rtnamt");
- if(rtnamt == null || rtnamt.getTrim() == ""){rtnamt = 0;}
- KiccDSCX1.Amount = rtnamt;//금액
- KiccDSCX1.ReqData = " 700081 ";
-
- KiccDSCX1.SignKind = 2;
- KiccDSCX1.ReqSign();
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
- model.setValue("/root/tmp/editmodeyn","Y");//이중 수정 모드를 막기 위함.
-
- // SignPad_img.attribute("visibility") = "hidden";
- // kocces_grup.attribute("visibility") = "visible";
-
- var rtn;
- var rtnamt = model.getValue("/root/main/rtninfo/rtnamt");
- if(rtnamt == null || rtnamt.getTrim() == ""){rtnamt = 0;}
- // 서명 요청하기
- rtn = SignPad.SignRequest(9, 38400, rtnamt);
- }
- }
-
- function fInit(){
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/rtnlist");
- model.resetInstanceNode("/root/main/rtninfo");
- fsignpad_init();
- /*
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.ReqInit();//사인내역 제거
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
-
- SignPad.SignRequest(9, 38400, "");
- kocces_grup.attribute("visibility") = "visible";
- SignPad_img.attribute("visibility") = "hidden";
- SignPad.SPclose();
- }
- if(getParameter("signpad_kind") == "kis-sp30" ) {
- kis_sp30.SetPortNo(6);
- kis_sp30.SetBaudRate(57600);
- kicc_grup.attribute("visibility") = "visible";
- }
- */
- }
-
- function fDefaultSet(flag){
- model.setValue("/root/comport" , "3");
- //기본 컬럼 셋팅
- model.setValue("/root/main/rtninfo/rtndd",getCurrentDate().substr(0,8));//일자
- model.setValue("/root/main/rtninfo/rtntm",(getCurrentTime()).substring(0,4));//시간
- model.setValue("/root/send/srchfromdd",getCurrentDate().substr(0,8));//일자
- model.setValue("/root/send/srchtodd",getCurrentDate().substr(0,8));//일자
- model.setValue("/root/main/rtninfo/rtnrrela","1");//본인
- model.setValue("/root/send/srchflag","rtndd")//환불이력 조회조건
- model.setValue("/root/send/histyn","N")//이력포함.
- model.setValue("/root/main/rtninfo/ordtype","O");//진료구분
- model.setValue("/root/main/rtninfo/rtnkind","R");
- model.setValue("/root/send/instcd" , model.getValue("/root/tmp/instcd"));
- model.setValue("/root/main/rtninfo/instcd", model.getValue("/root/tmp/instcd"));
- }
- function fChkValue(){
-
- if((model.getValue("/root/main/rtninfo/pid")).getTrim() == ""){messageBox("환자등록번호를 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/rtninfo/orddeptcd")).getTrim() == ""){model.setValue("/root/main/rtninfo/orddeptcd","-");}
- if((model.getValue("/root/main/rtninfo/orddrid")).getTrim() == ""){model.setValue("/root/main/rtninfo/orddrid","-");}
- if((model.getValue("/root/main/rtninfo/orddd")).getTrim() == ""){model.setValue("/root/main/rtninfo/orddd","-");}
- if((model.getValue("/root/main/rtninfo/ordtype")).getTrim() == ""){messageBox("진료구분을 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/rtninfo/insukind")).getTrim() == ""){model.setValue("/root/main/rtninfo/insukind","-");}//없을수있음.
- if((model.getValue("/root/main/rtninfo/rtndd")).getTrim() == ""){messageBox("환불일을 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/rtninfo/rtntm")).getTrim() == ""){messageBox("환불시간을 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/rtninfo/rtnrid")).getTrim() == ""){messageBox("환불자를 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/rtninfo/rtnrtel")).getTrim() == "" || (model.getValue("/root/main/rtninfo/rtnrtel")).getTrim() == "-" ){messageBox("환불자 전화번호를 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/rtninfo/rtnrrela")).getTrim() == ""){model.setValue("/root/main/rtninfo/rtnrrela","1");}//본인
- if((model.getValue("/root/main/rtninfo/rtnamt")).getTrim() == ""){messageBox("환불금액을 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/rtninfo/rtnamt")).getTrim() == "0"){
- var rtn = messageBox("금액이 0원 입니다. 내역을 저장 하시겠습니까? ", "Q999");
- if(rtn == "7"){ //아니오
- return false;
- }
- }
- if((model.getValue("/root/main/rtninfo/rtnkind")).getTrim() == ""){messageBox("환불종류를 입력하십시오", "E999"); return false;}
- var flag = model.getValue("/root/main/rtninfo/elctsigncnts");
-
- if(flag == "" || flag == "-"){
- fsignpad_save();
- model.setValue("/root/main/rtninfo/elctsignkey" , model.getValue("/root/send/elctsignkey"), true);
- model.setValue("/root/main/rtninfo/elctsigncnts" , model.getValue("/root/send/elctsigncnts") , true);
- }
- /*
- if(getParameter("signpad_kind") == "ep-661" ) {
- model.setValue("/root/main/rtninfo/elctsigncnts", KiccDSCX1.SignStr);
- model.setValue("/root/main/rtninfo/elctsignkey", KiccDSCX1.Seed);
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
- var sign;
- var pid = model.getValue("/root/main/rtninfo/pid");
- url = 'C:\\Program Files\\himed\\components\\KICC\\EasyPad\\' + pid +'.bmp'
- sign = SignPad.GetOnlyData(url);
-
- if (sign == -1){
- messageBox("사인 얻기 실패","E999","");
- return;
- }else{
- model.setValue("/root/main/rtninfo/elctsigncnts", sign);
- model.setValue("/root/main/rtninfo/elctsignkey", '-');
- }
-
- }
- */
- if((model.getValue("/root/main/rtninfo/elctsigncnts")).getTrim() == ""){
- //messageBox("서명하십시오", "E999"); return false;}
- var rtn = messageBox("서명을 하지 않았습니다. 서명없이 저장 하시겠습니까?", "Q999");
- if( rtn != '6' ){
- return false;
-
- // null 방지용
- } else {
- model.setValue("/root/main/rtninfo/elctsignkey", " ");
- model.setValue("/root/main/rtninfo/elctsigncnts", " ");
- }
- }
- }
-
- function fRtnSrch(pid)
- {
- if(pid == null || pid.getTrim() == "" ){
- messageBox("환자번호를 입력 하십시오. ", "E999");
- return;
- }
- if(model.getValue("/root/send/srchfromdd") > model.getValue("/root/send/srchtodd")){
- messageBox("조회 시작일이 종료일보다 큽니다. ", "E999");
- return;
- }
- model.setValue("/root/send/srchpid",pid);
- submit("TRPAO00602",false);
- }
-
- function fPatInfoSrch(flag){
- var srchpid = ipt_pid.currentText;
- model.setValue("/root/send/srchpid",srchpid);
- ipt_srchpid.refresh();
- if(srchpid == null || srchpid.getTrim() == "" ){
- messageBox("환자번호를 입력 하십시오. ", "E999");
- return;
- }
- model.setValue("/root/send/patinfosrchflag",flag); //ptbs환자 정보만 //otpt진료이력 포함
- if(!submit("TRPAO00603", false)){
- messageBox("환자의 인적사항이 존재하지 않습니다.","E999");
- return;
- }else{
- model.setValue("/root/main/rtninfo/pid",model.getValue("/root/tmp/patinfo/pid"));
- model.setValue("/root/main/rtninfo/hngnm",model.getValue("/root/tmp/patinfo/hngnm"));
- model.setValue("/root/main/rtninfo/rrgstno1",model.getValue("/root/tmp/patinfo/rrgstno1"));
- model.setValue("/root/main/rtninfo/rrgstno2",model.getValue("/root/tmp/patinfo/rrgstno2"));
- model.setValue("/root/main/rtninfo/hometel",model.getValue("/root/tmp/patinfo/hometel"));
- model.setValue("/root/main/rtninfo/mpphontel",model.getValue("/root/tmp/patinfo/mpphontel"));
- model.setValue("/root/main/rtninfo/orddd",model.getValue("/root/tmp/patinfo/orddd"));
- model.setValue("/root/main/rtninfo/orddeptcd",model.getValue("/root/tmp/patinfo/orddeptcd"));
- model.setValue("/root/main/rtninfo/orddrid",model.getValue("/root/tmp/patinfo/orddrid"));
- model.setValue("/root/main/rtninfo/ordtype",model.getValue("/root/tmp/patinfo/ordtype"));
- model.setValue("/root/main/rtninfo/insukind",model.getValue("/root/tmp/patinfo/insukind"));
-
- ipt_pid.refresh();opt_rrgstno1.refresh(); opt_rrgstno2.refresh();opt_hngnm.refresh();opt_hometel.refresh();opt_mpphontel.refresh();
- ipt_orddd.refresh();cmb_orddeptcd.refresh(); cmb_orddrid.refresh();cmb_ordtype.refresh();cmb_insukind.refresh();
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="790" pageheight="418" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:770px; height:387; ">
- <line id="line7" class="line_2" style="x1:1px; y1:148px; x2:363px; y2:148px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:48px; x2:363px; y2:48px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:123px; x2:363px; y2:123px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:98px; x2:363px; y2:98px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:73px; x2:363px; y2:73px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:173px; x2:363px; y2:173px; "/>
- <caption id="caption5" class="tit_2" style="left:0px; top:5px; width:111px; height:14px; ">인적사항 -v.2</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:75px; width:85px; height:23px; vertical-align:middle; ">진료일/과/의</caption>
- <input id="ipt_orddd" ref="/root/main/rtninfo/orddd" inputtype="date" style="left:88px; top:77px; width:89px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:50px; width:85px; height:23px; vertical-align:middle; ">환자명/전화</caption>
- <output id="opt_rrgstno1" ref="/root/main/rtninfo/rrgstno1" class="output_fix" style="left:240px; top:27px; width:49px; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:0px; top:125px; width:85px; height:23px; vertical-align:middle; ">환불일/시/자</caption>
- <input id="ipt_rtnamt" ref="/root/main/rtninfo/rtnamt" navindex="4" format="#,###" style="left:88px; top:177px; width:89px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=="13") {
- model.setFocus("cmb_rtnkind");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rtndd" ref="/root/main/rtninfo/rtndd" inputtype="date" style="left:88px; top:127px; width:89px; height:19px; text-align:right; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:175px; width:85px; height:23px; vertical-align:middle; ">환불금액</caption>
- <input id="ipt_rtnrid" ref="/root/main/rtninfo/rtnrid" navindex="1" style="left:270px; top:127px; width:93px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=="13") {
- model.setFocus("ipt_rtnrphontel");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_rtnrrela" ref="/root/main/rtninfo/rtnrrela" class="combo_default" navindex="3" appearance="minimal" style="left:240px; top:152px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0016list/P0016">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=="13") {
- model.setFocus("ipt_rtnamt");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="cell_1" style="left:180px; top:150px; width:58px; height:23px; vertical-align:middle; ">관 계</caption>
- <input id="ipt_rtnrphontel" ref="/root/main/rtninfo/rtnrtel" navindex="2" style="left:88px; top:152px; width:89px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=="13") {
- model.setFocus("cmb_rtnrrela");
- }
- ]]>
- </script>
- </input>
- <caption id="caption8" class="cell_1" style="left:0px; top:150px; width:85px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:262px; width:85px; height:123; vertical-align:middle; ">서 명</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:25px; width:85px; height:23px; vertical-align:middle; ">환자번호</caption>
- <input id="ipt_pid" ref="/root/main/rtninfo/pid" style="left:88px; top:27px; width:89px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- fPatInfoSrch("otpt");
- }
- ]]>
- </script>
- </input>
- <output id="opt_rrgstno2" ref="/root/main/rtninfo/rrgstno2" class="output_fix" style="left:292px; top:27px; width:71px; height:19px; "/>
- <output id="opt_hometel" ref="/root/main/rtninfo/hometel" class="output_fix" style="left:180px; top:52px; width:87px; height:19px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:363px; y2:20px; "/>
- <output id="opt_hngnm" ref="/root/main/rtninfo/hngnm" class="output_fix" style="left:88px; top:52px; width:89px; height:19px; "/>
- <output id="opt_mpphontel" ref="/root/main/rtninfo/mpphontel" class="output_fix" style="left:270px; top:52px; width:93px; height:19px; "/>
- <select1 id="cmb_orddeptcd" ref="/root/main/rtninfo/orddeptcd" class="combo_default" appearance="minimal" style="left:180px; top:77px; width:87px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/rtninfo/orddeptcd") == '-'){
- model.makeValue("/root/init/orddrid/orddridlist/user/userid","-");
- model.makeValue("/root/init/orddrid/orddridlist/user/usernm","-");
- model.setValue("/root/main/rtninfo/orddrid" ,"-");
- }else{
- zsufGetInOutOrdDeptDoctorList(model.getValue("/root/tmp/instcd") , model.getValue("/root/main/rtninfo/orddeptcd"), "/root/init/orddrid/orddridlist","dispseq", "asc", getCurrentDate());
- }
- cmb_orddrid.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddrid" ref="/root/main/rtninfo/orddrid" class="combo_default" appearance="minimal" style="left:270px; top:77px; width:93px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist/user">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption14" class="cell_1" style="left:180px; top:25px; width:57px; height:23px; vertical-align:middle; ">주민번호</caption>
- <input id="ipt_rtntm" ref="/root/main/rtninfo/rtntm" format="hh:nn" style="left:180px; top:127px; width:87px; height:19px; text-align:center; "/>
- <caption id="caption18" class="tit_2" style="left:370px; top:5px; width:111px; height:13px; ">
- <![CDATA[환불이력]]>
- </caption>
- <line id="line14" class="line_1" style="x1:368px; y1:20px; x2:758px; y2:20px; "/>
- <group id="group5" style="left:367px; top:25px; width:393px; height:70px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:391px; height:63px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:320px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = ipt_srchpid.currentText;
- fRtnSrch(pid);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <line id="line15" style="x1:310px; y1:6px; x2:310px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchpid" ref="/root/send/srchpid" maxlength="10" style="left:103px; top:8px; width:87px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- btn_srch.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption19" class="search_name" style="left:10px; top:9px; width:90px; height:17px; ">환자번호 :</caption>
- <caption id="caption20" class="search_name" style="left:10px; top:35px; width:15px; height:17px; "/>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" inputtype="date" maxlength="10" style="left:103px; top:35px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption10" style="left:194px; top:35px; width:15px; height:20px; ">~</caption>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" inputtype="date" maxlength="10" style="left:210px; top:35px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="combo1" ref="/root/send/srchflag" appearance="minimal" style="left:32px; top:35px; width:63px; height:19px; ">
- <choices>
- <item>
- <label>진료일</label>
- <value>orddd</value>
- </item>
- <item>
- <label>환불일</label>
- <value>rtndd</value>
- </item>
- </choices>
- </select1>
- <select id="checkbox1" ref="/root/send/histyn" overflow="visible" appearance="full" style="left:208px; top:10px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>이력포함</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </select>
- </group>
- <line id="line16" class="line_1" style="x1:368px; y1:90px; x2:758px; y2:90px; "/>
- <datagrid id="grd_rtnlist" nodeset="/root/main/rtnlist" caption="환불일자^시간^환불금액^진료일^진료과^등록자^상태^진료구분^보험유형^환불종류^진료의^진료의ID^환자번호^환자명^주민번호^주민번호^집전화^휴대폰^환불자^관계^전화번호^서명^환불사유^비고^instcd^cretno^일당일련번호^최종수정자^최종수정일시^elctsignkey" colsep="^" colwidth="68, 36, 57, 68, 85, 59, 46, 54, 100, 100, 100, 65, 84, 100, 44, 50, 100, 100, 100, 73, 100, 100, 100, 202, 55, 46, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:368px; top:95px; width:390px; height:290; text-align:center; ">
- <col disabled="true" ref="rtndd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="rtntm" type="output" format="hh:nn" style="text-align:center; "/>
- <col disabled="true" ref="rtnamt" type="output" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="orddd" type="output" format="yyyy-mm-dd"/>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="fstrgstrid" type="output"/>
- <col disabled="true" ref="rtnstat" type="combo">
- <choices>
- <item>
- <label>환불</label>
- <value>Y</value>
- </item>
- <item>
- <label>취소</label>
- <value>C</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="ordtype" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rtnkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/P6591list/P6591">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrnm"/>
- <col disabled="true" ref="orddrid"/>
- <col disabled="true" ref="pid" type="output"/>
- <col disabled="true" ref="hngnm" type="output"/>
- <col disabled="true" ref="rrgstno1" type="output"/>
- <col disabled="true" ref="rrgstno2" type="output"/>
- <col disabled="true" ref="hometel" type="output"/>
- <col disabled="true" ref="mpphontel" type="output"/>
- <col disabled="true" ref="rtnrid" type="output"/>
- <col disabled="true" ref="rtnrrela" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0016list/P0016">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rtnrtel" type="output"/>
- <col disabled="true" ref="elctsigncnts" type="output"/>
- <col disabled="true" ref="rtnresn" type="output"/>
- <col disabled="true" ref="remfact" type="output" style="text-align:left; "/>
- <col disabled="true" ref="instcd" type="output" visibility="hidden"/>
- <col disabled="true" ref="cretno" type="output" visibility="hidden"/>
- <col disabled="true" ref="seqno" type="output"/>
- <col disabled="true" ref="lastupdtrid" type="output" visibility="hidden"/>
- <col disabled="true" ref="lastupdtdt" type="output"/>
- <col disabled="true" ref="elctsignkey" type="output"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 이중 수정모드를 막기위함.
- /*
- if(model.getValue("/root/tmp/editmodeyn") == "Y"){
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.ReqInit();
- KiccDSCX1.Open = false;
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
- SignPad.SignRequest(9, 38400, "");
- }
- }
- */
-
- copyNodesetType("/root/main/rtninfo" ,"/root/main/rtnlist[" + grd_rtnlist.row + "]","replace");
- model.setValue("/root/main/rtninfo/seqno", model.getValue("/root/main/rtnlist["+ grd_rtnlist.row +"]/seqno"));
-
- //서명을 보여주는 부분
- fsignpad_view(model.getValue("/root/main/rtninfo/elctsignkey"),model.getValue("/root/main/rtninfo/elctsigncnts"));
- /*
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.Seed = model.getValue("/root/main/rtninfo/elctsignkey");
- KiccDSCX1.SignStr = model.getValue("/root/main/rtninfo/elctsigncnts");
- model.makeValue("/root/main/sign/signseed" , KiccDSCX1.Seed);
- model.makeValue("/root/main/sign/signstr" , KiccDSCX1.SignStr);
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
-
- var sign = model.getValue("/root/main/rtninfo/elctsigncnts");
- var pid = model.getValue("/root/main/rtninfo/pid");
- url = 'C:\\Program Files\\himed\\components\\KICC\\EasyPad\\' + pid +'.bmp'
-
- SignPad.GetBMPReal(sign,url);
-
- model.setValue("/root/main/rtninfo/elctsigncnts", sign);
-
- SignPad_img.attribute("src") = url ;
- SignPad_img.refresh();
- kocces_grup.attribute("visibility") = "hidden";
- SignPad_img.attribute("visibility") = "visible";
- }
- */
- cmb_orddeptcd.dispatch("xforms-value-changed");
- model.refresh();
-
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_rtnlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_3" style="x1:0px; y1:385px; x2:363px; y2:385px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:260px; x2:363; y2:260px; "/>
- <output id="opt_signseed" ref="/root/main/sign/signseed" visibility="hidden" style="left:5px; top:280px; width:30px; height:19px; "/>
- <output id="opt_signstr" ref="/root/main/sign/signstr" visibility="hidden" style="left:40px; top:280px; width:25px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:180px; top:175px; width:58px; height:23px; vertical-align:middle; ">환불종류</caption>
- <select1 id="cmb_rtnkind" ref="/root/main/rtninfo/rtnkind" class="combo_default" navindex="5" appearance="minimal" style="left:240px; top:177px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P6591list/P6591">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=="13") {
- model.setFocus("textarea1");
- }
- ]]>
- </script>
- </select1>
- <line id="line9" class="line_2" style="x1:0px; y1:198px; x2:363; y2:198px; "/>
- <select1 id="cmb_insukind" ref="/root/main/rtninfo/insukind" class="combo_default" appearance="minimal" style="left:240px; top:102px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_ordtype" ref="/root/main/rtninfo/ordtype" class="combo_default" appearance="minimal" style="left:88px; top:102px; width:89px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption15" class="cell_1" style="left:180px; top:100px; width:58px; height:23px; vertical-align:middle; ">보험유형</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:100px; width:85px; height:23px; vertical-align:middle; ">진료구분</caption>
- <textarea id="textarea1" ref="/root/main/rtninfo/remfact" imemode="hangul" style="left:87px; top:201px; width:276px; height:57; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:200px; width:85px; height:60; vertical-align:middle; ">비 고</caption>
- <select1 id="cmb_comport" ref="/root/comport" visibility="visible" appearance="minimal" style="left:320px; top:0px; width:41px; height:19px; ">
- <choices>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <group id="grp_report" visibility="hidden" style="left:261px; top:3px; width:55px; height:15px; "/>
- <import id="import1" src="./../../pam/pamcomnweb/xrw/SPPAO02102_전자서명입력_OCX.xrw" style="left:87px; top:263px; width:250px; height:120; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:386px; width:760px; height:28; ">
- <button id="btn_cancel" class="btn4_letter7" style="left:189px; top:3px; width:116px; height:22px; ">
- <caption>환불확인증출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- cmb_comport.attribute("visibility") = "visible";
- //콤보박스의 실제값과 보이는 값이 틀리기 때문에 인스턴스를 재 구성
- model.makeNode("/root/main/rexpert/rtninfo");
-
- copyNodesetType("/root/main/rexpert/rtninfo" ,"/root/main/rtninfo","replace");
- model.makeValue("/root/main/rexpert/rtninfo/pid",ipt_srchpid.currentText);
- model.makeValue("/root/main/rexpert/rtninfo/orddeptcd", model.getValue("/root/init/orddeptcd/orddeptcdlist/dept[deptcd = '" + model.getValue("/root/main/rexpert/rtninfo/orddeptcd") + "']/depthngnm"));
- model.makeValue("/root/main/rexpert/rtninfo/orddrid", model.getValue("/root/init/orddrid/orddridlist[cd = '" + model.getValue("/root/main/rexpert/rtninfo/orddrid") + "']/nm"));
- model.makeValue("/root/main/rexpert/rtninfo/rtnrrela", model.getValue("/root/init/P0016list/P0016[cdid = '" + model.getValue("/root/main/rexpert/rtninfo/rtnrrela") + "']/cdnm"));
- /*
- var sPid = ipt_pid.currentText;
- var sSignName =sPid ;
- var sSignFolder = "C:\\Program Files\\himed\\components\\KICC\\EasyPad\\" +sSignName + ".bmp";
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.BmpSaveToFile ("C:\\Program Files\\himed\\components\\KICC\\EasyPad\\" +sSignName + ".bmp"); // pid_ 날짜
- }
- model.makeValue("/root/main/rexpert/rtninfo/signimg", sSignFolder);
- */
- var pCond = "PRINT";
- var sComprot = model.getValue("/root/comport");
-
- var sPrintYN = "true";
- var sAutoCloseYN = "true";
- var sViewYN = "grp_report";
-
- exeReportPreview("RPPAO00600", "XMLSTR" , "" , "" , sPrintYN , "", "", "", "", sAutoCloseYN, "", "", sComprot);
-
- //exeReportPreview("RPPAO00600", "XMLSTR", "", "", "", "", "", "", "", "true", "", "", "", "", "", "", "", "", "", "", "");
-
- //exeReportPreview("RPPAO00600", "XMLSTR", "", "", "true", "", "", "", "", "true", "", "", "3", "", "", "", "", "", "", "", "");
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter8" disabled="false" style="left:307px; top:3px; width:56px; height:22px; ">
- <caption>신규 및 이력 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = messageBox("내역을 저장 하시겠습니까? ", "Q999");
- if(rtn == "7"){ //아니오
- return;
- }else if(rtn == "6"){
- fSave("I");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter3" visibility="visible" style="left:2px; top:3px; width:68px; height:22px; ">
- <caption>재서명</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fEasyPadCall();
- //ready 함수에 동일 초기화 함수 호출로 주석처리함(2017/11/22 이정택)
- //fsignpad_init();
- //ready 함수에 동일 초기화 함수 호출로 주석처리함(2017/11/22 이정택)
-
- model.setValue("/root/main/rtninfo/elctsignkey" , "");
- model.setValue("/root/main/rtninfo/elctsigncnts" , "");
-
- fsignpad_request(model.getValue("/root/main/rtninfo/rtnamt"));
- model.setFocus("btn_save");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:703px; top:4px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fsignpad_close();
- window.close();
- /*
- if(getParameter("signpad_kind") == "kis-sp30" ) {
- window.close();
- } else {
- KiccDSCX1.ReqInit();
- KiccDSCX1.Open = false;
- window.close();
- }
- */
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter3" style="left:633px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- fDefaultSet();
- model.refresh();
- // opener.javascript.setParameter("SPPAO00400_RTN","Y");
- // opener.javascript.setParameter("SPPAO00400_TotCardAmt",totcardamt);
- ]]>
- </script>
- </button>
- <button id="btn_update" class="btn4_letter2" disabled="false" style="left:131px; top:3px; width:56px; height:22px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("U");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" style="left:72px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = messageBox("내역을 삭제 하시겠습니까? ", "Q999");
- if(rtn == "7"){ //아니오
- return;
- }else if(rtn == "6"){
- fSave("D");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|