123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <![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/>
- <srchprercptflag>1</srchprercptflag>
- <cmpycd1/>
- <cmpynm/>
- </send>
- <init>
- <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="TRAHA02801" 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="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"/>
- </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="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healexamrcptweb/js/SMAHA02200.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- fInitialize();
- fGetUserInfosSampling();
- if (checkOpener()){
-
- model.resetInstanceNode("/root/main/info/patinfo/item");
- model.removeNodeset("/root/main/mdlamtspec/bogj");
- model.setValue("/root/main/info/patinfo/item/pid",opener.javascript.getParameter("SMAHA02800_PARAM_PID"));
- model.setValue("/root/send/rcptid",opener.javascript.getParameter("SMAHA02800_PARAM_PID"));
- ipt_pid.value = ipt_rcptid.currentText;
-
- if(model.getValue("/root/send/rcptid") != ""){
- fGetPatInfo(2);
- rdo_srchprercptflag.value = "1";
- model.setFocus("ipt_rcptid");
- fGetListInfo();
- }
- if (grd_mdlamtlist.rows < 2){
- opener.model.makeValue("/root/main/send2/prercptflag", model.getValue("/root/main/mdlamtspec/bogj[" + 1 + "]/prercptflag" ));
- opener.model.makeValue("/root/main/send2/rcptid", model.getValue("/root/main/mdlamtspec/bogj[" + 1 + "]/rcptid" ));
- opener.model.makeValue("/root/main/send2/rcptdd", model.getValue("/root/main/mdlamtspec/bogj[" + 1 + "]/rcptdd" ));
- opener.model.makeValue("/root/main/send2/rcptno", model.getValue("/root/main/mdlamtspec/bogj[" + 1 + "]/rcptno" ));
- opener.model.makeValue("/root/main/send2/rcptseqno", model.getValue("/root/main/mdlamtspec/bogj[" + 1 + "]/rcptseqno" ));
- opener.model.makeValue("/root/main/send2/seqno", model.getValue("/root/main/mdlamtspec/bogj[" + 1 + "]/seqno" ));
- window.close();
- }
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fGetListInfo(){
- if(model.getValue("/root/send/prercptflag") == "1"){
- if (model.getValue("/root/main/info/patinfo/item/pid" )!="")
- {
- model.setValue("/root/send/rcptid", model.getValue("/root/main/info/patinfo/item/pid" ));
- } else {
- model.makeValue("/root/send/srchpid", model.getValue("/root/send/rcptid" ));
- }
- model.setValue( gSendPath + "/prercptflag","1");
- }
- if(model.getValue("/root/send/prercptflag") == "2"){
- model.setValue("/root/send/rcptid", model.getValue("/root/main/coninfo/cmpyinfo/item/cmpycd" ));
- model.setValue("/root/send/prercptflag","2");
- }
-
- // 선수금 내역을 조회 한다.
- if ( submit("TRAHA02801",false)){
-
- }
- model.refresh();
- }
- //세션정보 추출하기
- 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();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;1,1202;2,442;" 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="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:427px; ">
- <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; "/>
- <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>
- <output id="opt_remamt" ref="/root/main/mdlamtspec/remamt/remamt" class="output_fix" format="#,###" appearance="output" style="left:1063px; top:53px; width:130px; height:19px; text-align:right; "/>
- <caption id="caption46" class="tit_2" style="left:5px; top:60px; width:113px; height:13px; ">선수금 수납내역</caption>
- <caption id="caption47" class="cell_2" style="left:985px; top:53px; width:75px; height:20px; vertical-align:middle; ">잔 액</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
- <datagrid id="grd_mdlamtlist" nodeset="/root/main/mdlamtspec/bogj" visibility="visible" caption="개인,단체구분^수납상태^수납구분^수납일자^수납시간^현금수납액^카드수납액^납입금^수납자^참고사항^영수일자^영수증^일련번호" colsep="^" colwidth="83, 102, 81, 72, 76, 72, 72, 91, 63, 313, 87, 43, 60" dataheight="23" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:1px; top:80px; width:1194px; height:344px; ">
- <col ref="bogj_prercptflag" type="combo">
- <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" visibility="hidden" style="left:20px; top:23px; width:153px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/P0030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="bogj_rcptflag" type="combo">
- <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; "/>
- <col ref="bogj_cardamt" format="(-)#,###" mask="(-)#,###" style="text-align:right; "/>
- <col ref="bogj_rcptamt" format="(-)#,###" mask="(-)#,###" style="text-align:right; "/>
- <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" visibility="hidden"/>
- </datagrid>
- </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; "/>
- <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; "/>
- <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; "/>
- <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; "/>
- <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; "/>
- <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>
|