SMPIF31900_가수금내역.xfdl 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF31900" position="absolute 0 0 1202 762" titletext="Untitle" oninit="SMPIF31900_oninit" onload="SMPIF31900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1199 754" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Tab position="absolute 1 78 1195 741" id="switch1" class="sw_box" anchor="all" onchanged="grp_biz_switch1_onchanged">
  11. <Tabpages>
  12. <Tabpage text="일자별 가수금내역" id="case1">
  13. <Layouts>
  14. <Layout>
  15. <Grid position="absolute 5 7 1189 630" id="grd_depoamt1" class="datagrid2" binddataset="ds_main_griddepoamt1" autofittype="col" anchor="all" onkeydown="grp_biz_switch1_case1_grd_depoamt1_onkeydown" selecttype="multirow" onkeyup="grp_biz_switch1_case1_grd_depoamt1_onkeyup" cellsizingtype="col">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="0"/>
  20. <Column size="19"/>
  21. <Column size="110"/>
  22. <Column size="91"/>
  23. <Column size="82"/>
  24. <Column size="60"/>
  25. <Column size="100"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="170"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="30" band="head"/>
  32. <Row size="24"/>
  33. <Row size="24" band="summ"/>
  34. </Rows>
  35. <Band id="head">
  36. <Cell text="구분"/>
  37. <Cell col="1"/>
  38. <Cell col="2" text="입금일자"/>
  39. <Cell col="3" text="접수번호"/>
  40. <Cell col="4" text="심사차수"/>
  41. <Cell col="5" text="보험"/>
  42. <Cell col="6" text="입금구분"/>
  43. <Cell col="7" text="입금은행"/>
  44. <Cell col="8" text="계좌번호"/>
  45. <Cell col="9" text="입금금액"/>
  46. </Band>
  47. <Band id="body">
  48. <Cell displaytype="none" edittype="none" text="bind:depoflag2"/>
  49. <Cell col="1" celltype="head" expr="currow+1"/>
  50. <Cell col="2" displaytype="expr:acntcd == '소계' ? 'nomal' : 'date'" style="align:center;" text="bind:depodd"/>
  51. <Cell col="3" displaytype="normal" edittype="none" style="align:center;" text="bind:acptno"/>
  52. <Cell col="4" text="bind:judgdg"/>
  53. <Cell col="5" displaytype="expr:getRowLevel(currow)==1 ? 'text' : 'combo'" edittype="none" style="align:center middle;" text="bind:clamtypecd" combodataset="ds_init_P0103list" combocodecol="cdid" combodatacol="cdnm"/>
  54. <Cell col="6" displaytype="normal" edittype="none" style="align:center;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:depoflagnm"/>
  55. <Cell col="7" displaytype="combo" edittype="combo" style="align:center;" text="bind:bankcd" combodataset="ds_init_R0001list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  56. <Cell col="8" displaytype="normal" edittype="none" style="align:center;font:EXPR(acntcd == '소계' ? 'dotum,9,bold' : '');" text="bind:acntcd"/>
  57. <Cell col="9" displaytype="number" style="align:right middle;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:depoamt"/>
  58. </Band>
  59. <Band id="summary">
  60. <Cell/>
  61. <Cell col="1"/>
  62. <Cell col="2"/>
  63. <Cell col="3"/>
  64. <Cell col="4"/>
  65. <Cell col="5"/>
  66. <Cell col="6"/>
  67. <Cell col="7"/>
  68. <Cell col="8" style="align:center middle;font:arial,9,bold;" text="총합계"/>
  69. <Cell col="9" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('depoamt')"/>
  70. </Band>
  71. </Format>
  72. </Formats>
  73. </Grid>
  74. </Layout>
  75. </Layouts>
  76. </Tabpage>
  77. <Tabpage text="접수번호별 가수금내역" id="case2">
  78. <Layouts>
  79. <Layout>
  80. <Grid position="absolute 5 7 1189 630" id="grd_depoamt2" class="datagrid2" binddataset="ds_main_griddepoamt2" autofittype="col" anchor="all" onkeydown="grp_biz_switch1_case2_grd_depoamt2_onkeydown" cellsizingtype="col">
  81. <Formats>
  82. <Format id="default">
  83. <Columns>
  84. <Column size="19"/>
  85. <Column size="110"/>
  86. <Column size="112"/>
  87. <Column size="197"/>
  88. <Column size="174"/>
  89. </Columns>
  90. <Rows>
  91. <Row size="31" band="head"/>
  92. <Row size="24"/>
  93. <Row size="24" band="summ"/>
  94. </Rows>
  95. <Band id="head">
  96. <Cell/>
  97. <Cell col="1" text="접수번호"/>
  98. <Cell col="2" text="입금은행"/>
  99. <Cell col="3" text="계좌번호"/>
  100. <Cell col="4" text="입금금액"/>
  101. </Band>
  102. <Band id="body">
  103. <Cell celltype="head" expr="currow+1"/>
  104. <Cell col="1" style="align:center;" text="bind:acptno"/>
  105. <Cell col="2" displaytype="combo" edittype="combo" style="align:center;" text="bind:bankcd" combodataset="ds_init_R0001list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  106. <Cell col="3" displaytype="text" edittype="text" style="align:center;" text="bind:acntcd"/>
  107. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:depoamt"/>
  108. </Band>
  109. <Band id="summary">
  110. <Cell/>
  111. <Cell col="1"/>
  112. <Cell col="2"/>
  113. <Cell col="3" style="align:center middle;font:arial,9,bold;" text="총합계"/>
  114. <Cell col="4" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('depoamt')"/>
  115. </Band>
  116. </Format>
  117. </Formats>
  118. </Grid>
  119. </Layout>
  120. </Layouts>
  121. </Tabpage>
  122. </Tabpages>
  123. </Tab>
  124. <Div position="absolute 1 11 1195 71" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
  125. <Layouts>
  126. <Layout>
  127. <Button position="absolute 1111 18 1167 40" id="button1" class="btn1" text="조회" anchor="top right" onclick="grp_biz_grp_sea_button1_onclick"/>
  128. <Shape position="absolute 1081 18 1087 40" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  129. <Static text="보험유형" position="absolute 316 22 402 39" align="align:center top;" id="caption4" class="search_name" anchor="default"/>
  130. <Calendar position="absolute 85 20 182 39" id="ipt_fromdd" class="input_s_essential" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  131. <Calendar position="absolute 202 20 299 39" id="ipt_todd" class="input_s_essential" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  132. <Static text="~" position="absolute 186 23 201 38" id="caption7" anchor="default"/>
  133. <Static text="내원유형" position="absolute 612 22 698 39" align="align:center top;" id="caption8" class="search_name" anchor="default"/>
  134. <Radio position="absolute 682 18 816 41" id="rdo_ioflag" columncount="-1" rowcount="-1" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_rdo_ioflag"/>
  135. <Radio position="absolute 386 18 602 41" id="rdo_insukind" columncount="-1" rowcount="-1" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_rdo_insukind" onitemclick="grp_biz_grp_sea_rdo_insukind_onitemclick"/>
  136. <Static text="입금일자" position="absolute 15 21 101 38" align="align:center top;" id="caption3" class="search_name" anchor="default"/>
  137. <Radio position="absolute 880 14 1081 45" id="rdo_selectflag" columncount="-1" rowcount="-1" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_rdo_selectflag" onitemchanged="grp_biz_grp_sea_rdo_selectflag_onitemchanged"/>
  138. <Static text="구분" position="absolute 836 22 887 39" align="align:center top;" id="caption1" class="search_name" anchor="default"/>
  139. </Layout>
  140. </Layouts>
  141. </Div>
  142. <Button position="absolute 1114 78 1194 97" id="button4" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button4_onclick"/>
  143. <Button position="absolute 1063 78 1113 97" id="button2" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button2_onclick"/>
  144. <Button position="absolute 927 78 1062 97" id="button3" class="btn6" text="가수금입금내역출력" anchor="top right" onclick="grp_biz_button3_onclick"/>
  145. </Layout>
  146. </Layouts>
  147. </Div>
  148. <Static id="caption6" text="가수금내역" class="tit_1" position="absolute 1 0 225 23"/>
  149. </Layout>
  150. </Layouts>
  151. <Objects>
  152. <Dataset id="ds_main_griddepoamt1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  153. <ColumnInfo>
  154. <Column id="depodd" type="STRING" size="256" prop="NONE" sumtext="입금일자"/>
  155. <Column id="depoflagnm" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
  156. <Column id="bankcd" type="STRING" size="256" sumtext="입금은행"/>
  157. <Column id="banknm" type="STRING" size="256" sumtext="입금은행명"/>
  158. <Column id="acntcd" type="STRING" size="256" prop="NONE"/>
  159. <Column id="depoamt" type="BIGDECIMAL" size="256" sumtext="입금금액" prop="SUM"/>
  160. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  161. <Column id="depoflag2" type="STRING" size="256" sumtext="입금구분2" prop="TEXT"/>
  162. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  163. <Column id="clamtypecd" type="STRING" size="256"/>
  164. </ColumnInfo>
  165. </Dataset>
  166. <Dataset id="ds_main_griddepoamt2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  167. <ColumnInfo>
  168. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  169. <Column id="bankcd" type="STRING" size="256" sumtext="입금은행"/>
  170. <Column id="banknm" type="STRING" size="256" sumtext="입금은행"/>
  171. <Column id="acntcd" type="STRING" size="256" sumtext="계좌번호"/>
  172. <Column id="depoamt" type="STRING" size="256" sumtext="입금금액"/>
  173. </ColumnInfo>
  174. </Dataset>
  175. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  176. <ColumnInfo>
  177. <Column id="fromdd" type="STRING" size="256"/>
  178. <Column id="todd" type="STRING" size="256"/>
  179. <Column id="clamflag" type="STRING" size="256"/>
  180. <Column id="insukind" type="STRING" size="256"/>
  181. <Column id="ioflag" type="STRING" size="256"/>
  182. <Column id="selectflag" type="STRING" size="256"/>
  183. </ColumnInfo>
  184. <Rows>
  185. <Row>
  186. <Col id="insukind">11</Col>
  187. <Col id="ioflag">A</Col>
  188. <Col id="selectflag">1</Col>
  189. </Row>
  190. </Rows>
  191. </Dataset>
  192. <Dataset id="ds_rdo_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  193. <ColumnInfo>
  194. <Column id="label" type="STRING" size="256"/>
  195. <Column id="value" type="STRING" size="256"/>
  196. </ColumnInfo>
  197. <Rows>
  198. <Row>
  199. <Col id="label">보험</Col>
  200. <Col id="value">11</Col>
  201. </Row>
  202. <Row>
  203. <Col id="label">보호</Col>
  204. <Col id="value">21</Col>
  205. </Row>
  206. <Row>
  207. <Col id="label">산재</Col>
  208. <Col id="value">41</Col>
  209. </Row>
  210. <Row>
  211. <Col id="label">기타</Col>
  212. <Col id="value">99</Col>
  213. </Row>
  214. </Rows>
  215. </Dataset>
  216. <Dataset id="ds_rdo_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  217. <ColumnInfo>
  218. <Column id="label" type="STRING" size="256"/>
  219. <Column id="value" type="STRING" size="256"/>
  220. </ColumnInfo>
  221. <Rows>
  222. <Row>
  223. <Col id="label">전체</Col>
  224. <Col id="value">A</Col>
  225. </Row>
  226. <Row>
  227. <Col id="label">입원</Col>
  228. <Col id="value">I</Col>
  229. </Row>
  230. <Row>
  231. <Col id="label">외래</Col>
  232. <Col id="value">O</Col>
  233. </Row>
  234. </Rows>
  235. </Dataset>
  236. <Dataset id="ds_rdo_selectflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  237. <ColumnInfo>
  238. <Column id="label" type="STRING" size="256"/>
  239. <Column id="value" type="STRING" size="256"/>
  240. </ColumnInfo>
  241. <Rows>
  242. <Row>
  243. <Col id="label">일자별</Col>
  244. <Col id="value">1</Col>
  245. </Row>
  246. <Row>
  247. <Col id="label">일자별sum</Col>
  248. <Col id="value">2</Col>
  249. </Row>
  250. <Row>
  251. <Col id="label">접수번호</Col>
  252. <Col id="value">3</Col>
  253. </Row>
  254. </Rows>
  255. </Dataset>
  256. <Dataset id="ds_init_P0266list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  257. <ColumnInfo>
  258. <Column id="cdid" type="STRING" size="256"/>
  259. <Column id="cdnm" type="STRING" size="256"/>
  260. </ColumnInfo>
  261. <Rows>
  262. <Row/>
  263. </Rows>
  264. </Dataset>
  265. <Dataset id="ds_init_R0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  266. <ColumnInfo>
  267. <Column id="cdnm" type="STRING" size="256"/>
  268. <Column id="cdid" type="STRING" size="256"/>
  269. </ColumnInfo>
  270. <Rows>
  271. <Row/>
  272. </Rows>
  273. </Dataset>
  274. <Dataset id="ds_init_bankinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  275. <ColumnInfo>
  276. <Column id="cdnm" type="STRING" size="256"/>
  277. <Column id="cdid" type="STRING" size="256"/>
  278. </ColumnInfo>
  279. <Rows>
  280. <Row/>
  281. </Rows>
  282. </Dataset>
  283. <Dataset id="ds_print_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  284. <ColumnInfo>
  285. <Column id="srchym" type="STRING" size="256"/>
  286. <Column id="rexid" type="STRING" size="256"/>
  287. <Column id="userid" type="STRING" size="256"/>
  288. <Column id="acntno" type="STRING" size="256"/>
  289. </ColumnInfo>
  290. <Rows>
  291. <Row/>
  292. </Rows>
  293. </Dataset>
  294. <Dataset id="ds_tmp_reqGetSpsRptPrntList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  295. <ColumnInfo>
  296. <Column id="days" type="STRING" size="256" sumtext=""/>
  297. <Column id="bsdp1intotamt" type="STRING" size="256" sumtext=""/>
  298. <Column id="bsdp1ottotamt" type="STRING" size="256" sumtext=""/>
  299. <Column id="bsdpdisaintotamt" type="STRING" size="256" sumtext=""/>
  300. <Column id="bsdpdisaottotamt" type="STRING" size="256" sumtext=""/>
  301. <Column id="mcdpintotamt" type="STRING" size="256" sumtext=""/>
  302. <Column id="mcdpottotamt" type="STRING" size="256" sumtext=""/>
  303. <Column id="mcdpdisaintotamt" type="STRING" size="256" sumtext=""/>
  304. <Column id="mcdpdisaottotamt" type="STRING" size="256" sumtext=""/>
  305. <Column id="bsdp2intotamt" type="STRING" size="256" sumtext=""/>
  306. <Column id="bsdp2ottotamt" type="STRING" size="256" sumtext=""/>
  307. <Column id="bsdpetcintotamt" type="STRING" size="256" sumtext=""/>
  308. <Column id="bsdpetcottotamt" type="STRING" size="256" sumtext=""/>
  309. <Column id="dispseq" type="STRING" size="256" sumtext=""/>
  310. <Column id="totamt" type="STRING" size="256" sumtext=""/>
  311. </ColumnInfo>
  312. <Rows>
  313. <Row/>
  314. </Rows>
  315. </Dataset>
  316. <Dataset id="ds_temp_griddepoamt1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  317. <ColumnInfo>
  318. <Column id="depodd" type="STRING" size="256" prop="NONE" sumtext="입금일자"/>
  319. <Column id="depoflagnm" type="STRING" size="256" sumtext="입금구분"/>
  320. <Column id="bankcd" type="STRING" size="256" sumtext="입금은행"/>
  321. <Column id="banknm" type="STRING" size="256" sumtext="입금은행명"/>
  322. <Column id="acntcd" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
  323. <Column id="depoamt" type="BIGDECIMAL" size="256" sumtext="입금금액" prop="SUM"/>
  324. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  325. <Column id="depoflag2" type="STRING" size="256" sumtext="입금구분2" prop="TEXT"/>
  326. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  327. </ColumnInfo>
  328. </Dataset>
  329. <Dataset id="ds_init_P0103list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  330. <ColumnInfo>
  331. <Column id="cdnm" type="STRING" size="256"/>
  332. <Column id="cdid" type="STRING" size="256"/>
  333. </ColumnInfo>
  334. </Dataset>
  335. </Objects>
  336. <Bind>
  337. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  338. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  339. <BindItem id="item2" compid="grp_biz.grp_sea.rdo_insukind" propid="value" datasetid="ds_send" columnid="insukind"/>
  340. <BindItem id="item3" compid="grp_biz.grp_sea.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
  341. <BindItem id="item4" compid="grp_biz.grp_sea.rdo_selectflag" propid="value" datasetid="ds_send" columnid="selectflag"/>
  342. </Bind>
  343. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  344. * System Name :
  345. * Job Name :
  346. * Creator :
  347. * Make Date : 2016-05-24
  348. * Description :
  349. *---------------------------------------------------------------------------------------
  350. * Modify Date Modifier Modify Description
  351. *---------------------------------------------------------------------------------------
  352. * 2016-05-24 Live Converter TF->XP
  353. *
  354. *---------------------------------------------------------------------------------------
  355. ****************************************************************************************/
  356. include "com_commonxp::comm_main.xjs";
  357. include "pam_pamcomnxp::PAM001.xjs";
  358. include "pam_pamcomnxp::PAM.xjs";
  359. function SMPIF31900_oninit(obj:Form, e:InitEventInfo)
  360. {
  361. frmf_initForm(obj);
  362. }
  363. function SMPIF31900_onload(obj:Form, e:LoadEventInfo)
  364. {
  365. var arrParam = [{dsNm: "ds_init_P0266list", cdGrpId: "P0266"}
  366. ,{dsNm: "ds_init_R0001list", cdGrpId: "R0001"}
  367. ,{dsNm: "ds_init_P0103list", cdGrpId: "P0103"}]
  368. appf_getCodeList(arrParam);
  369. pamGetDeptCDDrIDList();
  370. var oParam = {};
  371. oParam.id = "TRPIF30309";
  372. oParam.service = "clamuncoapp.ClamUnco";
  373. oParam.method = "reqGetBankInfoSrch";
  374. oParam.inds = "";
  375. oParam.outds = "ds_init_bankinfolist=bankinfolist";
  376. oParam.async = false;
  377. //oParam.callback = "cf_TRPIF30309";
  378. tranf_submit(oParam);
  379. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  380. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  381. grp_biz.grp_sea.ipt_fromdd.setFocus();
  382. }
  383. function grp_biz_grp_sea_rdo_selectflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  384. {
  385. if(grp_biz.grp_sea.rdo_selectflag.value == "1" )
  386. {
  387. grp_biz.switch1.tabindex = 0;
  388. }
  389. else if(grp_biz.grp_sea.rdo_selectflag.value == "2" )
  390. {
  391. grp_biz.switch1.tabindex = 0;
  392. }
  393. else if(grp_biz.grp_sea.rdo_selectflag.value == "3" )
  394. {
  395. grp_biz.switch1.tabindex = 1;
  396. }
  397. }
  398. //조회
  399. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  400. {
  401. if (utlf_isNull(grp_biz.grp_sea.ipt_fromdd.value) || utlf_isNull(grp_biz.grp_sea.ipt_todd.value))
  402. {
  403. sysf_messageBox("시작일과 종료일은","I003");
  404. grp_biz.grp_sea.ipt_fromdd.setFocus();
  405. return false;
  406. }
  407. var oParam = {};
  408. oParam.id = "TRPIF31901";
  409. oParam.service = "clamuncoapp.ClamUnco";
  410. oParam.method = "reqGetDepoamtByDepodd";
  411. oParam.inds = "req=ds_send";
  412. oParam.outds = "ds_main_griddepoamt1=griddepoamt1 ds_main_griddepoamt2=griddepoamt2";
  413. oParam.async = false;
  414. //oParam.callback = "cf_TRPIF31901";
  415. tranf_submit(oParam);
  416. if(grp_biz.grp_sea.rdo_selectflag.value == "1")
  417. {
  418. grp_biz.switch1.tabindex = 0;
  419. ds_main_griddepoamt1.keystring= "G:depoflag2";
  420. }
  421. else if(grp_biz.grp_sea.rdo_selectflag.value == "2")
  422. {
  423. grp_biz.switch1.tabindex = 0;
  424. ds_main_griddepoamt1.keystring= "G:depoflag2";
  425. }
  426. else if(grp_biz.grp_sea.rdo_selectflag.value == "3")
  427. {
  428. grp_biz.switch1.tabindex = 1;
  429. }
  430. }
  431. function grp_biz_switch1_case1_grd_depoamt1_onkeydown(obj:Grid, e:KeyEventInfo)
  432. {
  433. if(e.ctrlKey && e.keycode == 67)
  434. {
  435. grdf_clipboardCopy(grp_biz.switch1.case1.grd_depoamt1, "PAM");
  436. }
  437. }
  438. function grp_biz_switch1_case2_grd_depoamt2_onkeydown(obj:Grid, e:KeyEventInfo)
  439. {
  440. if(e.ctrlKey && e.keycode == 67)
  441. {
  442. grdf_clipboardCopy(grp_biz.switch1.case2.grd_depoamt2, "PAM");
  443. }
  444. }
  445. //엑셀저장
  446. function grp_biz_button4_onclick(obj:Button, e:ClickEventInfo)
  447. {
  448. var today = new Date();
  449. var yy = today.getYear()+"";
  450. var mm = today.getMonth()+1;
  451. var dd = today.getDate();
  452. if(mm < 10)
  453. {
  454. mm = "0" + mm ;
  455. }
  456. else
  457. {
  458. mm = mm + "" ;
  459. }
  460. if(dd < 10)
  461. {
  462. dd = "0" + dd ;
  463. }
  464. else
  465. {
  466. dd = dd + "" ;
  467. }
  468. var tmp = yy + mm + dd;
  469. if(grp_biz.grp_sea.rdo_selectflag.value == 1)
  470. {
  471. if (ds_main_griddepoamt1.rowcount > 0)
  472. {
  473. grdf_exportExcel(grp_biz.switch1.case1.grd_depoamt1, "일자별 가수금내역_"+tmp, "see");
  474. }
  475. else
  476. {
  477. sysf_messageBox("엑셀저장할 내역이", "I004");
  478. }
  479. }
  480. else if(grp_biz.grp_sea.rdo_selectflag.value == 2)
  481. {
  482. if (ds_main_griddepoamt1.rowcount > 0)
  483. {
  484. grdf_exportExcel(grp_biz.switch1.case1.grd_depoamt1, "일자별sum 가수금내역_"+tmp, "see");
  485. }
  486. else
  487. {
  488. sysf_messageBox("엑셀저장할 내역이", "I004");
  489. }
  490. }
  491. else if(grp_biz.grp_sea.rdo_selectflag.value == 3)
  492. {
  493. if (ds_main_griddepoamt2.rowcount > 0)
  494. {
  495. grdf_exportExcel(grp_biz.switch1.case2.grd_depoamt2, "접수번호별 가수금내역_"+tmp, "see");
  496. }
  497. else
  498. {
  499. sysf_messageBox("엑셀저장할 내역이", "I004");
  500. }
  501. }
  502. }
  503. //가수금입금내역출력
  504. function grp_biz_button3_onclick(obj:Button, e:ClickEventInfo)
  505. {
  506. ds_print_send.setColumn(0, "rexid", "RPPIF31901");
  507. ds_print_send.setColumn(0, "userid", sysf_getUserId());
  508. var srchym = ds_send.getColumn(0, "fromdd");
  509. var str_srchym = String(srchym);
  510. ds_print_send.setColumn(0, "srchym", str_srchym.substr(0, 6));
  511. var cnt = ds_init_bankinfolist.rowcount;
  512. var bankacount;
  513. for(var i = 0; i < cnt; i++)
  514. {
  515. if(ds_init_bankinfolist.getColumn(i, "cdid") == "20")
  516. {
  517. bankacount = ds_init_bankinfolist.getColumn(i, "cdnm");
  518. break;
  519. }
  520. }
  521. ds_print_send.setColumn(0, "acntno", bankacount);
  522. var oParam = {};
  523. oParam.id = "TRPIF31902";
  524. oParam.service = "clamuncoapp.ClamUnco";
  525. oParam.method = "reqGetSpsRptPrntList";
  526. oParam.inds = "req=ds_print_send";
  527. oParam.outds = "ds_tmp_reqGetSpsRptPrntList=reqGetSpsRptPrntList";
  528. oParam.async = false;
  529. oParam.callback = "cf_TRPIF31902";
  530. tranf_submit(oParam);
  531. }
  532. function cf_TRPIF31902()
  533. {
  534. var objDOM = rptf_createDOM(); // DOM 객체 설정
  535. rptf_setNodeListToDOM(objDOM, "/root/prntlist/reqGetSpsRptPrntList", ds_tmp_reqGetSpsRptPrntList);
  536. rptf_setNodeListToDOM(objDOM, "/root/print/send", ds_print_send);
  537. var objParam = new Object();
  538. objParam.xml_data_XML1 = objDOM.documentElement.source;
  539. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  540. rptf_exeReportPreview30(["RPPIF31901"],[objParam], option);
  541. }
  542. //출력
  543. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
  544. {
  545. ds_temp_griddepoamt1.clearData();
  546. if(grp_biz.switch1.tabindex == 0)
  547. {
  548. for(var i = 0; i < ds_main_griddepoamt1.rowcount; i++)
  549. {
  550. if(!utlf_isNull(ds_main_griddepoamt1.getColumn(i, "depodd")))
  551. {
  552. var row = ds_temp_griddepoamt1.addRow();
  553. ds_temp_griddepoamt1.copyRow(row, ds_main_griddepoamt1, i);
  554. }
  555. }
  556. var objDOM = rptf_createDOM(); // DOM 객체 설정
  557. rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepoamt1", ds_temp_griddepoamt1);
  558. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  559. var objParam = new Object();
  560. objParam.xml_data_XML1 = objDOM.documentElement.source;
  561. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  562. rptf_exeReportPreview30(["RPPIF31900"],[objParam], option);
  563. }
  564. else if(grp_biz.switch1.tabindex == 1)
  565. {
  566. var objDOM = rptf_createDOM(); // DOM 객체 설정
  567. rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepoamt2", ds_main_griddepoamt2);
  568. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  569. var objParam = new Object();
  570. objParam.xml_data_XML1 = objDOM.documentElement.source;
  571. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  572. rptf_exeReportPreview30(["RPPIF31910"],[objParam], option);
  573. }
  574. }
  575. function grp_biz_grp_sea_rdo_insukind_onitemclick(obj:Radio, e:RadioMouseEventInfo)
  576. {
  577. }
  578. ]]></Script>
  579. </Form>
  580. </FDL>