1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" ytype="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>
- <![CDATA[]]>
- <xhtml:title>건진선수금수납</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <info>
- <patinfo>
- <item>
- <pid/>
- <rgstno1/>
- <rgstno2/>
- <hngnm/>
- <engnm/>
- <sex/>
- <age/>
- <brthdd/>
- <zipcd11/>
- <zipcd12/>
- <addr1/>
- <detladdr1/>
- <mpphon/>
- <telno/>
- <emailid/>
- <emailtype/>
- <healexampid/>
- <emailkind/>
- <zipcd21/>
- <zipcd22/>
- <addr2/>
- <detladdr2/>
- <psptno/>
- <brthareacnts/>
- <pidcretfg/>
- </item>
- </patinfo>
- </info>
- <list>
- <acpt>
- <acptlist/>
- </acpt>
- </list>
- <mdlamtspec>
- <bogj>
- <bogj_prercptflag/>
- <bogj_rcptstat/>
- <bogj_rcptflag/>
- <bogj_rcptexecdd/>
- <bogj_rcpttm/>
- <bogj_cashamt/>
- <bogj_cardamt/>
- <bogj_rcptamt/>
- <bogj_rcptrid/>
- <bogj_remfact/>
- <bogj_rcptdd/>
- <bogj_rcptno/>
- <bogj_rcptseqno/>
- <bogj_rcptid/>
- <bogj_seqno/>
- <bogj_instcd/>
- <bogj_pid/>
- </bogj>
- <remamt>
- <remamt/>
- </remamt>
- </mdlamtspec>
- <mdlamtdescspec>
- <cardlist/>
- <cashlist/>
- </mdlamtdescspec>
- <etc>
- <option>
- <indinstflag>S</indinstflag>
- </option>
- </etc>
- <coninfo>
- <cmpyinfo>
- <item>
- <cmpycd/>
- <cmpynm/>
- <cmpyid/>
- <cmpyno/>
- <inducsid/>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <detladdr/>
- <telno/>
- <remcnts/>
- <zipcdseq/>
- </item>
- </cmpyinfo>
- </coninfo>
- </main>
- <send>
- <rcptid/>
- <prercptflag/>
- <srchhealexamflag/>
- <srchfromdd/>
- <srchtodd/>
- <srchinstcd/>
- <srchrcptid/>
- <srchrcptdd/>
- <srchrcptno/>
- <srchrcptseqno/>
- <srchseqno/>
- <srchpid/>
- <updatedata>
- <bogj>
- <bogj_prercptflag/>
- <bogj_rcptid/>
- <bogj_rcptflag/>
- <bogj_rcptstat/>
- <bogj_cashamt/>
- <bogj_cardamt/>
- <bogj_rcptamt/>
- <bogj_remfact/>
- <bogj_cardno/>
- <bogj_valiterm/>
- <bogj_allotmm/>
- <bogj_qualcnfmflag/>
- <bogj_qualcnfmno/>
- <bogj_pid/>
- <bogj_indinstflag/>
- <bogj_keyinptflag/>
- <bogj_cardno1/>
- <bogj_rcptdd/>
- <bogj_rcptno/>
- <bogj_rcptseqno/>
- <bogj_rcptexecdd/>
- <bogj_rcpttm/>
- <bogj_instcd/>
- <cardyn/>
- </bogj>
- <card>
- <card_pid/>
- <card_rcptdd/>
- <card_rcptno/>
- <card_rcptseqno/>
- <card_seqno/>
- <card_instcd/>
- <card_rcptstat/>
- <card_ordtype/>
- <card_cardamt/>
- <card_aprvflag/>
- <card_aprvdd/>
- <card_aprvtm/>
- <card_aprvno/>
- <card_preamtyn/>
- <card_innrtretyn/>
- <card_vancd/>
- <card_allotmm/>
- <card_valiterm/>
- <card_cardno/>
- <card_cardcmpycd/>
- <card_keyinptflag/>
- <card_rcptexecdd/>
- <card_rcpttm/>
- <card_cardno1/>
- </card>
- <cash>
- <cash_pid/>
- <cash_rcptdd/>
- <cash_rcptno/>
- <cash_rcptseqno/>
- <cash_seqno/>
- <cash_instcd/>
- <cash_rcptstat/>
- <cash_ordtype/>
- <cash_cashamt/>
- <cash_keyinptflag/>
- <cash_indinstflag/>
- <cash_qualcnfmflag/>
- <cash_qualcnfmno/>
- <cash_aprvflag/>
- <cash_aprvdd/>
- <cash_aprvtm/>
- <cash_aprvno/>
- <cash_rcptexecdd/>
- <cash_rcpttm/>
- <cash_rcptrid/>
- <cash_preamtyn/>
- <cash_innrtretyn/>
- </cash>
- </updatedata>
- <srchprercptflag>1</srchprercptflag>
- <cmpycd1/>
- <cmpynm/>
- </send>
- <init>
- <baseinfo>
- <P0032list/>
- </baseinfo>
- </init>
- <temp>
- <receipt/>
- </temp>
- </root>
- </instance>
- <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list/acpt"/>
- <submission id="TRAHA02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mdlamtspec"/>
- <submission id="TRAHA02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mdlamtdescspec"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXAHA02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata" resultref="/root/temp"/>
- <submission id="TXAHA02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata" resultref="/root/temp"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" resultref="/root/init"/>
- <submission id="TXPAC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp"/>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healexamrcptweb/js/SMAHA02200.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- fInitialize();
- fGetUserInfosSampling();
- model.setValue("root/send/srchhealexamflag", getScreenMenuParameter()); //건진구분 초기화
-
- pamfGetCodeList(new Array("P0032"), new Array("/root/init/baseinfo/P0032list"));
-
- if(checkOpener()){
- model.resetInstanceNode("/root/main/info/patinfo/item");
- model.setValue("/root/main/info/patinfo/item/pid",opener.javascript.getParameter("SMAHA02400_PARAM_PID"));
- model.setValue("/root/send/rcptid",opener.javascript.getParameter("SMAHA02400_PARAM_PID"));
- ipt_pid.value = ipt_rcptid.currentText;
-
- if(model.getValue("/root/send/rcptid") != ""){
- fGetPatInfo(2);
- rdo_srchprercptflag.value = "1";
- model.setFocus("ipt_rcptid");
- fGetList2();
- }
- if(model.getValue("/root/send/rcptid") == ""){
- fInitialize();
- rdo_srchprercptflag.value = "1";
- model.setFocus("ipt_rcptid");
- }
- ipt_rcptamt.value = opener.javascript.getParameter("SMAHA02400_PARAM_PREAMT2");
- fFocusOut("rdo_cardyn");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //세션정보 추출하기
- function fGetUserInfosSampling(){
- var sUserInfosS = getUserInfos();
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
-
- var userid = UserInfosS_Array[0]; //사용자번호
- var usernm = UserInfosS_Array[1]; //사용자이름
- var posinstcd = UserInfosS_Array[2]; //소속기관코드
- var posinstnm = UserInfosS_Array[3]; //소속기관명
- var posdeptcd = UserInfosS_Array[4]; //소속부서코드
- var posdeptnm = UserInfosS_Array[5]; //소속부서명
-
- model.makeNode("/root/hidden1/session/" + "userid");
- model.makeNode("/root/hidden1/session/" + "usernm");
- model.makeNode("/root/hidden1/session/" + "posinstcd");
- model.makeNode("/root/hidden1/session/" + "posinstnm");
- model.makeNode("/root/hidden1/session/" + "posdeptcd");
- model.makeNode("/root/hidden1/session/" + "posdeptnm")
-
- if (userid == null || userid == "" || userid == " " || userid == "-") userid = "pam";
- if (posinstcd == null || posinstcd == "" || posinstcd == " " || posinstcd == "-") posinstcd = "012";
-
- model.setValue("/root/hidden1/session/userid",userid);
- model.setValue("/root/hidden1/session/usernm",usernm);
- model.setValue("/root/hidden1/session/posinstcd",posinstcd);
- model.setValue("/root/hidden1/session/posinstnm",posinstnm);
- model.setValue("/root/hidden1/session/posdeptcd",posdeptcd);
- model.setValue("/root/hidden1/session/posdeptnm",posdeptnm);
- model.refresh();
- }
-
- /*
- * 승인정보 설정
- */
- function cardnocheck(){
- var cardnotext = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
- if(cardnotext.length == 0){
- return;
- }
- if(cardnotext.length >18){
- //18자리보다 크면, "="이 있으면, swipe
- if((cardnotext).indexOf("=") > 0){
- var vSwipeData = "";
- var vCardno_array = "";
- var vCardno = "";
- vSwipeData = cardnotext;
- if(vSwipeData.indexOf("?") >= 0){
- vSwipeData = (vSwipeData).substr(1, 37);
- }
- if(vSwipeData.indexOf("/") >= 0){
- vSwipeData = (vSwipeData).substr(1, 37);
- }
- model.makeValue("/root/card", vSwipeData);
-
- vCardno_array = vSwipeData.split("=");
- vCardno = vCardno_array[0];
- if(vCardno.indexOf("?") >= 0){
- vCardno = (vCardno).substr(1, 16);
- }
- if(vCardno.indexOf("/") >= 0){
- vCardno = (vCardno).substr(1, 16);
- }
- //유효일자
- var vValiterm = (vCardno_array[1]).substr(0, 4);
- model.setValue("/root/send/updatedata/bogj/bogj_cardno" , vCardno);
- model.setValue("/root/send/updatedata/bogj/bogj_keyinptflag" , "S");
- model.setValue("/root/send/updatedata/bogj/bogj_valiterm" , vValiterm);
- }
- }else{
- model.makeValue("/root/card", "");
- model.setValue("/root/send/updatedata/bogj/bogj_keyinptflag", "K");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1202;2,801;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">건진선수금수납</caption>
- </group>
- <group id="group4" 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="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //화면 초기화
- fInitialize();
- rdo_srchprercptflag.value = "1";
- model.setFocus("ipt_rcptid");
- ]]>
- </script>
- </button>
- <button id="btn_receipt" class="btn4_letter2" style="left:877px; top:5px; width:56px; height:22px; ">
- <caption>수납</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cardnocheck();
-
- if (model.getValue("/root/send/rcptid") == ""){
- messageBox("등록번호는 필수 입력항목입니다.", "E999", "");
- model.setFocus("ipt_rcptid");
- return;
- }
- if (model.getValue("/root/send/updatedata/bogj/cardyn") == "Y"){
- var sallotmm = model.getValue("/root/send/updatedata/bogj/bogj_allotmm");
- if (sallotmm.length != 2){
- if (sallotmm == ""){
- model.setValue("/root/send/updatedata/bogj/bogj_allotmm", "00");
- }
- if (sallotmm.length == 1){
- model.setValue("/root/send/updatedata/bogj/bogj_allotmm", "0" + sallotmm);
- }
- }
- if (model.getValue("/root/send/updatedata/bogj/bogj_cardno") == ""){
- messageBox("카드번호는 필수 입력항목입니다.", "E999", "");
- return;
- }
- if (model.getValue("/root/send/updatedata/bogj/bogj_allotmm") == ""){
- messageBox("할부개월수는 필수 입력항목입니다.", "E999", "");
- return;
- }
- var sinptflag = model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag");
- if (sinptflag != "S"){
- if (model.getValue("/root/send/updatedata/bogj/bogj_valiterm") == ""){
- messageBox("유효기간은 필수 입력항목입니다.", "E999", "");
- return;
- }
- }
- }else if (model.getValue("/root/send/updatedata/bogj/cardyn") == "N"){
- if (model.getValue("/root/send/updatedata/bogj/bogj_qualcnfmflag") == ""){
- messageBox("자격확인구분은 필수 선택항목입니다.", "E999", "");
- return;
- }
- if (model.getValue("/root/send/updatedata/bogj/bogj_cardno") == ""){
- messageBox("자격확인번호는 필수 입력항목입니다.", "E999", "");
- return;
- }
- if (model.getValue("/root/send/updatedata/bogj/bogj_indinstflag") == ""){
- messageBox("개인/법인구분은 필수 선택항목입니다.", "E999", "");
- return;
- }
- }
- if (model.getValue("/root/send/updatedata/bogj/cardyn") == "Y"){
- var sinptflag = model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag");
- if (sinptflag == "S"){
- var sdata10 = model.getValue("/root/card");
- var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
- var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_valiterm");
- model.setValue("/root/send/updatedata/bogj/bogj_cardno1", sdata10);
- }else{
- var sdata10 = "";
- var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
- var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_valiterm");
- model.setValue("/root/send/updatedata/bogj/bogj_cardno1", sdata11);
- }
-
- fAppCardVanData("03" //data1 //vangb van사구분
- ,"11" //data2 //ordergb 거래구분
- ,getCurrentDate() //data3 //mdate 회계일자
- ,model.getValue("/root/send/rcptid") //data4 //pano 등록번호
- ,"H" //data5 //iogb 입외구분
- ,model.getValue("/root/main/list/acpt/acptlist/orddeptcd") //data6 //deptcode 진료과코드
- ,model.getValue("/root/main/list/acpt/acptlist/orddd") //data7 //diagdate 진료일자
- ,model.getValue("/root/hidden1/session/userid") //data8 //clientid 수납자
- ,model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag") //data9 //entrymode 입력구분
- ,sdata10 //data10 //track2data 트랙data
- ,sdata11 //data11 //cardnumber 카드번호
- ,sdata12 //data12 //cardperiod 유효기간
- ,model.getValue("/root/send/updatedata/bogj/bogj_allotmm") //data13 //carddivide 할부개월수
- ,model.getValue("/root/send/updatedata/bogj/bogj_cardamt") //data14 //netamt 금액
- ,"" //data15 //oldappdate 원거래승인일자(취소시)
- ,"" //data16 //oldapptime 원거래승인시간(취소시)
- ,"" //data17 //oldappno 원거래승인번호(취소시)
- ,"" //data18
- ,"" //data19
- ,"" //data20
- ,model.getValue("/root/init/baseinfo/P0032list/P0032[cdid='200']/cdnm") //data21
-
- );
-
- if (model.getValue("/root/tmp/appvanif/replystat") != "0000" ){
- messageBox("카드승인실패 => "+ model.getValue("/root/tmp/appvanif/cardname"), "E999","");
- return;
- }else{
- model.setValue("/root/send/updatedata/card/card_aprvno" , model.getValue("/root/tmp/appvanif/approvalno"));
- model.setValue("/root/send/updatedata/card/card_aprvdd" , model.getValue("/root/tmp/appvanif/approvaldate"));
- model.setValue("/root/send/updatedata/card/card_aprvtm" , model.getValue("/root/tmp/appvanif/approvaltime"));
- model.setValue("/root/send/updatedata/card/card_aprvflag" , "12");
- //전자서명 처리
- var parm = model.getValue("/root/send/rcptid") + "▦" + //PID
- model.getValue("/root/send/updatedata/bogj/bogj_cardamt") + "▦" + //수납대상금액
- "12" + "▦" + //승인구분
- model.getValue("/root/tmp/appvanif/approvaldate") + "▦" + //승인일자
- model.getValue("/root/tmp/appvanif/approvaltime") + "▦" + //승인시간
- model.getValue("/root/tmp/appvanif/approvalno") + "▦" + //승인번호
- model.getValue("/root/hidden1/session/posinstcd") + "▦" //기관코드
- ;
- setParameter("SPPAO02101_PARM",parm);
- if(model.getValue("/root/tmp/h_passyn/passyn") != "Y") {
- modal("../../../pam/pamcomnweb/xrw/SPPAO02101", "1","400", "400", "SPPAO02101", "", "");
- }
- //전자서명에 실패하더라도, 카드승인을 받았기 때문에, Continue
- //if (getParameter("SPPAO02101_RTN") == "N" || getParameter("SPPAO02101_RTN") == "") return;
- }
-
- }
- if(model.getValue("/root/send/updatedata/bogj/cardyn") == "N"){
- // if(model.getValue("/root/send/updatedata/bogj/bogj_qualcnfmflag") == "3"){
- // model.setValue("/root/send/updatedata/bogj/bogj_keyinptflag", "S")
- // }else{
- // model.setValue("/root/send/updatedata/bogj/bogj_keyinptflag", "K")
- // }
- var sinptflag = model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag");
- if(sinptflag == "S"){
- var sdata10 = model.getValue("/root/card");
- var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
- var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_qualcnfmflag");
- model.setValue("/root/send/updatedata/bogj/bogj_cardno1", sdata10);
- }else{
- var sdata10 = "";
- var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
- var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_qualcnfmflag");
- model.setValue("/root/send/updatedata/bogj/bogj_cardno1", sdata11);
- }
-
- fAppCardVanData("03" //data1 //vangb van사구분
- ,"41" //data2 //ordergb 거래구분 41:현금영수증승인
- ,getCurrentDate() //data3 //mdate 회계일자
- ,model.getValue("/root/send/rcptid") //data4 //pano 등록번호
- ,"H" //data5 //iogb 입외구분
- ,model.getValue("/root/main/list/acpt/acptlist/orddeptcd") //data6 //deptcode 진료과코드
- ,model.getValue("/root/main/list/acpt/acptlist/orddd") //data7 //diagdate 진료일자
- ,model.getValue("/root/hidden1/session/userid") //data8 //clientid 수납자
- ,model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag") //data9 //entrymode 입력구분
- ,sdata10 //data10 //track2data 트랙data
- ,sdata11 //data11 //qualcnfmno 자격확인번호
- ,sdata12 //data12 //cardperiod 유효기간
- ,model.getValue("/root/main/etc/option/indinstflag") //data13 //carddivide 할부개월수-개인법인구분
- ,model.getValue("/root/send/updatedata/bogj/bogj_cashamt") //data14 //netamt 금액
- ,"" //data15 //oldappdate 원거래승인일자(취소시)
- ,"" //data16 //oldapptime 원거래승인시간(취소시)
- ,"" //data17 //oldappno 원거래승인번호(취소시)
- ,"" //data18
- ,"" //data19
- ,"" //data20
- ,model.getValue("/root/init/baseinfo/P0032list/P0032[cdid='200']/cdnm") //data21
- );
-
- if (model.getValue("/root/tmp/appvanif/replystat") != "0000" ) {
- messageBox("현금영수증승인실패 => "+ model.getValue("/root/send/updatedata/bogj/bogj_cardno") ,"E999","");
- return;
- }else{
- model.setValue("/root/send/updatedata/cash/cash_aprvno" , model.getValue("/root/tmp/appvanif/approvalno"));
- model.setValue("/root/send/updatedata/cash/cash_aprvdd" , model.getValue("/root/tmp/appvanif/approvaldate"));
- model.setValue("/root/send/updatedata/cash/cash_aprvtm" , model.getValue("/root/tmp/appvanif/approvaltime"));
- model.setValue("/root/send/updatedata/cash/cash_aprvflag" , "42");
- }
-
- }
- fReceipt();
- if(isPopup()){
- window.close();
- }
- grd_mdlamtlist.row = 1;
- grd_mdlamtlist.dispatch("onclick");
- btn_printreceipt.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_printreceipt" class="btn4_letter6" style="left:1019px; top:5px; width:104px; height:22px; ">
- <caption>영수증 발행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //영수증 재발행
- model.makeValue("/root/send/sumprt", 0);
- fReceiptPrint("N");
- ]]>
- </script>
- </button>
- <button id="btn_cancelrcpt" class="btn4_letter4" disabled="true" style="left:936px; top:5px; width:80px; height:22px; ">
- <caption>수납취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cardnocheck();
- if (model.getValue("/root/send/updatedata/bogj/cardyn") == "Y"){
- var rcptdd = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptdd");
- var rcptno = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptno");
- var rcptseqno = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptseqno");
- var irow = 0;
- for (var i = 1; i < grd_cardamtlist.rows; i ++){
- var rcptdd1 = model.getValue("/root/main/mdlamtdescspec/cardlist[" + i + "]/rcptdd");
- var rcptno1 = model.getValue("/root/main/mdlamtdescspec/cardlist[" + i + "]/rcptno");
- var rcptseqno1 = model.getValue("/root/main/mdlamtdescspec/cardlist[" + i + "]/rcptseqno");
- if (rcptdd == rcptdd1 && rcptno == rcptno1 && rcptseqno == rcptseqno1){
- irow = i;
- }
- }
- if(irow < 1){
- messageBox("해당 되는 카드내역이 존재하지 않습니다.", "E999", "");
- return;
- }
- var sinptflag = model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag");
- if(sinptflag == "S"){
- var sdata10 = model.getValue("/root/card");
- var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
- var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_valiterm");
- }else{
- var sdata10 = "";
- var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
- var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_valiterm");
- }
- fAppCardVanData("03" //data1 //vangb van사구분
- ,"21" //data2 //ordergb 거래구분
- ,getCurrentDate() //data3 //mdate 회계일자
- ,model.getValue("/root/send/rcptid") //data4 //pano 등록번호
- ,"H" //data5 //iogb 입외구분
- ,model.getValue("/root/main/list/acpt/acptlist/orddeptcd") //data6 //deptcode 진료과코드
- ,model.getValue("/root/main/list/acpt/acptlist/orddd") //data7 //diagdate 진료일자
- ,model.getValue("/root/hidden1/session/userid") //data8 //clientid 수납자
- ,model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag") //data9 //entrymode 입력구분
- ,sdata10 //data10 //track2data 트랙data
- ,sdata11 //data11 //cardnumber 카드번호
- ,sdata12 //data12 //cardperiod 유효기간
- ,model.getValue("/root/send/updatedata/bogj/bogj_allotmm") //data13 //carddivide 할부개월수
- ,model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/cardamt") //data14 //netamt 금액
- ,model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/aprvdd") //data15 //oldappdate 원거래승인일자(취소시)
- ,model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/aprvtm") //data16 //oldapptime 원거래승인시간(취소시)
- ,model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/aprvno") //data17 //oldappno 원거래승인번호(취소시)
- ,"" //data18
- ,"" //data19
- ,"" //data20
- ,model.getValue("/root/init/baseinfo/P0032list/P0032[cdid='200']/cdnm") //data21
- );
- if(model.getValue("/root/tmp/appvanif/replystat") != "0000"){
- messageBox("카드승인실패 => "+ model.getValue("/root/tmp/appvanif/cardname") ,"E999","");
- return;
- }else{
- model.setValue("/root/send/updatedata/card/card_aprvno", model.getValue("/root/tmp/appvanif/approvalno"));
- model.setValue("/root/send/updatedata/card/card_aprvdd", model.getValue("/root/tmp/appvanif/approvaldate"));
- model.setValue("/root/send/updatedata/card/card_aprvtm", model.getValue("/root/tmp/appvanif/approvaltime"));
- model.setValue("/root/send/updatedata/card/card_aprvflag", "22");
- //전자서명 처리
- var parm = model.getValue("/root/send/rcptid") + "▦" + //PID
- model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/cardamt") + "▦" + //수납대상금액
- "22" + "▦" + //승인구분
- model.getValue("/root/tmp/appvanif/approvaldate") + "▦" + //승인일자
- model.getValue("/root/tmp/appvanif/approvaltime") + "▦" + //승인시간
- model.getValue("/root/tmp/appvanif/approvalno") + "▦" + //승인번호
- model.getValue("/root/hidden1/session/posinstcd") + "▦" //기관코드
- ;
- setParameter("SPPAO02101_PARM",parm);
- if(model.getValue("/root/tmp/h_passyn/passyn") != "Y") {
- modal("../../../pam/pamcomnweb/xrw/SPPAO02101", "1","400", "400", "SPPAO02101", "", "");
- }
- //전자서명에 실패하더라도, 카드승인을 받았기 때문에, Continue
- //if (getParameter("SPPAO02101_RTN") == "N" || getParameter("SPPAO02101_RTN") == "") return;
- }
- }
- if(model.getValue("/root/send/updatedata/bogj/cardyn") == "N"){
- var rcptdd = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptdd");
- var rcptno = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptno");
- var rcptseqno = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptseqno");
- var irow = 0;
- for(var i = 1; i < grd_cashamtlist.rows; i ++){
- var rcptdd1 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + i + "]/rcptdd");
- var rcptno1 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + i + "]/rcptno");
- var rcptseqno1 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + i + "]/rcptseqno");
- if (rcptdd == rcptdd1 && rcptno == rcptno1 && rcptseqno == rcptseqno1){
- irow = i;
- }
- }
- if(irow < 1){
- messageBox("해당 되는 현금영수증 내역이 존재하지 않습니다.", "E999", "");
- return;
- }
- var sinptflag = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/keyinptflag");
- if (sinptflag == "S"){
- var sdata10 = model.getValue("/root/card");
- var sdata11 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/qualcnfmno");
- var sdata12 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/qualcnfmflag");
- }else{
- var sdata10 = "";
- var sdata11 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/qualcnfmno");
- var sdata12 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/qualcnfmflag");;
- }
- fAppCardVanData("03" //data1 //vangb van사구분
- ,"51" //data2 //ordergb 거래구분 41:현금영수증승인
- ,getCurrentDate() //data3 //mdate 회계일자
- ,model.getValue("/root/send/rcptid") //data4 //pano 등록번호
- ,"H" //data5 //iogb 입외구분
- ,model.getValue("/root/main/list/acpt/acptlist/orddeptcd") //data6 //deptcode 진료과코드
- ,model.getValue("/root/main/list/acpt/acptlist/orddd") //data7 //diagdate 진료일자
- ,model.getValue("/root/hidden1/session/userid") //data8 //clientid 수납자
- ,model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag") //data9 //entrymode 입력구분
- ,sdata10 //data10 //track2data 트랙data
- ,sdata11 //data11 //qualcnfmno 자격확인번호
- ,sdata12 //data12 //cardperiod 유효기간
- ,model.getValue("/root/main/etc/option/indinstflag") //data13 //carddivide 할부개월수-개인법인구분
- ,model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/cashamt") //data14 //netamt 금액
- ,model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/aprvdd") //data15 //oldappdate 원거래승인일자(취소시)
- ,model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/aprvtm") //data16 //oldapptime 원거래승인시간(취소시)
- ,model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/aprvno") //data17 //oldappno 원거래승인번호(취소시)
- ,"" //data18
- ,"" //data19
- ,"" //data20
- ,model.getValue("/root/init/baseinfo/P0032list/P0032[cdid='200']/cdnm") //data21
- );
- if (model.getValue("/root/tmp/appvanif/replystat") != "0000" ) {
- messageBox("현금영수증승인실패 => "+ model.getValue("/root/send/updatedata/bogj/bogj_cardno") ,"E999","");
- return;
- }else{
- model.setValue("/root/send/updatedata/cash/cash_aprvno", model.getValue("/root/tmp/appvanif/approvalno"));
- model.setValue("/root/send/updatedata/cash/cash_aprvdd", model.getValue("/root/tmp/appvanif/approvaldate"));
- model.setValue("/root/send/updatedata/cash/cash_aprvtm", model.getValue("/root/tmp/appvanif/approvaltime"));
- model.setValue("/root/send/updatedata/cash/cash_aprvflag", "52");
- }
- }
- fReceiptCancel();
- if(isPopup()){
- window.close();
- }
- grd_mdlamtlist.row = 1;
- grd_mdlamtlist.dispatch("onclick");
- btn_printreceipt.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group6" style="left:0px; top:212px; width:1195px; height:528px; ">
- <caption id="caption46" class="tit_2" style="left:5px; top:8px; width:113px; height:13px; ">선수금 수납내역</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:25px; x2:1185x; y2:25px; "/>
- <caption id="caption50" class="tit_2" style="left:839px; top:203px; width:113px; height:13px; ">중간금 수납</caption>
- <button id="btn_cardlist" class="btn_sw" group="tab" selected="true" style="left:0px; top:199px; width:108px; height:22px; ">
- <caption>카드내역</caption>
- <toggle case="case_cardlist" ev:event="onclick"/>
- </button>
- <button id="btn_cashlist" class="btn_sw" group="tab" selected="false" style="left:107px; top:199px; width:108px; height:22px; ">
- <caption>현금영수증</caption>
- <toggle case="case_cashlist" ev:event="onclick"/>
- </button>
- <caption id="caption47" class="cell_2" style="left:975px; top:3px; width:75px; height:20px; vertical-align:middle; ">잔 액</caption>
- <datagrid id="grd_mdlamtlist" nodeset="/root/main/mdlamtspec/bogj" visibility="visible" caption="구분^수납상태^수납구분^수납일자^수납시간^현금수납액^카드수납액^납입금^수납자^참고사항^영수일자^영수증^일련번호^번호" colsep="^" colwidth="60, 70, 80, 75, 75, 75, 75, 75, 70, 260, 85, 50, 60, 50" dataheight="23" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:1px; top:30px; width:1184px; height:164px; ">
- <col ref="bogj_prercptflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>개인</label>
- <value>1</value>
- </item>
- <item>
- <label>단체</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="bogj_rcptstat" type="combo" style="left:20px; top:23px; width:153px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0049">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="bogj_rcptflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>선수금수납</label>
- <value>P</value>
- </item>
- <item>
- <label>선수금대체</label>
- <value>R</value>
- </item>
- <item>
- <label>수납취소</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="bogj_rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="bogj_rcpttm" format="hh:nn:ss" style="text-align:center; "/>
- <col ref="bogj_cashamt" format="(-)#,###" mask="(-)#,###" style="text-align:right; padding-right:2; "/>
- <col ref="bogj_cardamt" format="(-)#,###" mask="(-)#,###" style="text-align:right; padding-right:2; "/>
- <col ref="bogj_rcptamt" format="(-)#,###" mask="(-)#,###" style="text-align:right; padding-right:2; "/>
- <col ref="bogj_rcptrid"/>
- <col ref="bogj_remfact"/>
- <col ref="bogj_rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="bogj_rcptno" style="text-align:right; "/>
- <col ref="bogj_rcptseqno" style="text-align:right; "/>
- <col ref="bogj_seqno" style="text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if((grd_mdlamtlist.row >= grd_mdlamtlist.fixedRows) && (grd_mdlamtlist.isCell(event.target))){
- if((grd_mdlamtlist.row >= grd_mdlamtlist.fixedRows)){
- fSelectRcpt(grd_mdlamtlist.row);
- // ipt_cardno.value =model.getValue("/root/main/mdlamtdescspec/cardlist[" + 1 + "]/cardno").substr(0, 16);
- // model.setFocus(grd_cardamtlist.row);
- }
- ]]>
- </script>
- </datagrid>
- <switch id="swt_mdlamtlist" style="left:0px; top:225px; width:860px; height:300px; ">
- <case id="case_cardlist" selected="true">
- <datagrid id="grd_cardamtlist" nodeset="/root/main/mdlamtdescspec/cardlist" caption="카드회사^수납상태^카드번호^유효기간^할부^결제금액^승인번호^승인일자^시간^영수일자^영수증^일련번호^영수일련번호^키입력구분^caption1^caption2^caption3^caption4" colsep="^" colwidth="60, 70, 140, 55, 42, 96, 81, 79, 63, 80, 59, 60, 86, 73, 24, 19, 27, 31" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:855px; height:290px; ">
- <col disabled="true" ref="cardcmpycd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0076">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rcptstat" type="combo" style="left:20px; top:23px; width:153px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0049">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="cardno"/>
- <col disabled="true" ref="valiterm" format="99-99" style="text-align:center; "/>
- <col disabled="true" ref="allotmm" format="99" style="text-align:center; "/>
- <col disabled="true" ref="cardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="aprvno" style="text-align:center; "/>
- <col ref="aprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="aprvtm" format="hh:nn:ss" style="text-align:center; "/>
- <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptno" style="text-align:right; "/>
- <col ref="rcptseqno" style="text-align:right; "/>
- <col ref="seqno" style="text-align:right; "/>
- <col disabled="true" ref="keyinptflag" type="combo">
- <choices>
- <item>
- <label>Swipe</label>
- <value>S</value>
- </item>
- <item>
- <label>Key In</label>
- <value>K</value>
- </item>
- </choices>
- </col>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="aprvflag" visibility="hidden"/>
- <col ref="vancd" visibility="hidden"/>
- <col ref="cardno1" visibility="hidden"/>
- </datagrid>
- </case>
- <case id="case_cashlist">
- <datagrid id="grd_cashamtlist" nodeset="/root/main/mdlamtdescspec/cashlist" caption="자격확인구분^수납상태^자격확인번호^개인/법인^결제금액^승인일자^시간^승인번호^영수일자^영수증^일련번호^caption1^caption2^caption3" colsep="^" colwidth="100, 70, 160, 70, 104, 77, 52, 91, 80, 63, 62, 33, 29, 28, 100" dataheight="25" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:856px; height:290px; ">
- <col disabled="true" ref="qualcnfmflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0073">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rcptstat" type="combo" style="left:20px; top:23px; width:153px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0049">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="qualcnfmno"/>
- <col disabled="true" ref="indinstflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>개인</label>
- <value>00</value>
- </item>
- <item>
- <label>법인</label>
- <value>01</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="cashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="aprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="aprvtm" style="text-align:center; "/>
- <col ref="aprvno" style="text-align:center; "/>
- <col ref="rcptdd" style="text-align:center; "/>
- <col ref="rcptno" style="text-align:right; "/>
- <col ref="rcptseqno" style="text-align:right; "/>
- <col ref="keyinptflag" visibility="hidden"/>
- <col ref="aprvflag" visibility="hidden"/>
- <col ref="vancd" visibility="hidden"/>
- </datagrid>
- </case>
- </switch>
- <output id="opt_remamt" ref="/root/main/mdlamtspec/remamt/remamt" class="output_fix" format="#,###" appearance="output" style="left:1053px; top:3px; width:130px; height:19px; text-align:right; "/>
- <input id="ipt_swipedata" class="input_default" navindex="10" visibility="hidden" maxlength="25" style="left:965px; top:200px; width:170px; height:19px; "/>
- <button id="btn_new" class="btn2_letter2" style="left:1137px; top:198px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCardNew();
- ]]>
- </script>
- </button>
- <group id="group3" style="left:870px; top:220px; width:317px; height:303px; ">
- <line id="line8" class="line_2" style="x1:1px; y1:152px; x2:311px; y2:152px; "/>
- <select1 id="rdo_cardyn" ref="/root/send/updatedata/bogj/cardyn" navindex="15" appearance="full" cellspacing="1" cols="3" overflow="visible" style="left:115px; top:31px; width:197px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>카드</label>
- <value>Y</value>
- </item>
- <item>
- <label>현금영수증</label>
- <value>N</value>
- </item>
- <item>
- <label>현금</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fFocusOut("rdo_cardyn");
- ]]>
- </script>
- </select1>
- <button id="btn_cardamt" class="btn2_letter8" style="left:2px; top:179px; width:108px; height:19px; text-align:center; ">
- <caption>카드결재액</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("../../../pam/pamcomnweb/xrw/SPPAO00400", "1","300", "300", "SPPAO00400", "/root/source", "/root/send");
- //model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_allotmm" visibility="hidden" appearance="minimal" style="left:254px; top:155px; width:58px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0078">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption73" style="left:159px; top:157px; width:51px; height:15px; ">(YYMM)</caption>
- <caption id="caption127" class="cell_1" style="left:0px; top:31px; width:112px; height:20px; text-align:center; vertical-align:middle; ">수납방법</caption>
- <line id="line21" class="line_1" style="x1:1px; y1:0px; x2:311px; y2:0px; "/>
- <caption id="caption74" style="left:235px; top:157px; width:20px; height:15px; ">NN</caption>
- <input id="ipt_cashamt" ref="/root/send/updatedata/bogj/bogj_cashamt" class="input_default" disabled="true" navindex="22" format="(-)#,###" appearance="input" style="left:115px; top:203px; width:107px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //fFocusOut("ipt_cashamt");
- ]]>
- </script>
- </input>
- <caption id="caption129" class="cell_1" style="left:0px; top:81px; width:112px; height:19px; text-align:center; vertical-align:middle; ">카드/현금 번호</caption>
- <caption id="caption1" class="cell_1" style="left:0px; top:131px; width:112px; height:19px; text-align:center; vertical-align:middle; ">자격확인구분</caption>
- <input id="ipt_allotmm" ref="/root/send/updatedata/bogj/bogj_allotmm" class="input_default" navindex="20" maxlength="2" style="left:211px; top:155px; width:22px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //fFocusOut("ipt_allotmm");
- ]]>
- </script>
- </input>
- <caption id="caption54" class="cell_1" style="left:0px; top:155px; width:112px; height:19px; text-align:center; ">유효기간/할부</caption>
- <select1 id="combo1" ref="/root/send/updatedata/bogj/bogj_qualcnfmflag" disabled="true" appearance="minimal" style="left:115px; top:130px; width:197px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0073">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cardamt" ref="/root/send/updatedata/bogj/bogj_cardamt" disabled="true" navindex="21" format="(-)#,###" appearance="input" style="left:115px; top:179px; width:107px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //fFocusOut("ipt_cardamt");
- ]]>
- </script>
- </input>
- <caption id="caption77" class="cell_1" style="left:0px; top:6px; width:112px; height:19px; text-align:center; vertical-align:middle; ">납부할 금액</caption>
- <caption id="caption55" class="cell_1" style="left:0px; top:179px; width:112px; height:19px; "/>
- <input id="ipt_cardno" ref="/root/send/updatedata/bogj/bogj_cardno" class="input_default" navindex="17" style="left:115px; top:81px; width:197px; height:19px; text-align:left; "/>
- <caption id="caption128" class="cell_1" style="left:0px; top:105px; width:112px; height:20px; text-align:center; vertical-align:middle; ">개인/법인</caption>
- <select1 id="radio9" ref="/root/main/etc/option/indinstflag" navindex="18" appearance="full" cellspacing="1" cols="3" overflow="visible" style="left:115px; top:105px; width:197px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>00</value>
- </item>
- <item>
- <label>법인</label>
- <value>01</value>
- </item>
- </choices>
- </select1>
- <line id="line26" class="line_2" style="x1:1px; y1:200px; x2:311px; y2:200px; "/>
- <line id="line1" class="line_2" style="x1:1px; y1:176px; x2:311px; y2:176px; "/>
- <line id="line28" class="line_3" style="x1:1px; y1:300px; x2:311px; y2:300px; "/>
- <caption id="caption58" class="cell_1" style="left:0px; top:204px; width:112px; height:19px; "/>
- <line id="line2" class="line_2" style="x1:1px; y1:27px; x2:311px; y2:27px; "/>
- <caption id="caption59" class="cell_1" style="left:0px; top:227px; width:112px; height:70px; text-align:center; ">참고사항</caption>
- <line id="line29" class="line_2" style="x1:1px; y1:224px; x2:311px; y2:224px; "/>
- <line id="line3" class="line_2" style="x1:1px; y1:52px; x2:311px; y2:52px; "/>
- <textarea id="textarea1" ref="/root/send/updatedata/bogj/bogj_remfact" navindex="23" imemode="hangul" style="left:115px; top:227px; width:197px; height:70px; "/>
- <line id="line4" class="line_2" style="x1:1px; y1:77px; x2:311px; y2:77px; "/>
- <input id="ipt_rcptamt" ref="/root/send/updatedata/bogj/bogj_rcptamt" class="input_default" navindex="14" format="(-,+)#,###" appearance="input" style="left:115px; top:6px; width:197px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setFocus("ipt_cardno");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fFocusOut("ipt_rcptamt");
- ]]>
- </script>
- </input>
- <input id="ipt_valiterm" ref="/root/send/updatedata/bogj/bogj_valiterm" class="input_default" navindex="19" maxlength="4" format="99-99" style="left:115px; top:155px; width:44px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:1px; y1:102px; x2:311px; y2:102px; "/>
- <button id="btn_cashamt" class="btn2_letter8" style="left:2px; top:202px; width:108px; height:19px; text-align:center; ">
- <caption>현금금액</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("../../../pam/pamcomnweb/xrw/SPPAO00500", "1","300", "300", "SPPAO00500", "/root/source", "/root/send");
- ]]>
- </script>
- </button>
- <line id="line7" class="line_2" style="x1:1px; y1:127px; x2:311px; y2:127px; "/>
- <button id="button1" class="btn2_letter8" style="left:2px; top:179px; width:108px; height:19px; text-align:center; ">
- <caption>카드금액</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("../../../pam/pamcomnweb/xrw/SPPAO00500", "1","300", "300", "SPPAO00500", "/root/source", "/root/send");
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:0px; top:56px; width:112px; height:19px; text-align:center; vertical-align:middle; ">입력구분</caption>
- <select1 id="radio1" ref="/root/send/updatedata/bogj/bogj_keyinptflag" navindex="16" appearance="full" cellspacing="7" cols="2" overflow="visible" style="left:115px; top:55px; width:197px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Swipe</label>
- <value>S</value>
- </item>
- <item>
- <label>Key in</label>
- <value>K</value>
- </item>
- </choices>
- </select1>
- </group>
- </group>
- <output id="opt_sex_age" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:1058px; top:5px; width:44px; height:19px; text-align:center; "/>
- <button id="btn_searchpat" class="icon_search" style="left:259px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/send/prercptflag") == "" ){
- messageBox("개인/단체 구분을 선택하세요.", "E999", "");
- return;
- }else if( model.getValue("/root/send/prercptflag") == "1" ){
- fSearchPatinfo();
- var Tmp1 = model.getValue("root/main/info/patinfo/item/pid");
- if(Tmp1 !="" ){
- model.setValue("root/send/rcptid" ,Tmp1);
- }
- model.refresh();
- }else if (model.getValue("/root/send/prercptflag") == "2"){
- fGetComnCd("SMAHB00500", "08", "cd", ipt_cmpycd.currentText , "/root/main/coninfo/cmpyinfo/item/cmpycd", "/root/main/coninfo/cmpyinfo/item/cmpynm");
-
- var Tmp1 = model.getValue("/root/main/coninfo/cmpyinfo/item/cmpycd");
- var Tmp2 = model.getValue("/root/main/coninfo/cmpyinfo/item/cmpynm");
- var Tmp3 = model.getValue("/root/main/coninfo/cmpyinfo/item/addr");
- var Tmp4 = model.getValue("/root/main/coninfo/cmpyinfo/item/zipcd1");
- var Tmp5 = model.getValue("/root/main/coninfo/cmpyinfo/item/zipcd2");
- var Tmp6 = model.getValue("/root/main/coninfo/cmpyinfo/item/telno");
- if (Tmp1 != "" ){
- model.setValue("/root/send/cmpycd1" ,Tmp1);
- model.setValue("/root/send/cmpynm" ,Tmp2);
- model.setValue("/root/send/rcptid" ,Tmp1);
- model.setValue("/root/main/info/patinfo/item/hngnm" ,Tmp2);
- model.setValue("/root/main/info/patinfo/item/addr1" ,Tmp3);
- model.setValue("/root/main/info/patinfo/item/zipcd11" ,Tmp4);
- model.setValue("/root/main/info/patinfo/item/zipcd12" ,Tmp5);
- model.setValue("/root/main/info/patinfo/item/telno" ,Tmp6);
-
- model.setValue("/root/main/info/patinfo/item/engnm" ,"");
- model.setValue("/root/main/info/patinfo/item/rgstno1" ,"");
- model.setValue("/root/main/info/patinfo/item/rgstno2" ,"");
- model.setValue("/root/main/info/patinfo/item/sex" ,"");
- model.setValue("/root/main/info/patinfo/item/age" ,"");
- model.setValue("/root/main/info/patinfo/item/brthdd" ,"");
- model.setValue("/root/main/info/patinfo/item/mpphon" ,"");
- model.setValue("/root/main/info/patinfo/item/emailid" ,"");
- model.setValue("/root/main/info/patinfo/item/emailtype" ,"");
-
- fGetList2();
- }
- //model.refresh();
- }
- fGetList2();
- ]]>
- </script>
- </button>
- <input id="ipt_rcptid" ref="/root/send/rcptid" class="input_essential" navindex="1" style="left:60px; top:5px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(rdo_srchprercptflag.value == "1"){
- ipt_pid.currentText = ipt_rcptid.currentText;
- if( event.keyCode == 13) {
- model.resetInstanceNode("/root/main/info/patinfo/item");
- fGetPatInfo(2);
- if( !isXPathTextNull( "/root/main/info/patinfo/item/pid") || !isXPathTextNull( "/root/main/coninfo/cmpyinfo/item/cmpycd") ){
- btn_search.dispatch("DOMActivate");
- }
- }
- }
- if(rdo_srchprercptflag.value == "2"){
- ipt_cmpycd.currentText = ipt_rcptid.currentText;
- if (ipt_cmpycd.currentText != ""){
- inputEnterKey("btn_searchpat", "DOMActivate");
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption64" class="cell_1" style="left:805px; top:5px; width:57px; height:19px; vertical-align:middle; ">생년월일</caption>
- <output id="opt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="output_fix" navindex="5" inputtype="date" appearance="output" style="left:865px; top:5px; width:123px; height:19px; text-align:center; "/>
- <caption id="caption65" class="cell_1" style="left:283px; top:5px; width:77px; height:19px; vertical-align:middle; ">성명[한/영]</caption>
- <output id="output15" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:1105px; top:5px; width:44px; height:19px; text-align:center; "/>
- <caption id="caption66" class="cell_1" style="left:2px; top:5px; width:55px; height:19px; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="output_fix" disabled="true" navindex="4" appearance="input" style="left:638px; top:5px; width:80px; height:19px; text-align:center; "/>
- <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_essential" navindex="2" imemode="hangul" style="left:365px; top:5px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_pnm.currentText != ""){
- inputEnterKey("btn_searchpat", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_pnm.currentText == "" ){
- model.resetInstanceNode("/root/main/info/patinfo/item");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="output_fix" disabled="true" navindex="4" appearance="input" style="left:727px; top:5px; width:75px; height:19px; text-align:center; "/>
- <caption id="caption69" class="cell_1" style="left:579px; top:5px; width:55px; height:19px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption91" class="cell_1" style="left:991px; top:5px; width:66px; height:19px; vertical-align:middle; ">성별/나이</caption>
- <input id="ipt_egnm" ref="/root/main/info/patinfo/item/engnm" class="input_essential" navindex="3" imemode="alpha" style="left:452px; top:5px; width:120px; height:19px; "/>
- <caption id="caption3" class="tit_2" style="left:10px; top:60px; width:90px; height:13px; ">건진이력</caption>
- <line id="line6" class="line_1" style="x1:5px; y1:79px; x2:1185px; y2:79px; "/>
- <datagrid id="grd_acptlist" nodeset="/root/main/list/acpt/acptlist" caption="건진일자^패키지코드^패키지명^수납상태^접수상태^비고사항" colsep="^" colwidth="64, 68, 444, 75, 71, 402" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="6" style="left:5px; top:84px; width:1180px; height:121px; ">
- <col ref="orddd" style="text-align:center; "/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col disabled="true" ref="rcptstat" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remcnts"/>
- </datagrid>
- <caption id="caption71" class="search_name" style="left:90px; top:58px; width:86px; height:17px; ">조회일자 :</caption>
- <caption id="caption72" style="left:272px; top:57px; width:10px; height:20px; ">-</caption>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:283px; top:57px; width:92px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:381px; top:56px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList2();
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:179px; top:57px; width:92px; height:19px; "/>
- <select1 id="rdo_srchprercptflag" ref="/root/send/prercptflag" appearance="full" cols="2" rows="1" overflow="visible" style="left:165px; top:5px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>1</value>
- </item>
- <item>
- <label>단체</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_srchprercptflag.value == "2"){
- ipt_pnm.disabled = true;
- ipt_egnm.disabled = true;
- } else {
- ipt_pnm.disabled = false;
- ipt_egnm.disabled = false;
- }
- ]]>
- </script>
- <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_essential" navindex="1" visibility="hidden" style="left:990px; top:50px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(rdo_srchprercptflag.value == "1"){
- ipt_rcptid.currentText = ipt_pid.currentText ;
- if( event.keyCode == 13) {
- model.resetInstanceNode("/root/main/info/patinfo/item");
- fGetPatInfo(2);
- if( !isXPathTextNull( "/root/main/info/patinfo/item/pid") ){
- btn_search.dispatch("DOMActivate");
- }
- }
- }
- ]]>
- </script>
- </input>
- </group>
- <input id="ipt_mpphon" ref="/root/main/info/patinfo/item/mpphon" class="output_fix" maxlength="30" style="left:606px; top:42px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_emailid");
- ]]>
- </script>
- </input>
- <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" style="left:164px; top:42px; width:221px; height:19px; "/>
- <caption id="caption61" class="cell_1" style="left:737px; top:42px; width:61px; height:19px; vertical-align:middle; ">E-mail</caption>
- <caption id="caption83" class="cell_1" style="left:2px; top:42px; width:55px; height:19px; vertical-align:middle; ">주소</caption>
- <input id="ipt_telno" ref="/root/main/info/patinfo/item/telno" class="output_fix" maxlength="30" style="left:453px; top:42px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_mpphon");
- ]]>
- </script>
- </input>
- <input id="ipt_emailtype" ref="/root/main/info/patinfo/item/emailtype" class="output_fix" imemode="alpha" maxlength="30" style="left:895px; top:42px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("cmb_emailtype");
- ]]>
- </script>
- </input>
- <input id="ipt_cmpycd" ref="/root/main/coninfo/cmpyinfo/item/cmpycd" class="input_essential" visibility="hidden" style="left:990px; top:42px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- fGetComnCd("SMAHB00500", "08", "cd", ipt_cmpycd.currentText , "/root/main/coninfo/cmpyinfo/item/cmpycd", "/root/main/coninfo/cmpyinfo/item/cmpynm");
- fGetList2();
- }
- ]]>
- </script>
- </input>
- <output id="opt_concmpynm" ref="/root/main/coninfo/cmpyinfo/item/cmpynm" class="output_fix" visibility="hidden" style="left:1065px; top:42px; width:110px; height:19px; "/>
- <caption id="caption85" class="cell_1" style="left:392px; top:42px; width:55px; height:19px; vertical-align:middle; ">연락처</caption>
- <caption id="caption86" class="cell_1" style="left:548px; top:42px; width:55px; height:19px; vertical-align:middle; ">휴대번호</caption>
- <caption id="caption2" class="search_n_b" style="left:102px; top:48px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <input id="opt_zipcd1" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:60px; top:42px; width:42px; height:19px; "/>
- <input id="ipt_emailid" ref="/root/main/info/patinfo/item/emailid" class="output_fix" imemode="alpha" maxlength="40" style="left:800px; top:42px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("cmb_emailtype");
- ]]>
- </script>
- </input>
- <input id="opt_zipcd2" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:116px; top:42px; width:42px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|