SMPIF71800_동의및삭감현황(자보).xfdl 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF71800" position="absolute 0 0 1207 767" titletext="동의및삭감현황(자보)" oninit="SMPIF71800_oninit" onload="SMPIF71800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 13 1196 750" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 11 1194 75" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Button position="absolute 1115 23 1171 45" id="button1" class="btn1" text="조회" anchor="top right" onclick="grp_biz_grp_sea_button1_onclick"/>
  14. <Shape position="absolute 1092 22 1098 44" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  15. <Static text="~" position="absolute 201 10 216 30" id="caption3" anchor="default"/>
  16. <Calendar position="absolute 110 9 196 28" id="ipt_fromdd" class="input_search" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd " value="null" autoselect="true"/>
  17. <Calendar position="absolute 216 9 301 28" id="ipt_todd" class="input_search" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd " value="null" autoselect="true"/>
  18. <Radio position="absolute 425 4 570 27" id="radio1" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  19. <Dataset id="innerdataset">
  20. <ColumnInfo>
  21. <Column id="codecolumn"/>
  22. <Column id="datacolumn"/>
  23. </ColumnInfo>
  24. <Rows>
  25. <Row>
  26. <Col id="codecolumn">A</Col>
  27. <Col id="datacolumn">전체</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">I</Col>
  31. <Col id="datacolumn">입원</Col>
  32. </Row>
  33. <Row>
  34. <Col id="codecolumn">O</Col>
  35. <Col id="datacolumn">외래</Col>
  36. </Row>
  37. </Rows>
  38. </Dataset>
  39. </Radio>
  40. <Static text="내원 유형" position="absolute 341 9 427 26" id="caption7" class="search_name" anchor="default"/>
  41. <Static text="손보사" position="absolute 24 35 112 52" id="caption8" class="search_name" anchor="default"/>
  42. <Combo position="absolute 109 35 275 54" id="cmb_insucmpymark" class="combo_search" innerdataset="@ds_init_U0001list" datacolumn="nm" codecolumn="cd" anchor="default"/>
  43. <Radio position="absolute 700 6 873 26" id="rdo_endyn" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  44. <Dataset id="innerdataset">
  45. <ColumnInfo>
  46. <Column id="codecolumn"/>
  47. <Column id="datacolumn"/>
  48. </ColumnInfo>
  49. <Rows>
  50. <Row>
  51. <Col id="codecolumn">A</Col>
  52. <Col id="datacolumn">전체</Col>
  53. </Row>
  54. <Row>
  55. <Col id="codecolumn">Y</Col>
  56. <Col id="datacolumn">완료</Col>
  57. </Row>
  58. <Row>
  59. <Col id="codecolumn">N</Col>
  60. <Col id="datacolumn">미완료</Col>
  61. </Row>
  62. </Rows>
  63. </Dataset>
  64. </Radio>
  65. <Static text="종결 여부" position="absolute 612 9 728 26" id="caption11" class="search_name" anchor="default"/>
  66. <Static text="입금일자" position="absolute 24 9 135 26" id="cap_depodd" class="search_name" anchor="default"/>
  67. <Static text="동의금액" position="absolute 341 35 425 52" id="cap_aprvamt" class="search_name" visible="true" anchor="default"/>
  68. <MaskEdit position="absolute 427 33 516 52" id="ipt_aprvamt" class="input_search" taborder="20" visible="true" mask="#,###" anchor="default" style="align:left middle;" onkeydown="grp_biz_grp_sea_ipt_aprvamt_onkeydown" autoselect="true"/>
  69. <Static text="이상" position="absolute 521 33 566 50" id="cap_aprvamt2" visible="true" anchor="default"/>
  70. </Layout>
  71. </Layouts>
  72. </Div>
  73. <Tab position="absolute 0 81 1194 736" id="switch1" class="sw_box" anchor="all" onchanged="grp_biz_switch1_onchanged">
  74. <Tabpages>
  75. <Tabpage text="자보 조정, 동의금액 현황" id="case1">
  76. <Layouts>
  77. <Layout>
  78. <Grid position="absolute 0 0 1191 613" id="datagrid1" binddataset="ds_main_list_datagrid1" anchor="all" cellsizingtype="col">
  79. <Formats>
  80. <Format id="default">
  81. <Columns>
  82. <Column size="72"/>
  83. <Column size="44"/>
  84. <Column size="146"/>
  85. <Column size="102"/>
  86. <Column size="67"/>
  87. <Column size="62"/>
  88. <Column size="90"/>
  89. <Column size="64"/>
  90. <Column size="36"/>
  91. <Column size="114"/>
  92. <Column size="80"/>
  93. <Column size="80"/>
  94. <Column size="94"/>
  95. <Column size="80"/>
  96. <Column size="80"/>
  97. <Column size="96"/>
  98. <Column size="80"/>
  99. <Column size="150"/>
  100. </Columns>
  101. <Rows>
  102. <Row size="24" band="head"/>
  103. <Row size="24"/>
  104. <Row size="24" band="summ"/>
  105. </Rows>
  106. <Band id="head">
  107. <Cell text="청구월"/>
  108. <Cell col="1" text="차수"/>
  109. <Cell col="2" text="손보사"/>
  110. <Cell col="3" text="진료과"/>
  111. <Cell col="4" text="의사ID"/>
  112. <Cell col="5" text="진료의"/>
  113. <Cell col="6" text="등록번호"/>
  114. <Cell col="7" text="수진자명"/>
  115. <Cell col="8" text="입/외"/>
  116. <Cell col="9" text="주민번호"/>
  117. <Cell col="10" text="청구금액"/>
  118. <Cell col="11" text="조정금액"/>
  119. <Cell col="12" text="최종동의일자"/>
  120. <Cell col="13" text="동의금액"/>
  121. <Cell col="14" text="입금액"/>
  122. <Cell col="15" text="이의신청회수액"/>
  123. <Cell col="16" text="미납금액"/>
  124. <Cell col="17" text="비고"/>
  125. </Band>
  126. <Band id="body">
  127. <Cell displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  128. <Cell col="1" text="bind:clamdg"/>
  129. <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:instcmpymark" combodataset="ds_init_U0001list" combocodecol="cd" combodatacol="nm" enable="false"/>
  130. <Cell col="3" displaytype="combo" edittype="combo" text="bind:orddeptcd" combodataset="ds_hidden_tmp_orddeptcd_orddeptcdlist" combocodecol="cd" combodatacol="nm"/>
  131. <Cell col="4" text="bind:orddrid"/>
  132. <Cell col="5" text="bind:usernm"/>
  133. <Cell col="6" text="bind:pid"/>
  134. <Cell col="7" text="bind:patnm"/>
  135. <Cell col="8" text="bind:ioflag"/>
  136. <Cell col="9" text="bind:patrrgstno"/>
  137. <Cell col="10" displaytype="number" text="bind:clamamt"/>
  138. <Cell col="11" displaytype="number" text="bind:adjtamt"/>
  139. <Cell col="12" displaytype="date" text="bind:lastdepodd" mask="yyyy-MM-dd"/>
  140. <Cell col="13" displaytype="number" text="bind:aprvamt"/>
  141. <Cell col="14" displaytype="number" text="bind:depoamt"/>
  142. <Cell col="15" displaytype="number" text="bind:deciamt"/>
  143. <Cell col="16" displaytype="number" text="bind:uncoamt"/>
  144. <Cell col="17" text="bind:rem"/>
  145. </Band>
  146. <Band id="summary">
  147. <Cell/>
  148. <Cell col="1"/>
  149. <Cell col="2"/>
  150. <Cell col="3"/>
  151. <Cell col="4"/>
  152. <Cell col="5"/>
  153. <Cell col="6"/>
  154. <Cell col="7"/>
  155. <Cell col="8"/>
  156. <Cell col="9" style="color:#0000ffff;color2:#0000ffff;" text="총계"/>
  157. <Cell col="10" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('clamamt')"/>
  158. <Cell col="11" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('adjtamt')"/>
  159. <Cell col="12"/>
  160. <Cell col="13" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('aprvamt')"/>
  161. <Cell col="14" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('depoamt')"/>
  162. <Cell col="15" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('deciamt')"/>
  163. <Cell col="16" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('uncoamt')"/>
  164. <Cell col="17"/>
  165. </Band>
  166. </Format>
  167. </Formats>
  168. </Grid>
  169. </Layout>
  170. </Layouts>
  171. </Tabpage>
  172. <Tabpage text="진료과별 입금 및 삭감현황" id="case2">
  173. <Layouts>
  174. <Layout>
  175. <Grid position="absolute 0 0 1191 613" id="datagrid2" binddataset="ds_main_list_datagrid2" anchor="all" cellsizingtype="col">
  176. <Formats>
  177. <Format id="default">
  178. <Columns>
  179. <Column size="82"/>
  180. <Column size="146"/>
  181. <Column size="90"/>
  182. <Column size="64"/>
  183. <Column size="60"/>
  184. <Column size="114"/>
  185. <Column size="70"/>
  186. <Column size="74"/>
  187. <Column size="74"/>
  188. <Column size="48"/>
  189. <Column size="100"/>
  190. <Column size="100"/>
  191. <Column size="100"/>
  192. <Column size="100"/>
  193. </Columns>
  194. <Rows>
  195. <Row size="24" band="head"/>
  196. <Row size="24"/>
  197. </Rows>
  198. <Band id="head">
  199. <Cell text="입금일자"/>
  200. <Cell col="1" text="손보사"/>
  201. <Cell col="2" text="등록번호"/>
  202. <Cell col="3" text="수진자명"/>
  203. <Cell col="4" text="내원유형"/>
  204. <Cell col="5" text="진료과"/>
  205. <Cell col="6" text="의사ID"/>
  206. <Cell col="7" text="진료의"/>
  207. <Cell col="8" text="청구월"/>
  208. <Cell col="9" text="차수"/>
  209. <Cell col="10" text="청구금액"/>
  210. <Cell col="11" text="동의액"/>
  211. <Cell col="12" text="입금액"/>
  212. <Cell col="13" text="삭감액"/>
  213. </Band>
  214. <Band id="body">
  215. <Cell displaytype="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? 'normal' : 'date'" text="bind:depodd" mask="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '' : 'yyyy-MM-dd'"/>
  216. <Cell col="1" displaytype="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? 'normal' : 'combo'" edittype="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? 'normal' : 'combo'" style="align:center middle;" text="bind:instcmpymark" combodataset="ds_init_U0001list" combocodecol="cd" combodatacol="nm" enable="false"/>
  217. <Cell col="2" text="bind:pid"/>
  218. <Cell col="3" text="bind:patnm"/>
  219. <Cell col="4" text="bind:ioflag"/>
  220. <Cell col="5" displaytype="combo" edittype="combo" text="bind:orddeptcd" combodataset="ds_hidden_tmp_orddeptcd_orddeptcdlist" combocodecol="cd" combodatacol="nm"/>
  221. <Cell col="6" text="bind:orddrid"/>
  222. <Cell col="7" text="bind:usernm"/>
  223. <Cell col="8" displaytype="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? 'normal' : 'date'" text="bind:clamym" mask="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '' : 'yyyy-MM-dd'"/>
  224. <Cell col="9" displaytype="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? 'none' : 'number'" text="bind:clamdg" mask="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '' : '9,999'"/>
  225. <Cell col="10" displaytype="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? 'text' : 'Number'" style="align:right middle;color:EXPR(getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '#0000ffff' : '#000000');color2:EXPR(getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '#0000ffff' : '#000000');" text="expr:getRowLevel(currow) == 1 ? '일자별 소계' : getRowLevel(currow) == 2 ? '기관별소계' : clamamt" mask="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '' : '9,999'"/>
  226. <Cell col="11" displaytype="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? 'none' : 'number'" text="bind:aprvamt" mask="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '' : '9,999'"/>
  227. <Cell col="12" displaytype="number" style="color:EXPR(getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '#0000ffff' : '#000000');color2:EXPR(getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '#0000ffff' : '#000000');" text="bind:depoamt" mask="9,999"/>
  228. <Cell col="13" displaytype="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? 'none' : 'number'" text="bind:orgcutamt" mask="expr:getRowLevel(currow) == 1 || getRowLevel(currow) == 2 ? '' : '9,999'"/>
  229. </Band>
  230. </Format>
  231. </Formats>
  232. </Grid>
  233. </Layout>
  234. </Layouts>
  235. </Tabpage>
  236. </Tabpages>
  237. </Tab>
  238. <Button position="absolute 1138 80 1194 102" id="button93" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button93_onclick"/>
  239. <Button position="absolute 1056 80 1136 102" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button12_onclick"/>
  240. <Button position="absolute 1004 80 1054 102" id="button2" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button2_onclick"/>
  241. </Layout>
  242. </Layouts>
  243. </Div>
  244. <Div position="absolute 0 731 1195 759" id="group1" scrollbars="autoboth" anchor="left right bottom">
  245. <Layouts>
  246. <Layout>
  247. <Button position="absolute 1138 5 1194 27" id="button45" class="btn4" text="닫기" anchor="right bottom" onclick="group1_button45_onclick"/>
  248. </Layout>
  249. </Layouts>
  250. </Div>
  251. <Static id="caption6" text="동의및삭감현황(자보)" class="tit_1" position="absolute 1 0 249 23"/>
  252. </Layout>
  253. </Layouts>
  254. <Objects>
  255. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  256. <ColumnInfo>
  257. <Column id="fromdd" type="STRING" size="256"/>
  258. <Column id="todd" type="STRING" size="256"/>
  259. <Column id="certno" type="STRING" size="256"/>
  260. <Column id="ioflag" type="STRING" size="256"/>
  261. <Column id="endyn" type="STRING" size="256"/>
  262. <Column id="aprvamt" type="STRING" size="256"/>
  263. <Column id="selectflag" type="STRING" size="256"/>
  264. </ColumnInfo>
  265. <Rows>
  266. <Row>
  267. <Col id="fromdd"/>
  268. <Col id="todd"/>
  269. <Col id="certno"/>
  270. <Col id="ioflag">A</Col>
  271. <Col id="endyn">A</Col>
  272. <Col id="aprvamt">1000</Col>
  273. <Col id="selectflag"/>
  274. </Row>
  275. </Rows>
  276. </Dataset>
  277. <Dataset id="ds_init_U0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  278. <ColumnInfo>
  279. <Column id="cd" type="STRING" size="256"/>
  280. <Column id="nm" type="STRING" size="256"/>
  281. </ColumnInfo>
  282. </Dataset>
  283. <Dataset id="ds_hidden_tmp_orddeptcd_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  284. <ColumnInfo>
  285. <Column id="nm" type="STRING" size="256"/>
  286. <Column id="cd" type="STRING" size="256"/>
  287. </ColumnInfo>
  288. </Dataset>
  289. <Dataset id="ds_main_list_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  290. <Dataset id="ds_main_list_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="depodd" type="STRING" size="256" sumtext="입금일자"/>
  293. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  294. <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
  295. <Column id="instcmpymark" type="STRING" size="256" sumtext="손보사id"/>
  296. <Column id="instcmpymarknm" type="STRING" size="256" sumtext="손보사id"/>
  297. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  298. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  299. <Column id="orddrid" type="STRING" size="256" sumtext="의사ID"/>
  300. <Column id="usernm" type="STRING" size="256" sumtext="진료의"/>
  301. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  302. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  303. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  304. <Column id="clamamt" type="STRING" size="256" sumtext="청구액" prop="TEXT"/>
  305. <Column id="aprvamt" type="STRING" size="256" sumtext="동의액"/>
  306. <Column id="depoamt" type="BIGDECIMAL" size="256" sumtext="입금액"/>
  307. <Column id="orgcutamt" type="STRING" size="256" sumtext="삭감액"/>
  308. </ColumnInfo>
  309. </Dataset>
  310. <Dataset id="ds_hidden_tmp_orddeptcd_orddeptcdlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  311. <Dataset id="ds_hidden_tmp_orddeptcd_orddridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  312. <Dataset id="ds_hidden_tmp_orddeptcd_orddridlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  313. </Objects>
  314. <Bind>
  315. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  316. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  317. <BindItem id="item2" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send" columnid="ioflag"/>
  318. <BindItem id="item3" compid="grp_biz.grp_sea.rdo_endyn" propid="value" datasetid="ds_send" columnid="endyn"/>
  319. <BindItem id="item4" compid="grp_biz.grp_sea.cmb_insucmpymark" propid="value" datasetid="ds_send" columnid="certno"/>
  320. <BindItem id="item5" compid="grp_biz.grp_sea.ipt_aprvamt" propid="value" datasetid="ds_send" columnid="aprvamt"/>
  321. </Bind>
  322. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  323. * System Name :
  324. * Job Name :
  325. * Creator :
  326. * Make Date : 2016-05-24
  327. * Description :
  328. *---------------------------------------------------------------------------------------
  329. * Modify Date Modifier Modify Description
  330. *---------------------------------------------------------------------------------------
  331. * 2016-05-24 Live Converter TF->XP
  332. *
  333. *---------------------------------------------------------------------------------------
  334. ****************************************************************************************/
  335. include "com_commonxp::comm_main.xjs";
  336. include "pam_pamcomnxp::PAM001.xjs";
  337. include "pam_pamcomnxp::PAM.xjs";
  338. function SMPIF71800_oninit(obj:Form, e:InitEventInfo)
  339. {
  340. frmf_initForm(obj);
  341. }
  342. function SMPIF71800_onload(obj:Form, e:LoadEventInfo)
  343. {
  344. var arrParam = [ {dsNm: "ds_init_P0268list", cdGrpId: "P0268"}]
  345. appf_getCodeList(arrParam);
  346. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  347. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  348. grp_biz.switch1.tabindex = 0;
  349. var oParam = {};
  350. oParam.id = "TRPIF70305";
  351. oParam.service = "clamuncoapp.ClamUnco";
  352. oParam.method = "reqGetInsuComp";
  353. oParam.inds = "";
  354. oParam.outds = "ds_init_U0001list=U0001";
  355. oParam.async = false;
  356. oParam.callback = "cf_TRPIF70305";
  357. tranf_submit(oParam);
  358. var oParam = {};
  359. oParam.id = "TRPID20309";
  360. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  361. oParam.method = "reqGetDeptCDDrID";
  362. oParam.inds = "req=ds_send";
  363. oParam.outds = "ds_hidden_tmp_orddeptcd_orddeptcdlist=orddeptcd ds_hidden_tmp_orddeptcd_orddeptcdlist2=orddeptcd2 ds_hidden_tmp_orddeptcd_orddridlist=orddrid ds_hidden_tmp_orddeptcd_orddridlist2=orddrid2";
  364. oParam.async = false;
  365. //oParam.callback = "cf_TRPID20309";
  366. tranf_submit(oParam);
  367. }
  368. function cf_TRPIF70305(sSvcId, nErrorCode, sErrorMsg)
  369. {
  370. if(nErrorCode < 0)
  371. {
  372. return;
  373. }
  374. else
  375. {
  376. frmf_addComboItem("grp_biz.grp_sea.cmb_insucmpymark","전체","","above");
  377. }
  378. }
  379. function grp_biz_grp_sea_ipt_aprvamt_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  380. {
  381. if(e.keycode == 13)
  382. {
  383. //fGetOutAftJudgTrgtManList("docuSrch");
  384. }
  385. }
  386. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  387. {
  388. ds_send.setColumn(0, "selectflag", grp_biz.switch1.tabindex);
  389. var oParam = {};
  390. oParam.id = "TRPIF71801";
  391. oParam.service = "clamuncoapp.ClamUnco";
  392. oParam.method = "reqGetUncoStatAutmbCutamt";
  393. oParam.inds = "req=ds_send";
  394. oParam.outds = "ds_main_list_datagrid1=datagrid1 ds_main_list_datagrid2=datagrid2";
  395. oParam.async = false;
  396. //oParam.callback = "cf_TRPIF71801";
  397. tranf_submit(oParam);
  398. if(grp_biz.switch1.tabindex == 1)
  399. {
  400. ds_main_list_datagrid2.keystring = "G:instcmpymark,depodd";
  401. }
  402. }
  403. function grp_biz_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  404. {
  405. if(grp_biz.switch1.tabindex == 0)
  406. {
  407. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  408. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  409. grp_biz.grp_sea.cap_aprvamt.visible = true;
  410. grp_biz.grp_sea.cap_aprvamt2.visible = true;
  411. grp_biz.grp_sea.ipt_aprvamt.visible = true;
  412. }
  413. else if(grp_biz.switch1.tabindex == 1)
  414. {
  415. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  416. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  417. ds_send.setColumn(0, "aprvamt", "");
  418. grp_biz.grp_sea.cap_aprvamt.visible = false;
  419. grp_biz.grp_sea.cap_aprvamt2.visible = false;
  420. grp_biz.grp_sea.ipt_aprvamt.visible = false;
  421. }
  422. }
  423. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
  424. {
  425. if(grp_biz.switch1.tabindex == 0)
  426. {
  427. var objDOM = rptf_createDOM(); // DOM 객체 설정
  428. rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid1", ds_main_list_datagrid1);
  429. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  430. var objParam = new Object();
  431. objParam.xml_data_XML1 = objDOM.documentElement.source;
  432. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  433. rptf_exeReportPreview30(["RPPIF71800"],[objParam], option);
  434. }
  435. else if(grp_biz.switch1.tabindex == 1)
  436. {
  437. var objDOM = rptf_createDOM(); // DOM 객체 설정
  438. rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid2", ds_main_list_datagrid2);
  439. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  440. var objParam = new Object();
  441. objParam.xml_data_XML1 = objDOM.documentElement.source;
  442. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  443. rptf_exeReportPreview30(["RPPIF71810"],[objParam], option);
  444. }
  445. }
  446. function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
  447. {
  448. if(grp_biz.switch1.tabindex == 0)
  449. {
  450. if(ds_main_list_datagrid1.rowcount == 0)
  451. {
  452. sysf_messageBox("엑셀저장할 내역이", "I004");
  453. }
  454. else
  455. {
  456. grdf_exportExcel(grp_biz.switch1.case1.datagrid1, "청구월별 미수현황", "see");
  457. }
  458. }
  459. else if(grp_biz.switch1.tabindex == 1)
  460. {
  461. if(ds_main_list_datagrid2.rowcount == 0)
  462. {
  463. sysf_messageBox("엑셀저장할 내역이", "I004");
  464. }
  465. else
  466. {
  467. grdf_exportExcel(grp_biz.switch1.case2.datagrid2, "자보 미납현황", "see");
  468. }
  469. }
  470. }
  471. function group1_button45_onclick(obj:Button, e:ClickEventInfo)
  472. {
  473. this.close();
  474. }
  475. function grp_biz_button93_onclick(obj:Button, e:ClickEventInfo)
  476. {
  477. this.print();
  478. }
  479. ]]></Script>
  480. </Form>
  481. </FDL>