SPPAO00410_카드승인금액비교.xfdl 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPAO00410" position="absolute 0 0 1196 780" titletext="카드승인금액비교" onload="SPPAO00410_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="신용카드 / 현금영수증 승인금액비교" position="absolute 0 0 260 25" id="caption6" class="tit_1"/>
  8. <Div id="div" taborder="1" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right">
  9. <Layouts>
  10. <Layout width="1200" height="35">
  11. <Static id="caption21" text="수납일자 :" class="search_name" position="absolute 9 12 95 29" anchor="default"/>
  12. <Static id="caption4" text="-" position="absolute 187 13 194 27" anchor="default"/>
  13. <Calendar id="ipt_fromdd" taborder="4" class="input_essential" position="absolute 90 11 182 30" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
  14. <Calendar id="ipt_todd" taborder="5" class="input_essential" position="absolute 199 11 291 30" anchor="default" autoselect="true" dateformat="yyyy-MM-dd"/>
  15. <Button id="button1" taborder="6" text="조회" class="btn1" position="absolute 1125 10 1181 32" anchor="top right" onclick="div_button1_onclick"/>
  16. <Edit id="ipt_pid" taborder="7" class="input_essential" position="absolute 411 11 511 30" anchor="default" onkeydown="div_ipt_pid_onkeydown"/>
  17. <Edit id="opt_patnm" taborder="8" readonly="true" position="absolute 513 11 613 30" anchor="default" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;"/>
  18. <Static id="caption19" text="등록번호 :" class="search_name" position="absolute 329 12 419 29" anchor="default"/>
  19. <Static id="caption2" text="수납자ID :" class="search_name" position="absolute 654 12 744 29" anchor="default"/>
  20. <Edit id="input1" taborder="9" position="absolute 736 11 836 30" anchor="default"/>
  21. <CheckBox id="checkbox1" taborder="10" position="absolute 863 11 1083 31" anchor="default" text="현금 + 통장입금 10만원 이상만 조회" falsevalue="0" truevalue="1"/>
  22. <Button id="patientSearch" taborder="11" position="absolute 492 11 511 30" style="background:transparent URL('theme://images\icon_btn.png') stretch;border:0 double #33bbbbff #effcfbff;" onclick="div_patientSearch_onclick" anchor="default"/>
  23. </Layout>
  24. </Layouts>
  25. </Div>
  26. <Tab id="switch1" taborder="2" tabindex="0" position="absolute 0 67 1195 749" style="background:stretch 10,26;" anchor="all">
  27. <Tabpages>
  28. <Tabpage id="case1" text="신용카드">
  29. <Layouts>
  30. <Layout>
  31. <Static id="caption17" text="카드승인내역" class="tit_2" position="absolute 530 6 733 22" anchor="top right"/>
  32. <Static id="caption1" text="카드수납내역" class="tit_2" position="absolute 530 253 733 269" anchor="top right"/>
  33. <Grid id="grd_card" taborder="4" binddataset="ds_main_baseinfo_cardlist" useinputpanel="false" cellsizingtype="col" autofittype="col" oncelldblclick="switch1_case1_grd_card_oncelldblclick" position="absolute 0 27 525 654" anchor="all">
  34. <Formats>
  35. <Format id="default">
  36. <Columns>
  37. <Column size="25"/>
  38. <Column size="60"/>
  39. <Column size="60"/>
  40. <Column size="74"/>
  41. <Column size="70"/>
  42. <Column size="74"/>
  43. <Column size="70"/>
  44. <Column size="75"/>
  45. <Column size="24"/>
  46. </Columns>
  47. <Rows>
  48. <Row size="24" band="head"/>
  49. <Row size="24" band="head"/>
  50. <Row size="24"/>
  51. </Rows>
  52. <Band id="head">
  53. <Cell rowspan="2" celltype="none" taborder="undefined"/>
  54. <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
  55. <Cell col="2" rowspan="2" text="이름" taborder="undefined"/>
  56. <Cell col="3" colspan="2" text="승인내역" taborder="undefined"/>
  57. <Cell col="5" colspan="2" text="수납내역" taborder="undefined"/>
  58. <Cell col="7" rowspan="2" text="차액" taborder="undefined"/>
  59. <Cell col="8" rowspan="2" text="미&#10;수" taborder="undefined"/>
  60. <Cell row="1" col="3" text="승인일자"/>
  61. <Cell row="1" col="4" text="승인금액"/>
  62. <Cell row="1" col="5" text="수납일자"/>
  63. <Cell row="1" col="6" text="수납금액"/>
  64. </Band>
  65. <Band id="body">
  66. <Cell celltype="head" expr="expr:currow + 1"/>
  67. <Cell col="1" style="align:center middle;" text="bind:pid"/>
  68. <Cell col="2" style="align:center middle;" text="bind:pnm"/>
  69. <Cell col="3" displaytype="date" style="align:center middle;" text="bind:van_ymd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  70. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:van_amt" mask="9,999"/>
  71. <Cell col="5" displaytype="date" style="align:center middle;" text="bind:rcpt_ymd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  72. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:rcpt_amt" mask="9,999"/>
  73. <Cell col="7" displaytype="number" style="align:right middle;font:Dotum,9,bold;" text="bind:minus_amt" mask="9,999"/>
  74. <Cell col="8" style="align:center middle;" text="bind:uncoflag"/>
  75. </Band>
  76. </Format>
  77. </Formats>
  78. </Grid>
  79. <Grid id="grd_van" taborder="5" binddataset="ds_main_detailinfo_cvan_cvanlist" useinputpanel="false" cellsizingtype="col" position="absolute 530 27 1195 245" anchor="top right">
  80. <Formats>
  81. <Format id="default">
  82. <Columns>
  83. <Column size="35"/>
  84. <Column size="80"/>
  85. <Column size="120"/>
  86. <Column size="30"/>
  87. <Column size="75"/>
  88. <Column size="75"/>
  89. <Column size="60"/>
  90. <Column size="75"/>
  91. <Column size="55"/>
  92. <Column size="30"/>
  93. <Column size="70"/>
  94. <Column size="75"/>
  95. <Column size="60"/>
  96. </Columns>
  97. <Rows>
  98. <Row size="24" band="head"/>
  99. <Row size="24" band="head"/>
  100. <Row size="24"/>
  101. </Rows>
  102. <Band id="head">
  103. <Cell rowspan="2" text="진료&#13;&#10;형태" taborder="undefined"/>
  104. <Cell col="1" rowspan="2" text="카드종류" taborder="undefined"/>
  105. <Cell col="2" rowspan="2" text="카드번호" taborder="undefined"/>
  106. <Cell col="3" rowspan="2" text="승인&#13;&#10;구분" taborder="undefined"/>
  107. <Cell col="4" rowspan="2" text="승인번호" taborder="undefined"/>
  108. <Cell col="5" rowspan="2" text="승인일자" taborder="undefined"/>
  109. <Cell col="6" rowspan="2" text="승인시간" taborder="undefined"/>
  110. <Cell col="7" rowspan="2" text="결제액" taborder="undefined"/>
  111. <Cell col="8" rowspan="2" text="유효기간" taborder="undefined"/>
  112. <Cell col="9" rowspan="2" text="할부" taborder="undefined"/>
  113. <Cell col="10" rowspan="2" text="수납자" taborder="undefined"/>
  114. <Cell col="11" rowspan="2" text="수납일자" taborder="undefined"/>
  115. <Cell col="12" rowspan="2" text="수납시간" taborder="undefined"/>
  116. </Band>
  117. <Band id="body">
  118. <Cell style="align:center middle;" text="bind:ordtype"/>
  119. <Cell col="1" style="align:center middle;" text="bind:cardcmpy"/>
  120. <Cell col="2" style="align:center middle;" text="bind:cardno"/>
  121. <Cell col="3" displaytype="combo" style="align:center middle;" text="bind:aprvflag" combodataset="ds_static_aprvflag" combocodecol="value" combodatacol="label" enable="false"/>
  122. <Cell col="4" style="align:center middle;" text="bind:aprvno"/>
  123. <Cell col="5" displaytype="date" style="align:center middle;" text="bind:aprvdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  124. <Cell col="6" displaytype="expr:utlf_isNull(aprvtm) ? 'none' : 'normal'" style="align:center middle;" text="bind:aprvtm" mask="##:##:##" maskchar=" "/>
  125. <Cell col="7" displaytype="number" text="bind:cardamt" mask="9,999"/>
  126. <Cell col="8" style="align:center middle;" text="bind:validterm" mask="##/##" maskchar=" "/>
  127. <Cell col="9" style="align:center middle;" text="bind:allotmm"/>
  128. <Cell col="10" style="align:center middle;" text="bind:rcptrnm"/>
  129. <Cell col="11" displaytype="expr:rcptexecdd == '-' ? 'normal' : 'date'" style="align:center middle;" text="bind:rcptexecdd" mask="expr:rcptexecdd == '-' ? '' : 'yyyy-MM-dd'" calendardisplaynulltype="none"/>
  130. <Cell col="12" displaytype="expr:rcpttm == '-' ? 'normal' : 'date'" style="align:center middle;" text="bind:rcpttm" mask="expr:rcpttm == '-' ? '' : 'yyyy-MM-dd'"/>
  131. </Band>
  132. </Format>
  133. </Formats>
  134. </Grid>
  135. <Grid id="grd_opmi" taborder="6" binddataset="ds_main_detailinfo_cvan_opmicardlist" useinputpanel="false" cellsizingtype="col" position="absolute 530 274 1195 655" anchor="top right bottom">
  136. <Formats>
  137. <Format id="default">
  138. <Columns>
  139. <Column size="35"/>
  140. <Column size="75"/>
  141. <Column size="80"/>
  142. <Column size="70"/>
  143. <Column size="35"/>
  144. <Column size="35"/>
  145. <Column size="35"/>
  146. <Column size="75"/>
  147. <Column size="75"/>
  148. <Column size="75"/>
  149. <Column size="75"/>
  150. <Column size="75"/>
  151. <Column size="75"/>
  152. <Column size="75"/>
  153. <Column size="75"/>
  154. <Column size="70"/>
  155. <Column size="75"/>
  156. <Column size="60"/>
  157. </Columns>
  158. <Rows>
  159. <Row size="24" band="head"/>
  160. <Row size="24" band="head"/>
  161. <Row size="24"/>
  162. </Rows>
  163. <Band id="head">
  164. <Cell rowspan="2" text="수납&#13;&#10;구분" taborder="undefined"/>
  165. <Cell col="1" text="진료일자"/>
  166. <Cell col="2" rowspan="2" text="진료과" taborder="undefined"/>
  167. <Cell col="3" rowspan="2" text="진료의" taborder="undefined"/>
  168. <Cell col="4" rowspan="2" text="수납&#13;&#10;상태" taborder="undefined"/>
  169. <Cell col="5" rowspan="2" text="보험" taborder="undefined"/>
  170. <Cell col="6" rowspan="2" text="보조" taborder="undefined"/>
  171. <Cell col="7" rowspan="2" text="현금" taborder="undefined"/>
  172. <Cell col="8" rowspan="2" text="카드" taborder="undefined"/>
  173. <Cell col="9" rowspan="2" text="통장" taborder="undefined"/>
  174. <Cell col="10" rowspan="2" text="산전" taborder="undefined"/>
  175. <Cell col="11" rowspan="2" text="기현금" taborder="undefined"/>
  176. <Cell col="12" rowspan="2" text="기카드" taborder="undefined"/>
  177. <Cell col="13" rowspan="2" text="기통장" taborder="undefined"/>
  178. <Cell col="14" rowspan="2" text="기산전" taborder="undefined"/>
  179. <Cell col="15" rowspan="2" text="수납자" taborder="undefined"/>
  180. <Cell col="16" rowspan="2" text="수납일자" taborder="undefined"/>
  181. <Cell col="17" rowspan="2" text="수납시간" taborder="undefined"/>
  182. <Cell row="1" col="1" text="(입원일자)"/>
  183. </Band>
  184. <Band id="body">
  185. <Cell style="align:center middle;" text="bind:ordtype"/>
  186. <Cell col="1" displaytype="date" style="align:center middle;" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  187. <Cell col="2" style="align:center middle;" text="bind:orddeptnm"/>
  188. <Cell col="3" style="align:center middle;" text="bind:orddrnm"/>
  189. <Cell col="4" style="align:center middle;" text="bind:rcptstat"/>
  190. <Cell col="5" style="align:center middle;" text="bind:insukind"/>
  191. <Cell col="6" style="align:center middle;" text="bind:suppkind"/>
  192. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:cashamt" mask="9,999"/>
  193. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:cardamt" mask="9,999"/>
  194. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:onlineamt" mask="9,999"/>
  195. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:pregdmndamt" mask="9,999"/>
  196. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:precashamt" mask="9,999"/>
  197. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:precardamt" mask="9,999"/>
  198. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:preonlineamt" mask="9,999"/>
  199. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:prepregdmndamt" mask="9,999"/>
  200. <Cell col="15" style="align:center middle;" text="bind:rcptrnm"/>
  201. <Cell col="16" displaytype="date" style="align:center middle;" text="bind:rcptexecdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  202. <Cell col="17" displaytype="date" style="align:center middle;" text="bind:rcpttm" mask="hh:mm:ss" calendardisplaynulltype="none"/>
  203. </Band>
  204. </Format>
  205. </Formats>
  206. </Grid>
  207. <Static id="caption7" text="신용카드 대상 리스트" class="tit_2" position="absolute 0 6 203 22"/>
  208. <Shape id="line2" class="line_10" position="absolute 0 22 525 28" anchor="left top right"/>
  209. <Shape id="line00" class="line_10" position="absolute 530 22 1195 28" anchor="top right"/>
  210. <Shape id="line01" class="line_10" position="absolute 530 269 1195 275" anchor="top right"/>
  211. </Layout>
  212. </Layouts>
  213. </Tabpage>
  214. <Tabpage id="case2" text="현금영수증">
  215. <Layouts>
  216. <Layout>
  217. <Static id="caption217" text="현금영수증 승인내역" class="tit_2" position="absolute 530 6 733 22" anchor="top right"/>
  218. <Static id="caption3" text="현금영수증 수납내역" class="tit_2" position="absolute 530 261 733 277" anchor="top right"/>
  219. <Grid id="grd_cash" taborder="4" binddataset="ds_main_baseinfo_cashlist" useinputpanel="false" cellsizingtype="col" autofittype="col" autosizingtype="col" oncelldblclick="switch1_case2_grd_cash_oncelldblclick" position="absolute 0 27 525 655" anchor="all">
  220. <Formats>
  221. <Format id="default">
  222. <Columns>
  223. <Column size="25"/>
  224. <Column size="60"/>
  225. <Column size="60"/>
  226. <Column size="74"/>
  227. <Column size="70"/>
  228. <Column size="74"/>
  229. <Column size="70"/>
  230. <Column size="75"/>
  231. </Columns>
  232. <Rows>
  233. <Row size="24" band="head"/>
  234. <Row size="24" band="head"/>
  235. <Row size="24"/>
  236. </Rows>
  237. <Band id="head">
  238. <Cell rowspan="2" taborder="undefined"/>
  239. <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
  240. <Cell col="2" rowspan="2" text="이름" taborder="undefined"/>
  241. <Cell col="3" colspan="2" text="승인내역" taborder="undefined"/>
  242. <Cell col="5" colspan="2" text="수납내역" taborder="undefined"/>
  243. <Cell col="7" rowspan="2" text="차액" taborder="undefined"/>
  244. <Cell row="1" col="3" text="승인일자"/>
  245. <Cell row="1" col="4" text="승인금액"/>
  246. <Cell row="1" col="5" text="수납일자"/>
  247. <Cell row="1" col="6" text="수납금액"/>
  248. </Band>
  249. <Band id="body">
  250. <Cell celltype="head" expr="expr:currow + 1"/>
  251. <Cell col="1" style="align:center middle;" text="bind:pid"/>
  252. <Cell col="2" style="align:center middle;" text="bind:pnm"/>
  253. <Cell col="3" displaytype="date" style="align:center middle;" text="bind:van_ymd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  254. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:van_amt" mask="9,999"/>
  255. <Cell col="5" displaytype="date" style="align:center middle;" text="bind:rcpt_ymd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  256. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:rcpt_amt" mask="9,999"/>
  257. <Cell col="7" displaytype="number" style="align:right middle;font:Dotum,9,bold;" text="bind:minus_amt" mask="9,999"/>
  258. </Band>
  259. </Format>
  260. </Formats>
  261. </Grid>
  262. <Grid id="grd_svan" taborder="5" binddataset="ds_main_detailinfo_svan_svanlist" useinputpanel="false" cellsizingtype="col" position="absolute 530 27 1195 253" anchor="top right">
  263. <Formats>
  264. <Format id="default">
  265. <Columns>
  266. <Column size="35"/>
  267. <Column size="80"/>
  268. <Column size="120"/>
  269. <Column size="30"/>
  270. <Column size="75"/>
  271. <Column size="75"/>
  272. <Column size="60"/>
  273. <Column size="75"/>
  274. <Column size="55"/>
  275. <Column size="30"/>
  276. <Column size="70"/>
  277. <Column size="75"/>
  278. <Column size="60"/>
  279. </Columns>
  280. <Rows>
  281. <Row size="24" band="head"/>
  282. <Row size="24" band="head"/>
  283. <Row size="24"/>
  284. </Rows>
  285. <Band id="head">
  286. <Cell rowspan="2" text="진료&#13;&#10;형태" taborder="undefined"/>
  287. <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
  288. <Cell col="2" rowspan="2" text="등록번호" taborder="undefined"/>
  289. <Cell col="3" rowspan="2" text="승인&#13;&#10;구분" taborder="undefined"/>
  290. <Cell col="4" rowspan="2" text="승인번호" taborder="undefined"/>
  291. <Cell col="5" rowspan="2" text="승인일자" taborder="undefined"/>
  292. <Cell col="6" rowspan="2" text="승인시간" taborder="undefined"/>
  293. <Cell col="7" rowspan="2" text="결제액" taborder="undefined"/>
  294. <Cell col="8" rowspan="2" text="유효기간" taborder="undefined"/>
  295. <Cell col="9" rowspan="2" text="할부" taborder="undefined"/>
  296. <Cell col="10" rowspan="2" text="수납자" taborder="undefined"/>
  297. <Cell col="11" rowspan="2" text="수납일자" taborder="undefined"/>
  298. <Cell col="12" rowspan="2" text="수납시간" taborder="undefined"/>
  299. </Band>
  300. <Band id="body">
  301. <Cell style="align:center middle;" text="bind:ordtype"/>
  302. <Cell col="1" style="align:center middle;" text="bind:cardcmpy"/>
  303. <Cell col="2" style="align:center middle;" text="bind:cardno"/>
  304. <Cell col="3" displaytype="combo" style="align:center middle;" text="bind:aprvflag" combodataset="ds_static_aprvflag2" combocodecol="value" combodatacol="label" enable="false"/>
  305. <Cell col="4" style="align:center middle;" text="bind:aprvno"/>
  306. <Cell col="5" displaytype="date" style="align:center middle;" text="bind:aprvdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  307. <Cell col="6" displaytype="expr:utlf_isNull(aprvtm) ? 'none' : 'normal'" style="align:center middle;" text="bind:aprvtm" mask="##:##:##" maskchar=" "/>
  308. <Cell col="7" displaytype="number" text="bind:cardamt" mask="9,999"/>
  309. <Cell col="8" style="align:center middle;" text="bind:validterm"/>
  310. <Cell col="9" style="align:center middle;" text="bind:allotmm"/>
  311. <Cell col="10" style="align:center middle;" text="bind:rcptrnm"/>
  312. <Cell col="11" displaytype="expr:rcptexecdd == '-' ? 'normal' : 'date'" style="align:center middle;" text="bind:rcptexecdd" mask="expr:rcptexecdd == '-' ? '' : 'yyyy-MM-dd'" calendardisplaynulltype="none"/>
  313. <Cell col="12" displaytype="expr:rcpttm == '-' ? 'normal' : 'date'" style="align:center middle;" text="bind:rcpttm" mask="expr:rcpttm == '-' ? '' : 'yyyy-MM-dd'"/>
  314. </Band>
  315. </Format>
  316. </Formats>
  317. </Grid>
  318. <Grid id="grd_opmi_cash" taborder="6" binddataset="ds_main_detailinfo_svan_opmicashlist" useinputpanel="false" cellsizingtype="col" position="absolute 530 282 1195 655" anchor="top right bottom">
  319. <Formats>
  320. <Format id="default">
  321. <Columns>
  322. <Column size="35"/>
  323. <Column size="75"/>
  324. <Column size="80"/>
  325. <Column size="70"/>
  326. <Column size="35"/>
  327. <Column size="35"/>
  328. <Column size="35"/>
  329. <Column size="75"/>
  330. <Column size="75"/>
  331. <Column size="75"/>
  332. <Column size="75"/>
  333. <Column size="75"/>
  334. <Column size="75"/>
  335. <Column size="75"/>
  336. <Column size="75"/>
  337. <Column size="70"/>
  338. <Column size="75"/>
  339. <Column size="60"/>
  340. </Columns>
  341. <Rows>
  342. <Row size="24" band="head"/>
  343. <Row size="24" band="head"/>
  344. <Row size="24"/>
  345. </Rows>
  346. <Band id="head">
  347. <Cell rowspan="2" text="수납&#13;&#10;구분" taborder="undefined"/>
  348. <Cell col="1" text="진료일자"/>
  349. <Cell col="2" rowspan="2" text="진료과" taborder="undefined"/>
  350. <Cell col="3" rowspan="2" text="진료의" taborder="undefined"/>
  351. <Cell col="4" rowspan="2" text="수납&#13;&#10;상태" taborder="undefined"/>
  352. <Cell col="5" rowspan="2" text="보험" taborder="undefined"/>
  353. <Cell col="6" rowspan="2" text="보조" taborder="undefined"/>
  354. <Cell col="7" rowspan="2" text="현금" taborder="undefined"/>
  355. <Cell col="8" rowspan="2" text="카드" taborder="undefined"/>
  356. <Cell col="9" rowspan="2" text="통장" taborder="undefined"/>
  357. <Cell col="10" rowspan="2" text="산전" taborder="undefined"/>
  358. <Cell col="11" rowspan="2" text="기현금" taborder="undefined"/>
  359. <Cell col="12" rowspan="2" text="기카드"/>
  360. <Cell col="13" rowspan="2" text="기통장"/>
  361. <Cell col="14" rowspan="2" text="기산전"/>
  362. <Cell col="15" rowspan="2" text="수납자"/>
  363. <Cell col="16" rowspan="2" text="수납일자"/>
  364. <Cell col="17" rowspan="2" text="수납시간"/>
  365. <Cell row="1" col="1" text="(입원일자)"/>
  366. </Band>
  367. <Band id="body">
  368. <Cell style="align:center top;padding:5 2 3 2;" text="bind:ordtype" wordwrap="word"/>
  369. <Cell col="1" displaytype="date" style="align:center middle;" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  370. <Cell col="2" style="align:center top;padding:5 2 3 2;" text="bind:orddeptnm" wordwrap="word"/>
  371. <Cell col="3" style="align:center middle;" text="bind:orddrnm"/>
  372. <Cell col="4" style="align:center middle;" text="bind:rcptstat"/>
  373. <Cell col="5" style="align:center middle;" text="bind:insukind"/>
  374. <Cell col="6" style="align:center middle;" text="bind:suppkind"/>
  375. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:cashamt" mask="9,999"/>
  376. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:cardamt" mask="9,999"/>
  377. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:onlineamt" mask="9,999"/>
  378. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:pregdmndamt" mask="9,999"/>
  379. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:precashamt" mask="9,999"/>
  380. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:precardamt" mask="9,999"/>
  381. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:preonlineamt" mask="9,999"/>
  382. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:prepregdmndamt" mask="9,999"/>
  383. <Cell col="15" style="align:center middle;" text="bind:rcptrnm"/>
  384. <Cell col="16" displaytype="date" style="align:center middle;" text="bind:rcptexecdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  385. <Cell col="17" displaytype="expr:utlf_isNull(rcpttm) ? 'none' : 'normal'" text="bind:rcpttm" mask="##:##:##" maskchar=" "/>
  386. </Band>
  387. </Format>
  388. </Formats>
  389. </Grid>
  390. <Static id="caption5" text="현금영수증 대상 리스트" class="tit_2" position="absolute 0 6 203 22"/>
  391. <Shape id="line00" class="line_10" position="absolute 530 22 1195 28" anchor="top right"/>
  392. <Shape id="line01" class="line_10" position="absolute 0 22 525 28" anchor="left top right"/>
  393. <Shape id="line02" class="line_10" position="absolute 530 277 1195 283" anchor="top right"/>
  394. </Layout>
  395. </Layouts>
  396. </Tabpage>
  397. </Tabpages>
  398. </Tab>
  399. <Button id="button9" taborder="3" text="초기화" class="btn4" position="absolute 1127 753 1195 775" onclick="button9_onclick" anchor="right bottom"/>
  400. <Static id="caption8" text="신용카드 :" position="absolute 240 72 305 92"/>
  401. <Static id="caption9" text="현금영수증 :" position="absolute 380 72 455 92"/>
  402. <Static id="caption10" text="건 /" position="absolute 335 72 379 92"/>
  403. <Static id="caption11" text="건" position="absolute 485 72 510 92"/>
  404. <Button id="button4" taborder="4" text="현금영수증승인" class="btn2" position="absolute 1090 67 1195 89" onclick="button4_onclick" anchor="top right"/>
  405. <Static id="caption14" text="* 현금영수증 대상 리스트에서 환자 선택 시 신분확인번호 검색 용이" position="absolute 703 71 1079 91" style="color:red;font:Dotum,8,bold;" anchor="top right"/>
  406. <MaskEdit id="caption12" taborder="5" position="absolute 292 71 338 91" style="background:stretch 5,5;color:red;font:Dotum,9,bold;" mask="9,999" value="0"/>
  407. <MaskEdit id="caption13" taborder="6" value="0" mask="9,999" position="absolute 442 71 488 91" style="background:stretch 5,5;color:red;font:Dotum,9,bold;"/>
  408. </Layout>
  409. </Layouts>
  410. <Objects>
  411. <Dataset id="ds_send_initial" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  412. <ColumnInfo>
  413. <Column id="fromdd" type="STRING" size="256"/>
  414. <Column id="todd" type="STRING" size="256"/>
  415. <Column id="pid" type="STRING" size="256"/>
  416. <Column id="rcptrid" type="STRING" size="256"/>
  417. <Column id="overFlag" type="STRING" size="256"/>
  418. </ColumnInfo>
  419. <Rows>
  420. <Row>
  421. <Col id="fromdd"/>
  422. <Col id="todd"/>
  423. <Col id="pid"/>
  424. <Col id="rcptrid"/>
  425. <Col id="overFlag"/>
  426. </Row>
  427. </Rows>
  428. </Dataset>
  429. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  430. <ColumnInfo>
  431. <Column id="pid" type="STRING" size="256"/>
  432. <Column id="hngnm" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. <Rows>
  435. <Row/>
  436. </Rows>
  437. </Dataset>
  438. <Dataset id="ds_main_baseinfo_cardlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  439. <Dataset id="ds_main_baseinfo_cashlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  440. <Dataset id="ds_main_detailinfo_cvan_cvanlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  441. <Dataset id="ds_main_detailinfo_cvan_opmicardlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  442. <Dataset id="ds_main_detailinfo_svan_svanlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  443. <Dataset id="ds_main_detailinfo_svan_opmicashlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  444. <Dataset id="ds_send_grid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  445. <ColumnInfo>
  446. <Column id="pid" type="STRING" size="256"/>
  447. <Column id="aprvdd" type="STRING" size="256"/>
  448. <Column id="rcptexecdd" type="STRING" size="256"/>
  449. <Column id="rcptrid" type="STRING" size="256"/>
  450. </ColumnInfo>
  451. <Rows>
  452. <Row>
  453. <Col id="pid"/>
  454. <Col id="aprvdd"/>
  455. <Col id="rcptexecdd"/>
  456. <Col id="rcptrid"/>
  457. </Row>
  458. </Rows>
  459. </Dataset>
  460. <Dataset id="ds_static_aprvflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  461. <ColumnInfo>
  462. <Column id="label" type="STRING" size="256"/>
  463. <Column id="value" type="STRING" size="256"/>
  464. </ColumnInfo>
  465. <Rows>
  466. <Row>
  467. <Col id="label">12</Col>
  468. <Col id="value">승인</Col>
  469. </Row>
  470. <Row>
  471. <Col id="label">22</Col>
  472. <Col id="value">취소</Col>
  473. </Row>
  474. </Rows>
  475. </Dataset>
  476. <Dataset id="ds_static_aprvflag2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  477. <ColumnInfo>
  478. <Column id="label" type="STRING" size="256"/>
  479. <Column id="value" type="STRING" size="256"/>
  480. </ColumnInfo>
  481. <Rows>
  482. <Row>
  483. <Col id="label">승인</Col>
  484. <Col id="value">42</Col>
  485. </Row>
  486. <Row>
  487. <Col id="label">취소</Col>
  488. <Col id="value">52</Col>
  489. </Row>
  490. </Rows>
  491. </Dataset>
  492. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  493. <ColumnInfo>
  494. <Column id="srchcond" type="STRING" size="256"/>
  495. <Column id="autoflag" type="STRING" size="256"/>
  496. <Column id="pid" type="STRING" size="256"/>
  497. <Column id="hngnm" type="STRING" size="256"/>
  498. <Column id="rrgstno1" type="STRING" size="256"/>
  499. <Column id="rrgstno2" type="STRING" size="256"/>
  500. <Column id="acptdd" type="STRING" size="256"/>
  501. <Column id="checkfnexam" type="STRING" size="256"/>
  502. <Column id="rcptrid" type="STRING" size="256"/>
  503. </ColumnInfo>
  504. <Rows>
  505. <Row>
  506. <Col id="srchcond"/>
  507. <Col id="autoflag"/>
  508. <Col id="pid"/>
  509. <Col id="hngnm"/>
  510. <Col id="rrgstno1"/>
  511. <Col id="rrgstno2"/>
  512. <Col id="acptdd"/>
  513. <Col id="checkfnexam"/>
  514. <Col id="rcptrid"/>
  515. </Row>
  516. </Rows>
  517. </Dataset>
  518. </Objects>
  519. <Bind>
  520. <BindItem id="item0" compid="div.ipt_fromdd" propid="value" datasetid="ds_send_initial" columnid="fromdd"/>
  521. <BindItem id="item1" compid="div.ipt_todd" propid="value" datasetid="ds_send_initial" columnid="todd"/>
  522. <BindItem id="item2" compid="div.input1" propid="value" datasetid="ds_send_initial" columnid="rcptrid"/>
  523. <BindItem id="item3" compid="div.checkbox1" propid="value" datasetid="ds_send_initial" columnid="overFlag"/>
  524. <BindItem id="item4" compid="div.opt_patnm" propid="value" datasetid="ds_patinfolist" columnid="hngnm"/>
  525. <BindItem id="item5" compid="div.ipt_pid" propid="value" datasetid="ds_patinfolist" columnid="pid"/>
  526. </Bind>
  527. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  528. * System Name :
  529. * Job Name :
  530. * Creator :
  531. * Make Date : 2016-05-24
  532. * Description :
  533. *---------------------------------------------------------------------------------------
  534. * Modify Date Modifier Modify Description
  535. *---------------------------------------------------------------------------------------
  536. * 2016-05-24 Live Converter TF->XP
  537. *
  538. *---------------------------------------------------------------------------------------
  539. ****************************************************************************************/
  540. //=======================================================================================
  541. // Lib Include
  542. //---------------------------------------------------------------------------------------
  543. include 'com_commonxp::comm_main.xjs';
  544. var arErrorCode = new HashArray();
  545. //=======================================================================================
  546. // Local methods
  547. //---------------------------------------------------------------------------------------
  548. /**
  549. * submit 후 호출 될 공통 콜백
  550. * @param {[type]} sSvcId [description]
  551. * @param {[type]} nErrorCode [description]
  552. * @param {[type]} sErrorMsg [description]
  553. * @return {Function} [description]
  554. */
  555. function callback(sSvcId, nErrorCode, sErrorMsg){
  556. arErrorCode.push(sSvcId, nErrorCode);
  557. }
  558. //=======================================================================================
  559. // Events
  560. //---------------------------------------------------------------------------------------
  561. /**
  562. * onload 이벤트 발생 시 호출
  563. * @param {[type]} obj:Form [description]
  564. * @param {[type]} e:LoadEventInfo [description]
  565. */
  566. function SPPAO00410_onload(obj: Form, e: LoadEventInfo) {
  567. frmf_initForm(obj);
  568. ds_send_initial.setColumn(0, "fromdd", utlf_getCurrentDate());
  569. ds_send_initial.setColumn(0, "todd", utlf_getCurrentDate());
  570. //타 프로그램에서 팝업으로 호출시 수납자 아이디 세팅
  571. if (frmf_checkOpener()) {
  572. var rcptrid = utlf_transNullToEmpty(opener.frmf_getParameter("SPPAO00410_rcptrid"));
  573. ds_send_initial.setColumn(0, "rcptrid", rcptrid);
  574. if (rcptrid != '') {
  575. //자동조회기능 추가
  576. div.button1.click();
  577. }
  578. }
  579. }
  580. /**
  581. * 등록번호 ipt_pid 키보드 입력 이벤트
  582. * @param {[type]} obj: Edit [description]
  583. * @param {[type]} e: KeyEventInfo [description]
  584. * @return {[type]} [description]
  585. */
  586. function div_ipt_pid_onkeydown(obj: Edit, e: KeyEventInfo) {
  587. // Enter 입력 시
  588. if (e.keycode == 13) {
  589. obj.updateToDataset();
  590. dsf_createDsRow('ds_source', [
  591. { col: 'srchcond', type: 'string', size: 256, val: '1' },
  592. { col: 'checkfnexam', type: 'string', size: 256, val: '' },
  593. { col: 'pid', type: 'string', size: 256, val: utlf_transNullToEmpty(ds_patinfolist.getColumn(0, "pid")) },
  594. { col: 'hngnm', type: 'string', size: 256, val: '' },
  595. { col: 'rrgstno1', type: 'string', size: 256, val: '' },
  596. { col: 'rrgstno2', type: 'string', size: 256, val: '' },
  597. { col: 'acptdd', type: 'string', size: 256, val: '' },
  598. { col: 'instcd', type: 'string', size: 256, val: '' },
  599. { col: 'insukind', type: 'string', size: 256, val: '' },
  600. { col: 'inhospyn', type: 'string', size: 256, val: '' }
  601. ], false);
  602. ds_patinfolist.clearData();
  603. var oParam = {};
  604. oParam.id = "TRPMC02500";
  605. oParam.service = "patinfomngtapp.PatBaseInfo";
  606. oParam.method = "reqGetPatInfo";
  607. oParam.inds = "req=ds_source";
  608. oParam.outds = "ds_patinfolist=patinfolist";
  609. oParam.async = false;
  610. oParam.callback = "callback";
  611. tranf_submit(oParam);
  612. //dsf_setTypeFormat(ds_patinfolist, "srchcond:INT^checkfnexam:INT");
  613. if(ds_patinfolist.rowcount < 1){
  614. ds_patinfolist.addRow();
  615. }
  616. if (arErrorCode.pop("TRPMC02500") > -1) {
  617. var vcheck_pid = utlf_transNullToEmpty(ds_patinfolist.getColumn(0, "pid"));
  618. if (vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  619. sysf_messageBox("존재하지 않는 등록번호", "E008"); //E008=입니다
  620. return;
  621. }
  622. div.button1.click();
  623. }
  624. else {
  625. sysf_messageBox("존재하지 않는 등록번호", "E008"); //E008=입니다
  626. return;
  627. }
  628. }
  629. }
  630. /**
  631. * 등록번호 검색 아이콘 클릭 이벤트
  632. * @param {[type]} obj: Button [description]
  633. * @param {[type]} e: ClickEventInfo [description]
  634. * @return {[type]} [description]
  635. */
  636. function div_patientSearch_onclick(obj: Button, e: ClickEventInfo) {
  637. dsf_createDsRow('ds_hidden_sppmc02500', [
  638. { col: 'srchcond', type: 'string', size: 256, val: '' },
  639. { col: 'pid', type: 'string', size: 256, val: '' },
  640. { col: 'autoflag', type: 'string', size: 256, val: '' }
  641. ], false);
  642. var pid = ds_patinfolist.getColumn(0, "pid");
  643. if (!utlf_isNull(pid)) {
  644. ds_hidden_sppmc02500.setColumn(0, "srchcond", "1"); // 검색조건 : 등록번호로 설정
  645. ds_hidden_sppmc02500.setColumn(0, "pid", pid);
  646. ds_hidden_sppmc02500.setColumn(0, "autoflag", "N");
  647. }
  648. frmf_modal("SPPMC02500", "SPPMC02500", { arg_ds_send: ds_hidden_sppmc02500 }, "", "", "", "", "", "", "", "", "", "M");
  649. }
  650. /**
  651. * 조회 버튼 클릭 이벤트
  652. * @param {[type]} obj: Button [description]
  653. * @param {[type]} e: ClickEventInfo [description]
  654. * @return {[type]} [description]
  655. */
  656. function div_button1_onclick(obj: Button, e: ClickEventInfo) {
  657. // 수납 세부내역 초기화
  658. ds_main_detailinfo_cvan_cvanlist.clearData();
  659. ds_main_detailinfo_cvan_opmicardlist.clearData();
  660. ds_main_detailinfo_svan_svanlist.clearData();
  661. ds_main_detailinfo_svan_opmicashlist.clearData();
  662. // 차트번호로 환자정보가 조회되어 있지않은 경우에는 차트번호 제외시키고 검색
  663. if (utlf_isNull(ds_patinfolist.getColumn(0, "pid"))) {
  664. ds_patinfolist.setColumn(0, "hngnm", '');
  665. }
  666. else {
  667. ds_source.setColumn(0, "srchcond", "1");
  668. ds_source.setColumn(0, "pid", ds_patinfolist.getColumn(0, 'pid'));
  669. dsf_createDsRow('ds_req', [
  670. { col: 'srchcond', type: 'string', size: 256, val: '' },
  671. { col: 'checkfnexam', type: 'string', size: 256, val: '' },
  672. { col: 'pid', type: 'string', size: 256, val: '' },
  673. { col: 'hngnm', type: 'string', size: 256, val: '' },
  674. { col: 'rrgstno1', type: 'string', size: 256, val: '' },
  675. { col: 'rrgstno2', type: 'string', size: 256, val: '' },
  676. { col: 'acptdd', type: 'string', size: 256, val: '' },
  677. { col: 'instcd', type: 'string', size: 256, val: '' },
  678. { col: 'insukind', type: 'string', size: 256, val: '' },
  679. { col: 'inhospyn', type: 'string', size: 256, val: '' }
  680. ], false);
  681. ds_req.copyRow(0, ds_source, 0);
  682. ds_patinfolist.clearData();
  683. var oParam = {};
  684. oParam.id = "TRPMC02500";
  685. oParam.service = "patinfomngtapp.PatBaseInfo";
  686. oParam.method = "reqGetPatInfo";
  687. oParam.inds = "req=ds_req";
  688. oParam.outds = "ds_patinfolist=patinfolist";
  689. oParam.async = false;
  690. oParam.callback = "callback";
  691. tranf_submit(oParam);
  692. dsf_setTypeFormat(ds_req, "srchcond:INT^checkfnexam:INT");
  693. if (arErrorCode.pop("TRPMC02500") > -1) {
  694. var vcheck_pid = utlf_transNullToEmpty(ds_patinfolist.getColumn(0, "pid"));
  695. if (vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  696. sysf_messageBox("존재하지 않는 등록번호", "E008"); //E008=입니다
  697. return;
  698. }
  699. }
  700. else {
  701. sysf_messageBox("존재하지 않는 등록번호", "E008"); //E008=입니다
  702. return;
  703. }
  704. }
  705. ds_send_initial.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
  706. ds_main_baseinfo_cardlist.clearData();
  707. ds_main_baseinfo_cashlist.clearData();
  708. // 승인정보 검색
  709. var oParam = {};
  710. oParam.id = "TRPAO00410";
  711. oParam.service = "pamcomnapp.PamComn";
  712. oParam.method = "reqGetCardCompareList";
  713. oParam.inds = "req=ds_send_initial";
  714. oParam.outds = "ds_main_baseinfo_cardlist=card ds_main_baseinfo_cashlist=cash";
  715. oParam.async = false;
  716. tranf_submit(oParam);
  717. // 발생건수 설정
  718. caption12.value = ds_main_baseinfo_cardlist.rowcount;
  719. caption13.value = ds_main_baseinfo_cashlist.rowcount;
  720. }
  721. /**
  722. * 현금영수증승인 버튼 클릭 이벤트
  723. * @param {[type]} obj: Button [description]
  724. * @param {[type]} e: ClickEventInfo [description]
  725. * @return {[type]} [description]
  726. */
  727. function button4_onclick(obj: Button, e: ClickEventInfo) {
  728. var cashRow = switch1.case2.grd_cash.currentrow;
  729. var pid = ds_main_baseinfo_cashlist.getColumn(cashRow, "pid");
  730. if (utlf_isNull(pid)) {
  731. sysf_messageBox("현금영수증 대상 리스트에서 환자를 선택하십시요.", "E000");
  732. return;
  733. }
  734. // 현금영수증 승인용 파라미터 설정(최소한의 값만 설정)
  735. var obj = { pid: pid,
  736. ordType: 'O',
  737. orddd: '',
  738. totRcptAmt: '0',
  739. multiCnt: '0',
  740. dsMultiSend: '',
  741. dsStrSend: '',
  742. dsStrRcv: '',
  743. indinstflag: '',
  744. qualcnfmno: '',
  745. keyinptflag: '',
  746. swipedata: '',
  747. qualcnfmflag: '',
  748. flag: '',
  749. rtn: ''
  750. }
  751. // 현금영수증 승인 팝업
  752. frmf_modal("SPPAO00501", "SPPAO00501", { objPam: obj }, "", '', '', '', "", "", "", "", "", "M");
  753. }
  754. /**
  755. * 신용카드 대상 리스트 그리드 셀 더블 클릭 이벤트
  756. * @param {[type]} obj: Grid [description]
  757. * @param {[type]} e: GridClickEventInfo [description]
  758. * @return {[type]} [description]
  759. */
  760. function switch1_case1_grd_card_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  761. var cardRow = e.row;//switch1.case1.grd_card.currentrow;
  762. ds_send_grid.setColumn(0, "pid", ds_main_baseinfo_cardlist.getColumn(cardRow, "pid"));
  763. ds_send_grid.setColumn(0, "aprvdd", ds_main_baseinfo_cardlist.getColumn(cardRow, "van_ymd"));
  764. ds_send_grid.setColumn(0, "rcptexecdd", ds_main_baseinfo_cardlist.getColumn(cardRow, "rcpt_ymd"));
  765. ds_send_grid.setColumn(0, "rcptrid", ds_send_initial.getColumn(0, "rcptrid"));
  766. ds_main_detailinfo_cvan_cvanlist.clearData();
  767. ds_main_detailinfo_cvan_opmicardlist.clearData();
  768. var oParam = {};
  769. oParam.id = "TRPAO00411";
  770. oParam.service = "pamcomnapp.PamComn";
  771. oParam.method = "reqGetOpmiCvanList";
  772. oParam.inds = "req=ds_send_grid";
  773. oParam.outds = "ds_main_detailinfo_cvan_cvanlist=van ds_main_detailinfo_cvan_opmicardlist=opmi";
  774. oParam.async = false;
  775. tranf_submit(oParam);
  776. }
  777. /**
  778. * 현금영수증 대상 리스트 그리드 셀 더블클릭 이벤트
  779. * @param {[type]} obj: Grid [description]
  780. * @param {[type]} e: GridClickEventInfo [description]
  781. * @return {[type]} [description]
  782. */
  783. function switch1_case2_grd_cash_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  784. var cashRow = e.row;//switch1.case2.grd_card.currentrow;
  785. ds_send_grid.setColumn(0, "pid", ds_main_baseinfo_cashlist.getColumn(cashRow, "pid"));
  786. ds_send_grid.setColumn(0, "aprvdd", ds_main_baseinfo_cashlist.getColumn(cashRow, "van_ymd"));
  787. ds_send_grid.setColumn(0, "rcptexecdd", ds_main_baseinfo_cashlist.getColumn(cashRow, "rcpt_ymd"));
  788. ds_send_grid.setColumn(0, "rcptrid", ds_send_initial.getColumn(0, "rcptrid"));
  789. ds_main_detailinfo_svan_svanlist.clearData();
  790. ds_main_detailinfo_svan_opmicashlist.clearData();
  791. var oParam = {};
  792. oParam.id = "TRPAO01901";
  793. oParam.service = "pamcomnapp.PamComn";
  794. oParam.method = "reqGetOpmiSvanList";
  795. oParam.inds = "req=ds_send_grid";
  796. oParam.outds = "ds_main_detailinfo_svan_svanlist=van ds_main_detailinfo_svan_opmicashlist=opmi";
  797. oParam.async = false;
  798. tranf_submit(oParam);
  799. }
  800. /**
  801. * 초기화 버튼 클릭 이벤트
  802. * @param {[type]} obj: Button [description]
  803. * @param {[type]} e: ClickEventInfo [description]
  804. * @return {[type]} [description]
  805. */
  806. function button9_onclick(obj: Button, e: ClickEventInfo) {
  807. // 검색조건 초기화
  808. ds_send_initial.setColumn(0, "fromdd", utlf_getCurrentDate());
  809. ds_send_initial.setColumn(0, "todd", utlf_getCurrentDate());
  810. ds_patinfolist.setColumn(0, "pid", '');
  811. ds_patinfolist.setColumn(0, "hngnm", '');
  812. // 신용카드 초기화
  813. ds_main_baseinfo_cardlist.clearData();
  814. ds_main_detailinfo_cvan_cvanlist.clearData();
  815. ds_main_detailinfo_cvan_opmicardlist.clearData();
  816. // 현금영수증 초기화
  817. ds_main_baseinfo_cashlist.clearData();
  818. ds_main_detailinfo_svan_svanlist.clearData();
  819. ds_main_detailinfo_svan_opmicashlist.clearData();
  820. // 발생건수 초기화
  821. caption12.value = "0";
  822. caption13.value = "0";
  823. }
  824. ]]></Script>
  825. </Form>
  826. </FDL>