SMAHA02400_건진선수금수납.xrw 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" ytype="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <![CDATA[]]>
  6. <xhtml:title>건진선수금수납</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <info>
  12. <patinfo>
  13. <item>
  14. <pid/>
  15. <rgstno1/>
  16. <rgstno2/>
  17. <hngnm/>
  18. <engnm/>
  19. <sex/>
  20. <age/>
  21. <brthdd/>
  22. <zipcd11/>
  23. <zipcd12/>
  24. <addr1/>
  25. <detladdr1/>
  26. <mpphon/>
  27. <telno/>
  28. <emailid/>
  29. <emailtype/>
  30. <healexampid/>
  31. <emailkind/>
  32. <zipcd21/>
  33. <zipcd22/>
  34. <addr2/>
  35. <detladdr2/>
  36. <psptno/>
  37. <brthareacnts/>
  38. <pidcretfg/>
  39. </item>
  40. </patinfo>
  41. </info>
  42. <list>
  43. <acpt>
  44. <acptlist/>
  45. </acpt>
  46. </list>
  47. <mdlamtspec>
  48. <bogj>
  49. <bogj_prercptflag/>
  50. <bogj_rcptstat/>
  51. <bogj_rcptflag/>
  52. <bogj_rcptexecdd/>
  53. <bogj_rcpttm/>
  54. <bogj_cashamt/>
  55. <bogj_cardamt/>
  56. <bogj_rcptamt/>
  57. <bogj_rcptrid/>
  58. <bogj_remfact/>
  59. <bogj_rcptdd/>
  60. <bogj_rcptno/>
  61. <bogj_rcptseqno/>
  62. <bogj_rcptid/>
  63. <bogj_seqno/>
  64. <bogj_instcd/>
  65. <bogj_pid/>
  66. </bogj>
  67. <remamt>
  68. <remamt/>
  69. </remamt>
  70. </mdlamtspec>
  71. <mdlamtdescspec>
  72. <cardlist/>
  73. <cashlist/>
  74. </mdlamtdescspec>
  75. <etc>
  76. <option>
  77. <indinstflag>S</indinstflag>
  78. </option>
  79. </etc>
  80. <coninfo>
  81. <cmpyinfo>
  82. <item>
  83. <cmpycd/>
  84. <cmpynm/>
  85. <cmpyid/>
  86. <cmpyno/>
  87. <inducsid/>
  88. <zipcd1/>
  89. <zipcd2/>
  90. <addr/>
  91. <detladdr/>
  92. <telno/>
  93. <remcnts/>
  94. <zipcdseq/>
  95. </item>
  96. </cmpyinfo>
  97. </coninfo>
  98. </main>
  99. <send>
  100. <rcptid/>
  101. <prercptflag/>
  102. <srchhealexamflag/>
  103. <srchfromdd/>
  104. <srchtodd/>
  105. <srchinstcd/>
  106. <srchrcptid/>
  107. <srchrcptdd/>
  108. <srchrcptno/>
  109. <srchrcptseqno/>
  110. <srchseqno/>
  111. <srchpid/>
  112. <updatedata>
  113. <bogj>
  114. <bogj_prercptflag/>
  115. <bogj_rcptid/>
  116. <bogj_rcptflag/>
  117. <bogj_rcptstat/>
  118. <bogj_cashamt/>
  119. <bogj_cardamt/>
  120. <bogj_rcptamt/>
  121. <bogj_remfact/>
  122. <bogj_cardno/>
  123. <bogj_valiterm/>
  124. <bogj_allotmm/>
  125. <bogj_qualcnfmflag/>
  126. <bogj_qualcnfmno/>
  127. <bogj_pid/>
  128. <bogj_indinstflag/>
  129. <bogj_keyinptflag/>
  130. <bogj_cardno1/>
  131. <bogj_rcptdd/>
  132. <bogj_rcptno/>
  133. <bogj_rcptseqno/>
  134. <bogj_rcptexecdd/>
  135. <bogj_rcpttm/>
  136. <bogj_instcd/>
  137. <cardyn/>
  138. </bogj>
  139. <card>
  140. <card_pid/>
  141. <card_rcptdd/>
  142. <card_rcptno/>
  143. <card_rcptseqno/>
  144. <card_seqno/>
  145. <card_instcd/>
  146. <card_rcptstat/>
  147. <card_ordtype/>
  148. <card_cardamt/>
  149. <card_aprvflag/>
  150. <card_aprvdd/>
  151. <card_aprvtm/>
  152. <card_aprvno/>
  153. <card_preamtyn/>
  154. <card_innrtretyn/>
  155. <card_vancd/>
  156. <card_allotmm/>
  157. <card_valiterm/>
  158. <card_cardno/>
  159. <card_cardcmpycd/>
  160. <card_keyinptflag/>
  161. <card_rcptexecdd/>
  162. <card_rcpttm/>
  163. <card_cardno1/>
  164. </card>
  165. <cash>
  166. <cash_pid/>
  167. <cash_rcptdd/>
  168. <cash_rcptno/>
  169. <cash_rcptseqno/>
  170. <cash_seqno/>
  171. <cash_instcd/>
  172. <cash_rcptstat/>
  173. <cash_ordtype/>
  174. <cash_cashamt/>
  175. <cash_keyinptflag/>
  176. <cash_indinstflag/>
  177. <cash_qualcnfmflag/>
  178. <cash_qualcnfmno/>
  179. <cash_aprvflag/>
  180. <cash_aprvdd/>
  181. <cash_aprvtm/>
  182. <cash_aprvno/>
  183. <cash_rcptexecdd/>
  184. <cash_rcpttm/>
  185. <cash_rcptrid/>
  186. <cash_preamtyn/>
  187. <cash_innrtretyn/>
  188. </cash>
  189. </updatedata>
  190. <srchprercptflag>1</srchprercptflag>
  191. <cmpycd1/>
  192. <cmpynm/>
  193. </send>
  194. <init>
  195. <baseinfo>
  196. <P0032list/>
  197. </baseinfo>
  198. </init>
  199. <temp>
  200. <receipt/>
  201. </temp>
  202. </root>
  203. </instance>
  204. <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  205. <submission id="TRAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list/acpt"/>
  206. <submission id="TRAHA02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mdlamtspec"/>
  207. <submission id="TRAHA02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mdlamtdescspec"/>
  208. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  209. <submission id="TXAHA02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata" resultref="/root/temp"/>
  210. <submission id="TXAHA02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata" resultref="/root/temp"/>
  211. <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  212. <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" resultref="/root/init"/>
  213. <submission id="TXPAC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp"/>
  214. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  215. </model>
  216. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  217. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  218. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  219. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  220. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  221. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  222. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  223. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  224. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  225. <script type="javascript" src="../../../ast/healexamrcptweb/js/SMAHA02200.js"/>
  226. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  227. <script type="javascript" ev:event="xforms-ready">
  228. <![CDATA[
  229. fGetBaseInfo();
  230. fInitialize();
  231. fGetUserInfosSampling();
  232. model.setValue("root/send/srchhealexamflag", getScreenMenuParameter()); //건진구분 초기화
  233. pamfGetCodeList(new Array("P0032"), new Array("/root/init/baseinfo/P0032list"));
  234. if(checkOpener()){
  235. model.resetInstanceNode("/root/main/info/patinfo/item");
  236. model.setValue("/root/main/info/patinfo/item/pid",opener.javascript.getParameter("SMAHA02400_PARAM_PID"));
  237. model.setValue("/root/send/rcptid",opener.javascript.getParameter("SMAHA02400_PARAM_PID"));
  238. ipt_pid.value = ipt_rcptid.currentText;
  239. if(model.getValue("/root/send/rcptid") != ""){
  240. fGetPatInfo(2);
  241. rdo_srchprercptflag.value = "1";
  242. model.setFocus("ipt_rcptid");
  243. fGetList2();
  244. }
  245. if(model.getValue("/root/send/rcptid") == ""){
  246. fInitialize();
  247. rdo_srchprercptflag.value = "1";
  248. model.setFocus("ipt_rcptid");
  249. }
  250. ipt_rcptamt.value = opener.javascript.getParameter("SMAHA02400_PARAM_PREAMT2");
  251. fFocusOut("rdo_cardyn");
  252. model.refresh();
  253. }
  254. ]]>
  255. </script>
  256. <script type="javascript">
  257. <![CDATA[
  258. //세션정보 추출하기
  259. function fGetUserInfosSampling(){
  260. var sUserInfosS = getUserInfos();
  261. sUserInfosS = sUserInfosS + "|";
  262. var UserInfosS_Array = sUserInfosS.split("|");
  263. var userid = UserInfosS_Array[0]; //사용자번호
  264. var usernm = UserInfosS_Array[1]; //사용자이름
  265. var posinstcd = UserInfosS_Array[2]; //소속기관코드
  266. var posinstnm = UserInfosS_Array[3]; //소속기관명
  267. var posdeptcd = UserInfosS_Array[4]; //소속부서코드
  268. var posdeptnm = UserInfosS_Array[5]; //소속부서명
  269. model.makeNode("/root/hidden1/session/" + "userid");
  270. model.makeNode("/root/hidden1/session/" + "usernm");
  271. model.makeNode("/root/hidden1/session/" + "posinstcd");
  272. model.makeNode("/root/hidden1/session/" + "posinstnm");
  273. model.makeNode("/root/hidden1/session/" + "posdeptcd");
  274. model.makeNode("/root/hidden1/session/" + "posdeptnm")
  275. if (userid == null || userid == "" || userid == " " || userid == "-") userid = "pam";
  276. if (posinstcd == null || posinstcd == "" || posinstcd == " " || posinstcd == "-") posinstcd = "012";
  277. model.setValue("/root/hidden1/session/userid",userid);
  278. model.setValue("/root/hidden1/session/usernm",usernm);
  279. model.setValue("/root/hidden1/session/posinstcd",posinstcd);
  280. model.setValue("/root/hidden1/session/posinstnm",posinstnm);
  281. model.setValue("/root/hidden1/session/posdeptcd",posdeptcd);
  282. model.setValue("/root/hidden1/session/posdeptnm",posdeptnm);
  283. model.refresh();
  284. }
  285. /*
  286. * 승인정보 설정
  287. */
  288. function cardnocheck(){
  289. var cardnotext = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
  290. if(cardnotext.length == 0){
  291. return;
  292. }
  293. if(cardnotext.length >18){
  294. //18자리보다 크면, "="이 있으면, swipe
  295. if((cardnotext).indexOf("=") > 0){
  296. var vSwipeData = "";
  297. var vCardno_array = "";
  298. var vCardno = "";
  299. vSwipeData = cardnotext;
  300. if(vSwipeData.indexOf("?") >= 0){
  301. vSwipeData = (vSwipeData).substr(1, 37);
  302. }
  303. if(vSwipeData.indexOf("/") >= 0){
  304. vSwipeData = (vSwipeData).substr(1, 37);
  305. }
  306. model.makeValue("/root/card", vSwipeData);
  307. vCardno_array = vSwipeData.split("=");
  308. vCardno = vCardno_array[0];
  309. if(vCardno.indexOf("?") >= 0){
  310. vCardno = (vCardno).substr(1, 16);
  311. }
  312. if(vCardno.indexOf("/") >= 0){
  313. vCardno = (vCardno).substr(1, 16);
  314. }
  315. //유효일자
  316. var vValiterm = (vCardno_array[1]).substr(0, 4);
  317. model.setValue("/root/send/updatedata/bogj/bogj_cardno" , vCardno);
  318. model.setValue("/root/send/updatedata/bogj/bogj_keyinptflag" , "S");
  319. model.setValue("/root/send/updatedata/bogj/bogj_valiterm" , vValiterm);
  320. }
  321. }else{
  322. model.makeValue("/root/card", "");
  323. model.setValue("/root/send/updatedata/bogj/bogj_keyinptflag", "K");
  324. }
  325. }
  326. ]]>
  327. </script>
  328. </xhtml:head>
  329. <xhtml:body guideline="1,1202;2,801;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  330. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  331. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">건진선수금수납</caption>
  332. </group>
  333. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  334. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  335. <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  336. <caption>초기화</caption>
  337. <script type="javascript" ev:event="DOMActivate">
  338. <![CDATA[
  339. //화면 초기화
  340. fInitialize();
  341. rdo_srchprercptflag.value = "1";
  342. model.setFocus("ipt_rcptid");
  343. ]]>
  344. </script>
  345. </button>
  346. <button id="btn_receipt" class="btn4_letter2" style="left:877px; top:5px; width:56px; height:22px; ">
  347. <caption>수납</caption>
  348. <script type="javascript" ev:event="DOMActivate">
  349. <![CDATA[
  350. cardnocheck();
  351. if (model.getValue("/root/send/rcptid") == ""){
  352. messageBox("등록번호는 필수 입력항목입니다.", "E999", "");
  353. model.setFocus("ipt_rcptid");
  354. return;
  355. }
  356. if (model.getValue("/root/send/updatedata/bogj/cardyn") == "Y"){
  357. var sallotmm = model.getValue("/root/send/updatedata/bogj/bogj_allotmm");
  358. if (sallotmm.length != 2){
  359. if (sallotmm == ""){
  360. model.setValue("/root/send/updatedata/bogj/bogj_allotmm", "00");
  361. }
  362. if (sallotmm.length == 1){
  363. model.setValue("/root/send/updatedata/bogj/bogj_allotmm", "0" + sallotmm);
  364. }
  365. }
  366. if (model.getValue("/root/send/updatedata/bogj/bogj_cardno") == ""){
  367. messageBox("카드번호는 필수 입력항목입니다.", "E999", "");
  368. return;
  369. }
  370. if (model.getValue("/root/send/updatedata/bogj/bogj_allotmm") == ""){
  371. messageBox("할부개월수는 필수 입력항목입니다.", "E999", "");
  372. return;
  373. }
  374. var sinptflag = model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag");
  375. if (sinptflag != "S"){
  376. if (model.getValue("/root/send/updatedata/bogj/bogj_valiterm") == ""){
  377. messageBox("유효기간은 필수 입력항목입니다.", "E999", "");
  378. return;
  379. }
  380. }
  381. }else if (model.getValue("/root/send/updatedata/bogj/cardyn") == "N"){
  382. if (model.getValue("/root/send/updatedata/bogj/bogj_qualcnfmflag") == ""){
  383. messageBox("자격확인구분은 필수 선택항목입니다.", "E999", "");
  384. return;
  385. }
  386. if (model.getValue("/root/send/updatedata/bogj/bogj_cardno") == ""){
  387. messageBox("자격확인번호는 필수 입력항목입니다.", "E999", "");
  388. return;
  389. }
  390. if (model.getValue("/root/send/updatedata/bogj/bogj_indinstflag") == ""){
  391. messageBox("개인/법인구분은 필수 선택항목입니다.", "E999", "");
  392. return;
  393. }
  394. }
  395. if (model.getValue("/root/send/updatedata/bogj/cardyn") == "Y"){
  396. var sinptflag = model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag");
  397. if (sinptflag == "S"){
  398. var sdata10 = model.getValue("/root/card");
  399. var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
  400. var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_valiterm");
  401. model.setValue("/root/send/updatedata/bogj/bogj_cardno1", sdata10);
  402. }else{
  403. var sdata10 = "";
  404. var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
  405. var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_valiterm");
  406. model.setValue("/root/send/updatedata/bogj/bogj_cardno1", sdata11);
  407. }
  408. fAppCardVanData("03" //data1 //vangb van사구분
  409. ,"11" //data2 //ordergb 거래구분
  410. ,getCurrentDate() //data3 //mdate 회계일자
  411. ,model.getValue("/root/send/rcptid") //data4 //pano 등록번호
  412. ,"H" //data5 //iogb 입외구분
  413. ,model.getValue("/root/main/list/acpt/acptlist/orddeptcd") //data6 //deptcode 진료과코드
  414. ,model.getValue("/root/main/list/acpt/acptlist/orddd") //data7 //diagdate 진료일자
  415. ,model.getValue("/root/hidden1/session/userid") //data8 //clientid 수납자
  416. ,model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag") //data9 //entrymode 입력구분
  417. ,sdata10 //data10 //track2data 트랙data
  418. ,sdata11 //data11 //cardnumber 카드번호
  419. ,sdata12 //data12 //cardperiod 유효기간
  420. ,model.getValue("/root/send/updatedata/bogj/bogj_allotmm") //data13 //carddivide 할부개월수
  421. ,model.getValue("/root/send/updatedata/bogj/bogj_cardamt") //data14 //netamt 금액
  422. ,"" //data15 //oldappdate 원거래승인일자(취소시)
  423. ,"" //data16 //oldapptime 원거래승인시간(취소시)
  424. ,"" //data17 //oldappno 원거래승인번호(취소시)
  425. ,"" //data18
  426. ,"" //data19
  427. ,"" //data20
  428. ,model.getValue("/root/init/baseinfo/P0032list/P0032[cdid='200']/cdnm") //data21
  429. );
  430. if (model.getValue("/root/tmp/appvanif/replystat") != "0000" ){
  431. messageBox("카드승인실패 => "+ model.getValue("/root/tmp/appvanif/cardname"), "E999","");
  432. return;
  433. }else{
  434. model.setValue("/root/send/updatedata/card/card_aprvno" , model.getValue("/root/tmp/appvanif/approvalno"));
  435. model.setValue("/root/send/updatedata/card/card_aprvdd" , model.getValue("/root/tmp/appvanif/approvaldate"));
  436. model.setValue("/root/send/updatedata/card/card_aprvtm" , model.getValue("/root/tmp/appvanif/approvaltime"));
  437. model.setValue("/root/send/updatedata/card/card_aprvflag" , "12");
  438. //전자서명 처리
  439. var parm = model.getValue("/root/send/rcptid") + "▦" + //PID
  440. model.getValue("/root/send/updatedata/bogj/bogj_cardamt") + "▦" + //수납대상금액
  441. "12" + "▦" + //승인구분
  442. model.getValue("/root/tmp/appvanif/approvaldate") + "▦" + //승인일자
  443. model.getValue("/root/tmp/appvanif/approvaltime") + "▦" + //승인시간
  444. model.getValue("/root/tmp/appvanif/approvalno") + "▦" + //승인번호
  445. model.getValue("/root/hidden1/session/posinstcd") + "▦" //기관코드
  446. ;
  447. setParameter("SPPAO02101_PARM",parm);
  448. if(model.getValue("/root/tmp/h_passyn/passyn") != "Y") {
  449. modal("../../../pam/pamcomnweb/xrw/SPPAO02101", "1","400", "400", "SPPAO02101", "", "");
  450. }
  451. //전자서명에 실패하더라도, 카드승인을 받았기 때문에, Continue
  452. //if (getParameter("SPPAO02101_RTN") == "N" || getParameter("SPPAO02101_RTN") == "") return;
  453. }
  454. }
  455. if(model.getValue("/root/send/updatedata/bogj/cardyn") == "N"){
  456. // if(model.getValue("/root/send/updatedata/bogj/bogj_qualcnfmflag") == "3"){
  457. // model.setValue("/root/send/updatedata/bogj/bogj_keyinptflag", "S")
  458. // }else{
  459. // model.setValue("/root/send/updatedata/bogj/bogj_keyinptflag", "K")
  460. // }
  461. var sinptflag = model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag");
  462. if(sinptflag == "S"){
  463. var sdata10 = model.getValue("/root/card");
  464. var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
  465. var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_qualcnfmflag");
  466. model.setValue("/root/send/updatedata/bogj/bogj_cardno1", sdata10);
  467. }else{
  468. var sdata10 = "";
  469. var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
  470. var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_qualcnfmflag");
  471. model.setValue("/root/send/updatedata/bogj/bogj_cardno1", sdata11);
  472. }
  473. fAppCardVanData("03" //data1 //vangb van사구분
  474. ,"41" //data2 //ordergb 거래구분 41:현금영수증승인
  475. ,getCurrentDate() //data3 //mdate 회계일자
  476. ,model.getValue("/root/send/rcptid") //data4 //pano 등록번호
  477. ,"H" //data5 //iogb 입외구분
  478. ,model.getValue("/root/main/list/acpt/acptlist/orddeptcd") //data6 //deptcode 진료과코드
  479. ,model.getValue("/root/main/list/acpt/acptlist/orddd") //data7 //diagdate 진료일자
  480. ,model.getValue("/root/hidden1/session/userid") //data8 //clientid 수납자
  481. ,model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag") //data9 //entrymode 입력구분
  482. ,sdata10 //data10 //track2data 트랙data
  483. ,sdata11 //data11 //qualcnfmno 자격확인번호
  484. ,sdata12 //data12 //cardperiod 유효기간
  485. ,model.getValue("/root/main/etc/option/indinstflag") //data13 //carddivide 할부개월수-개인법인구분
  486. ,model.getValue("/root/send/updatedata/bogj/bogj_cashamt") //data14 //netamt 금액
  487. ,"" //data15 //oldappdate 원거래승인일자(취소시)
  488. ,"" //data16 //oldapptime 원거래승인시간(취소시)
  489. ,"" //data17 //oldappno 원거래승인번호(취소시)
  490. ,"" //data18
  491. ,"" //data19
  492. ,"" //data20
  493. ,model.getValue("/root/init/baseinfo/P0032list/P0032[cdid='200']/cdnm") //data21
  494. );
  495. if (model.getValue("/root/tmp/appvanif/replystat") != "0000" ) {
  496. messageBox("현금영수증승인실패 => "+ model.getValue("/root/send/updatedata/bogj/bogj_cardno") ,"E999","");
  497. return;
  498. }else{
  499. model.setValue("/root/send/updatedata/cash/cash_aprvno" , model.getValue("/root/tmp/appvanif/approvalno"));
  500. model.setValue("/root/send/updatedata/cash/cash_aprvdd" , model.getValue("/root/tmp/appvanif/approvaldate"));
  501. model.setValue("/root/send/updatedata/cash/cash_aprvtm" , model.getValue("/root/tmp/appvanif/approvaltime"));
  502. model.setValue("/root/send/updatedata/cash/cash_aprvflag" , "42");
  503. }
  504. }
  505. fReceipt();
  506. if(isPopup()){
  507. window.close();
  508. }
  509. grd_mdlamtlist.row = 1;
  510. grd_mdlamtlist.dispatch("onclick");
  511. btn_printreceipt.dispatch("DOMActivate");
  512. ]]>
  513. </script>
  514. </button>
  515. <button id="btn_printreceipt" class="btn4_letter6" style="left:1019px; top:5px; width:104px; height:22px; ">
  516. <caption>영수증 발행</caption>
  517. <script type="javascript" ev:event="DOMActivate">
  518. <![CDATA[
  519. //영수증 재발행
  520. model.makeValue("/root/send/sumprt", 0);
  521. fReceiptPrint("N");
  522. ]]>
  523. </script>
  524. </button>
  525. <button id="btn_cancelrcpt" class="btn4_letter4" disabled="true" style="left:936px; top:5px; width:80px; height:22px; ">
  526. <caption>수납취소</caption>
  527. <script type="javascript" ev:event="DOMActivate">
  528. <![CDATA[
  529. cardnocheck();
  530. if (model.getValue("/root/send/updatedata/bogj/cardyn") == "Y"){
  531. var rcptdd = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptdd");
  532. var rcptno = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptno");
  533. var rcptseqno = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptseqno");
  534. var irow = 0;
  535. for (var i = 1; i < grd_cardamtlist.rows; i ++){
  536. var rcptdd1 = model.getValue("/root/main/mdlamtdescspec/cardlist[" + i + "]/rcptdd");
  537. var rcptno1 = model.getValue("/root/main/mdlamtdescspec/cardlist[" + i + "]/rcptno");
  538. var rcptseqno1 = model.getValue("/root/main/mdlamtdescspec/cardlist[" + i + "]/rcptseqno");
  539. if (rcptdd == rcptdd1 && rcptno == rcptno1 && rcptseqno == rcptseqno1){
  540. irow = i;
  541. }
  542. }
  543. if(irow < 1){
  544. messageBox("해당 되는 카드내역이 존재하지 않습니다.", "E999", "");
  545. return;
  546. }
  547. var sinptflag = model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag");
  548. if(sinptflag == "S"){
  549. var sdata10 = model.getValue("/root/card");
  550. var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
  551. var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_valiterm");
  552. }else{
  553. var sdata10 = "";
  554. var sdata11 = model.getValue("/root/send/updatedata/bogj/bogj_cardno");
  555. var sdata12 = model.getValue("/root/send/updatedata/bogj/bogj_valiterm");
  556. }
  557. fAppCardVanData("03" //data1 //vangb van사구분
  558. ,"21" //data2 //ordergb 거래구분
  559. ,getCurrentDate() //data3 //mdate 회계일자
  560. ,model.getValue("/root/send/rcptid") //data4 //pano 등록번호
  561. ,"H" //data5 //iogb 입외구분
  562. ,model.getValue("/root/main/list/acpt/acptlist/orddeptcd") //data6 //deptcode 진료과코드
  563. ,model.getValue("/root/main/list/acpt/acptlist/orddd") //data7 //diagdate 진료일자
  564. ,model.getValue("/root/hidden1/session/userid") //data8 //clientid 수납자
  565. ,model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag") //data9 //entrymode 입력구분
  566. ,sdata10 //data10 //track2data 트랙data
  567. ,sdata11 //data11 //cardnumber 카드번호
  568. ,sdata12 //data12 //cardperiod 유효기간
  569. ,model.getValue("/root/send/updatedata/bogj/bogj_allotmm") //data13 //carddivide 할부개월수
  570. ,model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/cardamt") //data14 //netamt 금액
  571. ,model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/aprvdd") //data15 //oldappdate 원거래승인일자(취소시)
  572. ,model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/aprvtm") //data16 //oldapptime 원거래승인시간(취소시)
  573. ,model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/aprvno") //data17 //oldappno 원거래승인번호(취소시)
  574. ,"" //data18
  575. ,"" //data19
  576. ,"" //data20
  577. ,model.getValue("/root/init/baseinfo/P0032list/P0032[cdid='200']/cdnm") //data21
  578. );
  579. if(model.getValue("/root/tmp/appvanif/replystat") != "0000"){
  580. messageBox("카드승인실패 => "+ model.getValue("/root/tmp/appvanif/cardname") ,"E999","");
  581. return;
  582. }else{
  583. model.setValue("/root/send/updatedata/card/card_aprvno", model.getValue("/root/tmp/appvanif/approvalno"));
  584. model.setValue("/root/send/updatedata/card/card_aprvdd", model.getValue("/root/tmp/appvanif/approvaldate"));
  585. model.setValue("/root/send/updatedata/card/card_aprvtm", model.getValue("/root/tmp/appvanif/approvaltime"));
  586. model.setValue("/root/send/updatedata/card/card_aprvflag", "22");
  587. //전자서명 처리
  588. var parm = model.getValue("/root/send/rcptid") + "▦" + //PID
  589. model.getValue("/root/main/mdlamtdescspec/cardlist[" + irow + "]/cardamt") + "▦" + //수납대상금액
  590. "22" + "▦" + //승인구분
  591. model.getValue("/root/tmp/appvanif/approvaldate") + "▦" + //승인일자
  592. model.getValue("/root/tmp/appvanif/approvaltime") + "▦" + //승인시간
  593. model.getValue("/root/tmp/appvanif/approvalno") + "▦" + //승인번호
  594. model.getValue("/root/hidden1/session/posinstcd") + "▦" //기관코드
  595. ;
  596. setParameter("SPPAO02101_PARM",parm);
  597. if(model.getValue("/root/tmp/h_passyn/passyn") != "Y") {
  598. modal("../../../pam/pamcomnweb/xrw/SPPAO02101", "1","400", "400", "SPPAO02101", "", "");
  599. }
  600. //전자서명에 실패하더라도, 카드승인을 받았기 때문에, Continue
  601. //if (getParameter("SPPAO02101_RTN") == "N" || getParameter("SPPAO02101_RTN") == "") return;
  602. }
  603. }
  604. if(model.getValue("/root/send/updatedata/bogj/cardyn") == "N"){
  605. var rcptdd = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptdd");
  606. var rcptno = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptno");
  607. var rcptseqno = model.getValue("/root/main/mdlamtspec/bogj" + "["+ grd_mdlamtlist.row +"]/bogj_rcptseqno");
  608. var irow = 0;
  609. for(var i = 1; i < grd_cashamtlist.rows; i ++){
  610. var rcptdd1 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + i + "]/rcptdd");
  611. var rcptno1 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + i + "]/rcptno");
  612. var rcptseqno1 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + i + "]/rcptseqno");
  613. if (rcptdd == rcptdd1 && rcptno == rcptno1 && rcptseqno == rcptseqno1){
  614. irow = i;
  615. }
  616. }
  617. if(irow < 1){
  618. messageBox("해당 되는 현금영수증 내역이 존재하지 않습니다.", "E999", "");
  619. return;
  620. }
  621. var sinptflag = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/keyinptflag");
  622. if (sinptflag == "S"){
  623. var sdata10 = model.getValue("/root/card");
  624. var sdata11 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/qualcnfmno");
  625. var sdata12 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/qualcnfmflag");
  626. }else{
  627. var sdata10 = "";
  628. var sdata11 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/qualcnfmno");
  629. var sdata12 = model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/qualcnfmflag");;
  630. }
  631. fAppCardVanData("03" //data1 //vangb van사구분
  632. ,"51" //data2 //ordergb 거래구분 41:현금영수증승인
  633. ,getCurrentDate() //data3 //mdate 회계일자
  634. ,model.getValue("/root/send/rcptid") //data4 //pano 등록번호
  635. ,"H" //data5 //iogb 입외구분
  636. ,model.getValue("/root/main/list/acpt/acptlist/orddeptcd") //data6 //deptcode 진료과코드
  637. ,model.getValue("/root/main/list/acpt/acptlist/orddd") //data7 //diagdate 진료일자
  638. ,model.getValue("/root/hidden1/session/userid") //data8 //clientid 수납자
  639. ,model.getValue("/root/send/updatedata/bogj/bogj_keyinptflag") //data9 //entrymode 입력구분
  640. ,sdata10 //data10 //track2data 트랙data
  641. ,sdata11 //data11 //qualcnfmno 자격확인번호
  642. ,sdata12 //data12 //cardperiod 유효기간
  643. ,model.getValue("/root/main/etc/option/indinstflag") //data13 //carddivide 할부개월수-개인법인구분
  644. ,model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/cashamt") //data14 //netamt 금액
  645. ,model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/aprvdd") //data15 //oldappdate 원거래승인일자(취소시)
  646. ,model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/aprvtm") //data16 //oldapptime 원거래승인시간(취소시)
  647. ,model.getValue("/root/main/mdlamtdescspec/cashlist[" + irow + "]/aprvno") //data17 //oldappno 원거래승인번호(취소시)
  648. ,"" //data18
  649. ,"" //data19
  650. ,"" //data20
  651. ,model.getValue("/root/init/baseinfo/P0032list/P0032[cdid='200']/cdnm") //data21
  652. );
  653. if (model.getValue("/root/tmp/appvanif/replystat") != "0000" ) {
  654. messageBox("현금영수증승인실패 => "+ model.getValue("/root/send/updatedata/bogj/bogj_cardno") ,"E999","");
  655. return;
  656. }else{
  657. model.setValue("/root/send/updatedata/cash/cash_aprvno", model.getValue("/root/tmp/appvanif/approvalno"));
  658. model.setValue("/root/send/updatedata/cash/cash_aprvdd", model.getValue("/root/tmp/appvanif/approvaldate"));
  659. model.setValue("/root/send/updatedata/cash/cash_aprvtm", model.getValue("/root/tmp/appvanif/approvaltime"));
  660. model.setValue("/root/send/updatedata/cash/cash_aprvflag", "52");
  661. }
  662. }
  663. fReceiptCancel();
  664. if(isPopup()){
  665. window.close();
  666. }
  667. grd_mdlamtlist.row = 1;
  668. grd_mdlamtlist.dispatch("onclick");
  669. btn_printreceipt.dispatch("DOMActivate");
  670. ]]>
  671. </script>
  672. </button>
  673. </group>
  674. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  675. <group id="group6" style="left:0px; top:212px; width:1195px; height:528px; ">
  676. <caption id="caption46" class="tit_2" style="left:5px; top:8px; width:113px; height:13px; ">선수금 수납내역</caption>
  677. <line id="line18" class="line_1" style="x1:0px; y1:25px; x2:1185x; y2:25px; "/>
  678. <caption id="caption50" class="tit_2" style="left:839px; top:203px; width:113px; height:13px; ">중간금 수납</caption>
  679. <button id="btn_cardlist" class="btn_sw" group="tab" selected="true" style="left:0px; top:199px; width:108px; height:22px; ">
  680. <caption>카드내역</caption>
  681. <toggle case="case_cardlist" ev:event="onclick"/>
  682. </button>
  683. <button id="btn_cashlist" class="btn_sw" group="tab" selected="false" style="left:107px; top:199px; width:108px; height:22px; ">
  684. <caption>현금영수증</caption>
  685. <toggle case="case_cashlist" ev:event="onclick"/>
  686. </button>
  687. <caption id="caption47" class="cell_2" style="left:975px; top:3px; width:75px; height:20px; vertical-align:middle; ">잔 액</caption>
  688. <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; ">
  689. <col ref="bogj_prercptflag" type="combo" style="text-align:center; ">
  690. <choices>
  691. <item>
  692. <label>개인</label>
  693. <value>1</value>
  694. </item>
  695. <item>
  696. <label>단체</label>
  697. <value>2</value>
  698. </item>
  699. </choices>
  700. </col>
  701. <col disabled="true" ref="bogj_rcptstat" type="combo" style="left:20px; top:23px; width:153px; height:23px; text-align:center; ">
  702. <choices>
  703. <itemset nodeset="/root/init/baseinfo/P0049">
  704. <label ref="cdnm"/>
  705. <value ref="cdid"/>
  706. </itemset>
  707. </choices>
  708. </col>
  709. <col disabled="true" ref="bogj_rcptflag" type="combo" style="text-align:center; ">
  710. <choices>
  711. <item>
  712. <label>선수금수납</label>
  713. <value>P</value>
  714. </item>
  715. <item>
  716. <label>선수금대체</label>
  717. <value>R</value>
  718. </item>
  719. <item>
  720. <label>수납취소</label>
  721. <value>C</value>
  722. </item>
  723. </choices>
  724. </col>
  725. <col ref="bogj_rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  726. <col ref="bogj_rcpttm" format="hh:nn:ss" style="text-align:center; "/>
  727. <col ref="bogj_cashamt" format="(-)#,###" mask="(-)#,###" style="text-align:right; padding-right:2; "/>
  728. <col ref="bogj_cardamt" format="(-)#,###" mask="(-)#,###" style="text-align:right; padding-right:2; "/>
  729. <col ref="bogj_rcptamt" format="(-)#,###" mask="(-)#,###" style="text-align:right; padding-right:2; "/>
  730. <col ref="bogj_rcptrid"/>
  731. <col ref="bogj_remfact"/>
  732. <col ref="bogj_rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  733. <col ref="bogj_rcptno" style="text-align:right; "/>
  734. <col ref="bogj_rcptseqno" style="text-align:right; "/>
  735. <col ref="bogj_seqno" style="text-align:right; "/>
  736. <script type="javascript" ev:event="onclick">
  737. <![CDATA[
  738. // if((grd_mdlamtlist.row >= grd_mdlamtlist.fixedRows) && (grd_mdlamtlist.isCell(event.target))){
  739. if((grd_mdlamtlist.row >= grd_mdlamtlist.fixedRows)){
  740. fSelectRcpt(grd_mdlamtlist.row);
  741. // ipt_cardno.value =model.getValue("/root/main/mdlamtdescspec/cardlist[" + 1 + "]/cardno").substr(0, 16);
  742. // model.setFocus(grd_cardamtlist.row);
  743. }
  744. ]]>
  745. </script>
  746. </datagrid>
  747. <switch id="swt_mdlamtlist" style="left:0px; top:225px; width:860px; height:300px; ">
  748. <case id="case_cardlist" selected="true">
  749. <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; ">
  750. <col disabled="true" ref="cardcmpycd" type="combo">
  751. <choices>
  752. <itemset nodeset="/root/init/baseinfo/P0076">
  753. <label ref="cdnm"/>
  754. <value ref="cdid"/>
  755. </itemset>
  756. </choices>
  757. </col>
  758. <col disabled="true" ref="rcptstat" type="combo" style="left:20px; top:23px; width:153px; height:23px; text-align:center; ">
  759. <choices>
  760. <itemset nodeset="/root/init/baseinfo/P0049">
  761. <label ref="cdnm"/>
  762. <value ref="cdid"/>
  763. </itemset>
  764. </choices>
  765. </col>
  766. <col ref="cardno"/>
  767. <col disabled="true" ref="valiterm" format="99-99" style="text-align:center; "/>
  768. <col disabled="true" ref="allotmm" format="99" style="text-align:center; "/>
  769. <col disabled="true" ref="cardamt" format="(-)#,###" style="text-align:right; "/>
  770. <col ref="aprvno" style="text-align:center; "/>
  771. <col ref="aprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  772. <col ref="aprvtm" format="hh:nn:ss" style="text-align:center; "/>
  773. <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  774. <col ref="rcptno" style="text-align:right; "/>
  775. <col ref="rcptseqno" style="text-align:right; "/>
  776. <col ref="seqno" style="text-align:right; "/>
  777. <col disabled="true" ref="keyinptflag" type="combo">
  778. <choices>
  779. <item>
  780. <label>Swipe</label>
  781. <value>S</value>
  782. </item>
  783. <item>
  784. <label>Key In</label>
  785. <value>K</value>
  786. </item>
  787. </choices>
  788. </col>
  789. <col ref="ordtype" visibility="hidden"/>
  790. <col ref="aprvflag" visibility="hidden"/>
  791. <col ref="vancd" visibility="hidden"/>
  792. <col ref="cardno1" visibility="hidden"/>
  793. </datagrid>
  794. </case>
  795. <case id="case_cashlist">
  796. <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; ">
  797. <col disabled="true" ref="qualcnfmflag" type="combo">
  798. <choices>
  799. <itemset nodeset="/root/init/baseinfo/P0073">
  800. <label ref="cdnm"/>
  801. <value ref="cdid"/>
  802. </itemset>
  803. </choices>
  804. </col>
  805. <col disabled="true" ref="rcptstat" type="combo" style="left:20px; top:23px; width:153px; height:23px; text-align:center; ">
  806. <choices>
  807. <itemset nodeset="/root/init/baseinfo/P0049">
  808. <label ref="cdnm"/>
  809. <value ref="cdid"/>
  810. </itemset>
  811. </choices>
  812. </col>
  813. <col disabled="true" ref="qualcnfmno"/>
  814. <col disabled="true" ref="indinstflag" type="combo" style="text-align:center; ">
  815. <choices>
  816. <item>
  817. <label>개인</label>
  818. <value>00</value>
  819. </item>
  820. <item>
  821. <label>법인</label>
  822. <value>01</value>
  823. </item>
  824. </choices>
  825. </col>
  826. <col disabled="true" ref="cashamt" format="(-)#,###" style="text-align:right; "/>
  827. <col ref="aprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  828. <col ref="aprvtm" style="text-align:center; "/>
  829. <col ref="aprvno" style="text-align:center; "/>
  830. <col ref="rcptdd" style="text-align:center; "/>
  831. <col ref="rcptno" style="text-align:right; "/>
  832. <col ref="rcptseqno" style="text-align:right; "/>
  833. <col ref="keyinptflag" visibility="hidden"/>
  834. <col ref="aprvflag" visibility="hidden"/>
  835. <col ref="vancd" visibility="hidden"/>
  836. </datagrid>
  837. </case>
  838. </switch>
  839. <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; "/>
  840. <input id="ipt_swipedata" class="input_default" navindex="10" visibility="hidden" maxlength="25" style="left:965px; top:200px; width:170px; height:19px; "/>
  841. <button id="btn_new" class="btn2_letter2" style="left:1137px; top:198px; width:42px; height:19px; ">
  842. <caption>신규</caption>
  843. <script type="javascript" ev:event="DOMActivate">
  844. <![CDATA[
  845. fCardNew();
  846. ]]>
  847. </script>
  848. </button>
  849. <group id="group3" style="left:870px; top:220px; width:317px; height:303px; ">
  850. <line id="line8" class="line_2" style="x1:1px; y1:152px; x2:311px; y2:152px; "/>
  851. <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; ">
  852. <choices>
  853. <item>
  854. <label>카드</label>
  855. <value>Y</value>
  856. </item>
  857. <item>
  858. <label>현금영수증</label>
  859. <value>N</value>
  860. </item>
  861. <item>
  862. <label>현금</label>
  863. <value>C</value>
  864. </item>
  865. </choices>
  866. <script type="javascript" ev:event="xforms-select">
  867. <![CDATA[
  868. fFocusOut("rdo_cardyn");
  869. ]]>
  870. </script>
  871. </select1>
  872. <button id="btn_cardamt" class="btn2_letter8" style="left:2px; top:179px; width:108px; height:19px; text-align:center; ">
  873. <caption>카드결재액</caption>
  874. <script type="javascript" ev:event="DOMActivate">
  875. <![CDATA[
  876. //modal("../../../pam/pamcomnweb/xrw/SPPAO00400", "1","300", "300", "SPPAO00400", "/root/source", "/root/send");
  877. //model.refresh();
  878. ]]>
  879. </script>
  880. </button>
  881. <select1 id="cmb_allotmm" visibility="hidden" appearance="minimal" style="left:254px; top:155px; width:58px; height:19px; ">
  882. <choices>
  883. <itemset nodeset="/root/init/baseinfo/P0078">
  884. <label ref="cdnm"/>
  885. <value ref="cdid"/>
  886. </itemset>
  887. </choices>
  888. </select1>
  889. <caption id="caption73" style="left:159px; top:157px; width:51px; height:15px; ">(YYMM)</caption>
  890. <caption id="caption127" class="cell_1" style="left:0px; top:31px; width:112px; height:20px; text-align:center; vertical-align:middle; ">수납방법</caption>
  891. <line id="line21" class="line_1" style="x1:1px; y1:0px; x2:311px; y2:0px; "/>
  892. <caption id="caption74" style="left:235px; top:157px; width:20px; height:15px; ">NN</caption>
  893. <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; ">
  894. <script type="javascript" ev:event="DOMFocusOut">
  895. <![CDATA[
  896. //fFocusOut("ipt_cashamt");
  897. ]]>
  898. </script>
  899. </input>
  900. <caption id="caption129" class="cell_1" style="left:0px; top:81px; width:112px; height:19px; text-align:center; vertical-align:middle; ">카드/현금 번호</caption>
  901. <caption id="caption1" class="cell_1" style="left:0px; top:131px; width:112px; height:19px; text-align:center; vertical-align:middle; ">자격확인구분</caption>
  902. <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; ">
  903. <script type="javascript" ev:event="DOMFocusOut">
  904. <![CDATA[
  905. //fFocusOut("ipt_allotmm");
  906. ]]>
  907. </script>
  908. </input>
  909. <caption id="caption54" class="cell_1" style="left:0px; top:155px; width:112px; height:19px; text-align:center; ">유효기간/할부</caption>
  910. <select1 id="combo1" ref="/root/send/updatedata/bogj/bogj_qualcnfmflag" disabled="true" appearance="minimal" style="left:115px; top:130px; width:197px; height:19px; ">
  911. <choices>
  912. <itemset nodeset="/root/init/baseinfo/P0073">
  913. <label ref="cdnm"/>
  914. <value ref="cdid"/>
  915. </itemset>
  916. </choices>
  917. </select1>
  918. <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; ">
  919. <script type="javascript" ev:event="DOMFocusOut">
  920. <![CDATA[
  921. //fFocusOut("ipt_cardamt");
  922. ]]>
  923. </script>
  924. </input>
  925. <caption id="caption77" class="cell_1" style="left:0px; top:6px; width:112px; height:19px; text-align:center; vertical-align:middle; ">납부할 금액</caption>
  926. <caption id="caption55" class="cell_1" style="left:0px; top:179px; width:112px; height:19px; "/>
  927. <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; "/>
  928. <caption id="caption128" class="cell_1" style="left:0px; top:105px; width:112px; height:20px; text-align:center; vertical-align:middle; ">개인/법인</caption>
  929. <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; ">
  930. <choices>
  931. <item>
  932. <label>개인</label>
  933. <value>00</value>
  934. </item>
  935. <item>
  936. <label>법인</label>
  937. <value>01</value>
  938. </item>
  939. </choices>
  940. </select1>
  941. <line id="line26" class="line_2" style="x1:1px; y1:200px; x2:311px; y2:200px; "/>
  942. <line id="line1" class="line_2" style="x1:1px; y1:176px; x2:311px; y2:176px; "/>
  943. <line id="line28" class="line_3" style="x1:1px; y1:300px; x2:311px; y2:300px; "/>
  944. <caption id="caption58" class="cell_1" style="left:0px; top:204px; width:112px; height:19px; "/>
  945. <line id="line2" class="line_2" style="x1:1px; y1:27px; x2:311px; y2:27px; "/>
  946. <caption id="caption59" class="cell_1" style="left:0px; top:227px; width:112px; height:70px; text-align:center; ">참고사항</caption>
  947. <line id="line29" class="line_2" style="x1:1px; y1:224px; x2:311px; y2:224px; "/>
  948. <line id="line3" class="line_2" style="x1:1px; y1:52px; x2:311px; y2:52px; "/>
  949. <textarea id="textarea1" ref="/root/send/updatedata/bogj/bogj_remfact" navindex="23" imemode="hangul" style="left:115px; top:227px; width:197px; height:70px; "/>
  950. <line id="line4" class="line_2" style="x1:1px; y1:77px; x2:311px; y2:77px; "/>
  951. <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; ">
  952. <script type="javascript" ev:event="onkeypress">
  953. <![CDATA[
  954. if(event.keyCode == "13") {
  955. model.setFocus("ipt_cardno");
  956. }
  957. ]]>
  958. </script>
  959. <script type="javascript" ev:event="xforms-value-changed">
  960. <![CDATA[
  961. fFocusOut("ipt_rcptamt");
  962. ]]>
  963. </script>
  964. </input>
  965. <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; "/>
  966. <line id="line5" class="line_2" style="x1:1px; y1:102px; x2:311px; y2:102px; "/>
  967. <button id="btn_cashamt" class="btn2_letter8" style="left:2px; top:202px; width:108px; height:19px; text-align:center; ">
  968. <caption>현금금액</caption>
  969. <script type="javascript" ev:event="DOMActivate">
  970. <![CDATA[
  971. //modal("../../../pam/pamcomnweb/xrw/SPPAO00500", "1","300", "300", "SPPAO00500", "/root/source", "/root/send");
  972. ]]>
  973. </script>
  974. </button>
  975. <line id="line7" class="line_2" style="x1:1px; y1:127px; x2:311px; y2:127px; "/>
  976. <button id="button1" class="btn2_letter8" style="left:2px; top:179px; width:108px; height:19px; text-align:center; ">
  977. <caption>카드금액</caption>
  978. <script type="javascript" ev:event="DOMActivate">
  979. <![CDATA[
  980. //modal("../../../pam/pamcomnweb/xrw/SPPAO00500", "1","300", "300", "SPPAO00500", "/root/source", "/root/send");
  981. ]]>
  982. </script>
  983. </button>
  984. <caption id="caption4" class="cell_1" style="left:0px; top:56px; width:112px; height:19px; text-align:center; vertical-align:middle; ">입력구분</caption>
  985. <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; ">
  986. <choices>
  987. <item>
  988. <label>Swipe</label>
  989. <value>S</value>
  990. </item>
  991. <item>
  992. <label>Key in</label>
  993. <value>K</value>
  994. </item>
  995. </choices>
  996. </select1>
  997. </group>
  998. </group>
  999. <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; "/>
  1000. <button id="btn_searchpat" class="icon_search" style="left:259px; top:7px; width:16px; height:16px; ">
  1001. <caption/>
  1002. <script type="javascript" ev:event="DOMActivate">
  1003. <![CDATA[
  1004. if( model.getValue("/root/send/prercptflag") == "" ){
  1005. messageBox("개인/단체 구분을 선택하세요.", "E999", "");
  1006. return;
  1007. }else if( model.getValue("/root/send/prercptflag") == "1" ){
  1008. fSearchPatinfo();
  1009. var Tmp1 = model.getValue("root/main/info/patinfo/item/pid");
  1010. if(Tmp1 !="" ){
  1011. model.setValue("root/send/rcptid" ,Tmp1);
  1012. }
  1013. model.refresh();
  1014. }else if (model.getValue("/root/send/prercptflag") == "2"){
  1015. fGetComnCd("SMAHB00500", "08", "cd", ipt_cmpycd.currentText , "/root/main/coninfo/cmpyinfo/item/cmpycd", "/root/main/coninfo/cmpyinfo/item/cmpynm");
  1016. var Tmp1 = model.getValue("/root/main/coninfo/cmpyinfo/item/cmpycd");
  1017. var Tmp2 = model.getValue("/root/main/coninfo/cmpyinfo/item/cmpynm");
  1018. var Tmp3 = model.getValue("/root/main/coninfo/cmpyinfo/item/addr");
  1019. var Tmp4 = model.getValue("/root/main/coninfo/cmpyinfo/item/zipcd1");
  1020. var Tmp5 = model.getValue("/root/main/coninfo/cmpyinfo/item/zipcd2");
  1021. var Tmp6 = model.getValue("/root/main/coninfo/cmpyinfo/item/telno");
  1022. if (Tmp1 != "" ){
  1023. model.setValue("/root/send/cmpycd1" ,Tmp1);
  1024. model.setValue("/root/send/cmpynm" ,Tmp2);
  1025. model.setValue("/root/send/rcptid" ,Tmp1);
  1026. model.setValue("/root/main/info/patinfo/item/hngnm" ,Tmp2);
  1027. model.setValue("/root/main/info/patinfo/item/addr1" ,Tmp3);
  1028. model.setValue("/root/main/info/patinfo/item/zipcd11" ,Tmp4);
  1029. model.setValue("/root/main/info/patinfo/item/zipcd12" ,Tmp5);
  1030. model.setValue("/root/main/info/patinfo/item/telno" ,Tmp6);
  1031. model.setValue("/root/main/info/patinfo/item/engnm" ,"");
  1032. model.setValue("/root/main/info/patinfo/item/rgstno1" ,"");
  1033. model.setValue("/root/main/info/patinfo/item/rgstno2" ,"");
  1034. model.setValue("/root/main/info/patinfo/item/sex" ,"");
  1035. model.setValue("/root/main/info/patinfo/item/age" ,"");
  1036. model.setValue("/root/main/info/patinfo/item/brthdd" ,"");
  1037. model.setValue("/root/main/info/patinfo/item/mpphon" ,"");
  1038. model.setValue("/root/main/info/patinfo/item/emailid" ,"");
  1039. model.setValue("/root/main/info/patinfo/item/emailtype" ,"");
  1040. fGetList2();
  1041. }
  1042. //model.refresh();
  1043. }
  1044. fGetList2();
  1045. ]]>
  1046. </script>
  1047. </button>
  1048. <input id="ipt_rcptid" ref="/root/send/rcptid" class="input_essential" navindex="1" style="left:60px; top:5px; width:100px; height:19px; ">
  1049. <script type="javascript" ev:event="onkeyup">
  1050. <![CDATA[
  1051. if(rdo_srchprercptflag.value == "1"){
  1052. ipt_pid.currentText = ipt_rcptid.currentText;
  1053. if( event.keyCode == 13) {
  1054. model.resetInstanceNode("/root/main/info/patinfo/item");
  1055. fGetPatInfo(2);
  1056. if( !isXPathTextNull( "/root/main/info/patinfo/item/pid") || !isXPathTextNull( "/root/main/coninfo/cmpyinfo/item/cmpycd") ){
  1057. btn_search.dispatch("DOMActivate");
  1058. }
  1059. }
  1060. }
  1061. if(rdo_srchprercptflag.value == "2"){
  1062. ipt_cmpycd.currentText = ipt_rcptid.currentText;
  1063. if (ipt_cmpycd.currentText != ""){
  1064. inputEnterKey("btn_searchpat", "DOMActivate");
  1065. }
  1066. }
  1067. ]]>
  1068. </script>
  1069. </input>
  1070. <caption id="caption64" class="cell_1" style="left:805px; top:5px; width:57px; height:19px; vertical-align:middle; ">생년월일</caption>
  1071. <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; "/>
  1072. <caption id="caption65" class="cell_1" style="left:283px; top:5px; width:77px; height:19px; vertical-align:middle; ">성명[한/영]</caption>
  1073. <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; "/>
  1074. <caption id="caption66" class="cell_1" style="left:2px; top:5px; width:55px; height:19px; vertical-align:middle; ">등록번호</caption>
  1075. <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; "/>
  1076. <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; ">
  1077. <script type="javascript" ev:event="onkeyup">
  1078. <![CDATA[
  1079. if (ipt_pnm.currentText != ""){
  1080. inputEnterKey("btn_searchpat", "DOMActivate");
  1081. }
  1082. ]]>
  1083. </script>
  1084. <script type="javascript" ev:event="xforms-value-changed">
  1085. <![CDATA[
  1086. if( ipt_pnm.currentText == "" ){
  1087. model.resetInstanceNode("/root/main/info/patinfo/item");
  1088. model.refresh();
  1089. }
  1090. ]]>
  1091. </script>
  1092. </input>
  1093. <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; "/>
  1094. <caption id="caption69" class="cell_1" style="left:579px; top:5px; width:55px; height:19px; vertical-align:middle; ">주민번호</caption>
  1095. <caption id="caption91" class="cell_1" style="left:991px; top:5px; width:66px; height:19px; vertical-align:middle; ">성별/나이</caption>
  1096. <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; "/>
  1097. <caption id="caption3" class="tit_2" style="left:10px; top:60px; width:90px; height:13px; ">건진이력</caption>
  1098. <line id="line6" class="line_1" style="x1:5px; y1:79px; x2:1185px; y2:79px; "/>
  1099. <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; ">
  1100. <col ref="orddd" style="text-align:center; "/>
  1101. <col ref="pkgcd"/>
  1102. <col ref="pkgnm"/>
  1103. <col disabled="true" ref="rcptstat" type="combo">
  1104. <choices>
  1105. <itemset nodeset="/root/init/baseinfo/P0030">
  1106. <label ref="cdnm"/>
  1107. <value ref="cdid"/>
  1108. </itemset>
  1109. </choices>
  1110. </col>
  1111. <col disabled="true" ref="statflag" type="combo">
  1112. <choices>
  1113. <itemset nodeset="/root/init/baseinfo/A0107">
  1114. <label ref="cdnm"/>
  1115. <value ref="cdid"/>
  1116. </itemset>
  1117. </choices>
  1118. </col>
  1119. <col ref="remcnts"/>
  1120. </datagrid>
  1121. <caption id="caption71" class="search_name" style="left:90px; top:58px; width:86px; height:17px; ">조회일자 :</caption>
  1122. <caption id="caption72" style="left:272px; top:57px; width:10px; height:20px; ">-</caption>
  1123. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:283px; top:57px; width:92px; height:19px; "/>
  1124. <button id="btn_search" class="btn1_letter2" style="left:381px; top:56px; width:56px; height:22px; ">
  1125. <caption>조회</caption>
  1126. <script type="javascript" ev:event="DOMActivate">
  1127. <![CDATA[
  1128. fGetList2();
  1129. ]]>
  1130. </script>
  1131. </button>
  1132. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:179px; top:57px; width:92px; height:19px; "/>
  1133. <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; ">
  1134. <choices>
  1135. <item>
  1136. <label>개인</label>
  1137. <value>1</value>
  1138. </item>
  1139. <item>
  1140. <label>단체</label>
  1141. <value>2</value>
  1142. </item>
  1143. </choices>
  1144. </select1>
  1145. <script type="javascript" ev:event="xforms-value-changed">
  1146. <![CDATA[
  1147. if(rdo_srchprercptflag.value == "2"){
  1148. ipt_pnm.disabled = true;
  1149. ipt_egnm.disabled = true;
  1150. } else {
  1151. ipt_pnm.disabled = false;
  1152. ipt_egnm.disabled = false;
  1153. }
  1154. ]]>
  1155. </script>
  1156. <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; ">
  1157. <script type="javascript" ev:event="onkeyup">
  1158. <![CDATA[
  1159. if(rdo_srchprercptflag.value == "1"){
  1160. ipt_rcptid.currentText = ipt_pid.currentText ;
  1161. if( event.keyCode == 13) {
  1162. model.resetInstanceNode("/root/main/info/patinfo/item");
  1163. fGetPatInfo(2);
  1164. if( !isXPathTextNull( "/root/main/info/patinfo/item/pid") ){
  1165. btn_search.dispatch("DOMActivate");
  1166. }
  1167. }
  1168. }
  1169. ]]>
  1170. </script>
  1171. </input>
  1172. </group>
  1173. <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; ">
  1174. <script type="javascript" ev:event="onkeyup">
  1175. <![CDATA[
  1176. fMoveFocus("ipt_emailid");
  1177. ]]>
  1178. </script>
  1179. </input>
  1180. <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" style="left:164px; top:42px; width:221px; height:19px; "/>
  1181. <caption id="caption61" class="cell_1" style="left:737px; top:42px; width:61px; height:19px; vertical-align:middle; ">E-mail</caption>
  1182. <caption id="caption83" class="cell_1" style="left:2px; top:42px; width:55px; height:19px; vertical-align:middle; ">주소</caption>
  1183. <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; ">
  1184. <script type="javascript" ev:event="onkeyup">
  1185. <![CDATA[
  1186. fMoveFocus("ipt_mpphon");
  1187. ]]>
  1188. </script>
  1189. </input>
  1190. <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; ">
  1191. <script type="javascript" ev:event="onkeyup">
  1192. <![CDATA[
  1193. fMoveFocus("cmb_emailtype");
  1194. ]]>
  1195. </script>
  1196. </input>
  1197. <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; ">
  1198. <script type="javascript" ev:event="onkeyup">
  1199. <![CDATA[
  1200. if( event.keyCode == 13 ){
  1201. fGetComnCd("SMAHB00500", "08", "cd", ipt_cmpycd.currentText , "/root/main/coninfo/cmpyinfo/item/cmpycd", "/root/main/coninfo/cmpyinfo/item/cmpynm");
  1202. fGetList2();
  1203. }
  1204. ]]>
  1205. </script>
  1206. </input>
  1207. <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; "/>
  1208. <caption id="caption85" class="cell_1" style="left:392px; top:42px; width:55px; height:19px; vertical-align:middle; ">연락처</caption>
  1209. <caption id="caption86" class="cell_1" style="left:548px; top:42px; width:55px; height:19px; vertical-align:middle; ">휴대번호</caption>
  1210. <caption id="caption2" class="search_n_b" style="left:102px; top:48px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1211. <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; "/>
  1212. <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; ">
  1213. <script type="javascript" ev:event="onkeyup">
  1214. <![CDATA[
  1215. fMoveFocus("cmb_emailtype");
  1216. ]]>
  1217. </script>
  1218. </input>
  1219. <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; "/>
  1220. </xhtml:body>
  1221. </xhtml:html>