SPPAO00410_카드승인금액비교.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <xhtml:title>카드승인금액비교</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <patinfolist>
  12. <pid/>
  13. <hngnm/>
  14. </patinfolist>
  15. </patinfo>
  16. <baseinfo>
  17. <cardlist>
  18. <card>
  19. <pid/>
  20. <pnm/>
  21. <van_ymd/>
  22. <van_amt/>
  23. <rcpt_ymd/>
  24. <rcpt_amt/>
  25. <minus_amt/>
  26. </card>
  27. </cardlist>
  28. <cashlist>
  29. <cash>
  30. <pid/>
  31. <pnm/>
  32. <van_ymd/>
  33. <van_amt/>
  34. <rcpt_ymd/>
  35. <rcpt_amt/>
  36. <minus_amt/>
  37. </cash>
  38. </cashlist>
  39. </baseinfo>
  40. <detailinfo>
  41. <cvan>
  42. <cvanlist>
  43. <van>
  44. <ordtype/>
  45. <cardcmpy/>
  46. <cardno/>
  47. <aprvflag/>
  48. <aprvno/>
  49. <aprvdd/>
  50. <aprvtm/>
  51. <cardamt/>
  52. <validterm/>
  53. <allotmm/>
  54. <rcptrnm/>
  55. <rcptexecdd/>
  56. <rcpttm/>
  57. </van>
  58. </cvanlist>
  59. <opmicardlist>
  60. <opmi>
  61. <ordtype/>
  62. <orddd/>
  63. <orddeptnm/>
  64. <orddrnm/>
  65. <rcptstat/>
  66. <insukind/>
  67. <suppkind/>
  68. <cashamt/>
  69. <cardamt/>
  70. <onlineamt/>
  71. <pregdmndamt/>
  72. <precashamt/>
  73. <precardamt/>
  74. <preonlineamt/>
  75. <prepregdmndamt/>
  76. <rcptrnm/>
  77. <rcptexecdd/>
  78. <rcpttm/>
  79. </opmi>
  80. </opmicardlist>
  81. </cvan>
  82. <svan>
  83. <svanlist>
  84. <van>
  85. <ordtype/>
  86. <cardcmpy/>
  87. <cardno/>
  88. <aprvflag/>
  89. <aprvno/>
  90. <aprvdd/>
  91. <aprvtm/>
  92. <cardamt/>
  93. <validterm/>
  94. <allotmm/>
  95. <rcptrnm/>
  96. <rcptexecdd/>
  97. <rcpttm/>
  98. </van>
  99. </svanlist>
  100. <opmicashlist>
  101. <opmi>
  102. <ordtype/>
  103. <orddd/>
  104. <orddeptnm/>
  105. <orddrnm/>
  106. <rcptstat/>
  107. <insukind/>
  108. <suppkind/>
  109. <cashamt/>
  110. <cardamt/>
  111. <onlineamt/>
  112. <pregdmndamt/>
  113. <precashamt/>
  114. <precardamt/>
  115. <preonlineamt/>
  116. <prepregdmndamt/>
  117. <rcptrnm/>
  118. <rcptexecdd/>
  119. <rcpttm/>
  120. </opmi>
  121. </opmicashlist>
  122. </svan>
  123. </detailinfo>
  124. </main>
  125. <send>
  126. <initial>
  127. <fromdd/>
  128. <todd/>
  129. <pid/>
  130. <rcptrid/>
  131. <overFlag/>
  132. </initial>
  133. <grid>
  134. <pid/>
  135. <aprvdd/>
  136. <rcptexecdd/>
  137. <rcptrid/>
  138. </grid>
  139. </send>
  140. <source>
  141. <srchcond/>
  142. <autoflag/>
  143. <pid/>
  144. <hngnm/>
  145. <rrgstno1/>
  146. <rrgstno2/>
  147. <acptdd/>
  148. <checkfnexam/>
  149. <rcptrid/>
  150. </source>
  151. </root>
  152. </instance>
  153. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  154. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  155. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  156. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  157. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  158. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  159. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  160. <script type="javascript" ev:event="xforms-ready">
  161. <![CDATA[
  162. model.setValue("/root/send/initial/fromdd", getCurrentDate());
  163. model.setValue("/root/send/initial/todd", getCurrentDate());
  164. //타 프로그램에서 팝업으로 호출시 수납자 아이디 세팅
  165. if ( checkOpener() ) {
  166. var rcptrid = opener.javascript.getParameter("SPPAO00410_rcptrid");
  167. model.setValue("/root/send/initial/rcptrid", rcptrid);
  168. if( rcptrid != '' ){
  169. //자동조회기능 추가
  170. button1.dispatch("DOMActivate");
  171. }
  172. }
  173. model.refresh();
  174. ]]>
  175. </script>
  176. <script type="javascript">
  177. <![CDATA[
  178. ]]>
  179. </script>
  180. <submission id="TRPAO00410" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/initial" resultref="/root/main/baseinfo"/>
  181. <submission id="TRPAO00411" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid" resultref="/root/main/detailinfo/cvan"/>
  182. <submission id="TRPAO00412" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid" resultref="/root/main/detailinfo/svan"/>
  183. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/patinfo"/>
  184. </model>
  185. </xhtml:head>
  186. <xhtml:body>
  187. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:258px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">신용카드 / 현금영수증 승인금액비교</caption>
  188. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1200px; height:767px; ">
  189. <group id="group2" style="left:0px; top:10px; width:1200px; height:40px; vertical-align:top; ">
  190. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1200px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  191. <caption id="caption21" class="search_name" style="left:15px; top:8; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">수납일자 :</caption>
  192. <caption id="caption4" style="left:197px; top:8; width:10px; height:20px; ">-</caption>
  193. <input id="ipt_fromdd" ref="/root/send/initial/fromdd" class="input_s_essential" inputtype="date" style="left:104px; top:8; width:92px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
  194. <input id="ipt_todd" ref="/root/send/initial/todd" class="input_s_essential" inputtype="date" style="left:208px; top:8; width:92px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
  195. <button id="button1" class="btn1_letter2" navindex="3" style="left:1131px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  196. <caption>조회</caption>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. // 수납 세부내역 초기화
  200. model.resetInstanceNode("/root/main/detailinfo/cvan/cvanlist/van");
  201. model.resetInstanceNode("/root/main/detailinfo/cvan/opmicardlist/opmi");
  202. model.resetInstanceNode("/root/main/detailinfo/svan/svanlist/van");
  203. model.resetInstanceNode("/root/main/detailinfo/svan/opmicashlist/opmi");
  204. // 차트번호로 환자정보가 조회되어 있지않은 경우에는 차트번호 제외시키고 검색
  205. if (isNull(model.getValue("/root/main/patinfo/patinfolist/pid"))) {
  206. model.resetInstanceNode("/root/main/patinfo/patinfolist/hngnm");
  207. } else {
  208. model.setValue("/root/source/srchcond", "1");
  209. model.setValue("/root/source/pid", ipt_pid.currentText);
  210. if(submit("TRPMC02500")){
  211. var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  212. if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  213. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  214. return;
  215. }
  216. model.refresh();
  217. }
  218. else {
  219. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  220. return;
  221. }
  222. }
  223. model.setValue("/root/send/initial/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  224. // 승인정보 검색
  225. submit("TRPAO00410");
  226. // 발생건수 설정
  227. caption12.value = grd_card.rows - 2;
  228. caption13.value = grd_cash.rows - 2;
  229. ]]>
  230. </script>
  231. </button>
  232. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_search" navindex="1" inputtype="button" style="left:425px; top:8px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  233. <script type="javascript" ev:event="onbuttonclick">
  234. <![CDATA[
  235. setInputNodeCurText();
  236. model.makeNode("/root/hidden/sppmc02500/cond/srchcond");
  237. model.makeNode("/root/hidden/sppmc02500/cond/pid");
  238. model.makeNode("/root/hidden/sppmc02500/cond/autoflag");
  239. var pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  240. if (!isNull(pid)) {
  241. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  242. model.setValue("/root/hidden/sppmc02500/cond/pid", pid);
  243. model.setValue("/root/hidden/sppmc02500/cond/autoflag","N");
  244. } else {
  245. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  246. }
  247. modal("SPPMC02500", 1,300, 300, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", "");
  248. model.setValue("/root/main/patinfo/patinfolist/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  249. model.setValue("/root/main/patinfo/patinfolist/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  250. model.refresh();
  251. ]]>
  252. </script>
  253. <script type="javascript" ev:event="onkeypress">
  254. <![CDATA[
  255. // Enter 입력 시
  256. if (event.keyCode == "13") {
  257. setInputNodeCurText();
  258. model.setValue("/root/source/srchcond", "1");
  259. model.setValue("/root/source/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  260. if(submit("TRPMC02500")){
  261. var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  262. if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  263. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  264. return;
  265. }
  266. inputEnterKey("button1", "DOMActivate");
  267. } else {
  268. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  269. return;
  270. }
  271. }
  272. ]]>
  273. </script>
  274. </input>
  275. <output id="opt_patnm" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:527px; top:8px; width:100px; height:19px; "/>
  276. <caption id="caption19" class="search_name" style="left:335px; top:8px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
  277. <caption id="caption2" class="search_name" style="left:660px; top:10px; width:90px; height:17px; ">수납자ID :</caption>
  278. <input id="input1" ref="/root/send/initial/rcptrid" navindex="2" style="left:750px; top:10px; width:100px; height:19px; "/>
  279. <select id="checkbox1" ref="/root/send/initial/overFlag" overflow="visible" appearance="full" style="left:885px; top:11px; width:220px; height:20px; border-style:none; ">
  280. <choices>
  281. <item>
  282. <label>현금 + 통장입금 10만원 이상만 조회</label>
  283. <value>1</value>
  284. </item>
  285. </choices>
  286. </select>
  287. </group>
  288. <switch id="switch1" style="left:0px; top:75px; width:1195px; height:662px; ">
  289. <case id="case1" selected="true">
  290. <caption id="caption17" class="tit_2" style="left:535px; top:3px; width:203px; height:13px; ">카드승인내역</caption>
  291. <caption id="caption1" class="tit_2" style="left:535px; top:250px; width:203px; height:13px; ">카드수납내역</caption>
  292. <datagrid id="grd_card" nodeset="/root/main/baseinfo/cardlist/card" caption="등록번호^이름^승인내역^승인내역^수납내역^수납내역^차액^미&#xA;수|등록번호^이름^승인일자^승인금액^수납일자^수납금액^차액^미&#xA;수" colsep="^" colwidth="60, 60, 74, 70, 74, 70, 75, 24" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:20px; width:525px; height:635px; ">
  293. <col ref="pid" style="text-align:center; "/>
  294. <col ref="pnm" style="text-align:center; "/>
  295. <col ref="van_ymd" format="yyyy-mm-dd" style="text-align:center; "/>
  296. <col ref="van_amt" format="(-)#,###" style="text-align:right; "/>
  297. <col ref="rcpt_ymd" format="yyyy-mm-dd" style="text-align:center; "/>
  298. <col ref="rcpt_amt" format="(-)#,###" style="text-align:right; "/>
  299. <col ref="minus_amt" format="(-)#,###" font_weight="bold" style="font-weight:bold; text-align:right; "/>
  300. <col ref="uncoflag" style="text-align:center; "/>
  301. <script type="javascript" ev:event="ondblclick">
  302. <![CDATA[
  303. model.setValue("/root/send/grid/pid" , model.getValue("/root/main/baseinfo/cardlist/card[" + grd_card.row + " - 1 ]/pid"));
  304. model.setValue("/root/send/grid/aprvdd" , model.getValue("/root/main/baseinfo/cardlist/card[" + grd_card.row + " - 1 ]/van_ymd"));
  305. model.setValue("/root/send/grid/rcptexecdd", model.getValue("/root/main/baseinfo/cardlist/card[" + grd_card.row + " - 1 ]/rcpt_ymd"));
  306. model.setValue("/root/send/grid/rcptrid" ,model.getValue("/root/send/initial/rcptrid"));
  307. submit("TRPAO00411");
  308. ]]>
  309. </script>
  310. </datagrid>
  311. <datagrid id="grd_van" nodeset="/root/main/detailinfo/cvan/cvanlist/van" caption="진료형태^카드종류^카드번호^승인구분^승인번호^승인일자^승인시간^결제액^유효기간^할부^수납자^수납일자^수납시간|진료형태^카드종류^카드번호^승인구분^승인번호^승인일자^승인시간^결제액^유효기간^할부^수납자^수납일자^수납시간" colsep="^" colwidth="35, 80, 120, 30, 75, 75, 60, 75, 55, 30, 70, 75, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:20px; width:650px; height:226px; ">
  312. <col ref="ordtype" style="text-align:center; "/>
  313. <col ref="cardcmpy" style="text-align:center; "/>
  314. <col ref="cardno" style="text-align:center; "/>
  315. <col disabled="true" ref="aprvflag" type="combo" style="text-align:center; ">
  316. <choices>
  317. <item>
  318. <label>12</label>
  319. <value>승인</value>
  320. </item>
  321. <item>
  322. <label>22</label>
  323. <value>취소</value>
  324. </item>
  325. </choices>
  326. </col>
  327. <col ref="aprvno" style="text-align:center; "/>
  328. <col ref="aprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  329. <col ref="aprvtm" format="hh:nn:ss" style="text-align:center; "/>
  330. <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
  331. <col ref="validterm" format="99/99" style="text-align:center; "/>
  332. <col ref="allotmm" style="text-align:center; "/>
  333. <col ref="rcptrnm" style="text-align:center; "/>
  334. <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  335. <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
  336. </datagrid>
  337. <datagrid id="grd_opmi" nodeset="/root/main/detailinfo/cvan/opmicardlist/opmi" caption="수납구분^진료일자^진료과^진료의^수납상태^보험^보조^현금^카드^통장^산전^기현금^기카드^기통장^기산전^수납자^수납일자^수납시간|수납구분^(입원일자)^진료과^진료의^수납상태^보험^보조^현금^카드^통장^산전^기현금^기카드^기통장^기산전^수납자^수납일자^수납시간" colsep="^" colwidth="35, 75, 80, 70, 35, 35, 35, 75, 75, 75, 75, 75, 75, 75, 75, 70, 75, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:265px; width:650px; height:390px; ">
  338. <col ref="ordtype" style="text-align:center; "/>
  339. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  340. <col ref="orddeptnm" style="text-align:center; "/>
  341. <col ref="orddrnm" style="text-align:center; "/>
  342. <col ref="rcptstat" style="text-align:center; "/>
  343. <col ref="insukind" style="text-align:center; "/>
  344. <col ref="suppkind" style="text-align:center; "/>
  345. <col ref="cashamt" format="(-)#,###" style="text-align:right; "/>
  346. <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
  347. <col ref="onlineamt" format="(-)#,###" style="text-align:right; "/>
  348. <col ref="pregdmndamt" format="(-)#,###" style="text-align:right; "/>
  349. <col ref="precashamt" format="(-)#,###" style="text-align:right; "/>
  350. <col ref="precardamt" format="(-)#,###" style="text-align:right; "/>
  351. <col ref="preonlineamt" format="(-)#,###" style="text-align:right; "/>
  352. <col ref="prepregdmndamt" format="(-)#,###" style="text-align:right; "/>
  353. <col ref="rcptrnm" style="text-align:center; "/>
  354. <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  355. <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
  356. </datagrid>
  357. <caption id="caption7" class="tit_2" style="left:5px; top:5px; width:203px; height:14px; ">신용카드 대상 리스트</caption>
  358. </case>
  359. <case id="case2">
  360. <caption id="caption217" class="tit_2" style="left:535px; top:3px; width:203px; height:14px; ">현금영수증 승인내역</caption>
  361. <caption id="caption3" class="tit_2" style="left:535px; top:250px; width:203px; height:14px; ">현금영수증 수납내역</caption>
  362. <datagrid id="grd_cash" nodeset="/root/main/baseinfo/cashlist/cash" caption="등록번호^이름^승인내역^승인내역^수납내역^수납내역^차액|등록번호^이름^승인일자^승인금액^수납일자^수납금액^차액" colsep="^" colwidth="60, 60, 74, 70, 74, 70, 75" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:20px; width:525px; height:635px; ">
  363. <col ref="pid" style="text-align:center; "/>
  364. <col ref="pnm" style="text-align:center; "/>
  365. <col ref="van_ymd" format="yyyy-mm-dd" style="text-align:center; "/>
  366. <col ref="van_amt" format="(-)#,###" style="text-align:right; "/>
  367. <col ref="rcpt_ymd" format="yyyy-mm-dd" style="text-align:center; "/>
  368. <col ref="rcpt_amt" format="(-)#,###" style="text-align:right; "/>
  369. <col ref="minus_amt" format="(-)#,###" font_weight="bold" style="font-weight:bold; text-align:right; "/>
  370. <script type="javascript" ev:event="ondblclick">
  371. <![CDATA[
  372. model.setValue("/root/send/grid/pid", model.getValue("/root/main/baseinfo/cashlist/cash[" + grd_cash.row + " - 1 ]/pid"));
  373. model.setValue("/root/send/grid/aprvdd", model.getValue("/root/main/baseinfo/cashlist/cash[" + grd_cash.row + " - 1 ]/van_ymd"));
  374. model.setValue("/root/send/grid/rcptexecdd", model.getValue("/root/main/baseinfo/cashlist/cash[" + grd_cash.row + " - 1 ]/rcpt_ymd"));
  375. model.setValue("/root/send/grid/rcptrid", model.getValue("/root/send/initial/rcptrid"));
  376. submit("TRPAO00412");
  377. ]]>
  378. </script>
  379. </datagrid>
  380. <datagrid id="grd_svan" nodeset="/root/main/detailinfo/svan/svanlist/van" caption="진료형태^구분^등록번호^승인구분^승인번호^승인일자^승인시간^결제액^유효기간^할부^수납자^수납일자^수납시간|진료형태^구분^등록번호^승인구분^승인번호^승인일자^승인시간^결제액^유효기간^할부^수납자^수납일자^수납시간" colsep="^" colwidth="35, 80, 120, 30, 75, 75, 60, 75, 55, 30, 70, 75, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:20px; width:650px; height:226px; ">
  381. <col ref="ordtype" style="text-align:center; "/>
  382. <col ref="cardcmpy" style="text-align:center; "/>
  383. <col ref="cardno" style="text-align:center; "/>
  384. <col disabled="true" ref="aprvflag" type="combo" style="text-align:center; ">
  385. <choices>
  386. <item>
  387. <label>승인</label>
  388. <value>42</value>
  389. </item>
  390. <item>
  391. <label>취소</label>
  392. <value>52</value>
  393. </item>
  394. </choices>
  395. </col>
  396. <col ref="aprvno" style="text-align:center; "/>
  397. <col ref="aprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  398. <col ref="aprvtm" format="hh:nn:ss" style="text-align:center; "/>
  399. <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
  400. <col ref="validterm" format="99/99" style="text-align:center; "/>
  401. <col ref="allotmm" style="text-align:center; "/>
  402. <col ref="rcptrnm" style="text-align:center; "/>
  403. <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  404. <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
  405. </datagrid>
  406. <datagrid id="grd_opmi_cash" nodeset="/root/main/detailinfo/svan/opmicashlist/opmi" caption="수납구분^진료일자^진료과^진료의^수납상태^보험^보조^현금^카드^통장^산전^기현금^기카드^기통장^기산전^수납자^수납일자^수납시간|수납구분^(입원일자)^진료과^진료의^수납상태^보험^보조^현금^카드^통장^산전^기현금^기카드^기통장^기산전^수납자^수납일자^수납시간" colsep="^" colwidth="35, 75, 80, 70, 35, 35, 35, 75, 75, 75, 75, 75, 75, 75, 75, 70, 75, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:265px; width:650px; height:390px; ">
  407. <col ref="ordtype" style="text-align:center; "/>
  408. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  409. <col ref="orddeptnm" style="text-align:center; "/>
  410. <col ref="orddrnm" style="text-align:center; "/>
  411. <col ref="rcptstat" style="text-align:center; "/>
  412. <col ref="insukind" style="text-align:center; "/>
  413. <col ref="suppkind" style="text-align:center; "/>
  414. <col ref="cashamt" format="(-)#,###" style="text-align:right; "/>
  415. <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
  416. <col ref="onlineamt" format="(-)#,###" style="text-align:right; "/>
  417. <col ref="pregdmndamt" format="(-)#,###" style="text-align:right; "/>
  418. <col ref="precashamt" format="(-)#,###" style="text-align:right; "/>
  419. <col ref="precardamt" format="(-)#,###" style="text-align:right; "/>
  420. <col ref="preonlineamt" format="(-)#,###" style="text-align:right; "/>
  421. <col ref="prepregdmndamt" format="(-)#,###" style="text-align:right; "/>
  422. <col ref="rcptrnm" style="text-align:center; "/>
  423. <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  424. <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
  425. </datagrid>
  426. <caption id="caption5" class="tit_2" style="left:5px; top:5px; width:203px; height:14px; ">현금영수증 대상 리스트</caption>
  427. </case>
  428. </switch>
  429. <button id="button2" class="btn_sw" group="tab" selected="true" style="left:5px; top:54px; width:100px; height:22px; ">
  430. <caption>신용카드</caption>
  431. <toggle case="case1" ev:event="onclick"/>
  432. </button>
  433. <button id="button3" class="btn_sw" group="tab" style="left:105px; top:54px; width:100px; height:22px; ">
  434. <caption>현금영수증</caption>
  435. <toggle case="case2" ev:event="onclick"/>
  436. </button>
  437. <button id="button9" class="btn4_letter3" style="left:1120px; top:740px; width:68px; height:22px; ">
  438. <caption>초기화</caption>
  439. <script type="javascript" ev:event="DOMActivate">
  440. <![CDATA[
  441. // 검색조건 초기화
  442. model.setValue("/root/send/initial/fromdd", getCurrentDate());
  443. model.setValue("/root/send/initial/todd", getCurrentDate());
  444. model.resetInstanceNode("/root/main/patinfo/patinfolist/pid");
  445. model.resetInstanceNode("/root/main/patinfo/patinfolist/hngnm");
  446. // 신용카드 초기화
  447. model.resetInstanceNode("/root/main/baseinfo/cardlist/card");
  448. model.resetInstanceNode("/root/main/detailinfo/cvan/cvanlist/van");
  449. model.resetInstanceNode("/root/main/detailinfo/cvan/opmicardlist/opmi");
  450. // 현금영수증 초기화
  451. model.resetInstanceNode("/root/main/baseinfo/cashlist/cash");
  452. model.resetInstanceNode("/root/main/detailinfo/svan/svanlist/van");
  453. model.resetInstanceNode("/root/main/detailinfo/svan/opmicashlist/opmi");
  454. // 발생건수 초기화
  455. caption12.value = "0";
  456. caption13.value = "0";
  457. model.refresh();
  458. ]]>
  459. </script>
  460. </button>
  461. <caption id="caption8" style="left:240px; top:57px; width:65px; height:20px; ">신용카드 :</caption>
  462. <caption id="caption9" style="left:380px; top:57px; width:75px; height:20px; ">현금영수증 :</caption>
  463. <caption id="caption10" style="left:335px; top:57px; width:44px; height:20px; ">건 /</caption>
  464. <caption id="caption11" style="left:485px; top:57px; width:25px; height:20px; ">건</caption>
  465. <caption id="caption12" format="#,###" style="left:300px; top:57px; width:30px; height:20px; font-weight:bold; color:#ff0000; text-align:right; ">0</caption>
  466. <caption id="caption13" format="#,###" style="left:450px; top:57px; width:30px; height:20px; font-weight:bold; color:#ff0000; text-align:right; ">0</caption>
  467. <button id="button4" class="btn2_letter7" style="left:1087px; top:56px; width:97px; height:19px; ">
  468. <caption>현금영수증승인</caption>
  469. <script type="javascript" ev:event="DOMActivate">
  470. <![CDATA[
  471. var pid = model.getValue("/root/main/baseinfo/cashlist/cash[" + grd_cash.row + " - 1 ]/pid");
  472. if (isNull(pid)) {
  473. messageBox("현금영수증 대상 리스트에서 환자를 선택하십시요.", "E000");
  474. return;
  475. }
  476. // 현금영수증 승인용 파라미터 설정(최소한의 값만 설정)
  477. var parm = "0" + "▦" + //멀티건수
  478. "" + "▦" + //멀티opmi
  479. "0" + "▦" + //totalamt
  480. "" + "▦" + //send
  481. "" + "▦" + //receive
  482. pid + "▦" + //pid
  483. "O" + "▦" + //ordtype
  484. "" + "▦" + //indinstflag
  485. "" + "▦" + //gQualcnfmno
  486. "" + "▦" + //keyinpuflag
  487. "" + "▦" + //swipedata
  488. "" + "▦" ; //qualcnfmflag
  489. setParameter("SPPAO00500_PARM", parm);
  490. setParameter("SPPAO00500_FLAG", "");
  491. // 현금영수증 승인 팝업
  492. modal("SPPAO00501", "1","400", "400", "SPPAO00501", "", "");
  493. ]]>
  494. </script>
  495. </button>
  496. <caption id="caption14" style="left:740px; top:56px; width:345px; height:20px; font-size:8pt; color:#ff0000; ">* 현금영수증 대상 리스트에서 환자 선택 시 신분확인번호 검색 용이</caption>
  497. </group>
  498. </xhtml:body>
  499. </xhtml:html>