SMAHS02400_수입금명세서.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHS02400" position="absolute 0 0 1206 774" titletext="수입금명세서" oninit="SMAHS02400_oninit" onload="SMAHS02400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 26 1203 61" id="group2" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static text="건진일자 :" position="absolute 10 10 82 27" id="caption1" class="search_name" anchor="left top"/>
  11. <Shape position="absolute 1129 7 1135 29" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
  12. <Button position="absolute 1139 7 1195 29" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group2_btn_search_onclick"/>
  13. <Button position="absolute 1046 7 1126 29" id="btn_excelsave" class="btn7" visible="true" text="액셀저장" anchor="top right" onclick="group2_btn_excelsave_onclick"/>
  14. <Calendar position="absolute 102 8 207 27" id="ipt_fromdd" class="input_search" taborder="7" anchor="left top" autoselect="true" autoskip="true"/>
  15. <Calendar position="absolute 232 8 337 27" id="ipt_todd" class="input_search" taborder="7" anchor="left top" autoselect="true" autoskip="true"/>
  16. <Static id="caption2" text="~" position="absolute 214 12 229 27" anchor="left top"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Grid position="absolute 1 63 1204 770" align="align:center middle;" id="grd_earnspeclst" binddataset="ds_main_earnspeclst_item" autofittype="col" cellsizingtype="col" anchor="all">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="80"/>
  25. <Column size="60"/>
  26. <Column size="90"/>
  27. <Column size="90"/>
  28. <Column size="60"/>
  29. <Column size="90"/>
  30. <Column size="90"/>
  31. <Column size="60"/>
  32. <Column size="90"/>
  33. <Column size="90"/>
  34. <Column size="90"/>
  35. <Column size="80"/>
  36. <Column size="110"/>
  37. <Column size="110"/>
  38. </Columns>
  39. <Rows>
  40. <Row size="24" band="head"/>
  41. <Row size="24" band="head"/>
  42. <Row size="24"/>
  43. <Row size="24" band="summ"/>
  44. </Rows>
  45. <Band id="head">
  46. <Cell rowspan="2" text="건진일자" taborder="undefined"/>
  47. <Cell col="1" colspan="3" text="비자건진" taborder="undefined"/>
  48. <Cell col="4" colspan="3" text="채용건진" taborder="undefined"/>
  49. <Cell col="7" colspan="4" text="공단건진" taborder="undefined"/>
  50. <Cell col="11" colspan="3" text="합계" taborder="undefined"/>
  51. <Cell row="1" col="1" text="인원"/>
  52. <Cell row="1" col="2" text="총금액"/>
  53. <Cell row="1" col="3" text="수납금액"/>
  54. <Cell row="1" col="4" text="인원"/>
  55. <Cell row="1" col="5" text="총금액"/>
  56. <Cell row="1" col="6" text="수납금액"/>
  57. <Cell row="1" col="7" text="인원"/>
  58. <Cell row="1" col="8" text="총금액"/>
  59. <Cell row="1" col="9" text="미수금액"/>
  60. <Cell row="1" col="10" text="수납금액"/>
  61. <Cell row="1" col="11" text="인원"/>
  62. <Cell row="1" col="12" text="총금액"/>
  63. <Cell row="1" col="13" text="수납금액"/>
  64. </Band>
  65. <Band id="body">
  66. <Cell displaytype="normal" style="align:center middle;" text="bind:hopedd"/>
  67. <Cell col="1" displaytype="normal" style="align:center middle;" text="bind:visacnt"/>
  68. <Cell col="2" displaytype="normal" style="align:center middle;" text="bind:visatotamt"/>
  69. <Cell col="3" displaytype="normal" style="align:center middle;" text="bind:visarcptamt"/>
  70. <Cell col="4" displaytype="normal" style="align:center middle;" text="bind:appcnt"/>
  71. <Cell col="5" displaytype="normal" style="align:center middle;" text="bind:apptotamt"/>
  72. <Cell col="6" displaytype="normal" style="align:center middle;" text="bind:apprcptamt"/>
  73. <Cell col="7" displaytype="normal" style="align:center middle;" text="bind:gnrlcnt"/>
  74. <Cell col="8" displaytype="normal" style="align:center middle;" text="bind:gnrltotamt"/>
  75. <Cell col="9" displaytype="normal" style="align:center middle;" text="bind:gnrluncoamt"/>
  76. <Cell col="10" displaytype="normal" style="align:center middle;" text="bind:gnrlrcptamt"/>
  77. <Cell col="11" displaytype="normal" style="align:center middle;" text="bind:totcnt"/>
  78. <Cell col="12" displaytype="normal" style="align:center middle;" text="bind:totamt"/>
  79. <Cell col="13" displaytype="normal" style="align:center middle;" text="bind:totrcptamt"/>
  80. </Band>
  81. <Band id="summary">
  82. <Cell text="총계"/>
  83. <Cell col="1" displaytype="number" style="align:center middle;" text="expr:getSum('visacnt')" mask="@@@,@@@,@@@"/>
  84. <Cell col="2" displaytype="number" style="align:center middle;" text="expr:getSum('visatotamt')" mask="@@@,@@@,@@@"/>
  85. <Cell col="3" displaytype="number" style="align:center middle;" text="expr:getSum('visarcptamt')" mask="@@@,@@@,@@@"/>
  86. <Cell col="4" displaytype="number" style="align:center middle;" text="expr:getSum('appcnt')" mask="@@@,@@@,@@@"/>
  87. <Cell col="5" displaytype="number" style="align:center middle;" text="expr:getSum('apptotamt')" mask="@@@,@@@,@@@"/>
  88. <Cell col="6" displaytype="number" style="align:center middle;" text="expr:getSum('apprcptamt')" mask="@@@,@@@,@@@"/>
  89. <Cell col="7" displaytype="number" style="align:center middle;" text="expr:getSum('gnrlcnt')" mask="@@@,@@@,@@@"/>
  90. <Cell col="8" displaytype="number" style="align:center middle;" text="expr:getSum('gnrltotamt')" mask="@@@,@@@,@@@"/>
  91. <Cell col="9" displaytype="number" style="align:center middle;" text="expr:getSum('gnrluncoamt')" mask="@@@,@@@,@@@"/>
  92. <Cell col="10" displaytype="number" style="align:center middle;" text="expr:getSum('gnrlrcptamt')" mask="@@@,@@@,@@@"/>
  93. <Cell col="11" displaytype="number" style="align:center middle;" text="expr:getSum('totcnt')" mask="@@@,@@@,@@@"/>
  94. <Cell col="12" displaytype="number" style="align:center middle;" text="expr:getSum('totamt')" mask="@@@,@@@,@@@"/>
  95. <Cell col="13" displaytype="number" style="align:center middle;" text="expr:getSum('totrcptamt')" mask="@@@,@@@,@@@"/>
  96. </Band>
  97. </Format>
  98. </Formats>
  99. </Grid>
  100. <Static id="caption60" text="수입금명세서" class="tit_1" position="absolute 0 0 183 25" anchor="left top"/>
  101. </Layout>
  102. </Layouts>
  103. <Objects>
  104. <Dataset id="ds_main_earnspeclst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  105. <ColumnInfo>
  106. <Column id="hopedd" type="STRING"/>
  107. <Column id="visacnt" type="STRING"/>
  108. <Column id="visatotamt" type="STRING"/>
  109. <Column id="visarcptamt" type="STRING"/>
  110. <Column id="appcnt" type="STRING"/>
  111. <Column id="apptotamt" type="STRING"/>
  112. <Column id="apprcptamt" type="STRING"/>
  113. <Column id="gnrlcnt" type="STRING"/>
  114. <Column id="gnrltotamt" type="STRING"/>
  115. <Column id="gnrluncoamt" type="STRING"/>
  116. <Column id="gnrlrcptamt" type="STRING"/>
  117. <Column id="totcnt" type="STRING"/>
  118. <Column id="totamt" type="STRING"/>
  119. <Column id="totrcptamt" type="STRING"/>
  120. </ColumnInfo>
  121. </Dataset>
  122. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  123. <ColumnInfo>
  124. <Column id="srchfromdd" type="STRING" size="256"/>
  125. <Column id="srchtodd" type="STRING" size="256"/>
  126. </ColumnInfo>
  127. <Rows>
  128. <Row/>
  129. </Rows>
  130. </Dataset>
  131. </Objects>
  132. <Bind>
  133. <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  134. <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  135. </Bind>
  136. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  137. * System Name :
  138. * Job Name :
  139. * Creator :
  140. * Make Date : 2015-11-13
  141. * Description :
  142. *---------------------------------------------------------------------------------------
  143. * Modify Date Modifier Modify Description
  144. *---------------------------------------------------------------------------------------
  145. * 2015-11-13 Live Converter TF->XP
  146. *
  147. *---------------------------------------------------------------------------------------
  148. ****************************************************************************************/
  149. include "com_commonxp::comm_main.xjs";
  150. include "com_basiccodexp::ZBC001.xjs";
  151. include "com_zipcodexp::ZBP001.xjs";
  152. function SMAHS02400_oninit(obj:Form, e:InitEventInfo)
  153. {
  154. frmf_initForm(obj);
  155. }
  156. function SMAHS02400_onload(obj:Form, e:LoadEventInfo)
  157. {
  158. grdf_initGrid(grd_earnspeclst);
  159. ds_send.setColumn(0, "srchfromdd", utlf_getCurrentDate());
  160. ds_send.setColumn(0, "srchtodd", utlf_getCurrentDate());
  161. ds_send.setColumn(0, "srchfromdd", "20180101");
  162. ds_send.setColumn(0, "srchtodd", "20180105");
  163. group2.btn_search.click();
  164. }
  165. function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  166. {
  167. grdf_exportExcel(grd_earnspeclst, "수입금명세서", "sheet1", false);
  168. }
  169. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  170. {
  171. var oParam = {};
  172. oParam.id = "TRAHS02401";
  173. oParam.service = "healexamstatapp.StatRef";
  174. oParam.method = "reqGetSumEarnSpecList";
  175. oParam.inds = "req=ds_send";
  176. oParam.outds = "ds_main_earnspeclst_item=item";
  177. oParam.async = false;
  178. //oParam.callback = "cf_TRAHS02401";
  179. tranf_submit(oParam);
  180. }
  181. ]]></Script>
  182. </Form>
  183. </FDL>