SMAHS01400_월별수납현황.xfdl 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHS01400" position="absolute 0 0 1202 791" titletext="월별수입현황" oninit="SMAHS01400_oninit" onload="SMAHS01400_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 230 12 303 29" id="caption2" class="search_name" anchor="default"/>
  11. <Shape position="absolute 1119 10 1125 32" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
  12. <Button position="absolute 1129 10 1185 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group2_btn_search_onclick"/>
  13. <Calendar position="absolute 307 11 412 30" id="ipt_fromdd" class="input_search" taborder="7" mask="yyyy-mm" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="group2_ipt_fromdd_onchanged"/>
  14. <Button position="absolute 1035 9 1115 31" id="btn_excelsave" class="btn7" visible="true" text="엑셀저장" anchor="top right" onclick="group2_btn_excelsave_onclick"/>
  15. <Combo position="absolute 115 12 215 31" id="cmb_healexamflag" innerdataset="ds_init_baseinfo_healexamflaglist_A0068" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  16. <Static text="건진구분 :" position="absolute 25 13 112 30" id="caption7" class="search_name" anchor="default"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Grid position="absolute 0 76 1195 783" align="align:center middle;" id="grd_dyrcptlst" binddataset="ds_main_rcptlst_item" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="150"/>
  25. <Column size="100"/>
  26. <Column size="100"/>
  27. <Column size="100"/>
  28. <Column size="150"/>
  29. <Column size="150"/>
  30. <Column size="150"/>
  31. <Column size="150"/>
  32. <Column size="150"/>
  33. </Columns>
  34. <Rows>
  35. <Row size="24" band="head"/>
  36. <Row size="24"/>
  37. <Row size="24" band="summ"/>
  38. </Rows>
  39. <Band id="head">
  40. <Cell text="날 짜"/>
  41. <Cell col="1" text="건진인원"/>
  42. <Cell col="2" text="비자인원"/>
  43. <Cell col="3" text="채용인원"/>
  44. <Cell col="4" text="카드수입"/>
  45. <Cell col="5" text="현금수입"/>
  46. <Cell col="6" text="미수금"/>
  47. <Cell col="7" text="당일총수입"/>
  48. <Cell col="8" text="누 계"/>
  49. </Band>
  50. <Band id="body">
  51. <Cell displaytype="date" text="bind:rcptdd" calendardisplaynulltype="nulltext"/>
  52. <Cell col="1" text="bind:c01cnt"/>
  53. <Cell col="2" text="bind:g02cnt"/>
  54. <Cell col="3" text="bind:g05cnt"/>
  55. <Cell col="4" displaytype="number" style="padding:0 10 0 0;" text="bind:cardamt"/>
  56. <Cell col="5" displaytype="number" style="padding:0 10 0 0;" text="bind:cashamt"/>
  57. <Cell col="6" displaytype="number" style="padding:0 10 0 0;" text="bind:cmpyamt"/>
  58. <Cell col="7" displaytype="number" style="padding:0 10 0 0;" text="bind:totamt"/>
  59. <Cell col="8" displaytype="number" style="padding:0 10 0 0;" text="bind:sumtotamt"/>
  60. </Band>
  61. <Band id="summary">
  62. <Cell style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;"/>
  63. <Cell col="1" displaytype="number" style="padding:0 10 0 0;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('c01cnt')"/>
  64. <Cell col="2" displaytype="number" style="padding:0 10 0 0;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('g02cnt')"/>
  65. <Cell col="3" displaytype="number" style="padding:0 10 0 0;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('g05cnt')"/>
  66. <Cell col="4" displaytype="number" style="padding:0 10 0 0;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cardamt')"/>
  67. <Cell col="5" displaytype="number" style="padding:0 10 0 0;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cashamt')"/>
  68. <Cell col="6" displaytype="number" style="padding:0 10 0 0;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cmpyamt')"/>
  69. <Cell col="7" displaytype="number" style="padding:0 10 0 0;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('totamt')"/>
  70. <Cell col="8" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;"/>
  71. </Band>
  72. </Format>
  73. </Formats>
  74. </Grid>
  75. <Static id="caption60" text="월별수입현황" class="tit_1" position="absolute 0 0 183 25"/>
  76. </Layout>
  77. </Layouts>
  78. <Objects>
  79. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  80. <ColumnInfo>
  81. <Column id="srchdd" type="STRING" size="256"/>
  82. <Column id="srchinstcd" type="STRING" size="256"/>
  83. <Column id="srchpid" type="STRING" size="256"/>
  84. <Column id="srchhealexamflag" type="STRING" size="256"/>
  85. </ColumnInfo>
  86. <Rows>
  87. <Row>
  88. <Col id="srchdd"/>
  89. <Col id="srchinstcd"/>
  90. <Col id="srchpid"/>
  91. <Col id="srchhealexamflag"/>
  92. </Row>
  93. </Rows>
  94. </Dataset>
  95. <Dataset id="ds_main_rcptlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  96. <ColumnInfo>
  97. <Column id="rcptdd" type="STRING" size="256" sumtext="수납일"/>
  98. <Column id="c01cnt" type="STRING" size="256" sumtext="종건인원"/>
  99. <Column id="g02cnt" type="STRING" size="256" sumtext="비자인원"/>
  100. <Column id="g05cnt" type="STRING" size="256" sumtext="비자인원"/>
  101. <Column id="cardamt" type="STRING" size="256" sumtext="카드금액"/>
  102. <Column id="cashamt" type="STRING" size="256" sumtext="현금금액"/>
  103. <Column id="cmpyamt" type="STRING" size="256" sumtext="대체금액"/>
  104. <Column id="totamt" type="STRING" size="256" sumtext="전체금액"/>
  105. <Column id="sumtotamt" type="STRING" size="256" sumtext="누계"/>
  106. </ColumnInfo>
  107. </Dataset>
  108. </Objects>
  109. <Bind>
  110. <BindItem id="item0" compid="group2.cmb_healexamflag" propid="value" datasetid="ds_send" columnid="srchhealexamflag"/>
  111. <BindItem id="item1" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchdd"/>
  112. </Bind>
  113. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  114. * System Name :
  115. * Job Name :
  116. * Creator :
  117. * Make Date : 2015-11-13
  118. * Description :
  119. *---------------------------------------------------------------------------------------
  120. * Modify Date Modifier Modify Description
  121. *---------------------------------------------------------------------------------------
  122. * 2015-11-13 Live Converter TF->XP
  123. *
  124. *---------------------------------------------------------------------------------------
  125. ****************************************************************************************/
  126. include "com_commonxp::comm_main.xjs";
  127. function SMAHS01400_oninit(obj:Form, e:InitEventInfo)
  128. {
  129. frmf_initForm(obj);
  130. }
  131. function SMAHS01400_onload(obj:Form, e:LoadEventInfo)
  132. {
  133. grdf_initGrid(grd_dyrcptlst);
  134. ds_send.setColumn(0, "srchdd", String(utlf_getCurrentDate()).substr(0,6));
  135. var arrParam = [{dsNm: "ds_init_baseinfo_healexamflaglist_A0068", cdGrpId: "A0068"}
  136. ,{dsNm: "ds_init_baseinfo_healexamflaglist_A0069", cdGrpId: "A0069"}
  137. ,{dsNm: "ds_init_baseinfo_healexamdetlflaglist2_A0070", cdGrpId: "A0070"}
  138. ,{dsNm: "ds_init_baseinfo_srchhealexamflag_A0069", cdGrpId: "A0069"}]
  139. appf_getCodeList(arrParam);
  140. frmf_addComboItem("group2.cmb_healexamflag","전체","%","above");
  141. group2.cmb_healexamflag.innerdataset = "ds_init_baseinfo_healexamflaglist_A0068";
  142. group2.cmb_healexamflag.datacolumn = "cdnm";
  143. group2.cmb_healexamflag.codecolumn = "cdid";
  144. group2.cmb_healexamflag.index = 0;
  145. }
  146. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  147. {
  148. var oParam = {};
  149. oParam.id = "TRAHS01401";
  150. oParam.service = "healexamstatapp.StatRef";
  151. oParam.method = "reqGetMnthRcptList";
  152. oParam.inds = "req=ds_send";
  153. oParam.outds = "ds_main_rcptlst_item=item";
  154. oParam.async = false;
  155. //oParam.callback = "cf_TRAHS01401";
  156. tranf_submit(oParam);
  157. }
  158. function group2_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  159. {
  160. ds_send.setColumn(0, "srchdd", String(obj.value).substr(0,6));
  161. }
  162. function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  163. {
  164. grdf_exportExcel(grd_dyrcptlst, "excel", "SheetName", "true", "", "");
  165. }
  166. ]]></Script>
  167. </Form>
  168. </FDL>