SMAVT01800_수익집계.xfdl 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAVT01800" position="absolute 0 0 1280 1024" titletext="조직은행 수익집계" onload="SMAVT01800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_tle" position="absolute 0 0 1195 25" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 210 23" style="" text="조직은행 수익집계"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1195 749" style="">
  15. <Layouts>
  16. <Layout>
  17. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 51 445 55" style="" anchor="default"/>
  18. <Grid id="dtg_schblist" binddataset="ds_main_schblst_item" position="absolute 450 74 1193 734" style="align:center ;" anchor="default">
  19. <Formats>
  20. <Format id="default">
  21. <Columns>
  22. <Column size="24" band="left"/>
  23. <Column size="40"/>
  24. <Column size="65"/>
  25. <Column size="80"/>
  26. <Column size="60"/>
  27. <Column size="170"/>
  28. <Column size="40"/>
  29. <Column size="90"/>
  30. <Column size="90"/>
  31. <Column size="90"/>
  32. </Columns>
  33. <Rows>
  34. <Row size="23" band="head"/>
  35. <Row size="23"/>
  36. <Row size="24" band="summ"/>
  37. </Rows>
  38. <Band id="head">
  39. <Cell/>
  40. <Cell col="1" text="입/외"/>
  41. <Cell col="2" text="환자번호"/>
  42. <Cell col="3" colspan="2" text="처방일자" taborder="undefined"/>
  43. <Cell col="5" text="처방명"/>
  44. <Cell col="6" text="수량"/>
  45. <Cell col="7" text="단가"/>
  46. <Cell col="8" text="총계"/>
  47. <Cell col="9" text="처방코드"/>
  48. </Band>
  49. <Band id="body">
  50. <Cell celltype="head" expr="currow + 1"/>
  51. <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:iogbn" combodataset="ds_init_baseinfo_initprcpgenrflagcd_M0010" combocodecol="cdid" combodatacol="cdnm"/>
  52. <Cell col="2" text="bind:pid"/>
  53. <Cell col="3" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  54. <Cell col="4" displaytype="date" text="bind:rgsttm" mask="HH:mm:ss" calendardisplaynulltype="nulltext"/>
  55. <Cell col="5" style="align:left middle;" text="bind:prcpnm"/>
  56. <Cell col="6" displaytype="number" style="align:center middle;" text="bind:prcpqty" mask="#,##0"/>
  57. <Cell col="7" displaytype="number" text="bind:costamt" mask="#,##0"/>
  58. <Cell col="8" displaytype="number" text="bind:totamt" mask="#,##0"/>
  59. <Cell col="9" text="bind:prcpcd"/>
  60. <Cell col="10" text="bind:prcpno"/>
  61. <Cell col="11" text="bind:costamt"/>
  62. </Band>
  63. <Band id="summary">
  64. <Cell style="background:#ffff99ff;background2:#ffff99ff;"/>
  65. <Cell col="1" style="background:#ffff99ff;background2:#ffff99ff;color:#669900ff;color2:#669900ff;font:Dotum,9, bold;" text="합계" taborder="undefined"/>
  66. <Cell col="2" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
  67. <Cell col="3" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
  68. <Cell col="4" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
  69. <Cell col="5" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
  70. <Cell col="6" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
  71. <Cell col="7" displaytype="number" style="background:#ffff99ff;background2:#ffff99ff;color:#669900ff;color2:#669900ff;font:Dotum,9, bold;" text="expr:getSum('costamt')" mask="#,##0"/>
  72. <Cell col="8" displaytype="number" style="background:#ffff99ff;background2:#ffff99ff;color:#669900ff;color2:#669900ff;font:Dotum,9, bold;" text="expr:getSum('totamt')" mask="#,##0"/>
  73. <Cell col="9" style="background:#ffff99ff;background2:#ffff99ff;"/>
  74. </Band>
  75. </Format>
  76. </Formats>
  77. </Grid>
  78. <Div id="grp_sea" position="absolute 0 10 1194 45" style="align: top;" class="div_SA" anchor="default">
  79. <Layouts>
  80. <Layout width="1194" height="35">
  81. <Static id="caption2" class="search_name" position="absolute 15 9 89 26" style="" text="수술일자 :" anchor="default"/>
  82. <Static id="caption5" class="search_no_b" position="absolute 203 9 214 26" style="" text="~" anchor="default"/>
  83. <Calendar id="ipt_fromdd" class="input_essential" position="absolute 96 8 196 27" style="" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  84. <Calendar id="ipt_todd" class="input_essential" position="absolute 221 8 321 27" style="" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
  85. <Button id="button1" class="btn1" position="absolute 345 7 401 29" style="" text="조회" onclick="grp_biz_grp_sea_button1_onclick" anchor="default"/>
  86. <Shape id="line4" class="line_4" linetype="vertical" position="absolute 334 7 337 29" style="" anchor="default"/>
  87. </Layout>
  88. </Layouts>
  89. </Div>
  90. <Grid id="dtg_avtmlist" binddataset="ds_main_avtmlist_item" position="absolute 0 54 445 464" style="align:center ;" anchor="default">
  91. <Formats>
  92. <Format id="default">
  93. <Columns>
  94. <Column size="24" band="left"/>
  95. <Column size="58"/>
  96. <Column size="58"/>
  97. <Column size="64"/>
  98. <Column size="75"/>
  99. <Column size="167"/>
  100. <Column size="0"/>
  101. </Columns>
  102. <Rows>
  103. <Row size="23" band="head"/>
  104. <Row size="23"/>
  105. </Rows>
  106. <Band id="head">
  107. <Cell/>
  108. <Cell col="1" text="이식번호"/>
  109. <Cell col="2" text="환자번호"/>
  110. <Cell col="3" text="환자명"/>
  111. <Cell col="4" text="수술일자"/>
  112. <Cell col="5" text="수술명"/>
  113. </Band>
  114. <Band id="body">
  115. <Cell celltype="head" expr="currow + 1"/>
  116. <Cell col="1" text="bind:recvno"/>
  117. <Cell col="2" text="bind:pid"/>
  118. <Cell col="3" text="bind:hngnm"/>
  119. <Cell col="4" displaytype="date" text="bind:opdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  120. <Cell col="5" style="align:left middle;" text="bind:opengnm"/>
  121. <Cell col="6" text="bind:ophngnm"/>
  122. </Band>
  123. </Format>
  124. </Formats>
  125. </Grid>
  126. <Grid id="dtg_prcdlst" binddataset="ds_main_bscdlstdtl_item" position="absolute 0 490 445 735" style="align:center ;" anchor="default">
  127. <Formats>
  128. <Format id="default">
  129. <Columns>
  130. <Column size="24" band="left"/>
  131. <Column size="100"/>
  132. <Column size="321"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. </Columns>
  140. <Rows>
  141. <Row size="23" band="head"/>
  142. <Row size="23"/>
  143. </Rows>
  144. <Band id="head">
  145. <Cell/>
  146. <Cell col="1" text="코드"/>
  147. <Cell col="2" text="명칭"/>
  148. <Cell col="3"/>
  149. <Cell col="4"/>
  150. <Cell col="5"/>
  151. <Cell col="6"/>
  152. <Cell col="7"/>
  153. <Cell col="8"/>
  154. </Band>
  155. <Band id="body">
  156. <Cell celltype="head" expr="currow + 1"/>
  157. <Cell col="1" text="bind:etcdetlcd"/>
  158. <Cell col="2" style="align:left middle;" text="bind:etcdetlnm"/>
  159. <Cell col="3" text="bind:clscd"/>
  160. <Cell col="4" text="bind:etccd"/>
  161. <Cell col="5" text="bind:etcdetlcdkey"/>
  162. <Cell col="6" text="bind:etcitemcnts"/>
  163. <Cell col="7" text="bind:etcitemcnts2"/>
  164. <Cell col="8" text="bind:useyn"/>
  165. </Band>
  166. </Format>
  167. </Formats>
  168. </Grid>
  169. <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 486 446 490" style="" anchor="default"/>
  170. <Shape id="line3" class="line_10" linetype="horizontal" position="absolute 450 71 1192 75" style="" anchor="default"/>
  171. <Static id="caption1" class="tit_2" position="absolute 0 469 135 485" style="" text="처방코드" anchor="default"/>
  172. <Button id="btn_excsave" class="btn7" position="absolute 1117 49 1194 69" style="" text="엑셀저장" onclick="grp_biz_btn_excsave_onclick" anchor="default"/>
  173. <Button id="btn_etcisave" class="btn5" visible="true" position="absolute 450 49 536 69" style="" text="수익자료생성" onclick="grp_biz_btn_etcisave_onclick" anchor="default"/>
  174. <Button id="btn_srch" class="btn5" visible="true" position="absolute 539 49 603 69" style="" text="자료조회" onclick="grp_biz_btn_srch_onclick" anchor="default"/>
  175. <Button id="button4" class="btn5" visible="true" position="absolute 606 49 659 69" style="" text="삭 제" onclick="grp_biz_button4_onclick" anchor="default"/>
  176. </Layout>
  177. </Layouts>
  178. </Div>
  179. <Div id="grp_btn" position="absolute 0 757 1195 784" style="">
  180. <Layouts>
  181. <Layout>
  182. <Button id="btn_prt" class="btn6" visible="false" position="absolute 0 2 56 24" style="" text="출력" onclick="grp_btn_btn_prt_onclick"/>
  183. </Layout>
  184. </Layouts>
  185. </Div>
  186. </Layout>
  187. </Layouts>
  188. <Objects>
  189. <Dataset id="ds_main_bscdlstdtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  190. <ColumnInfo/>
  191. </Dataset>
  192. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  193. <ColumnInfo>
  194. <Column id="srchprcpcd" type="STRING" size="256"/>
  195. <Column id="srchpid" type="STRING" size="256"/>
  196. <Column id="srchpickdd" type="STRING" size="256"/>
  197. </ColumnInfo>
  198. <Rows>
  199. <Row>
  200. <Col id="srchprcpcd"/>
  201. <Col id="srchpid"/>
  202. <Col id="srchpickdd"/>
  203. </Row>
  204. </Rows>
  205. </Dataset>
  206. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  207. <ColumnInfo>
  208. <Column id="hidden" type="STRING" size="256"/>
  209. </ColumnInfo>
  210. <Rows>
  211. <Row>
  212. <Col id="hidden"/>
  213. </Row>
  214. </Rows>
  215. </Dataset>
  216. <Dataset id="ds_main_prcplist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  217. <ColumnInfo>
  218. <Column id="prcpgenrflag" type="STRING" size="256"/>
  219. <Column id="pid" type="STRING" size="256"/>
  220. <Column id="prcpdd" type="STRING" size="256"/>
  221. <Column id="rgsttm" type="STRING" size="256"/>
  222. <Column id="prcpnm" type="STRING" size="256"/>
  223. <Column id="prcpcd" type="STRING" size="256"/>
  224. <Column id="prcpqty" type="STRING" size="256"/>
  225. <Column id="prcpamt" type="STRING" size="256"/>
  226. </ColumnInfo>
  227. <Rows>
  228. <Row>
  229. <Col id="prcpgenrflag"/>
  230. <Col id="pid"/>
  231. <Col id="prcpdd"/>
  232. <Col id="rgsttm"/>
  233. <Col id="prcpnm"/>
  234. <Col id="prcpcd"/>
  235. <Col id="prcpqty"/>
  236. <Col id="prcpamt"/>
  237. </Row>
  238. </Rows>
  239. </Dataset>
  240. <Dataset id="ds_send_deldata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  241. <ColumnInfo>
  242. <Column id="srfromdd" type="STRING" size="256"/>
  243. <Column id="srtodd" type="STRING" size="256"/>
  244. <Column id="srpid" type="STRING" size="256"/>
  245. </ColumnInfo>
  246. <Rows>
  247. <Row>
  248. <Col id="srfromdd"/>
  249. <Col id="srtodd"/>
  250. <Col id="srpid"/>
  251. </Row>
  252. </Rows>
  253. </Dataset>
  254. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  255. <ColumnInfo>
  256. <Column id="temp" type="STRING" size="256"/>
  257. </ColumnInfo>
  258. <Rows>
  259. <Row>
  260. <Col id="temp"/>
  261. </Row>
  262. </Rows>
  263. </Dataset>
  264. <Dataset id="ds_init_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  265. <ColumnInfo>
  266. <Column id="initprcpgenrflagcd" type="STRING" size="256"/>
  267. </ColumnInfo>
  268. <Rows>
  269. <Row>
  270. <Col id="initprcpgenrflagcd"/>
  271. </Row>
  272. </Rows>
  273. </Dataset>
  274. <Dataset id="ds_main_selbscdlstdtl_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  275. <ColumnInfo>
  276. <Column id="clscd" type="STRING" size="256"/>
  277. <Column id="etccd" type="STRING" size="256"/>
  278. <Column id="etcdetlcd" type="STRING" size="256"/>
  279. <Column id="etcdetlcdkey" type="STRING" size="256"/>
  280. <Column id="etcdetlnm" type="STRING" size="256"/>
  281. <Column id="etcitemcnts" type="STRING" size="256"/>
  282. <Column id="etcitemcnts2" type="STRING" size="256"/>
  283. <Column id="useyn" type="STRING" size="256"/>
  284. </ColumnInfo>
  285. <Rows>
  286. <Row>
  287. <Col id="clscd"/>
  288. <Col id="etccd"/>
  289. <Col id="etcdetlcd"/>
  290. <Col id="etcdetlcdkey"/>
  291. <Col id="etcdetlnm"/>
  292. <Col id="etcitemcnts"/>
  293. <Col id="etcitemcnts2"/>
  294. <Col id="useyn"/>
  295. </Row>
  296. </Rows>
  297. </Dataset>
  298. <Dataset id="ds_main_selbscdlstdtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  299. <ColumnInfo/>
  300. </Dataset>
  301. <Dataset id="ds_main_avtmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  302. <ColumnInfo/>
  303. </Dataset>
  304. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  305. <ColumnInfo/>
  306. </Dataset>
  307. <Dataset id="ds_main_avtmlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  308. <ColumnInfo>
  309. <Column id="recvno" type="STRING" size="256"/>
  310. <Column id="pid" type="STRING" size="256"/>
  311. <Column id="hngnm" type="STRING" size="256"/>
  312. <Column id="opdd" type="STRING" size="256"/>
  313. <Column id="opcd" type="STRING" size="256"/>
  314. <Column id="ophngnm" type="STRING" size="256"/>
  315. <Column id="opengnm" type="STRING" size="256"/>
  316. </ColumnInfo>
  317. <Rows>
  318. <Row>
  319. <Col id="recvno"/>
  320. <Col id="pid"/>
  321. <Col id="hngnm"/>
  322. <Col id="opdd"/>
  323. <Col id="opcd"/>
  324. <Col id="ophngnm"/>
  325. <Col id="opengnm"/>
  326. </Row>
  327. </Rows>
  328. </Dataset>
  329. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  330. <ColumnInfo>
  331. <Column id="combobscdlst" type="STRING" size="256"/>
  332. </ColumnInfo>
  333. <Rows>
  334. <Row>
  335. <Col id="combobscdlst"/>
  336. </Row>
  337. </Rows>
  338. </Dataset>
  339. <Dataset id="ds_main_bscdlstdtl_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  340. <ColumnInfo>
  341. <Column id="clscd" type="STRING" size="256"/>
  342. <Column id="etccd" type="STRING" size="256"/>
  343. <Column id="etcdetlcd" type="STRING" size="256"/>
  344. <Column id="etcdetlcdkey" type="STRING" size="256"/>
  345. <Column id="etcdetlnm" type="STRING" size="256"/>
  346. <Column id="etcitemcnts" type="STRING" size="256"/>
  347. <Column id="etcitemcnts2" type="STRING" size="256"/>
  348. <Column id="useyn" type="STRING" size="256"/>
  349. </ColumnInfo>
  350. <Rows>
  351. <Row>
  352. <Col id="clscd"/>
  353. <Col id="etccd"/>
  354. <Col id="etcdetlcd"/>
  355. <Col id="etcdetlcdkey"/>
  356. <Col id="etcdetlnm"/>
  357. <Col id="etcitemcnts"/>
  358. <Col id="etcitemcnts2"/>
  359. <Col id="useyn"/>
  360. </Row>
  361. </Rows>
  362. </Dataset>
  363. <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  364. <ColumnInfo/>
  365. </Dataset>
  366. <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  367. <ColumnInfo/>
  368. </Dataset>
  369. <Dataset id="ds_rexprnt_benflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  370. <ColumnInfo>
  371. <Column id="srchfromdd" type="STRING" size="256"/>
  372. <Column id="srchtodd" type="STRING" size="256"/>
  373. </ColumnInfo>
  374. </Dataset>
  375. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  376. <ColumnInfo>
  377. <Column id="srchfromdd" type="STRING" size="256"/>
  378. <Column id="srchtodd" type="STRING" size="256"/>
  379. <Column id="srchdateflag" type="STRING" size="256"/>
  380. <Column id="clscd" type="STRING" size="256"/>
  381. <Column id="etccd" type="STRING" size="256"/>
  382. <Column id="srchinstcd" type="STRING" size="256"/>
  383. <Column id="srchuid" type="STRING" size="256"/>
  384. </ColumnInfo>
  385. <Rows>
  386. <Row>
  387. <Col id="srchfromdd"/>
  388. <Col id="srchtodd"/>
  389. <Col id="srchdateflag"/>
  390. <Col id="clscd"/>
  391. <Col id="etccd"/>
  392. </Row>
  393. </Rows>
  394. </Dataset>
  395. <Dataset id="ds_init_baseinfo_initprcpgenrflagcd_M0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  396. <ColumnInfo>
  397. <Column id="cdid" type="STRING" size="256"/>
  398. <Column id="cdnm" type="STRING" size="256"/>
  399. </ColumnInfo>
  400. </Dataset>
  401. <Dataset id="ds_main_schblst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  402. <ColumnInfo>
  403. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  404. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  405. <Column id="rgsttm" type="STRING" size="256" sumtext="처방일시"/>
  406. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  407. <Column id="iogbn" type="STRING" size="256" sumtext="입/외구분"/>
  408. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  409. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  410. <Column id="prcpqty" type="STRING" size="256" sumtext="수량"/>
  411. <Column id="costamt" type="STRING" size="256" sumtext="단가"/>
  412. <Column id="totamt" type="STRING" size="256" sumtext="총계"/>
  413. <Column id="bgColor" type="STRING" size="256"/>
  414. </ColumnInfo>
  415. </Dataset>
  416. </Objects>
  417. <Bind>
  418. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  419. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  420. </Bind>
  421. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  422. include "com_commodulexp::SSZFM00901.xjs";
  423. include "ast_tissuebankbasexp::tissuebankcombolist.xjs";
  424. //include "ast_healexamxp::AHA001.xjs";
  425. include "com_zipcodexp::ZBP001.xjs";
  426. include "com_basiccodexp::ZBC001.xjs";
  427. var arErrorCode = new HashArray();
  428. //스크립트 시작 ***
  429. //전체에서 event와 src를 제외한 script 를 모두포함.
  430. // 화면 초기화
  431. function fGetScreenInit(){
  432. ds_send.setColumn( 0, "srchfromdd", utlf_getCurrentDate());
  433. ds_send.setColumn( 0, "srchtodd", utlf_getCurrentDate());
  434. ds_send.setColumn( 0, "srchdateflag", "1");
  435. ds_main_avtmlist.clearData();
  436. ds_main_bscdlstdtl_item.clearData();
  437. ds_send.setColumn( 0, "clscd","C");
  438. ds_send.setColumn( 0, "etccd","C26");
  439. //submit("TRAVB00103");
  440. var oParam = {};
  441. oParam.id = "TRAHB00103";
  442. oParam.service = "tissuebankbaseapp.TissueBankBase";
  443. oParam.method = "reqGetBsCdList";
  444. oParam.inds = "req=ds_send";
  445. oParam.outds = "ds_main_bscdlstdtl_item=item";
  446. oParam.async = false;
  447. tranf_submit(oParam);
  448. ds_send.setColumn( 0, "srchdateflag" , "R");
  449. var arrParam = [
  450. {dsNm: "ds_init_baseinfo_initprcpgenrflagcd_M0010", cdGrpId: "M0010" }
  451. ];
  452. appf_getCodeList(arrParam);
  453. //model.refresh();
  454. }
  455. //스크립트 끝
  456. function SMAVT01800_onload(obj:Form, e:LoadEventInfo) {
  457. frmf_initForm(obj);
  458. grdf_initGrid(grp_biz.dtg_avtmlist);
  459. grdf_initGrid(grp_biz.dtg_prcdlst);
  460. grdf_initGrid(grp_biz.dtg_schblist);
  461. //grdf_setGridSort(grd_XXX);
  462. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  463. fGetScreenInit();
  464. }
  465. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo) {
  466. if( ds_send.getColumn(0, "srchfromdd") == ""){
  467. sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  468. return;
  469. }
  470. if( ds_send.getColumn(0, "srchtodd") == "" ){
  471. sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  472. return;
  473. }
  474. //if( submit("TRAVT01800") ){
  475. var oParam = {};
  476. oParam.id = "TRAVT01800";
  477. oParam.service = "tissuebankapp.TissueBankProcess";
  478. oParam.method = "reqGetTissueBankAvtmLst";
  479. oParam.inds = "req=ds_send";
  480. oParam.outds = "ds_main_avtmlist_item=item";
  481. oParam.async = false;
  482. oParam.callback = "cf_TRAVT01800";
  483. tranf_submit(oParam);
  484. if(arErrorCode.pop("TRAVT01800") > -1) {
  485. }
  486. //model.refresh();
  487. }
  488. function cf_TRAVT01800(sSvcId, nErrorCode, sErrorMsg) {
  489. arErrorCode.push(sSvcId, nErrorCode);
  490. }
  491. function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
  492. // var filename = window.fileDialog("save",",",false,"조직은행 수익집계_"+utlf_getCurrentDate(),"xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  493. //
  494. // if (filename != "")
  495. // {
  496. // grp_biz.dtg_schblist.saveExcel(filename);
  497. grdf_exportExcel(grp_biz.dtg_schblist, "Sheet1", "조직은행 수익집계_"+utlf_getCurrentDate(), false, "" , 'user' , true);
  498. // }
  499. }
  500. function grp_biz_btn_etcisave_onclick(obj:Button, e:ClickEventInfo) {
  501. ds_main_schblst_item.clearData();
  502. ds_temp.clearData();
  503. ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
  504. ds_send.setColumn( 0, "srchuid", sysf_getUserId());
  505. //submit("TXAVT01801");
  506. var oParam = {};
  507. oParam.id = "TXAVT01801";
  508. oParam.service = "tissuebankapp.TissueBankProcess";
  509. oParam.method = "reqSetInsTissueBankSchbDataLst";
  510. oParam.inds = "req=ds_send";
  511. oParam.outds = "ds_temp=item";
  512. oParam.async = false;
  513. tranf_submit(oParam);
  514. //model.refresh();
  515. }
  516. function grp_biz_btn_srch_onclick(obj:Button, e:ClickEventInfo) {
  517. ds_main_schblst_item.clearData();
  518. //if(submit("TRAVT01801")){
  519. var oParam = {};
  520. oParam.id = "TRAVT01801";
  521. oParam.service = "tissuebankapp.TissueBankProcess";
  522. oParam.method = "reqGetTissueBankSchbDataLst";
  523. oParam.inds = "req=ds_send";
  524. oParam.outds = "ds_main_schblst_item=item";
  525. oParam.async = false;
  526. oParam.callback = "cf_TRAVT01801";
  527. tranf_submit(oParam);
  528. if(arErrorCode.pop("TRAVT01801") > -1) {
  529. // var Cnt = ds_main_schblst_item.rowcount;
  530. // if( Cnt > 0 ){
  531. // grp_biz.dtg_schblist.subtotalposition = "below";
  532. // grp_biz.dtg_schblist.multitotals = true;
  533. //
  534. // grp_biz.dtg_schblist.subtotal("sum", -1, 7, "format:#,###; roundmode:round; roundpostion:2", "font-weight:bold; background-color:#ffff99; color:#669900; ", 1, "합계", false);
  535. // grp_biz.dtg_schblist.subtotal("sum", -1, 8, "format:#,###; roundmode:round; roundpostion:2", "font-weight:bold; background-color:#ffff99; color:#669900; ", 1, "합계", false);
  536. // }
  537. }
  538. }
  539. function cf_TRAVT01801(sSvcId, nErrorCode, sErrorMsg) {
  540. arErrorCode.push(sSvcId, nErrorCode);
  541. }
  542. function grp_biz_button4_onclick(obj:Button, e:ClickEventInfo) {
  543. if ( sysf_messageBox("조회된 수익자료를", "Q001", "") == 6 ) {
  544. //if( submit("TXAVT01800")){
  545. var oParam = {};
  546. oParam.id = "TXAVT01800";
  547. oParam.service = "tissuebankapp.TissueBankProcess";
  548. oParam.method = "reqSetDelTissueBankSchbDataLst";
  549. oParam.inds = "req=ds_send";
  550. oParam.outds = "ds_temp=item";
  551. oParam.async = false;
  552. oParam.callback = "cf_TXAVT01800";
  553. tranf_submit(oParam);
  554. if(arErrorCode.pop("TXAVT01800") > -1) {
  555. ds_main_schblst.clearData();
  556. grp_biz.btn_srch.click();
  557. }
  558. }
  559. }
  560. function cf_TXAVT01800(sSvcId, nErrorCode, sErrorMsg) {
  561. arErrorCode.push(sSvcId, nErrorCode);
  562. }
  563. function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo) {
  564. }
  565. ]]></Script>
  566. </Form>
  567. </FDL>