SMAHS01500_LID별수납현황.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHS01500" position="absolute 0 0 1200 784" titletext="건진일평균인원현황" oninit="SMAHS01500_oninit" onload="SMAHS01500_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. <Shape position="absolute 1120 10 1126 32" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
  11. <Button position="absolute 1130 10 1186 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group2_btn_search_onclick"/>
  12. <Button position="absolute 967 10 1047 32" id="btn_excelsave" class="btn7" visible="true" text="엑셀저장" anchor="top right" onclick="group2_btn_excelsave_onclick"/>
  13. <Button position="absolute 1061 10 1117 32" id="btn_prt" class="btn6" text="출력" anchor="top right" onclick="group2_btn_prt_onclick"/>
  14. <Shape position="absolute 1051 10 1057 32" linetype="vertical" id="line3" class="line_4" visible="false" anchor="default"/>
  15. <Static text="일자 :" position="absolute 235 12 308 29" id="caption2" class="search_name" anchor="default"/>
  16. <Calendar position="absolute 302 11 407 30" id="ipt_fromdd" class="input_search" taborder="7" anchor="default" autoselect="true" autoskip="true"/>
  17. <Combo position="absolute 115 11 215 30" id="cmb_healexamflag" innerdataset="ds_init_baseinfo_srchhealexamflag_A0068" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  18. <Static text="건진구분 :" position="absolute 25 12 112 29" id="caption7" class="search_name" anchor="default"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Grid position="absolute 0 72 1195 779" align="align:center middle;" id="grd_lidlst" binddataset="ds_main_lidlst_item" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
  23. <Formats>
  24. <Format id="default">
  25. <Columns>
  26. <Column size="100"/>
  27. <Column size="100"/>
  28. <Column size="90"/>
  29. <Column size="90"/>
  30. <Column size="90"/>
  31. <Column size="90"/>
  32. <Column size="90"/>
  33. <Column size="90"/>
  34. <Column size="90"/>
  35. <Column size="90"/>
  36. <Column size="90"/>
  37. <Column size="90"/>
  38. <Column size="90"/>
  39. </Columns>
  40. <Rows>
  41. <Row size="24" band="head"/>
  42. <Row size="24"/>
  43. <Row size="24" band="summ"/>
  44. </Rows>
  45. <Band id="head">
  46. <Cell text="수납자 ID"/>
  47. <Cell col="1" text="수납자 명"/>
  48. <Cell col="2" text="진료비총액"/>
  49. <Cell col="3" text="현금입금액"/>
  50. <Cell col="4" text="통장입금"/>
  51. <Cell col="5" text="카드입금액"/>
  52. <Cell col="6" text="단체부담금"/>
  53. <Cell col="7" text="본인부담금"/>
  54. <Cell col="8" text="계정미수금"/>
  55. <Cell col="9" text="할인금액"/>
  56. <Cell col="10" text="절사금액"/>
  57. <Cell col="11" text="선수금액"/>
  58. <Cell col="12" text="선수반환금액"/>
  59. </Band>
  60. <Band id="body">
  61. <Cell style="font:arial,9,bold;" text="bind:rcptrid"/>
  62. <Cell col="1" text="bind:rcptrnm"/>
  63. <Cell col="2" displaytype="number" text="bind:totamt"/>
  64. <Cell col="3" displaytype="number" text="bind:cashamt"/>
  65. <Cell col="4" displaytype="number" text="bind:onlineamt"/>
  66. <Cell col="5" displaytype="number" text="bind:cardamt"/>
  67. <Cell col="6" displaytype="number" text="bind:cmpyamt"/>
  68. <Cell col="7" displaytype="number" text="bind:ownamt"/>
  69. <Cell col="8" displaytype="number" text="bind:ownuncoamt"/>
  70. <Cell col="9" displaytype="number" text="bind:discamt"/>
  71. <Cell col="10" displaytype="number" text="bind:restamt"/>
  72. <Cell col="11" displaytype="number" text="bind:sunsuamt"/>
  73. <Cell col="12" displaytype="number" text="bind:sunsuretamt"/>
  74. </Band>
  75. <Band id="summary">
  76. <Cell displaytype="normal" style="align:center middle;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="총계"/>
  77. <Cell col="1" displaytype="normal" style="background:#808080ff;background2:#808080ff;"/>
  78. <Cell col="2" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('totamt')"/>
  79. <Cell col="3" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cashamt')"/>
  80. <Cell col="4" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('onlineamt')"/>
  81. <Cell col="5" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cardamt')"/>
  82. <Cell col="6" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cmpyamt')"/>
  83. <Cell col="7" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('ownamt')"/>
  84. <Cell col="8" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('ownuncoamt')"/>
  85. <Cell col="9" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('discamt')"/>
  86. <Cell col="10" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('restamt')"/>
  87. <Cell col="11" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('sunsuamt')"/>
  88. <Cell col="12" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('sunsuretamt')"/>
  89. </Band>
  90. </Format>
  91. </Formats>
  92. </Grid>
  93. <Static id="caption60" text="수납자별 수납현황" class="tit_1" position="absolute 0 0 183 25"/>
  94. </Layout>
  95. </Layouts>
  96. <Objects>
  97. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  98. <ColumnInfo>
  99. <Column id="srchinstcd" type="STRING" size="256"/>
  100. <Column id="srchdd" type="STRING" size="256"/>
  101. <Column id="srchhealexamflag" type="STRING" size="256"/>
  102. </ColumnInfo>
  103. <Rows>
  104. <Row>
  105. <Col id="srchinstcd"/>
  106. <Col id="srchdd"/>
  107. <Col id="srchhealexamflag"/>
  108. </Row>
  109. </Rows>
  110. </Dataset>
  111. <Dataset id="ds_main_lidlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  112. <ColumnInfo>
  113. <Column id="rcptrid" type="STRING" size="256" sumtext="수납자 ID"/>
  114. <Column id="rcptrnm" type="STRING" size="256" sumtext="수납자 명"/>
  115. <Column id="totamt" type="STRING" size="256" sumtext="진료비총액"/>
  116. <Column id="cashamt" type="STRING" size="256" sumtext="현금입금액"/>
  117. <Column id="onlineamt" type="STRING" size="256" sumtext="통장입금액"/>
  118. <Column id="cardamt" type="STRING" size="256" sumtext="카드입금액"/>
  119. <Column id="cmpyamt" type="STRING" size="256" sumtext="단체부담금"/>
  120. <Column id="ownamt" type="STRING" size="256" sumtext="본인부담금"/>
  121. <Column id="ownuncoamt" type="STRING" size="256" sumtext="계정미수금"/>
  122. <Column id="discamt" type="STRING" size="256" sumtext="할인금액"/>
  123. <Column id="restamt" type="STRING" size="256" sumtext="절사금액"/>
  124. <Column id="sunsuamt" type="STRING" size="256" sumtext="선수금액"/>
  125. <Column id="sunsuretamt" type="STRING" size="256" sumtext="선수반환금액"/>
  126. </ColumnInfo>
  127. </Dataset>
  128. <Dataset id="ds_init_baseinfo_srchhealexamflag_A0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  129. </Objects>
  130. <Bind>
  131. <BindItem id="item0" compid="group2.cmb_healexamflag" propid="value" datasetid="ds_send" columnid="srchhealexamflag"/>
  132. <BindItem id="item1" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchdd"/>
  133. </Bind>
  134. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  135. * System Name :
  136. * Job Name :
  137. * Creator :
  138. * Make Date : 2015-11-13
  139. * Description :
  140. *---------------------------------------------------------------------------------------
  141. * Modify Date Modifier Modify Description
  142. *---------------------------------------------------------------------------------------
  143. * 2015-11-13 Live Converter TF->XP
  144. *
  145. *---------------------------------------------------------------------------------------
  146. ****************************************************************************************/
  147. include "com_commonxp::comm_main.xjs";
  148. function SMAHS01500_oninit(obj:Form, e:InitEventInfo)
  149. {
  150. frmf_initForm(obj);
  151. }
  152. function SMAHS01500_onload(obj:Form, e:LoadEventInfo)
  153. {
  154. grdf_initGrid(grd_lidlst);
  155. var arrParam = [{dsNm: "ds_init_baseinfo_srchhealexamflag_A0068", cdGrpId: "A0068"}]
  156. appf_getCodeList(arrParam);
  157. frmf_addComboItem("group2.cmb_healexamflag","전체","%","above");
  158. group2.cmb_healexamflag.index = 0;
  159. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("posinstcd"));
  160. ds_send.setColumn(0, "srchdd", utlf_getCurrentDate());
  161. }
  162. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  163. {
  164. var oParam = {};
  165. oParam.id = "TRAHS01501";
  166. oParam.service = "healexamstatapp.StatRef";
  167. oParam.method = "reqGetLidRcptList";
  168. oParam.inds = "req=ds_send";
  169. oParam.outds = "ds_main_lidlst_item=item";
  170. oParam.async = false;
  171. //oParam.callback = "cf_TRAHS01501";
  172. tranf_submit(oParam);
  173. }
  174. function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo)
  175. {
  176. var objDOM = rptf_createDOM();
  177. rptf_setNodeListToDOM(objDOM, "/root/main/lidlst/item", ds_main_lidlst_item);
  178. var objParam = new Object();
  179. objParam.xml_data_XML1 = objDOM.documentElement.source;
  180. objParam.srchdd = ds_send.getColumn(0, "srchdd").toDate().getDateFormat("YYYY/MM/DD");
  181. var option = "";
  182. rptf_exeReportPreview30(["RPAHS01501"],[objParam], option);
  183. }
  184. function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  185. {
  186. grdf_exportExcel(grd_lidlst, "excel", "SheetName", "true", "", "");
  187. }
  188. ]]></Script>
  189. </Form>
  190. </FDL>