SMAHS03100_공단입금내역.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHS03100" position="absolute 0 0 1206 774" titletext="공단입금내역" onload="SMAHS03100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group2" position="absolute 0 25 1195 65" style="" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" class="search_name" position="absolute 10 12 83 29" style="" text="일자 :" anchor="default"/>
  11. <Calendar id="ipt_fromdd" class="input_search" taborder="7" position="absolute 77 11 182 30" style="" anchor="default" autoselect="true"/>
  12. <Static id="caption19" class="search_n_b" position="absolute 186 12 198 29" style="font:,,bolder;" text="~" anchor="default"/>
  13. <Calendar id="input1" class="input_search" taborder="7" position="absolute 200 11 305 30" style="" anchor="default" autoselect="true"/>
  14. <Static id="caption13" class="search_name" position="absolute 328 12 410 29" style="" text="건진구분 :" anchor="default"/>
  15. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio1" visible="true" position="absolute 414 10 564 30" style="" anchor="default">
  16. <Dataset id="innerdataset">
  17. <ColumnInfo>
  18. <Column id="codecolumn"/>
  19. <Column id="datacolumn"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row>
  23. <Col id="codecolumn">A</Col>
  24. <Col id="datacolumn">공단검진</Col>
  25. </Row>
  26. <Row>
  27. <Col id="codecolumn">H</Col>
  28. <Col id="datacolumn">통합검진</Col>
  29. </Row>
  30. </Rows>
  31. </Dataset>
  32. </Radio>
  33. <Button id="btn_excelsave" class="btn7" visible="false" position="absolute 960 10 1040 32" style="" text="엑셀저장" onclick="group2_btn_excelsave_onclick" anchor="top right"/>
  34. <Shape id="line3" class="line_4" linetype="vertical" position="absolute 1047 10 1050 32" anchor="default" visible="false"/>
  35. <Button id="btn_prt" class="btn6" position="absolute 1054 10 1110 32" style="" text="출력" onclick="group2_btn_prt_onclick" anchor="top right"/>
  36. <Shape id="line2" class="line_4" linetype="vertical" position="absolute 1116 10 1119 32" anchor="top right"/>
  37. <Button id="btn_search" class="btn1" position="absolute 1123 10 1179 32" style="" text="조회" onclick="group2_btn_search_onclick" anchor="top right"/>
  38. </Layout>
  39. </Layouts>
  40. </Div>
  41. <Div id="group3" position="absolute 0 63 1196 770" style="" anchor="all">
  42. <Layouts>
  43. <Layout>
  44. <Grid id="grd_reqlst" binddataset="ds_main_reqlst_item" position="absolute 0 10 1195 701" style="" cellsizingtype="col" anchor="all">
  45. <Formats>
  46. <Format id="default">
  47. <Columns>
  48. <Column size="72"/>
  49. <Column size="73"/>
  50. <Column size="122"/>
  51. <Column size="114"/>
  52. <Column size="0"/>
  53. <Column size="80"/>
  54. <Column size="0"/>
  55. <Column size="80"/>
  56. <Column size="80"/>
  57. <Column size="80"/>
  58. <Column size="80"/>
  59. <Column size="80"/>
  60. <Column size="80"/>
  61. <Column size="238"/>
  62. </Columns>
  63. <Rows>
  64. <Row size="24" band="head"/>
  65. <Row size="24"/>
  66. <Row size="24" band="summ"/>
  67. </Rows>
  68. <Band id="head">
  69. <Cell text="입금일자"/>
  70. <Cell col="1" text="청구일자"/>
  71. <Cell col="2" text="청구구분"/>
  72. <Cell col="3" text="파일명"/>
  73. <Cell col="4" text="청구번호"/>
  74. <Cell col="5" text="청구금액"/>
  75. <Cell col="6" text="실청구금액"/>
  76. <Cell col="7" text="입금액"/>
  77. <Cell col="8" text="현금입금액"/>
  78. <Cell col="9" text="카드입금액"/>
  79. <Cell col="10" text="추가액"/>
  80. <Cell col="11" text="삭감액"/>
  81. <Cell col="12" text="절사액"/>
  82. <Cell col="13" text="비고"/>
  83. <Cell col="14"/>
  84. </Band>
  85. <Band id="body">
  86. <Cell displaytype="date" 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:incomedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  87. <Cell col="1" displaytype="date" 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:clamdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  88. <Cell col="2" displaytype="expr:getRowLevel(currow) == 1 ? '' : 'combo'" edittype="none" style="align:left middle;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:cretflag" combodataset="ds_main_cretflag" combocodecol="value" combodatacol="label"/>
  89. <Cell col="3" style="align:left middle;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:sisfilename"/>
  90. <Cell col="4" text="bind:clamseqno"/>
  91. <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:sumclamamt"/>
  92. <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:clamamt"/>
  93. <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:incomeamt"/>
  94. <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:cashamt"/>
  95. <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:cardamt"/>
  96. <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:addamt"/>
  97. <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:discamt"/>
  98. <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:restamt"/>
  99. <Cell col="13" style="align:left top;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" wordwrap="char"/>
  100. </Band>
  101. <Band id="summary">
  102. <Cell style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,9;"/>
  103. <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,9;"/>
  104. <Cell col="2" style="align:left middle;background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="총 계"/>
  105. <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
  106. <Cell col="4" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
  107. <Cell col="5" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="expr:getSum('sumclamamt')"/>
  108. <Cell col="6" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="expr:getSum('clamamt')"/>
  109. <Cell col="7" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="expr:getSum('incomeamt')"/>
  110. <Cell col="8" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="expr:getSum('cashamt')"/>
  111. <Cell col="9" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="expr:getSum('cardamt')"/>
  112. <Cell col="10" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="expr:getSum('addamt')"/>
  113. <Cell col="11" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="expr:getSum('discamt')"/>
  114. <Cell col="12" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="expr:getSum('restamt')"/>
  115. <Cell col="13" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
  116. </Band>
  117. </Format>
  118. </Formats>
  119. </Grid>
  120. </Layout>
  121. </Layouts>
  122. </Div>
  123. <Static id="caption60" text="공단 입금내역" class="tit_1" position="absolute 0 0 183 25" style="align:left;"/>
  124. </Layout>
  125. </Layouts>
  126. <Objects>
  127. <Dataset id="ds_main_reqlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  128. <ColumnInfo/>
  129. </Dataset>
  130. <Dataset id="ds_main_reqlst_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep">
  131. <ColumnInfo>
  132. <Column id="incomedd" type="STRING" size="256"/>
  133. <Column id="clamdd" type="STRING" size="256"/>
  134. <Column id="cretflag" type="STRING" size="256" prop="TEXT" sumtext="소 계"/>
  135. <Column id="sisfilename" type="STRING" size="256"/>
  136. <Column id="clamseqno" type="STRING" size="256"/>
  137. <Column id="sumclamamt" type="INT" size="256"/>
  138. <Column id="clamamt" type="INT" size="256"/>
  139. <Column id="incomeamt" type="INT" size="256"/>
  140. <Column id="cashamt" type="INT" size="256"/>
  141. <Column id="cardamt" type="INT" size="256"/>
  142. <Column id="addamt" type="INT" size="256"/>
  143. <Column id="discamt" type="INT" size="256"/>
  144. <Column id="restamt" type="INT" size="256"/>
  145. <Column id="remfact" type="STRING" size="256"/>
  146. </ColumnInfo>
  147. <Rows>
  148. <Row>
  149. <Col id="incomedd"/>
  150. <Col id="clamdd"/>
  151. <Col id="cretflag"/>
  152. <Col id="sisfilename"/>
  153. <Col id="clamseqno"/>
  154. <Col id="sumclamamt"/>
  155. <Col id="clamamt"/>
  156. <Col id="incomeamt"/>
  157. <Col id="cashamt"/>
  158. <Col id="cardamt"/>
  159. <Col id="addamt"/>
  160. <Col id="discamt"/>
  161. <Col id="restamt"/>
  162. <Col id="remfact"/>
  163. </Row>
  164. </Rows>
  165. </Dataset>
  166. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  167. <ColumnInfo>
  168. <Column id="rexinfo" type="STRING" size="256"/>
  169. <Column id="export" type="STRING" size="256"/>
  170. </ColumnInfo>
  171. </Dataset>
  172. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  173. <ColumnInfo>
  174. <Column id="srchfromdd" type="STRING" size="256"/>
  175. <Column id="srchtodd" type="STRING" size="256"/>
  176. <Column id="srchhealexamgubun" type="STRING" size="256"/>
  177. </ColumnInfo>
  178. <Rows>
  179. <Row/>
  180. </Rows>
  181. </Dataset>
  182. <Dataset id="ds_main_cretflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  183. <ColumnInfo>
  184. <Column id="label" type="STRING" size="256"/>
  185. <Column id="value" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. <Rows>
  188. <Row>
  189. <Col id="value">1</Col>
  190. <Col id="label">건강검진1.2차</Col>
  191. </Row>
  192. <Row>
  193. <Col id="value">2</Col>
  194. <Col id="label">암</Col>
  195. </Row>
  196. <Row>
  197. <Col id="value">3</Col>
  198. <Col id="label">보건소</Col>
  199. </Row>
  200. <Row>
  201. <Col id="value">4</Col>
  202. <Col id="label">구강</Col>
  203. </Row>
  204. <Row>
  205. <Col id="value">5</Col>
  206. <Col id="label">영유아</Col>
  207. </Row>
  208. <Row>
  209. <Col id="label">소 계</Col>
  210. </Row>
  211. </Rows>
  212. </Dataset>
  213. <Dataset id="ds_main_reqlst_item_temp" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep">
  214. <ColumnInfo>
  215. <Column id="incomedd" type="STRING" size="256"/>
  216. <Column id="clamdd" type="STRING" size="256"/>
  217. <Column id="cretflag" type="STRING" size="256" prop="TEXT" sumtext="소 계"/>
  218. <Column id="sisfilename" type="STRING" size="256"/>
  219. <Column id="clamseqno" type="STRING" size="256"/>
  220. <Column id="sumclamamt" type="INT" size="256"/>
  221. <Column id="clamamt" type="INT" size="256"/>
  222. <Column id="incomeamt" type="INT" size="256"/>
  223. <Column id="cashamt" type="INT" size="256"/>
  224. <Column id="cardamt" type="INT" size="256"/>
  225. <Column id="addamt" type="INT" size="256"/>
  226. <Column id="discamt" type="INT" size="256"/>
  227. <Column id="restamt" type="INT" size="256"/>
  228. <Column id="remfact" type="STRING" size="256"/>
  229. </ColumnInfo>
  230. <Rows>
  231. <Row>
  232. <Col id="incomedd"/>
  233. <Col id="clamdd"/>
  234. <Col id="cretflag"/>
  235. <Col id="sisfilename"/>
  236. <Col id="clamseqno"/>
  237. <Col id="sumclamamt"/>
  238. <Col id="clamamt"/>
  239. <Col id="incomeamt"/>
  240. <Col id="cashamt"/>
  241. <Col id="cardamt"/>
  242. <Col id="addamt"/>
  243. <Col id="discamt"/>
  244. <Col id="restamt"/>
  245. <Col id="remfact"/>
  246. </Row>
  247. </Rows>
  248. </Dataset>
  249. <Dataset id="ds_main_rexinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  250. </Objects>
  251. <Bind>
  252. <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  253. <BindItem id="item1" compid="group2.input1" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  254. <BindItem id="item2" compid="group2.radio1" propid="value" datasetid="ds_send" columnid="srchhealexamgubun"/>
  255. </Bind>
  256. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  257. * System Name :
  258. * Job Name :
  259. * Creator :
  260. * Make Date : 2015-11-13
  261. * Description :
  262. *---------------------------------------------------------------------------------------
  263. * Modify Date Modifier Modify Description
  264. *---------------------------------------------------------------------------------------
  265. * 2015-11-13 Live Converter TF->XP
  266. *
  267. *---------------------------------------------------------------------------------------
  268. ****************************************************************************************/
  269. include "com_commonxp::comm_main.xjs";
  270. include "com_basiccodexp::ZBC001.xjs";
  271. include "com_zipcodexp::ZBP001.xjs";
  272. /*
  273. * 소계 및 총계를 생성한다.
  274. */
  275. function fSetRcptSum(){
  276. // 2.0에서는 submit 후 keystring 처리
  277. // dateset sum row 추가 처리
  278. // 1.0 소스 막음
  279. // group3.grd_reqlst.subtotalPosition = "below";
  280. // group3.grd_reqlst.subtotal("clear", group3.grd_reqlst.colRef("cretflag") , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold ", group3.grd_reqlst.colRef("cretflag") , "소 계" );
  281. // group3.grd_reqlst.subtotal("clear", -1, i, "format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#99ff99; font-weight:bold", group3.grd_reqlst.colRef("cretflag"), "총 계" );
  282. //
  283. // for(var i=0; i < group3.grd_reqlst.cols ; i++){
  284. // if(i >= group3.grd_reqlst.colRef("sumclamamt") && i <= group3.grd_reqlst.colRef("restamt")){
  285. // group3.grd_reqlst.subtotal("sum", group3.grd_reqlst.colRef("cretflag") , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold ", group3.grd_reqlst.colRef("cretflag") , "소 계" );
  286. // group3.grd_reqlst.subtotal("sum", -1, i, "format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#99ff99; font-weight:bold", group3.grd_reqlst.colRef("cretflag"), "총 계" );
  287. // }
  288. // }
  289. }
  290. //스크립트 끝
  291. function SMAHS03100_onload(obj:Form, e:LoadEventInfo) {
  292. frmf_initForm(obj);
  293. //grdf_initGrid(grd_XXX);
  294. //grdf_setGridSort(grd_XXX);
  295. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  296. //일자초기화
  297. ds_send.setColumn( 0, "srchfromdd" , utlf_getCurrentDate());
  298. ds_send.setColumn( 0, "srchtodd" , utlf_getCurrentDate());
  299. ds_send.setColumn( 0, "srchhealexamgubun" , "A");
  300. }
  301. function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo) {
  302. grdf_exportExcel(group3.grd_reqlst, "excel", "SheetName", "true", "", "");
  303. }
  304. function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo) {
  305. dsf_makeValue( ds_main_rexinfo, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  306. dsf_makeValue( ds_main_rexinfo, "usernm", "string", sysf_getUserInfo("usernm"));
  307. dsf_makeValue( ds_main_rexinfo, "fromdd", "string", ds_send.getColumn(0, "srchfromdd"));
  308. dsf_makeValue( ds_main_rexinfo, "todd", "string", ds_send.getColumn(0, "srchtodd"));
  309. var objDOM = rptf_createDOM();
  310. var objParam = new Object();
  311. rptf_setNodeListToDOM(objDOM, "/root/main/rexinfo" , ds_main_rexinfo);
  312. rptf_setNodeListToDOM(objDOM, "/root/main/reqlst/item" , ds_main_reqlst_item_temp);
  313. objParam.xml_data_XML1 = objDOM.documentElement.source;
  314. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  315. rptf_exeReportPreview30(["RPAHS03100"],[objParam], option);
  316. }
  317. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  318. var oParam = {};
  319. oParam.id = "TRAHS03100";
  320. oParam.service = "healexamstatapp.StatRef";
  321. oParam.method = "reqGetGclmList";
  322. oParam.inds = "req=ds_send";
  323. oParam.outds = "ds_main_reqlst_item=item";
  324. oParam.async = false;
  325. //oParam.callback = "cf_TRAHS03100";
  326. tranf_submit(oParam);
  327. ds_main_reqlst_item_temp.copyData(ds_main_reqlst_item);
  328. ds_main_reqlst_item.keystring = "G:+cretflag";
  329. }
  330. function cf_TRAHS03100(sSvcId, nErrorCode, sErrorMsg) {
  331. if(nErrorCode < 0) return;
  332. fSetRcptSum();
  333. }
  334. ]]></Script>
  335. </Form>
  336. </FDL>