SMPIF71500_미수현황(자보).xfdl 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF71500" position="absolute 0 0 1199 756" titletext="미수현황(자보)" onload="SMPIF71500_onload" oninit="SMPIF71500_oninit">
  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 226 9 241 29" id="caption3" anchor="default"/>
  16. <Calendar position="absolute 135 9 221 28" id="ipt_fromdd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_biz_grp_sea_ipt_fromdd_onchanged"/>
  17. <Calendar position="absolute 241 9 326 28" id="ipt_todd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
  18. <Radio position="absolute 432 4 577 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 347 9 433 26" id="caption7" class="search_name" anchor="default"/>
  41. <Static text="손 보 사" position="absolute 347 35 435 52" id="caption8" class="search_name" anchor="default"/>
  42. <Combo position="absolute 433 34 599 53" id="cmb_insucmpymark" class="combo_search" innerdataset="@ds_init_U0001list_U0001" datacolumn="nm" codecolumn="cd" anchor="default"/>
  43. <Radio position="absolute 704 6 877 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 623 9 739 26" id="caption11" class="search_name" anchor="default"/>
  66. <Static text="기간:" position="absolute 15 9 75 26" id="cap_depodd" class="search_name" anchor="default"/>
  67. <Static text="미납금액" position="absolute 624 35 708 52" id="cap_uncoamt" class="search_name" anchor="default" visible="false"/>
  68. <MaskEdit position="absolute 703 33 792 52" id="ipt_uncoamt" class="input_search" taborder="20" mask="#,###" anchor="default" onkeydown="grp_biz_grp_sea_ipt_uncoamt_onkeydown" visible="false"/>
  69. <Radio position="absolute 62 4 122 59" id="rdo_srchflag" columncount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_grp_sea_rdo_srchflag_onitemchanged">
  70. <Dataset id="innerdataset">
  71. <ColumnInfo>
  72. <Column id="codecolumn"/>
  73. <Column id="datacolumn"/>
  74. </ColumnInfo>
  75. <Rows>
  76. <Row>
  77. <Col id="codecolumn">M</Col>
  78. <Col id="datacolumn">청구월</Col>
  79. </Row>
  80. <Row>
  81. <Col id="codecolumn">D</Col>
  82. <Col id="datacolumn">청구일</Col>
  83. </Row>
  84. <Row>
  85. <Col id="codecolumn">DD</Col>
  86. <Col id="datacolumn">심결일</Col>
  87. </Row>
  88. </Rows>
  89. </Dataset>
  90. </Radio>
  91. </Layout>
  92. </Layouts>
  93. </Div>
  94. <Tab position="absolute 0 80 1194 719" id="switch1" class="sw_box" anchor="all" onchanged="grp_biz_switch1_onchanged">
  95. <Tabpages>
  96. <Tabpage text="청구월별 미수현황" id="case1">
  97. <Layouts>
  98. <Layout>
  99. <Grid position="absolute 0 1 1191 598" id="datagrid1" binddataset="ds_main_list_datagrid1" anchor="all" cellsizingtype="col">
  100. <Formats>
  101. <Format id="default">
  102. <Columns>
  103. <Column size="74"/>
  104. <Column size="74"/>
  105. <Column size="154"/>
  106. <Column size="90"/>
  107. <Column size="80"/>
  108. <Column size="60"/>
  109. <Column size="136"/>
  110. <Column size="80"/>
  111. <Column size="100"/>
  112. <Column size="80"/>
  113. <Column size="74"/>
  114. <Column size="100"/>
  115. <Column size="100"/>
  116. <Column size="0"/>
  117. <Column size="60"/>
  118. </Columns>
  119. <Rows>
  120. <Row size="24" band="head"/>
  121. <Row size="24"/>
  122. <Row size="24" band="summ"/>
  123. </Rows>
  124. <Band id="head">
  125. <Cell text="청구월"/>
  126. <Cell col="1" text="청구차수"/>
  127. <Cell col="2" text="손보사"/>
  128. <Cell col="3" text="등록번호"/>
  129. <Cell col="4" text="수진자명"/>
  130. <Cell col="5" text="내원유형"/>
  131. <Cell col="6" text="주민번호"/>
  132. <Cell col="7" text="청구일자"/>
  133. <Cell col="8" text="청구금액"/>
  134. <Cell col="9" text="심결일"/>
  135. <Cell col="10" text="심결액"/>
  136. <Cell col="11" text="미수액"/>
  137. <Cell col="12" text="지연이자"/>
  138. <Cell col="13" text="사고번호"/>
  139. <Cell col="14" text="정산차수"/>
  140. </Band>
  141. <Band id="body">
  142. <Cell displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  143. <Cell col="1" text="bind:clamdg"/>
  144. <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:instcmpymark" combodataset="ds_init_U0001list_U0001" combocodecol="cd" combodatacol="nm" enable="false"/>
  145. <Cell col="3" text="bind:pid"/>
  146. <Cell col="4" text="bind:patnm"/>
  147. <Cell col="5" text="bind:ioflag"/>
  148. <Cell col="6" text="bind:patrrgstno"/>
  149. <Cell col="7" displaytype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
  150. <Cell col="8" displaytype="number" text="bind:clamamt"/>
  151. <Cell col="9" displaytype="date" text="bind:notidd" mask="yyyy-MM-dd"/>
  152. <Cell col="10" displaytype="number" text="bind:deciamt"/>
  153. <Cell col="11" displaytype="number" text="bind:uncoamt"/>
  154. <Cell col="12" displaytype="number" text="bind:interestamt"/>
  155. <Cell col="13" text="bind:acdacptno"/>
  156. <Cell col="14" text="bind:dg"/>
  157. </Band>
  158. <Band id="summary">
  159. <Cell/>
  160. <Cell col="1"/>
  161. <Cell col="2"/>
  162. <Cell col="3"/>
  163. <Cell col="4"/>
  164. <Cell col="5"/>
  165. <Cell col="6" style="color:#0000ffff;color2:#0000ffff;" text="총합계"/>
  166. <Cell col="7"/>
  167. <Cell col="8" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('clamamt')"/>
  168. <Cell col="9"/>
  169. <Cell col="10"/>
  170. <Cell col="11" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('uncoamt')"/>
  171. <Cell col="12" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('interestamt')"/>
  172. <Cell col="13"/>
  173. <Cell col="14"/>
  174. </Band>
  175. </Format>
  176. </Formats>
  177. </Grid>
  178. </Layout>
  179. </Layouts>
  180. </Tabpage>
  181. <Tabpage text="자보 미완납현황" id="case2">
  182. <Layouts>
  183. <Layout>
  184. <Grid position="absolute 0 1 1191 598" id="datagrid2" binddataset="ds_main_list_datagrid2" anchor="all" cellsizingtype="col">
  185. <Formats>
  186. <Format id="default">
  187. <Columns>
  188. <Column size="72"/>
  189. <Column size="48"/>
  190. <Column size="146"/>
  191. <Column size="90"/>
  192. <Column size="64"/>
  193. <Column size="60"/>
  194. <Column size="114"/>
  195. <Column size="81"/>
  196. <Column size="80"/>
  197. <Column size="80"/>
  198. <Column size="81"/>
  199. <Column size="80"/>
  200. <Column size="80"/>
  201. <Column size="80"/>
  202. <Column size="80"/>
  203. <Column size="80"/>
  204. <Column size="150"/>
  205. <Column size="0"/>
  206. <Column size="56"/>
  207. </Columns>
  208. <Rows>
  209. <Row size="24" band="head"/>
  210. <Row size="24"/>
  211. <Row size="24" band="summ"/>
  212. </Rows>
  213. <Band id="head">
  214. <Cell text="청구월"/>
  215. <Cell col="1" text="차수"/>
  216. <Cell col="2" text="손보사"/>
  217. <Cell col="3" text="등록번호"/>
  218. <Cell col="4" text="수진자명"/>
  219. <Cell col="5" text="내원유형"/>
  220. <Cell col="6" text="주민번호"/>
  221. <Cell col="7" text="청구일자"/>
  222. <Cell col="8" text="심결일자"/>
  223. <Cell col="9" text="청구금액"/>
  224. <Cell col="10" text="심결액"/>
  225. <Cell col="11" text="조정금액"/>
  226. <Cell col="12" text="동의금액"/>
  227. <Cell col="13" text="입금액"/>
  228. <Cell col="14" text="미납금액"/>
  229. <Cell col="15" text="지연이자"/>
  230. <Cell col="16" text="비고"/>
  231. <Cell col="17" text="사고번호"/>
  232. <Cell col="18" text="정산차수"/>
  233. </Band>
  234. <Band id="body">
  235. <Cell displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  236. <Cell col="1" text="bind:clamdg"/>
  237. <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:instcmpymark" combodataset="ds_init_U0001list_U0001" combocodecol="cd" combodatacol="nm" enable="false"/>
  238. <Cell col="3" text="bind:pid"/>
  239. <Cell col="4" text="bind:patnm"/>
  240. <Cell col="5" text="bind:ioflag"/>
  241. <Cell col="6" text="bind:patrrgstno"/>
  242. <Cell col="7" displaytype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
  243. <Cell col="8" displaytype="expr:notidd == '-' ? 'normal' : 'date'" text="bind:notidd" mask="expr:notidd == '-' ? '' : 'yyyy-MM-dd'"/>
  244. <Cell col="9" displaytype="number" text="bind:clamamt"/>
  245. <Cell col="10" displaytype="number" text="bind:deciamt"/>
  246. <Cell col="11" displaytype="number" text="bind:adjtamt"/>
  247. <Cell col="12" displaytype="number" text="bind:aprvamt"/>
  248. <Cell col="13" displaytype="number" text="bind:depoamt"/>
  249. <Cell col="14" displaytype="number" text="bind:uncoamt"/>
  250. <Cell col="15" displaytype="number" text="bind:interestamt"/>
  251. <Cell col="16" style="align:left middle;" text="bind:rem"/>
  252. <Cell col="17" text="bind:acdacptno"/>
  253. <Cell col="18" text="bind:dg"/>
  254. </Band>
  255. <Band id="summary">
  256. <Cell/>
  257. <Cell col="1"/>
  258. <Cell col="2"/>
  259. <Cell col="3"/>
  260. <Cell col="4"/>
  261. <Cell col="5"/>
  262. <Cell col="6" style="color:#0000ffff;color2:#0000ffff;" text="총합계"/>
  263. <Cell col="7"/>
  264. <Cell col="8"/>
  265. <Cell col="9" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('clamamt')"/>
  266. <Cell col="10"/>
  267. <Cell col="11" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('adjtamt')"/>
  268. <Cell col="12" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('aprvamt')"/>
  269. <Cell col="13" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('depoamt')"/>
  270. <Cell col="14" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('uncoamt')"/>
  271. <Cell col="15" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('interestamt')"/>
  272. <Cell col="16"/>
  273. <Cell col="17"/>
  274. <Cell col="18"/>
  275. </Band>
  276. </Format>
  277. </Formats>
  278. </Grid>
  279. </Layout>
  280. </Layouts>
  281. </Tabpage>
  282. </Tabpages>
  283. </Tab>
  284. <Button position="absolute 1138 80 1194 102" id="button93" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button93_onclick"/>
  285. <Button position="absolute 1056 80 1136 102" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button12_onclick"/>
  286. <Button position="absolute 1004 80 1055 102" id="button2" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button2_onclick"/>
  287. </Layout>
  288. </Layouts>
  289. </Div>
  290. <Div position="absolute 1 720 1196 748" id="group1" scrollbars="autoboth" anchor="left right bottom">
  291. <Layouts>
  292. <Layout>
  293. <Button position="absolute 1136 1 1192 23" id="button45" class="btn4" text="닫기" anchor="right bottom" onclick="group1_button45_onclick"/>
  294. </Layout>
  295. </Layouts>
  296. </Div>
  297. <Static id="caption6" text="미수현황(자보)" class="tit_1" position="absolute 1 0 249 23"/>
  298. </Layout>
  299. </Layouts>
  300. <Objects>
  301. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  302. <ColumnInfo>
  303. <Column id="fromdd" type="STRING" size="256"/>
  304. <Column id="todd" type="STRING" size="256"/>
  305. <Column id="certno" type="STRING" size="256"/>
  306. <Column id="ioflag" type="STRING" size="256"/>
  307. <Column id="endyn" type="STRING" size="256"/>
  308. <Column id="uncoamt" type="STRING" size="256"/>
  309. <Column id="selectflag" type="STRING" size="256"/>
  310. <Column id="srchflag" type="STRING" size="256"/>
  311. </ColumnInfo>
  312. <Rows>
  313. <Row>
  314. <Col id="fromdd"/>
  315. <Col id="todd"/>
  316. <Col id="certno"/>
  317. <Col id="ioflag">A</Col>
  318. <Col id="endyn">A</Col>
  319. <Col id="uncoamt">1000</Col>
  320. <Col id="selectflag"/>
  321. <Col id="srchflag">M</Col>
  322. </Row>
  323. </Rows>
  324. </Dataset>
  325. <Dataset id="ds_init_P0268list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  326. <Dataset id="ds_init_U0001list_U0001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  327. <ColumnInfo>
  328. <Column id="cd" type="STRING" size="256"/>
  329. <Column id="nm" type="STRING" size="256"/>
  330. </ColumnInfo>
  331. <Rows>
  332. <Row>
  333. <Col id="cd"/>
  334. <Col id="nm"/>
  335. </Row>
  336. </Rows>
  337. </Dataset>
  338. <Dataset id="ds_hidden_tmp_orddeptcd_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  339. <Dataset id="ds_hidden_tmp_orddeptcd_orddeptcdlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  340. <Dataset id="ds_hidden_tmp_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  341. <Dataset id="ds_hidden_tmp_orddrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  342. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  343. <Dataset id="ds_main_list_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  344. <ColumnInfo>
  345. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  346. <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
  347. <Column id="instcmpymark" type="STRING" size="256" sumtext="손보사id"/>
  348. <Column id="instcmpymarknm" type="STRING" size="256" sumtext="손보사id"/>
  349. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  350. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  351. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  352. <Column id="patrrgstno" type="STRING" size="256" sumtext="주민번호"/>
  353. <Column id="acptdd" type="STRING" size="256" sumtext="청구일자"/>
  354. <Column id="clamamt" type="STRING" size="256" sumtext="청구액"/>
  355. <Column id="uncoamt" type="STRING" size="256" sumtext="미수액"/>
  356. <Column id="interestamt" type="STRING" size="256" sumtext="지연이자"/>
  357. <Column id="hospnm" type="STRING" size="256" sumtext="병원명"/>
  358. <Column id="acdacptno" type="STRING" size="256" sumtext="사고접수번호"/>
  359. <Column id="deciamt" type="STRING" size="256" sumtext="심결액"/>
  360. <Column id="notidd" type="STRING" size="256" sumtext="심결일"/>
  361. <Column id="dg" type="STRING" size="256" sumtext="정산창수"/>
  362. </ColumnInfo>
  363. </Dataset>
  364. <Dataset id="ds_main_list_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  365. <ColumnInfo>
  366. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  367. <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
  368. <Column id="instcmpymark" type="STRING" size="256" sumtext="손보사id"/>
  369. <Column id="instcmpymarknm" type="STRING" size="256" sumtext="손보사id"/>
  370. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  371. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  372. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  373. <Column id="patrrgstno" type="STRING" size="256" sumtext="주민번호"/>
  374. <Column id="acptdd" type="STRING" size="256" sumtext="청구일자"/>
  375. <Column id="clamamt" type="STRING" size="256" sumtext="청구액"/>
  376. <Column id="adjtamt" type="STRING" size="256" sumtext="조정액"/>
  377. <Column id="aprvamt" type="STRING" size="256" sumtext="동의액"/>
  378. <Column id="depoamt" type="STRING" size="256" sumtext="입금액"/>
  379. <Column id="uncoamt" type="STRING" size="256" sumtext="미수액"/>
  380. <Column id="interestamt" type="STRING" size="256" sumtext="지연이자"/>
  381. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  382. <Column id="acdacptno" type="STRING" size="256" sumtext="사고접수번호"/>
  383. <Column id="deciamt" type="STRING" size="256" sumtext="심결액"/>
  384. <Column id="notidd" type="STRING" size="256" sumtext="심결일"/>
  385. <Column id="dg" type="STRING" size="256" sumtext="정산창수"/>
  386. </ColumnInfo>
  387. </Dataset>
  388. </Objects>
  389. <Bind>
  390. <BindItem id="item0" compid="grp_biz.grp_sea.rdo_srchflag" propid="value" datasetid="ds_send" columnid="srchflag"/>
  391. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  392. <BindItem id="item2" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  393. <BindItem id="item3" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send" columnid="ioflag"/>
  394. <BindItem id="item4" compid="grp_biz.grp_sea.cmb_insucmpymark" propid="value" datasetid="ds_send" columnid="certno"/>
  395. <BindItem id="item5" compid="grp_biz.grp_sea.rdo_endyn" propid="value" datasetid="ds_send" columnid="endyn"/>
  396. <BindItem id="item6" compid="grp_biz.grp_sea.ipt_uncoamt" propid="value" datasetid="ds_send" columnid="uncoamt"/>
  397. </Bind>
  398. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  399. * System Name :
  400. * Job Name :
  401. * Creator :
  402. * Make Date : 2016-05-24
  403. * Description :
  404. *---------------------------------------------------------------------------------------
  405. * Modify Date Modifier Modify Description
  406. *---------------------------------------------------------------------------------------
  407. * 2016-05-24 Live Converter TF->XP
  408. *
  409. *---------------------------------------------------------------------------------------
  410. ****************************************************************************************/
  411. include "com_commonxp::comm_main.xjs";
  412. include "pam_pamcomnxp::PAM001.xjs";
  413. include "pam_pamcomnxp::PAM.xjs";
  414. function SMPIF71500_oninit(obj:Form, e:InitEventInfo)
  415. {
  416. frmf_initForm(obj);
  417. }
  418. function SMPIF71500_onload(obj:Form, e:LoadEventInfo)
  419. {
  420. grdf_initGrid(grp_biz.switch1.case1.datagrid1);
  421. grdf_initGrid(grp_biz.switch1.case2.datagrid2);
  422. if (frmf_checkOpener())
  423. {
  424. ds_temp.copyData(arg_ds_send);
  425. ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
  426. ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
  427. ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
  428. ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
  429. ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
  430. ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
  431. }
  432. else
  433. {
  434. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate().substr(0,6));
  435. ds_send.setColumn(0, "todd", utlf_getCurrentDate().substr(0,6));
  436. }
  437. var arrParam = [ {dsNm: "ds_init_P0268list", cdGrpId: "P0268"}]
  438. appf_getCodeList(arrParam);
  439. grp_biz.switch1.tabindex = 0;
  440. var oParam = {};
  441. oParam.id = "TRPIF70305";
  442. oParam.service = "clamuncoapp.ClamUnco";
  443. oParam.method = "reqGetInsuComp";
  444. oParam.inds = "";
  445. oParam.outds = "ds_init_U0001list_U0001=U0001";
  446. oParam.async = false;
  447. oParam.callback = "cf_TRPIF70305";
  448. tranf_submit(oParam);
  449. var oParam = {};
  450. oParam.id = "TRPID20309";
  451. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  452. oParam.method = "reqGetDeptCDDrID";
  453. oParam.inds = "req=ds_send";
  454. oParam.outds = "ds_hidden_tmp_orddeptcd_orddeptcdlist=orddeptcd ds_hidden_tmp_orddeptcd_orddeptcdlist2=orddeptcd2 ds_hidden_tmp_orddrid=orddrid ds_hidden_tmp_orddrid2=orddrid2";
  455. oParam.async = false;
  456. //oParam.callback = "cf_TRPID20309";
  457. tranf_submit(oParam);
  458. }
  459. function cf_TRPIF70305(sSvcId, nErrorCode, sErrorMsg)
  460. {
  461. if(nErrorCode < 0)
  462. {
  463. return;
  464. }
  465. else
  466. {
  467. ds_init_U0001list_U0001.insertRow(0);
  468. ds_init_U0001list_U0001.setColumn(0, "nm", "전체");
  469. grp_biz.grp_sea.cmb_insucmpymark.index = 0;
  470. }
  471. }
  472. function grp_biz_grp_sea_rdo_srchflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  473. {
  474. if (ds_send.getColumn(0, "srchflag"))
  475. {
  476. ds_send.setColumn(0, "fromdd", String(ds_send.getColumn(0, "fromdd")).substr(0,6));
  477. ds_send.setColumn(0, "todd", String(ds_send.getColumn(0, "fromdd")).substr(0,6));
  478. grp_biz.grp_sea.ipt_fromdd.dateformat = "yyyy-MM";
  479. grp_biz.grp_sea.ipt_fromdd.editformat = "yyyy-MM";
  480. grp_biz.grp_sea.ipt_todd.dateformat = "yyyy-MM";
  481. grp_biz.grp_sea.ipt_todd.editformat = "yyyy-MM";
  482. }
  483. else
  484. {
  485. grp_biz.grp_sea.ipt_fromdd.dateformat = "yyyy-MM-dd";
  486. grp_biz.grp_sea.ipt_fromdd.editformat = "yyyy-MM-dd";
  487. grp_biz.grp_sea.ipt_todd.dateformat = "yyyy-MM-dd";
  488. grp_biz.grp_sea.ipt_todd.editformat = "yyyy-MM-dd";
  489. }
  490. }
  491. function grp_biz_grp_sea_ipt_uncoamt_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  492. {
  493. if(e.keycode == 13)
  494. {
  495. fGetOutAftJudgTrgtManList("docuSrch");
  496. }
  497. }
  498. function fGetOutAftJudgTrgtManList()
  499. {
  500. var patunitsrch1 = ds_send.getColumn(0, "patunitsrch1");
  501. ds_send.setColumn(0, "patunitsrch1", patunitsrch1);
  502. if(utlf_isNull(patunitsrch1))
  503. {
  504. ds_send.setColumn(0, "patunitsrch2", "");
  505. }
  506. else if (patunitsrch1.isNumber())
  507. {
  508. ds_send.setColumn(0, "patunitsrch2", "pidSrch");
  509. }
  510. else
  511. {
  512. if (String(patunitsrch1).length > 1)
  513. {
  514. ds_send.setColumn(0, "patunitsrch2", "nmSrch");
  515. }
  516. else
  517. {
  518. ds_send.setColumn(0, "patunitsrch2", "");
  519. sysf_messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001");
  520. return;
  521. }
  522. }
  523. }
  524. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  525. {
  526. ds_send.setColumn(0, "selectflag", grp_biz.switch1.tabindex);
  527. if(grp_biz.switch1.tabindex == 0)
  528. {
  529. ds_send.setColumn(0, "uncoamt", "");
  530. }
  531. var oParam = {};
  532. oParam.id = "TRPIF71501";
  533. oParam.service = "clamuncoapp.ClamUnco";
  534. oParam.method = "reqGetUncoStatAutmbInsu";
  535. oParam.inds = "req=ds_send";
  536. oParam.outds = "ds_main_list_datagrid1=datagrid1 ds_main_list_datagrid2=datagrid2";
  537. oParam.async = false;
  538. //oParam.callback = "cf_TRPIF71501";
  539. tranf_submit(oParam);
  540. }
  541. function grp_biz_grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  542. {
  543. var date = obj.value;
  544. if(ds_send.getColumn(0, "srchflag") == "M")
  545. {
  546. ds_send.setColumn(0, "fromdd", String(date).substr(0,6));
  547. }
  548. else
  549. {
  550. ds_send.setColumn(0, "fromdd", date);
  551. }
  552. }
  553. function grp_biz_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  554. {
  555. if(obj.tabindex == 0)
  556. {
  557. grp_biz.grp_sea.cap_uncoamt.visible = false;
  558. grp_biz.grp_sea.ipt_uncoamt.visible = false;
  559. }
  560. else
  561. {
  562. grp_biz.grp_sea.cap_uncoamt.visible = true;
  563. grp_biz.grp_sea.ipt_uncoamt.visible = true;
  564. }
  565. }
  566. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
  567. {
  568. if(grp_biz.switch1.tabindex == 0)
  569. {
  570. var objDOM = rptf_createDOM(); // DOM 객체 설정
  571. rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid1", ds_main_list_datagrid1);
  572. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  573. var objParam = new Object();
  574. objParam.xml_data_XML1 = objDOM.documentElement.source;
  575. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  576. rptf_exeReportPreview30(["RPPIF71500"],[objParam], option);
  577. }
  578. else if(grp_biz.switch1.tabindex == 1)
  579. {
  580. var objDOM = rptf_createDOM(); // DOM 객체 설정
  581. rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid2", ds_main_list_datagrid2);
  582. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  583. var objParam = new Object();
  584. objParam.xml_data_XML1 = objDOM.documentElement.source;
  585. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  586. rptf_exeReportPreview30(["RPPIF71510"],[objParam], option);
  587. }
  588. }
  589. function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
  590. {
  591. if(grp_biz.switch1.tabindex == 0)
  592. {
  593. if(ds_main_list_datagrid1.rowcount == 0)
  594. {
  595. sysf_messageBox("엑셀저장할 내역이", "I004");
  596. }
  597. else
  598. {
  599. grdf_exportExcel(grp_biz.switch1.case1.datagrid1, "청구월별 미수현황", "see");
  600. }
  601. }
  602. else if(grp_biz.switch1.tabindex == 1)
  603. {
  604. if(ds_main_list_datagrid2.rowcount == 0)
  605. {
  606. sysf_messageBox("엑셀저장할 내역이", "I004");
  607. }
  608. else
  609. {
  610. grdf_exportExcel(grp_biz.switch1.case2.datagrid2, "자보 미납현황", "see");
  611. }
  612. }
  613. }
  614. function group1_button45_onclick(obj:Button, e:ClickEventInfo)
  615. {
  616. this.close();
  617. }
  618. function grp_biz_button93_onclick(obj:Button, e:ClickEventInfo)
  619. {
  620. this.print();
  621. }
  622. ]]></Script>
  623. </Form>
  624. </FDL>