SMAHS00500_일일수납내역.xfdl 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHS00500" position="absolute 0 0 1211 784" titletext="건진일평균인원현황" oninit="SMAHS00500_oninit" onload="SMAHS00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1195 65" id="group2" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static text="일자 :" position="absolute 178 12 251 29" id="caption2" class="search_name" anchor="default"/>
  11. <Shape position="absolute 1124 11 1130 33" linetype="vertical" id="line2" class="line_4" anchor="default"/>
  12. <Button position="absolute 1133 10 1189 32" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group2_btn_search_onclick"/>
  13. <Calendar position="absolute 233 11 321 30" id="ipt_fromdd" class="input_search" taborder="7" anchor="default"/>
  14. <Button position="absolute 974 10 1054 32" id="btn_excelsave" class="btn7" visible="true" text="엑셀저장" anchor="default" onclick="group2_btn_excelsave_onclick"/>
  15. <Button position="absolute 1064 10 1120 32" id="btn_prt" class="btn6" text="출력" anchor="default" onclick="group2_btn_prt_onclick"/>
  16. <Shape position="absolute 1054 10 1060 32" linetype="vertical" id="line3" class="line_4" visible="false" anchor="default"/>
  17. <Combo position="absolute 87 11 167 30" id="cmb_healexamflag" class="combo_search" innerdataset="@ds_init_baseinfo_healexamflag_A0068" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  18. <Static text="환자ID" position="absolute 338 12 424 29" id="caption1" class="search_name" anchor="default"/>
  19. <Edit position="absolute 399 11 484 30" id="input1" anchor="default"/>
  20. <Button position="absolute 837 10 973 32" id="button1" class="btn6" visible="true" text="회사별실시현황출력" anchor="default" onclick="group2_button1_onclick"/>
  21. <Static text="건진구분 :" position="absolute 7 12 85 29" id="caption3" class="search_name" anchor="default"/>
  22. <Static text="장소구분" position="absolute 493 12 579 29" id="caption4" class="search_name" anchor="default"/>
  23. <Combo position="absolute 566 11 636 30" id="cmb_srchhealexamplacecd" class="combo_search" innerdataset="@ds_init_baseinfo_healexamplacecd_S600" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  24. <Combo position="absolute 752 11 812 30" id="cmb_srchplceflag" innerdataset="@ds_init_baseinfo_plceflag_A0110" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  25. <Static text="출장내원구분" position="absolute 648 12 763 29" id="caption36" class="search_name" anchor="default"/>
  26. </Layout>
  27. </Layouts>
  28. </Div>
  29. <Grid position="absolute 0 71 1195 778" align="align:center middle;" id="grd_dyrcptlst" binddataset="ds_main_dyrcptlst_item" autoenter="none" cellsizingtype="col" anchor="all" onheadclick="grd_dyrcptlst_onheadclick" cellclickbound="cell">
  30. <Formats>
  31. <Format id="default">
  32. <Columns>
  33. <Column size="90"/>
  34. <Column size="30"/>
  35. <Column size="80"/>
  36. <Column size="80"/>
  37. <Column size="130"/>
  38. <Column size="80"/>
  39. <Column size="80"/>
  40. <Column size="87"/>
  41. <Column size="87"/>
  42. <Column size="87"/>
  43. <Column size="87"/>
  44. <Column size="87"/>
  45. <Column size="87"/>
  46. <Column size="87"/>
  47. <Column size="87"/>
  48. <Column size="87"/>
  49. <Column size="87"/>
  50. <Column size="76"/>
  51. <Column size="46"/>
  52. <Column size="62"/>
  53. <Column size="79"/>
  54. <Column size="100"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. </Columns>
  63. <Rows>
  64. <Row size="24" band="head"/>
  65. <Row size="24" band="head"/>
  66. <Row size="24"/>
  67. <Row size="24" band="summ"/>
  68. </Rows>
  69. <Band id="head">
  70. <Cell rowspan="2" text="건진종류" taborder="undefined"/>
  71. <Cell col="1" rowspan="2" text="순번" taborder="undefined"/>
  72. <Cell col="2" rowspan="2" text="등록번호" taborder="undefined"/>
  73. <Cell col="3" rowspan="2" text="성명" taborder="undefined"/>
  74. <Cell col="4" rowspan="2" text="단체명(계정명)" taborder="undefined"/>
  75. <Cell col="5" rowspan="2" text="총진료비" taborder="undefined"/>
  76. <Cell col="6" rowspan="2" text="할인액" taborder="undefined"/>
  77. <Cell col="7" colspan="7" text="미수금액" taborder="undefined"/>
  78. <Cell col="14" colspan="3" text="실수납액" taborder="undefined"/>
  79. <Cell col="17" rowspan="2" text="선수대체" taborder="undefined"/>
  80. <Cell col="18" rowspan="2" text="절사액" taborder="undefined"/>
  81. <Cell col="19" rowspan="2" text="TerminalID" taborder="undefined"/>
  82. <Cell col="20" rowspan="2" text="비고" taborder="undefined"/>
  83. <Cell col="21" rowspan="2" text="GROUPFLAG" taborder="undefined"/>
  84. <Cell col="22" text="groupflag"/>
  85. <Cell col="23" text="healexamdetlflag"/>
  86. <Cell col="24" text="rcptdd"/>
  87. <Cell col="25" text="rcptno"/>
  88. <Cell col="26" text="onlinecash"/>
  89. <Cell col="27" text="reduamt"/>
  90. <Cell col="28"/>
  91. <Cell row="1" col="7" text="단체금액"/>
  92. <Cell row="1" col="8" text="공단(1,2차)"/>
  93. <Cell row="1" col="9" text="공담(암)"/>
  94. <Cell row="1" col="10" text="공단(구강)"/>
  95. <Cell row="1" col="11" text="공단(보건소)"/>
  96. <Cell row="1" col="12" text="공단(기타)"/>
  97. <Cell row="1" col="13" text="개인미수"/>
  98. <Cell row="1" col="14" text="카드금액"/>
  99. <Cell row="1" col="15" text="현금"/>
  100. <Cell row="1" col="16" text="통장입금"/>
  101. <Cell row="1" col="22" text="groupflag"/>
  102. <Cell row="1" col="23" text="healexamdetlflag"/>
  103. <Cell row="1" col="24" text="rcptdd"/>
  104. <Cell row="1" col="25" text="rcptno"/>
  105. <Cell row="1" col="26" text="onlinecash"/>
  106. <Cell row="1" col="27" text="reduamt"/>
  107. <Cell row="1" col="28"/>
  108. </Band>
  109. <Band id="body">
  110. <Cell displaytype="expr:getRowLevel(currow) == 1 ? 'text' : 'normal'" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:healexamkind" wordwrap="word" suppress="1" suppressalign="middle,over"/>
  111. <Cell col="1" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:sno"/>
  112. <Cell col="2" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:pid"/>
  113. <Cell col="3" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:hngnm"/>
  114. <Cell col="4" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:cmpynm"/>
  115. <Cell col="5" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:totamt"/>
  116. <Cell col="6" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:discamt"/>
  117. <Cell col="7" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:cmpyamt"/>
  118. <Cell col="8" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payinsubamt"/>
  119. <Cell col="9" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payinsucncramt"/>
  120. <Cell col="10" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payinsuoralamt"/>
  121. <Cell col="11" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payhealcntramt"/>
  122. <Cell col="12" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payinsuetcamt"/>
  123. <Cell col="13" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:ownuncoamt"/>
  124. <Cell col="14" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:cardamt"/>
  125. <Cell col="15" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:cashamt"/>
  126. <Cell col="16" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:onlineamt"/>
  127. <Cell col="17" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:mdlrcptamt"/>
  128. <Cell col="18" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:restamt"/>
  129. <Cell col="19" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:rcptrid"/>
  130. <Cell col="20" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:remfact"/>
  131. <Cell col="21" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:seqno"/>
  132. <Cell col="22" text="bind:groupflag"/>
  133. <Cell col="23" text="bind:healexamdetlflag"/>
  134. <Cell col="24" text="bind:rcptdd"/>
  135. <Cell col="25" text="bind:rcptno"/>
  136. <Cell col="26" text="bind:onlinecash"/>
  137. <Cell col="27" text="bind:reduamt"/>
  138. <Cell col="28" text="bind:totcmpyamt"/>
  139. </Band>
  140. <Band id="summary">
  141. <Cell style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="총계"/>
  142. <Cell col="1" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  143. <Cell col="2" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  144. <Cell col="3" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  145. <Cell col="4" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  146. <Cell col="5" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('totamt')"/>
  147. <Cell col="6" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('discamt')"/>
  148. <Cell col="7" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cmpyamt')"/>
  149. <Cell col="8" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('payinsubamt')"/>
  150. <Cell col="9" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('payinsucncramt')"/>
  151. <Cell col="10" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('payinsuoralamt')"/>
  152. <Cell col="11" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('payhealcntramt')"/>
  153. <Cell col="12" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('payinsuetcamt')"/>
  154. <Cell col="13" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('ownuncoamt')"/>
  155. <Cell col="14" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cardamt')"/>
  156. <Cell col="15" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cashamt')"/>
  157. <Cell col="16" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('onlineamt')"/>
  158. <Cell col="17" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('mdlrcptamt')"/>
  159. <Cell col="18" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('restamt')"/>
  160. <Cell col="19" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  161. <Cell col="20" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  162. <Cell col="21" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  163. <Cell col="22"/>
  164. <Cell col="23"/>
  165. <Cell col="24"/>
  166. <Cell col="25"/>
  167. <Cell col="26"/>
  168. <Cell col="27"/>
  169. <Cell col="28"/>
  170. </Band>
  171. </Format>
  172. </Formats>
  173. </Grid>
  174. <Static id="caption60" text="일일수납내역" class="tit_1" position="absolute 0 0 183 25"/>
  175. </Layout>
  176. </Layouts>
  177. <Objects>
  178. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="srchfromdd" type="STRING" size="256"/>
  181. <Column id="srchinstcd" type="STRING" size="256"/>
  182. <Column id="srchpid" type="STRING" size="256"/>
  183. <Column id="srchhealexamflag" type="STRING" size="256"/>
  184. <Column id="srchhealexamplacecd" type="STRING" size="256"/>
  185. <Column id="srchplceflag" type="STRING" size="256"/>
  186. <Column id="srchtodd" type="STRING" size="256"/>
  187. </ColumnInfo>
  188. <Rows>
  189. <Row>
  190. <Col id="srchfromdd"/>
  191. <Col id="srchinstcd"/>
  192. <Col id="srchpid"/>
  193. <Col id="srchhealexamflag"/>
  194. <Col id="srchhealexamplacecd"/>
  195. <Col id="srchplceflag"/>
  196. <Col id="srchtodd"/>
  197. </Row>
  198. </Rows>
  199. </Dataset>
  200. <Dataset id="ds_main_dyrcptlst_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  201. <ColumnInfo>
  202. <Column id="healexamkind" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
  203. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진종류"/>
  204. <Column id="rcptdd" type="STRING" size="256" sumtext="등록번호"/>
  205. <Column id="rcptno" type="STRING" size="256" sumtext="등록번호"/>
  206. <Column id="seqno" type="STRING" size="256" sumtext="순번"/>
  207. <Column id="sno" type="STRING" size="256" sumtext="순번"/>
  208. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  209. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  210. <Column id="cmpynm" type="STRING" size="256" sumtext="단체명(계정명)"/>
  211. <Column id="totamt" type="INT" size="256" sumtext="총진료비"/>
  212. <Column id="discamt" type="INT" size="256" sumtext="할인액"/>
  213. <Column id="cmpyamt" type="INT" size="256" sumtext="단체금액"/>
  214. <Column id="payinsubamt" type="INT" size="256" sumtext="공단1,2차부담금"/>
  215. <Column id="payinsucncramt" type="INT" size="256" sumtext="공단암 부담금"/>
  216. <Column id="payinsuoralamt" type="INT" size="256" sumtext="공단구강 부담금"/>
  217. <Column id="payhealcntramt" type="INT" size="256" sumtext="보건소부담금"/>
  218. <Column id="payinsuetcamt" type="INT" size="256" sumtext="공단기타 부담금"/>
  219. <Column id="ownuncoamt" type="INT" size="256" sumtext="개인미수"/>
  220. <Column id="cardamt" type="INT" size="256" sumtext="카드금액"/>
  221. <Column id="cashamt" type="INT" size="256" sumtext="현금"/>
  222. <Column id="onlineamt" type="INT" size="256" sumtext="통장금액"/>
  223. <Column id="onlinecash" type="INT" size="256" sumtext="현금통장금액"/>
  224. <Column id="mdlrcptamt" type="INT" size="256" sumtext="선수대체"/>
  225. <Column id="reduamt" type="INT" size="256" sumtext="감액"/>
  226. <Column id="restamt" type="INT" size="256" sumtext="절사액"/>
  227. <Column id="rcptrid" type="STRING" size="256" sumtext="TerminalID"/>
  228. <Column id="remfact" type="STRING" size="256" sumtext="비고"/>
  229. <Column id="groupflag" type="STRING" size="256" sumtext="건진구룹구분"/>
  230. <Column id="totcmpyamt" type="STRING" size="256" sumtext="건진구룹구분"/>
  231. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  232. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  233. </ColumnInfo>
  234. <Rows>
  235. <Row/>
  236. </Rows>
  237. </Dataset>
  238. <Dataset id="ds_init_baseinfo_healexamflag_A0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  239. <Dataset id="ds_init_baseinfo_healexamdetlflaglist_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  240. <Dataset id="ds_init_baseinfo_healexamdetlflaglist2_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  241. <Dataset id="ds_init_baseinfo_plceflag_A0110" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  242. <Dataset id="ds_init_baseinfo_healexamplacecd_S600" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  243. <Dataset id="ds_report_cmpyamtlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  244. <ColumnInfo>
  245. <Column id="sno" type="STRING" size="256" sumtext="순번"/>
  246. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  247. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  248. <Column id="cmpynm" type="STRING" size="256" sumtext="단체명(계정명)"/>
  249. <Column id="cmpyamt" type="STRING" size="256" sumtext="건진구룹구분"/>
  250. <Column id="totcmpyamt" type="STRING" size="256" sumtext="건진구룹구분"/>
  251. </ColumnInfo>
  252. </Dataset>
  253. </Objects>
  254. <Bind>
  255. <BindItem id="item0" compid="group2.cmb_healexamflag" propid="value" datasetid="ds_send" columnid="srchhealexamflag"/>
  256. <BindItem id="item1" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  257. <BindItem id="item2" compid="group2.input1" propid="value" datasetid="ds_send" columnid="srchpid"/>
  258. <BindItem id="item3" compid="group2.cmb_srchhealexamplacecd" propid="value" datasetid="ds_send" columnid="srchhealexamplacecd"/>
  259. <BindItem id="item4" compid="group2.cmb_srchplceflag" propid="value" datasetid="ds_send" columnid="srchplceflag"/>
  260. </Bind>
  261. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  262. * System Name :
  263. * Job Name :
  264. * Creator :
  265. * Make Date : 2015-11-13
  266. * Description :
  267. *---------------------------------------------------------------------------------------
  268. * Modify Date Modifier Modify Description
  269. *---------------------------------------------------------------------------------------
  270. * 2015-11-13 Live Converter TF->XP
  271. *
  272. *---------------------------------------------------------------------------------------
  273. ****************************************************************************************/
  274. include "com_commonxp::comm_main.xjs";
  275. include "ast_healthexambasexp::healcombolist.xjs";
  276. function SMAHS00500_oninit(obj:Form, e:InitEventInfo)
  277. {
  278. frmf_initForm(obj);
  279. }
  280. function SMAHS00500_onload(obj:Form, e:LoadEventInfo)
  281. {
  282. grdf_initGrid(grd_dyrcptlst);
  283. //grdf_setGridSort(grd_dyrcptlst);
  284. ds_send.setColumn(0, "srchfromdd" , utlf_getCurrentDate());
  285. ds_send.setColumn(0, "srchinstcd" , sysf_getUserInfo("posinstcd"));
  286. var arrParam = [{dsNm: "ds_init_baseinfo_healexamflag_A0068", cdGrpId: "A0068"}
  287. ,{dsNm: "ds_init_baseinfo_healexamdetlflaglist_A0069", cdGrpId: "A0069"}
  288. ,{dsNm: "ds_init_baseinfo_healexamdetlflaglist2_A0070", cdGrpId: "A0070"}
  289. ,{dsNm: "ds_init_baseinfo_plceflag_A0110", cdGrpId: "A0110"}]
  290. appf_getCodeList(arrParam);
  291. var deptLength = ds_init_baseinfo_plceflag_A0110.addRow();
  292. ds_init_baseinfo_plceflag_A0110.setColumn(deptLength, "cdid", "");
  293. ds_init_baseinfo_plceflag_A0110.setColumn(deptLength, "cdnm", "전체");
  294. var arrParam = [{dsNm: "ds_init_baseinfo_healexamplacecd_S600", cdGrpId: "S600"} ];
  295. healGetCodeList(arrParam);
  296. ds_init_baseinfo_healexamplacecd_S600.deleteRow(0);
  297. frmf_addComboItem("group2.cmb_srchhealexamplacecd","전체","","above");
  298. }
  299. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  300. {
  301. dsf_makeValue(ds_send,"srchorddeptcd", "string", "ALL");
  302. dsf_makeValue(ds_send,"srchtodd", "string",ds_send.getColumn(0, "srchfromdd"));
  303. var oParam = {};
  304. oParam.id = "TRAHS00501";
  305. oParam.service = "healexamstatapp.StatRef";
  306. oParam.method = "reqGetDailyRcptList";
  307. oParam.inds = "req=ds_send";
  308. oParam.outds = "ds_main_dyrcptlst_item=item";
  309. oParam.async = false;
  310. oParam.callback = "cf_TRAHS00501";
  311. tranf_submit(oParam);
  312. }
  313. function cf_TRAHS00501(sSvcId, nErrorCode, sErrorMsg)
  314. {
  315. if(nErrorCode < 0) return;
  316. else
  317. {
  318. ds_main_dyrcptlst_item.keystring = "S:-healexamkind,G:healexamkind";
  319. ds_main_dyrcptlst_item.keystring = "S:-healexamkind,G:healexamkind";
  320. }
  321. }
  322. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  323. {
  324. var oParam = {};
  325. oParam.id = "TRAHS00502";
  326. oParam.service = "healexamstatapp.StatRef";
  327. oParam.method = "reqGetCmpyTotAmt";
  328. oParam.inds = "req=ds_send";
  329. oParam.outds = "ds_report_cmpyamtlst_item=item";
  330. oParam.async = false;
  331. //oParam.callback = "cf_TRAHS00502";
  332. tranf_submit(oParam);
  333. var objDOM = rptf_createDOM();
  334. rptf_setNodeListToDOM(objDOM, "/root/report/cmpyamtlst/item", ds_report_cmpyamtlst_item);
  335. var objParam = new Object();
  336. objParam.xml_data_XML1 = objDOM.documentElement.source;
  337. objParam.weeknm = String(ds_send.getColumn(0, "srchdd")).toDate().getDayOfWeek("k");
  338. objParam.srchdd = String(ds_send.getColumn(0, "srchdd")).toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
  339. var option = "";
  340. rptf_exeReportPreview30(["RPAHS00502"],[objParam], option);
  341. }
  342. function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  343. {
  344. grdf_exportExcel(grd_dyrcptlst, "excel", "Sheet1", "true", "", "");
  345. }
  346. function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo)
  347. {
  348. var objDOM = rptf_createDOM();
  349. rptf_setNodeListToDOM(objDOM, "/root/main/dyrcptlst/item", ds_main_dyrcptlst_item);
  350. var objParam = new Object();
  351. objParam.xml_data_XML1 = objDOM.documentElement.source;
  352. objParam.weeknm = String(ds_send.getColumn(0, "srchdd")).toDate().getDayOfWeek("k");
  353. objParam.srchdd = String(ds_send.getColumn(0, "srchdd")).toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
  354. var option = "";
  355. rptf_exeReportPreview30(["RPAHS00501"],[objParam], option);
  356. }
  357. function grd_dyrcptlst_onheadclick(obj:Grid, e:GridClickEventInfo)
  358. {
  359. if (e.col != e.oldcol) grdf_clearSort(obj);
  360. grdf_gridSort(grd_dyrcptlst,e);
  361. }
  362. ]]></Script>
  363. </Form>
  364. </FDL>