SMPIF31400_월별진료비입금내역조회.xfdl 95 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF31400" position="absolute 0 0 1209 765" titletext="월별 접수번호별 입금내역조회" oninit="SMPIF31400_oninit" onload="SMPIF31400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1203 760" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 1 11 1203 61" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Static text="보험유형:" position="absolute 5 4 91 21" id="caption2" class="search_name" anchor="default"/>
  14. <Button position="absolute 1133 7 1189 29" id="btn_search" class="btn1" taborder="4" text="조회" anchor="top right" onclick="grp_biz_grp_sea_btn_search_onclick"/>
  15. <Shape position="absolute 1120 7 1126 29" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  16. <Calendar position="absolute 605 3 689 22" id="ipt_fromdd" class="input_search" taborder="1" 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 709 3 793 22" id="ipt_todd" class="input_search" taborder="2" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
  18. <Combo position="absolute 872 3 942 22" id="combo2" class="combo_search" taborder="3" innerdataset="@ds_init_P0155list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  19. <Static text="청구형태" position="absolute 804 5 866 22" id="caption4" class="search_name" anchor="default"/>
  20. <Radio position="absolute 79 1 547 24" id="rdo_insukind" class="radio_search" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_grp_sea_rdo_insukind_onitemchanged" rowcount="-1">
  21. <Dataset id="innerdataset">
  22. <ColumnInfo>
  23. <Column id="codecolumn"/>
  24. <Column id="datacolumn"/>
  25. </ColumnInfo>
  26. <Rows>
  27. <Row>
  28. <Col id="codecolumn">11</Col>
  29. <Col id="datacolumn">건강보험</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">21</Col>
  33. <Col id="datacolumn">의료급여</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">41</Col>
  37. <Col id="datacolumn">산재</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">31</Col>
  41. <Col id="datacolumn">자보</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">51</Col>
  45. <Col id="datacolumn">장기이식</Col>
  46. </Row>
  47. </Rows>
  48. </Dataset>
  49. </Radio>
  50. <Radio position="absolute 368 1 603 24" id="rdo_termflag" class="radio_search" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_grp_sea_rdo_termflag_onitemchanged" rowcount="-1">
  51. <Dataset id="innerdataset">
  52. <ColumnInfo>
  53. <Column id="codecolumn"/>
  54. <Column id="datacolumn"/>
  55. </ColumnInfo>
  56. <Rows>
  57. <Row>
  58. <Col id="codecolumn">1</Col>
  59. <Col id="datacolumn">통보월</Col>
  60. </Row>
  61. <Row>
  62. <Col id="codecolumn">2</Col>
  63. <Col id="datacolumn">입금일자</Col>
  64. </Row>
  65. <Row>
  66. <Col id="codecolumn">3</Col>
  67. <Col id="datacolumn">미수월</Col>
  68. </Row>
  69. <Row>
  70. <Col id="codecolumn">4</Col>
  71. <Col id="datacolumn">청구월</Col>
  72. </Row>
  73. </Rows>
  74. </Dataset>
  75. </Radio>
  76. <Static text="~" position="absolute 694 6 709 21" id="caption1" anchor="default"/>
  77. <Static text="청구번호" position="absolute 958 5 1044 22" id="caption7" class="search_name" anchor="default"/>
  78. <Edit position="absolute 1026 3 1104 22" id="ipt_clamno" taborder="3" anchor="default" onkeyup="grp_biz_grp_sea_ipt_clamno_onkeyup"/>
  79. <Radio position="absolute 78 26 222 49" id="rdo_ioflag" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  80. <Dataset id="innerdataset">
  81. <ColumnInfo>
  82. <Column id="codecolumn"/>
  83. <Column id="datacolumn"/>
  84. </ColumnInfo>
  85. <Rows>
  86. <Row>
  87. <Col id="codecolumn">A</Col>
  88. <Col id="datacolumn">전체</Col>
  89. </Row>
  90. <Row>
  91. <Col id="codecolumn">I</Col>
  92. <Col id="datacolumn">입원</Col>
  93. </Row>
  94. <Row>
  95. <Col id="codecolumn">O</Col>
  96. <Col id="datacolumn">외래</Col>
  97. </Row>
  98. </Rows>
  99. </Dataset>
  100. </Radio>
  101. <Static text="내원유형:" position="absolute 5 30 91 47" align="align:center top;" id="caption10" class="search_name" anchor="default"/>
  102. <Combo position="absolute 325 26 395 45" id="combo1" class="combo_search" taborder="3" innerdataset="@FilteredDataset00" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  103. <Static text="진료분야" position="absolute 258 28 344 45" id="caption11" class="search_name" anchor="default"/>
  104. </Layout>
  105. </Layouts>
  106. </Div>
  107. <Tab position="absolute 1 65 1203 739" id="switch1" class="sw_box" anchor="all">
  108. <Tabpages>
  109. <Tabpage text="월별 진료비 입금내역 (건강보험)" id="case1">
  110. <Layouts>
  111. <Layout>
  112. <Grid position="absolute 4 28 1202 646" id="grd_depodetl01" class="datagrid2" binddataset="ds_main_griddepodetl01" anchor="all" oncellclick="grp_biz_switch1_case1_grd_depodetl01_oncellclick" onkeydown="grp_biz_switch1_case1_grd_depodetl01_onkeydown" cellsizingtype="col">
  113. <Formats>
  114. <Format id="default">
  115. <Columns>
  116. <Column size="24"/>
  117. <Column size="55"/>
  118. <Column size="55"/>
  119. <Column size="65"/>
  120. <Column size="65"/>
  121. <Column size="40"/>
  122. <Column size="40"/>
  123. <Column size="60"/>
  124. <Column size="40"/>
  125. <Column size="80"/>
  126. <Column size="80"/>
  127. <Column size="80"/>
  128. <Column size="80"/>
  129. <Column size="80"/>
  130. <Column size="82"/>
  131. <Column size="72"/>
  132. <Column size="40"/>
  133. <Column size="80"/>
  134. <Column size="40"/>
  135. <Column size="80"/>
  136. <Column size="80"/>
  137. <Column size="64"/>
  138. <Column size="80"/>
  139. <Column size="80"/>
  140. <Column size="80"/>
  141. <Column size="80"/>
  142. <Column size="80"/>
  143. <Column size="80"/>
  144. <Column size="80"/>
  145. <Column size="85"/>
  146. <Column size="70"/>
  147. <Column size="60"/>
  148. <Column size="100"/>
  149. </Columns>
  150. <Rows>
  151. <Row size="32" band="head"/>
  152. <Row size="24"/>
  153. </Rows>
  154. <Band id="head">
  155. <Cell/>
  156. <Cell col="1" text="미수월"/>
  157. <Cell col="2" text="청구년월"/>
  158. <Cell col="3" text="접수번호"/>
  159. <Cell col="4" text="심사차수"/>
  160. <Cell col="5" text="내원&#10;유형"/>
  161. <Cell col="6" text="분야"/>
  162. <Cell col="7" text="청구형태"/>
  163. <Cell col="8" text="건수"/>
  164. <Cell col="9" text="총진료비"/>
  165. <Cell col="10" text="청구액"/>
  166. <Cell col="11" text="상한액"/>
  167. <Cell col="12" text="지원금"/>
  168. <Cell col="13" text="장애인금"/>
  169. <Cell col="14" text="약제상한&#10;청구액"/>
  170. <Cell col="15" text="약제상한&#10;심결액"/>
  171. <Cell col="16" text="삭감&#10;건수"/>
  172. <Cell col="17" text="실삭감액"/>
  173. <Cell col="18" text="반송&#10;건수"/>
  174. <Cell col="19" text="반송액"/>
  175. <Cell col="20" text="반송장애인금"/>
  176. <Cell col="21" text="반송약제&#10;상한차액"/>
  177. <Cell col="22" text="환수액"/>
  178. <Cell col="23" text="환수예정액"/>
  179. <Cell col="24" text="입원입금"/>
  180. <Cell col="25" text="외래입금"/>
  181. <Cell col="26" text="기타입금"/>
  182. <Cell col="27" text="결손액"/>
  183. <Cell col="28" text="통장입금액"/>
  184. <Cell col="29" text="입금일/환수일"/>
  185. <Cell col="30" text="구분"/>
  186. <Cell col="31" text="통보월"/>
  187. <Cell col="32" text="비고"/>
  188. </Band>
  189. <Band id="body">
  190. <Cell celltype="head" expr="currow+1"/>
  191. <Cell col="1" displaytype="date" text="bind:uncoym" mask="yyyy-MM"/>
  192. <Cell col="2" displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  193. <Cell col="3" text="bind:acptno"/>
  194. <Cell col="4" text="bind:judgdg"/>
  195. <Cell col="5" text="bind:ioflag"/>
  196. <Cell col="6" text="bind:ordfildcd"/>
  197. <Cell col="7" text="bind:clamflag"/>
  198. <Cell col="8" displaytype="number" text="bind:clamcnt"/>
  199. <Cell col="9" displaytype="number" text="bind:clmcstotamt"/>
  200. <Cell col="10" displaytype="number" text="bind:clclamamt"/>
  201. <Cell col="11" displaytype="number" text="bind:clownbmaxexamt"/>
  202. <Cell col="12" displaytype="number" text="bind:clsuppamt"/>
  203. <Cell col="13" displaytype="number" text="bind:clhandicaprfund"/>
  204. <Cell col="14" displaytype="number" text="bind:cllimitdiffamt"/>
  205. <Cell col="15" displaytype="number" text="bind:cllimitdiffadjtamt"/>
  206. <Cell col="16" displaytype="number" text="bind:cutcnt"/>
  207. <Cell col="17" displaytype="number" text="bind:orgreduamt"/>
  208. <Cell col="18" displaytype="number" text="bind:sendcnt"/>
  209. <Cell col="19" displaytype="number" text="bind:sendamt"/>
  210. <Cell col="20" displaytype="number" text="bind:sendhandicaprfund"/>
  211. <Cell col="21" displaytype="number" text="bind:sendlimitdiffamt"/>
  212. <Cell col="22" displaytype="number" text="bind:rtnamt"/>
  213. <Cell col="23" displaytype="number" text="bind:rtnscheamt"/>
  214. <Cell col="24" displaytype="number" text="bind:inamt"/>
  215. <Cell col="25" displaytype="number" text="bind:outamt"/>
  216. <Cell col="26" displaytype="number" text="bind:etcamt"/>
  217. <Cell col="27" displaytype="number" text="bind:lostamt"/>
  218. <Cell col="28" displaytype="number" text="bind:depoamt"/>
  219. <Cell col="29" displaytype="date" text="bind:depodd" mask="yyyy-MM-dd"/>
  220. <Cell col="30" text="bind:flag"/>
  221. <Cell col="31" displaytype="date" text="bind:notimm" mask="yyyy-MM"/>
  222. <Cell col="32" style="align:left middle;" text="bind:rem"/>
  223. </Band>
  224. </Format>
  225. </Formats>
  226. </Grid>
  227. <Button position="absolute 1120 5 1200 24" id="button3" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_switch1_case1_button3_onclick"/>
  228. <Button position="absolute 1025 5 1119 24" id="button4" class="btn7" text="Open Excel" anchor="top right" onclick="grp_biz_switch1_case1_button4_onclick"/>
  229. <Button position="absolute 917 5 970 24" id="button5" class="btn2" text="열카피" anchor="top right" onclick="grp_biz_switch1_case1_button5_onclick"/>
  230. <Button position="absolute 971 5 1024 24" id="button6" class="btn2" text="행카피" anchor="top right" onclick="grp_biz_switch1_case1_button6_onclick"/>
  231. <Button position="absolute 863 5 916 24" id="button10" class="btn2" text="셀카피" anchor="top right" onclick="grp_biz_switch1_case1_button10_onclick"/>
  232. <Static text="접수번호 바로가기 ==&gt;" position="absolute 465 5 591 25" id="caption3" anchor="top right" style="color:#ff6600ff;"/>
  233. <Edit position="absolute 595 5 680 24" id="ipt_acptno" taborder="5" anchor="top right" onkeyup="grp_biz_switch1_case1_ipt_acptno_onkeyup"/>
  234. <Static text="* 총진료비, 청구액, 상한액, 지원금, 장애인금은 보류, 반송제외된 금액임" position="absolute 15 5 411 25" id="caption8" anchor="default"/>
  235. <Button position="absolute 700 5 764 24" id="button1" class="btn2" text="배치실행" anchor="top right" onclick="grp_biz_switch1_case1_button1_onclick"/>
  236. <Button position="absolute 770 5 834 24" id="button23" class="btn2" text="배치결과" anchor="top right" onclick="grp_biz_switch1_case1_button23_onclick"/>
  237. </Layout>
  238. </Layouts>
  239. </Tabpage>
  240. <Tabpage text="월별 진료비 입금내역 (의료급여)" id="case2">
  241. <Layouts>
  242. <Layout>
  243. <Grid position="absolute 4 28 1202 646" id="grd_depodetl02" class="datagrid2" binddataset="ds_main_griddepodetl02" anchor="all" oncellclick="grp_biz_switch1_case2_grd_depodetl02_oncellclick" onkeydown="grp_biz_switch1_case2_grd_depodetl02_onkeydown" cellsizingtype="col">
  244. <Formats>
  245. <Format id="default">
  246. <Columns>
  247. <Column size="26"/>
  248. <Column size="55"/>
  249. <Column size="55"/>
  250. <Column size="65"/>
  251. <Column size="65"/>
  252. <Column size="40"/>
  253. <Column size="40"/>
  254. <Column size="60"/>
  255. <Column size="0"/>
  256. <Column size="40"/>
  257. <Column size="75"/>
  258. <Column size="75"/>
  259. <Column size="75"/>
  260. <Column size="82"/>
  261. <Column size="78"/>
  262. <Column size="75"/>
  263. <Column size="40"/>
  264. <Column size="75"/>
  265. <Column size="40"/>
  266. <Column size="75"/>
  267. <Column size="0"/>
  268. <Column size="72"/>
  269. <Column size="75"/>
  270. <Column size="75"/>
  271. <Column size="75"/>
  272. <Column size="75"/>
  273. <Column size="75"/>
  274. <Column size="75"/>
  275. <Column size="75"/>
  276. <Column size="75"/>
  277. <Column size="90"/>
  278. <Column size="70"/>
  279. <Column size="60"/>
  280. <Column size="100"/>
  281. </Columns>
  282. <Rows>
  283. <Row size="32" band="head"/>
  284. <Row size="24"/>
  285. </Rows>
  286. <Band id="head">
  287. <Cell/>
  288. <Cell col="1" text="미수월"/>
  289. <Cell col="2" text="청구월"/>
  290. <Cell col="3" text="접수번호"/>
  291. <Cell col="4" text="심사차수"/>
  292. <Cell col="5" text="내원&#10;유형"/>
  293. <Cell col="6" text="분야"/>
  294. <Cell col="7" text="청구형태"/>
  295. <Cell col="8" text="시도군명칭"/>
  296. <Cell col="9" text="건수"/>
  297. <Cell col="10" text="총진료비"/>
  298. <Cell col="11" text="청구액"/>
  299. <Cell col="12" text="장애인"/>
  300. <Cell col="13" text="약제상한&#10;청구액"/>
  301. <Cell col="14" text="약제상한&#10;심결액"/>
  302. <Cell col="15" text="대불금"/>
  303. <Cell col="16" text="삭감&#10;건수"/>
  304. <Cell col="17" text="실삭감액"/>
  305. <Cell col="18" text="반송&#10;건수"/>
  306. <Cell col="19" text="반송액"/>
  307. <Cell col="20" text="반송장애인금"/>
  308. <Cell col="21" text="반송약제&#10;상한차액"/>
  309. <Cell col="22" text="환수액"/>
  310. <Cell col="23" text="환수예정액"/>
  311. <Cell col="24" text="입원입금"/>
  312. <Cell col="25" text="외래입금"/>
  313. <Cell col="26" text="기타입금"/>
  314. <Cell col="27" text="결손액"/>
  315. <Cell col="28" text="기관삭감액"/>
  316. <Cell col="29" text="통장입금액"/>
  317. <Cell col="30" text="입금일/환수일"/>
  318. <Cell col="31" text="구분"/>
  319. <Cell col="32" text="통보월"/>
  320. <Cell col="33" text="비고"/>
  321. </Band>
  322. <Band id="body">
  323. <Cell celltype="head" expr="currow+1"/>
  324. <Cell col="1" displaytype="date" text="bind:uncoym" mask="yyyy-MM"/>
  325. <Cell col="2" displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  326. <Cell col="3" text="bind:acptno"/>
  327. <Cell col="4" text="bind:judgdg"/>
  328. <Cell col="5" text="bind:ioflag"/>
  329. <Cell col="6" text="bind:ordfildcd"/>
  330. <Cell col="7" text="bind:clamflag"/>
  331. <Cell col="8" text="bind:depoprocinstmark"/>
  332. <Cell col="9" displaytype="number" text="bind:clamcnt"/>
  333. <Cell col="10" displaytype="number" text="bind:clmcstotamt"/>
  334. <Cell col="11" displaytype="number" text="bind:clclamamt"/>
  335. <Cell col="12" displaytype="number" text="bind:clhandicaprfund"/>
  336. <Cell col="13" displaytype="number" text="bind:cllimitdiffamt"/>
  337. <Cell col="14" displaytype="number" text="bind:cllimitdiffadjtamt"/>
  338. <Cell col="15" displaytype="number" text="bind:clsubtamt"/>
  339. <Cell col="16" displaytype="number" text="bind:cutcnt"/>
  340. <Cell col="17" displaytype="number" text="bind:orgreduamt"/>
  341. <Cell col="18" displaytype="number" text="bind:sendcnt"/>
  342. <Cell col="19" displaytype="number" text="bind:sendamt"/>
  343. <Cell col="20" displaytype="number" text="bind:sendhandicaprfund"/>
  344. <Cell col="21" displaytype="number" text="bind:sendlimitdiffamt"/>
  345. <Cell col="22" displaytype="number" text="bind:rtnamt"/>
  346. <Cell col="23" displaytype="number" text="bind:rtnscheamt"/>
  347. <Cell col="24" displaytype="number" text="bind:inamt"/>
  348. <Cell col="25" displaytype="number" text="bind:outamt"/>
  349. <Cell col="26" displaytype="number" text="bind:etcamt"/>
  350. <Cell col="27" displaytype="number" text="bind:lostamt"/>
  351. <Cell col="28" displaytype="number" text="bind:instrreductamt"/>
  352. <Cell col="29" displaytype="number" text="bind:depoamt"/>
  353. <Cell col="30" displaytype="date" text="bind:depodd" mask="yyyy-MM-dd"/>
  354. <Cell col="31" text="bind:flag"/>
  355. <Cell col="32" displaytype="date" text="bind:notimm" mask="yyyy-MM"/>
  356. <Cell col="33" style="align:left middle;" text="bind:rem"/>
  357. </Band>
  358. </Format>
  359. </Formats>
  360. </Grid>
  361. <Button position="absolute 1122 5 1202 24" id="button7" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_switch1_case2_button7_onclick"/>
  362. <Button position="absolute 1026 5 1120 24" id="button8" class="btn7" text="Open Excel" anchor="top right" onclick="grp_biz_switch1_case2_button8_onclick"/>
  363. <Button position="absolute 918 5 971 24" id="button9" class="btn2" text="열카피" anchor="top right" onclick="grp_biz_switch1_case2_button9_onclick"/>
  364. <Button position="absolute 972 5 1025 24" id="button11" class="btn2" text="행카피" anchor="top right" onclick="grp_biz_switch1_case2_button11_onclick"/>
  365. <Button position="absolute 864 5 917 24" id="button12" class="btn2" text="셀카피" anchor="top right" onclick="grp_biz_switch1_case2_button12_onclick"/>
  366. <Static text="접수번호 바로가기 ==&gt;" position="absolute 605 5 731 25" id="caption5" anchor="top right" style="color:#ff6600ff;"/>
  367. <Edit position="absolute 735 5 820 24" id="ipt_acptnomed" anchor="top right" onkeyup="grp_biz_switch1_case2_ipt_acptnomed_onkeyup"/>
  368. </Layout>
  369. </Layouts>
  370. </Tabpage>
  371. <Tabpage text="월별 진료비 입금내역 (산재)" id="case3">
  372. <Layouts>
  373. <Layout>
  374. <Grid position="absolute 4 28 1202 646" id="grd_depodetl03" class="datagrid2" binddataset="ds_main_griddepodetl03" anchor="all" oncellclick="grp_biz_switch1_case3_grd_depodetl03_oncellclick" onkeydown="grp_biz_switch1_case3_grd_depodetl03_onkeydown" cellsizingtype="col">
  375. <Formats>
  376. <Format id="default">
  377. <Columns>
  378. <Column size="20"/>
  379. <Column size="55"/>
  380. <Column size="55"/>
  381. <Column size="65"/>
  382. <Column size="65"/>
  383. <Column size="40"/>
  384. <Column size="85"/>
  385. <Column size="70"/>
  386. <Column size="40"/>
  387. <Column size="80"/>
  388. <Column size="63"/>
  389. <Column size="40"/>
  390. <Column size="80"/>
  391. <Column size="40"/>
  392. <Column size="75"/>
  393. <Column size="62"/>
  394. <Column size="75"/>
  395. <Column size="75"/>
  396. <Column size="75"/>
  397. <Column size="75"/>
  398. <Column size="75"/>
  399. <Column size="75"/>
  400. <Column size="75"/>
  401. <Column size="90"/>
  402. <Column size="70"/>
  403. <Column size="55"/>
  404. <Column size="100"/>
  405. </Columns>
  406. <Rows>
  407. <Row size="32" band="head"/>
  408. <Row size="24"/>
  409. </Rows>
  410. <Band id="head">
  411. <Cell/>
  412. <Cell col="1" text="미수월"/>
  413. <Cell col="2" text="청구월"/>
  414. <Cell col="3" text="접수번호"/>
  415. <Cell col="4" text="심사차수"/>
  416. <Cell col="5" text="내원&#10;유형"/>
  417. <Cell col="6" text="산재유형"/>
  418. <Cell col="7" text="청구형태"/>
  419. <Cell col="8" text="건수"/>
  420. <Cell col="9" text="청구액"/>
  421. <Cell col="10" text="약제상한&#10;청구액"/>
  422. <Cell col="11" text="삭감&#10;건수"/>
  423. <Cell col="12" text="실삭감액"/>
  424. <Cell col="13" text="반송&#10;건수"/>
  425. <Cell col="14" text="반송액"/>
  426. <Cell col="15" text="약제상한&#10;반송액"/>
  427. <Cell col="16" text="환수액"/>
  428. <Cell col="17" text="환수예정액"/>
  429. <Cell col="18" text="입원입금"/>
  430. <Cell col="19" text="외래입금"/>
  431. <Cell col="20" text="기타입금"/>
  432. <Cell col="21" text="결손액"/>
  433. <Cell col="22" text="통장입금액"/>
  434. <Cell col="23" text="입금일/환수일"/>
  435. <Cell col="24" text="구분"/>
  436. <Cell col="25" text="통보월"/>
  437. <Cell col="26" text="비고"/>
  438. </Band>
  439. <Band id="body">
  440. <Cell celltype="head" expr="currow+1"/>
  441. <Cell col="1" displaytype="date" text="bind:uncoym" mask="yyyy-MM"/>
  442. <Cell col="2" displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  443. <Cell col="3" text="bind:acptno"/>
  444. <Cell col="4" text="bind:judgdg"/>
  445. <Cell col="5" text="bind:ioflag"/>
  446. <Cell col="6" text="bind:sumtypecd"/>
  447. <Cell col="7" text="bind:clamflag"/>
  448. <Cell col="8" displaytype="number" text="bind:clamcnt"/>
  449. <Cell col="9" displaytype="number" text="bind:clclamamt"/>
  450. <Cell col="10" displaytype="number" text="bind:cllimitdiffamt"/>
  451. <Cell col="11" displaytype="number" text="bind:cutcnt"/>
  452. <Cell col="12" displaytype="number" text="bind:orgreduamt"/>
  453. <Cell col="13" displaytype="number" text="bind:sendcnt"/>
  454. <Cell col="14" displaytype="number" text="bind:sendamt"/>
  455. <Cell col="15" displaytype="number" text="bind:sendlimitdiffamt"/>
  456. <Cell col="16" displaytype="number" text="bind:rtnamt"/>
  457. <Cell col="17" displaytype="number" text="bind:rtnscheamt"/>
  458. <Cell col="18" displaytype="number" text="bind:inamt"/>
  459. <Cell col="19" displaytype="number" text="bind:outamt"/>
  460. <Cell col="20" displaytype="number" text="bind:etcamt"/>
  461. <Cell col="21" displaytype="number" text="bind:lostamt"/>
  462. <Cell col="22" displaytype="number" text="bind:depoamt"/>
  463. <Cell col="23" displaytype="date" text="bind:depodd" mask="yyyy-MM-dd"/>
  464. <Cell col="24" text="bind:flag"/>
  465. <Cell col="25" displaytype="date" text="bind:notimm" mask="yyyy-MM"/>
  466. <Cell col="26" style="align:left middle;" text="bind:rem"/>
  467. </Band>
  468. </Format>
  469. </Formats>
  470. </Grid>
  471. <Button position="absolute 1122 5 1202 24" id="button13" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_switch1_case3_button13_onclick"/>
  472. <Button position="absolute 1027 5 1121 24" id="button14" class="btn7" text="Open Excel" anchor="top right" onclick="grp_biz_switch1_case3_button14_onclick"/>
  473. <Button position="absolute 919 5 972 24" id="button15" class="btn2" text="열카피" anchor="top right" onclick="grp_biz_switch1_case3_button15_onclick"/>
  474. <Button position="absolute 973 5 1026 24" id="button16" class="btn2" text="행카피" anchor="top right" onclick="grp_biz_switch1_case3_button16_onclick"/>
  475. <Button position="absolute 865 5 918 24" id="button17" class="btn2" text="셀카피" anchor="top right" onclick="grp_biz_switch1_case3_button17_onclick"/>
  476. </Layout>
  477. </Layouts>
  478. </Tabpage>
  479. <Tabpage text="월별 진료비 입금내역 (자보)" id="case4">
  480. <Layouts>
  481. <Layout>
  482. <Grid position="absolute 4 28 1202 646" id="grd_depodetl04" class="datagrid2" binddataset="ds_main_griddepodetl04" anchor="all" oncellclick="grp_biz_switch1_case4_grd_depodetl04_oncellclick" onkeydown="grp_biz_switch1_case4_grd_depodetl04_onkeydown" cellsizingtype="col">
  483. <Formats>
  484. <Format id="default">
  485. <Columns>
  486. <Column size="22"/>
  487. <Column size="100"/>
  488. <Column size="60"/>
  489. <Column size="60"/>
  490. <Column size="40"/>
  491. <Column size="70"/>
  492. <Column size="50"/>
  493. <Column size="50"/>
  494. <Column size="70"/>
  495. <Column size="50"/>
  496. <Column size="40"/>
  497. <Column size="75"/>
  498. <Column size="40"/>
  499. <Column size="75"/>
  500. <Column size="75"/>
  501. <Column size="40"/>
  502. <Column size="80"/>
  503. <Column size="80"/>
  504. <Column size="80"/>
  505. <Column size="80"/>
  506. <Column size="80"/>
  507. <Column size="80"/>
  508. <Column size="80"/>
  509. <Column size="80"/>
  510. <Column size="0"/>
  511. <Column size="0"/>
  512. <Column size="80"/>
  513. <Column size="85"/>
  514. <Column size="70"/>
  515. <Column size="55"/>
  516. <Column size="100"/>
  517. </Columns>
  518. <Rows>
  519. <Row size="32" band="head"/>
  520. <Row size="24"/>
  521. </Rows>
  522. <Band id="head">
  523. <Cell/>
  524. <Cell col="1" text="손보사명"/>
  525. <Cell col="2" text="미수월"/>
  526. <Cell col="3" text="청구년월"/>
  527. <Cell col="4" text="내원&#10;유형"/>
  528. <Cell col="5" text="청구형태"/>
  529. <Cell col="6" text="진료과"/>
  530. <Cell col="7" text="분야"/>
  531. <Cell col="8" text="등록번호"/>
  532. <Cell col="9" text="수진자"/>
  533. <Cell col="10" text="건수"/>
  534. <Cell col="11" text="청구액"/>
  535. <Cell col="12" text="삭감&#10;건수"/>
  536. <Cell col="13" text="자보&#10;실삭감액"/>
  537. <Cell col="14" text="자보분심&#10;삭감액"/>
  538. <Cell col="15" text="반송&#10;건수"/>
  539. <Cell col="16" text="반송액"/>
  540. <Cell col="17" text="환수액"/>
  541. <Cell col="18" text="환수예정액"/>
  542. <Cell col="19" text="입원입금"/>
  543. <Cell col="20" text="외래입금"/>
  544. <Cell col="21" text="기타입금"/>
  545. <Cell col="22" text="결손액"/>
  546. <Cell col="23" text="지급수수료"/>
  547. <Cell col="24" text="이자환수"/>
  548. <Cell col="25" text="이자납부"/>
  549. <Cell col="26" text="통장입금액"/>
  550. <Cell col="27" text="입금일/환수일"/>
  551. <Cell col="28" text="구분"/>
  552. <Cell col="29" text="통보월"/>
  553. <Cell col="30" text="비고"/>
  554. </Band>
  555. <Band id="body">
  556. <Cell celltype="head" expr="currow+1"/>
  557. <Cell col="1" text="bind:insucompnm"/>
  558. <Cell col="2" displaytype="date" text="bind:uncoym" mask="yyyy-MM"/>
  559. <Cell col="3" displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  560. <Cell col="4" text="bind:ioflag"/>
  561. <Cell col="5" text="bind:clamflag"/>
  562. <Cell col="6" text="bind:orddeptcd"/>
  563. <Cell col="7" text="bind:ordfildcd"/>
  564. <Cell col="8" text="bind:pid"/>
  565. <Cell col="9" text="bind:patnm"/>
  566. <Cell col="10" displaytype="number" text="bind:clamcnt"/>
  567. <Cell col="11" displaytype="number" text="bind:clamamt"/>
  568. <Cell col="12" displaytype="number" text="bind:cutcnt"/>
  569. <Cell col="13" displaytype="number" text="bind:realcutamt"/>
  570. <Cell col="14" displaytype="number" text="bind:tdcutamt"/>
  571. <Cell col="15" displaytype="number" text="bind:sendcnt"/>
  572. <Cell col="16" displaytype="number" text="bind:sendamt"/>
  573. <Cell col="17" displaytype="number" text="bind:rtnamt"/>
  574. <Cell col="18" displaytype="number" text="bind:rtnscheamt"/>
  575. <Cell col="19" displaytype="number" text="bind:inamt"/>
  576. <Cell col="20" displaytype="number" text="bind:outamt"/>
  577. <Cell col="21" displaytype="number" text="bind:etcamt"/>
  578. <Cell col="22" displaytype="number" text="bind:lostamt"/>
  579. <Cell col="23" displaytype="number" text="bind:paycoms"/>
  580. <Cell col="24" displaytype="number" text="bind:restpay"/>
  581. <Cell col="25" displaytype="number" text="bind:restrtn"/>
  582. <Cell col="26" displaytype="number" text="bind:depoamt"/>
  583. <Cell col="27" displaytype="date" text="bind:depodd" mask="yyyy-MM-dd"/>
  584. <Cell col="28" text="bind:flag"/>
  585. <Cell col="29" displaytype="date" text="bind:notimm" mask="yyyy-MM"/>
  586. <Cell col="30" style="align:left middle;" text="bind:rem"/>
  587. </Band>
  588. </Format>
  589. </Formats>
  590. </Grid>
  591. <Button position="absolute 919 5 972 24" id="button18" class="btn2" text="열카피" anchor="top right" onclick="grp_biz_switch1_case4_button18_onclick"/>
  592. <Button position="absolute 973 5 1026 24" id="button19" class="btn2" text="행카피" anchor="top right" onclick="grp_biz_switch1_case4_button19_onclick"/>
  593. <Button position="absolute 865 5 918 24" id="button20" class="btn2" text="셀카피" anchor="top right" onclick="grp_biz_switch1_case4_button20_onclick"/>
  594. <Button position="absolute 1122 5 1202 24" id="button21" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_switch1_case4_button21_onclick"/>
  595. <Button position="absolute 1027 5 1121 24" id="button22" class="btn7" text="Open Excel" anchor="top right" onclick="grp_biz_switch1_case4_button22_onclick"/>
  596. </Layout>
  597. </Layouts>
  598. </Tabpage>
  599. <Tabpage text="장기이식" id="case5">
  600. <Layouts>
  601. <Layout>
  602. <Grid position="absolute 4 28 1202 646" id="grd_depodetl05" class="datagrid2" binddataset="ds_main_griddepodetl05" anchor="all" oncellclick="grp_biz_switch1_case5_grd_depodetl05_oncellclick" onkeydown="grp_biz_switch1_case5_grd_depodetl05_onkeydown" cellsizingtype="col">
  603. <Formats>
  604. <Format id="default">
  605. <Columns>
  606. <Column size="22"/>
  607. <Column size="55"/>
  608. <Column size="65"/>
  609. <Column size="65"/>
  610. <Column size="40"/>
  611. <Column size="40"/>
  612. <Column size="84"/>
  613. <Column size="40"/>
  614. <Column size="75"/>
  615. <Column size="75"/>
  616. <Column size="75"/>
  617. <Column size="82"/>
  618. <Column size="82"/>
  619. <Column size="40"/>
  620. <Column size="75"/>
  621. <Column size="40"/>
  622. <Column size="75"/>
  623. <Column size="0"/>
  624. <Column size="72"/>
  625. <Column size="75"/>
  626. <Column size="75"/>
  627. <Column size="75"/>
  628. <Column size="75"/>
  629. <Column size="90"/>
  630. <Column size="60"/>
  631. <Column size="120"/>
  632. </Columns>
  633. <Rows>
  634. <Row size="32" band="head"/>
  635. <Row size="24"/>
  636. </Rows>
  637. <Band id="head">
  638. <Cell/>
  639. <Cell col="1" text="청구월"/>
  640. <Cell col="2" text="접수번호"/>
  641. <Cell col="3" text="심사차수"/>
  642. <Cell col="4" text="내원&#10;유형"/>
  643. <Cell col="5" text="분야"/>
  644. <Cell col="6" text="청구구분"/>
  645. <Cell col="7" text="건수"/>
  646. <Cell col="8" text="총진료비"/>
  647. <Cell col="9" text="청구액"/>
  648. <Cell col="10" text="장애인"/>
  649. <Cell col="11" text="약제상한&#10;청구액"/>
  650. <Cell col="12" text="약제상한&#10;심결액"/>
  651. <Cell col="13" text="삭감&#10;건수"/>
  652. <Cell col="14" text="실삭감액"/>
  653. <Cell col="15" text="반송&#10;건수"/>
  654. <Cell col="16" text="반송액"/>
  655. <Cell col="17" text="반송장애인금"/>
  656. <Cell col="18" text="반송약제&#10;상한차액"/>
  657. <Cell col="19" text="환수액"/>
  658. <Cell col="20" text="입원입금액"/>
  659. <Cell col="21" text="외래입금액"/>
  660. <Cell col="22" text="통장입금액"/>
  661. <Cell col="23" text="입금일/환수일"/>
  662. <Cell col="24" text="통보월"/>
  663. <Cell col="25" text="비고"/>
  664. </Band>
  665. <Band id="body">
  666. <Cell celltype="head" expr="currow+1"/>
  667. <Cell col="1" displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  668. <Cell col="2" text="bind:acptno"/>
  669. <Cell col="3" text="bind:judgdg"/>
  670. <Cell col="4" text="bind:ioflag"/>
  671. <Cell col="5" text="bind:clamdeptcd"/>
  672. <Cell col="6" text="bind:clamtypecdnm"/>
  673. <Cell col="7" displaytype="number" text="bind:clamcnt"/>
  674. <Cell col="8" displaytype="number" text="bind:clmcstotamt"/>
  675. <Cell col="9" displaytype="number" text="bind:clclamamt"/>
  676. <Cell col="10" displaytype="number" text="bind:clhandicaprfund"/>
  677. <Cell col="11" displaytype="number" text="bind:cldruglimitdiffamtsum"/>
  678. <Cell col="12" displaytype="number" text="bind:jrdruglimitdiffamtsum01"/>
  679. <Cell col="13" displaytype="number" text="bind:rucntsum"/>
  680. <Cell col="14" displaytype="number" text="bind:realcutamt"/>
  681. <Cell col="15" displaytype="number" text="bind:rtncnt"/>
  682. <Cell col="16" displaytype="number" text="bind:jrjudgdeciamt02"/>
  683. <Cell col="17" displaytype="number" text="bind:jrhandicaprfund02"/>
  684. <Cell col="18" displaytype="number" text="bind:jrdruglimitdiffamtsum02"/>
  685. <Cell col="19" displaytype="number" text="bind:rtnamt"/>
  686. <Cell col="20" displaytype="number" text="bind:inamt"/>
  687. <Cell col="21" displaytype="number" text="bind:outamt"/>
  688. <Cell col="22" displaytype="number" text="bind:depoamt"/>
  689. <Cell col="23" displaytype="date" text="bind:depodd" mask="yyyy-MM-dd"/>
  690. <Cell col="24" displaytype="date" text="bind:notimm" mask="yyyy-MM"/>
  691. <Cell col="25" style="align:left middle;" text="bind:rem"/>
  692. </Band>
  693. </Format>
  694. </Formats>
  695. </Grid>
  696. <Button position="absolute 1122 5 1202 24" id="btn_etcexcel" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_switch1_case5_btn_etcexcel_onclick"/>
  697. <Button position="absolute 919 5 972 24" id="btn_etccolcopy" class="btn2" text="열카피" anchor="top right" onclick="grp_biz_switch1_case5_btn_etccolcopy_onclick"/>
  698. <Button position="absolute 973 5 1026 24" id="btn_etcrowcopy" class="btn2" text="행카피" anchor="top right" onclick="grp_biz_switch1_case5_btn_etcrowcopy_onclick"/>
  699. <Button position="absolute 865 5 918 24" id="btn_etccellcopy" class="btn2" text="셀카피" anchor="top right" onclick="grp_biz_switch1_case5_btn_etccellcopy_onclick"/>
  700. <Static text="접수번호 바로가기 ==&gt;" position="absolute 605 5 731 25" id="caption9" visible="false" anchor="top right"/>
  701. <Edit position="absolute 735 5 820 24" id="input1" visible="false" anchor="top right" onkeyup="grp_biz_switch1_case5_input1_onkeyup"/>
  702. <Button id="btn_etcopenexcel" taborder="1" text="Open Excel" onclick="grp_biz_switch1_case5_btn_etcopenexcel_onclick" class="btn7" position="absolute 1027 5 1121 24" anchor="top right"/>
  703. </Layout>
  704. </Layouts>
  705. </Tabpage>
  706. </Tabpages>
  707. </Tab>
  708. <Button position="absolute 1147 65 1200 84" id="button2" class="btn2" text="초기화" anchor="top right" onclick="grp_biz_button2_onclick"/>
  709. <Button position="absolute 1096 65 1146 84" id="button24" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button24_onclick"/>
  710. </Layout>
  711. </Layouts>
  712. </Div>
  713. <Static id="caption6" text="월별 진료비 입금내역조회" class="tit_1" position="absolute 1 0 225 23"/>
  714. </Layout>
  715. </Layouts>
  716. <Objects>
  717. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  718. <ColumnInfo>
  719. <Column id="insukind" type="STRING" size="256"/>
  720. <Column id="termflag" type="STRING" size="256"/>
  721. <Column id="fromdd" type="STRING" size="8"/>
  722. <Column id="batchyn" type="STRING" size="256"/>
  723. <Column id="todd" type="STRING" size="8"/>
  724. <Column id="clamflag" type="STRING" size="256"/>
  725. <Column id="clamno" type="STRING" size="256"/>
  726. <Column id="ioflag" type="STRING" size="256"/>
  727. <Column id="ordfildcd" type="STRING" size="256"/>
  728. </ColumnInfo>
  729. <Rows>
  730. <Row>
  731. <Col id="insukind">11</Col>
  732. <Col id="termflag">1</Col>
  733. <Col id="fromdd"/>
  734. <Col id="todd"/>
  735. <Col id="clamflag"/>
  736. <Col id="clamno"/>
  737. <Col id="ioflag">A</Col>
  738. <Col id="ordfildcd"/>
  739. </Row>
  740. </Rows>
  741. </Dataset>
  742. <Dataset id="ds_init_P0425list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  743. <ColumnInfo>
  744. <Column id="cdnm" type="STRING" size="256"/>
  745. <Column id="cdid" type="STRING" size="256"/>
  746. </ColumnInfo>
  747. <Rows>
  748. <Row/>
  749. </Rows>
  750. </Dataset>
  751. <Dataset id="ds_init_P0155list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  752. <ColumnInfo>
  753. <Column id="cdnm" type="STRING" size="256"/>
  754. <Column id="cdid" type="STRING" size="256"/>
  755. </ColumnInfo>
  756. <Rows>
  757. <Row/>
  758. </Rows>
  759. </Dataset>
  760. <Dataset id="ds_main_griddepodetl01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  761. <ColumnInfo>
  762. <Column id="uncoym" type="STRING" size="256" sumtext="미수월"/>
  763. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  764. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  765. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  766. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  767. <Column id="ordfildcd" type="STRING" size="256" sumtext="청구과"/>
  768. <Column id="clamflag" type="STRING" size="256" sumtext="청구구분"/>
  769. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  770. <Column id="clmcstotamt" type="STRING" size="256" sumtext="총진료비"/>
  771. <Column id="clclamamt" type="STRING" size="256" sumtext="청구액"/>
  772. <Column id="clownbmaxexamt" type="STRING" size="256" sumtext="상한액"/>
  773. <Column id="clsuppamt" type="STRING" size="256" sumtext="지원금"/>
  774. <Column id="clhandicaprfund" type="STRING" size="256" sumtext="장애인금"/>
  775. <Column id="cllimitdiffamt" type="STRING" size="256" sumtext="약제상한액"/>
  776. <Column id="cllimitdiffadjtamt" type="STRING" size="256" sumtext="약제상한조정액"/>
  777. <Column id="cutcnt" type="STRING" size="256" sumtext="삭감건수"/>
  778. <Column id="orgreduamt" type="STRING" size="256" sumtext="실삭감액"/>
  779. <Column id="sendcnt" type="STRING" size="256" sumtext="반송건수"/>
  780. <Column id="sendamt" type="STRING" size="256" sumtext="반송액"/>
  781. <Column id="sendhandicaprfund" type="STRING" size="256" sumtext="반송장애인"/>
  782. <Column id="sendlimitdiffamt" type="STRING" size="256" sumtext="반송장애인"/>
  783. <Column id="rtnamt" type="STRING" size="256" sumtext="환수액"/>
  784. <Column id="rtnscheamt" type="STRING" size="256" sumtext="환수예정액"/>
  785. <Column id="inamt" type="STRING" size="256" sumtext="입원입금"/>
  786. <Column id="outamt" type="STRING" size="256" sumtext="외래입금"/>
  787. <Column id="etcamt" type="STRING" size="256" sumtext="기타입금"/>
  788. <Column id="lostamt" type="STRING" size="256" sumtext="결손액"/>
  789. <Column id="depoamt" type="STRING" size="256" sumtext="입금액"/>
  790. <Column id="depodd" type="STRING" size="256" sumtext="입금일자"/>
  791. <Column id="flag" type="STRING" size="256" sumtext="구분"/>
  792. <Column id="notimm" type="STRING" size="256" sumtext="통보월"/>
  793. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  794. <Column id="depoflag" type="STRING" size="256" sumtext="입금구분"/>
  795. </ColumnInfo>
  796. </Dataset>
  797. <Dataset id="ds_main_griddepodetl02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  798. <ColumnInfo>
  799. <Column id="uncoym" type="STRING" size="256" sumtext="미수월"/>
  800. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  801. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  802. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  803. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  804. <Column id="ordfildcd" type="STRING" size="256" sumtext="청구과"/>
  805. <Column id="clamflag" type="STRING" size="256" sumtext="청구구분"/>
  806. <Column id="depoprocinstmark" type="STRING" size="256" sumtext="시군구"/>
  807. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  808. <Column id="clmcstotamt" type="STRING" size="256" sumtext="총진료비"/>
  809. <Column id="clclamamt" type="STRING" size="256" sumtext="청구액"/>
  810. <Column id="clhandicaprfund" type="STRING" size="256" sumtext="장애인"/>
  811. <Column id="cllimitdiffamt" type="STRING" size="256" sumtext="약제상한액"/>
  812. <Column id="cllimitdiffadjtamt" type="STRING" size="256" sumtext="약제상한조정액"/>
  813. <Column id="clsubtamt" type="STRING" size="256" sumtext="대불금"/>
  814. <Column id="cutcnt" type="STRING" size="256" sumtext="삭감건수"/>
  815. <Column id="orgreduamt" type="STRING" size="256" sumtext="실삭감액"/>
  816. <Column id="sendcnt" type="STRING" size="256" sumtext="반송건수"/>
  817. <Column id="sendamt" type="STRING" size="256" sumtext="반송액"/>
  818. <Column id="sendhandicaprfund" type="STRING" size="256" sumtext="반송장애인"/>
  819. <Column id="sendlimitdiffamt" type="STRING" size="256" sumtext="반송장애인"/>
  820. <Column id="rtnamt" type="STRING" size="256" sumtext="환수액"/>
  821. <Column id="rtnscheamt" type="STRING" size="256" sumtext="환수예정액"/>
  822. <Column id="inamt" type="STRING" size="256" sumtext="입원입금"/>
  823. <Column id="outamt" type="STRING" size="256" sumtext="외래입금"/>
  824. <Column id="etcamt" type="STRING" size="256" sumtext="기타입금"/>
  825. <Column id="lostamt" type="STRING" size="256" sumtext="결손액"/>
  826. <Column id="instrreductamt" type="STRING" size="256" sumtext="기관삭감액"/>
  827. <Column id="depoamt" type="STRING" size="256" sumtext="입금액"/>
  828. <Column id="depodd" type="STRING" size="256" sumtext="입금일자"/>
  829. <Column id="flag" type="STRING" size="256" sumtext="구분"/>
  830. <Column id="notimm" type="STRING" size="256" sumtext="통보월"/>
  831. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  832. </ColumnInfo>
  833. </Dataset>
  834. <Dataset id="ds_main_griddepodetl03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  835. <ColumnInfo>
  836. <Column id="uncoym" type="STRING" size="256" sumtext="미수월"/>
  837. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  838. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  839. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  840. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  841. <Column id="sumtypecd" type="STRING" size="256" sumtext="산재구분"/>
  842. <Column id="clamflag" type="STRING" size="256" sumtext="청구구분"/>
  843. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  844. <Column id="clclamamt" type="STRING" size="256" sumtext="총진료비"/>
  845. <Column id="cllimitdiffamt" type="STRING" size="256" sumtext="약제상한액"/>
  846. <Column id="cutcnt" type="STRING" size="256" sumtext="삭감건수"/>
  847. <Column id="orgreduamt" type="STRING" size="256" sumtext="삭감금액"/>
  848. <Column id="sendcnt" type="STRING" size="256" sumtext="반송건수"/>
  849. <Column id="sendamt" type="STRING" size="256" sumtext="반송금액"/>
  850. <Column id="sendlimitdiffamt" type="STRING" size="256" sumtext="반송장애인"/>
  851. <Column id="rtnamt" type="STRING" size="256" sumtext="환수액"/>
  852. <Column id="rtnscheamt" type="STRING" size="256" sumtext="환수예정액"/>
  853. <Column id="inamt" type="STRING" size="256" sumtext="입원입금"/>
  854. <Column id="outamt" type="STRING" size="256" sumtext="외래입금"/>
  855. <Column id="etcamt" type="STRING" size="256" sumtext="기타입금"/>
  856. <Column id="lostamt" type="STRING" size="256" sumtext="결손액"/>
  857. <Column id="depoamt" type="STRING" size="256" sumtext="입금액"/>
  858. <Column id="depodd" type="STRING" size="256" sumtext="입금일자"/>
  859. <Column id="flag" type="STRING" size="256" sumtext="입금구분"/>
  860. <Column id="depoflag" type="STRING" size="256" sumtext="구분"/>
  861. <Column id="notimm" type="STRING" size="256" sumtext="통보월"/>
  862. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  863. </ColumnInfo>
  864. </Dataset>
  865. <Dataset id="ds_main_griddepodetl04" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  866. <ColumnInfo>
  867. <Column id="insucompnm" type="STRING" size="256" sumtext="손보사명"/>
  868. <Column id="uncoym" type="STRING" size="256" sumtext="미수월"/>
  869. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  870. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  871. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  872. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  873. <Column id="ordfildcd" type="STRING" size="256" sumtext="산재구분"/>
  874. <Column id="clamflag" type="STRING" size="256" sumtext="청구구분"/>
  875. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  876. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  877. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  878. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  879. <Column id="clamamt" type="STRING" size="256" sumtext="총진료비"/>
  880. <Column id="cutcnt" type="STRING" size="256" sumtext="삭감건수"/>
  881. <Column id="realcutamt" type="STRING" size="256" sumtext="삭감금액"/>
  882. <Column id="tdcutamt" type="STRING" size="256" sumtext="분심삭감액"/>
  883. <Column id="sendcnt" type="STRING" size="256" sumtext="반송건수"/>
  884. <Column id="sendamt" type="STRING" size="256" sumtext="반송금액"/>
  885. <Column id="rtnamt" type="STRING" size="256" sumtext="환수액"/>
  886. <Column id="rtnscheamt" type="STRING" size="256" sumtext="환수예정액"/>
  887. <Column id="inamt" type="STRING" size="256" sumtext="입원입금"/>
  888. <Column id="outamt" type="STRING" size="256" sumtext="외래입금"/>
  889. <Column id="etcamt" type="STRING" size="256" sumtext="기타입금"/>
  890. <Column id="lostamt" type="STRING" size="256" sumtext="결손액"/>
  891. <Column id="paycoms" type="STRING" size="256" sumtext="지급수수료"/>
  892. <Column id="depoamt" type="STRING" size="256" sumtext="입금액"/>
  893. <Column id="depodd" type="STRING" size="256" sumtext="입금일자"/>
  894. <Column id="depoflag" type="STRING" size="256" sumtext="구분"/>
  895. <Column id="flag" type="STRING" size="256" sumtext="구분"/>
  896. <Column id="notimm" type="STRING" size="256" sumtext="통보월"/>
  897. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  898. </ColumnInfo>
  899. </Dataset>
  900. <Dataset id="ds_main_griddepodetl05" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  901. <ColumnInfo>
  902. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  903. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  904. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  905. <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
  906. <Column id="clamdeptcd" type="STRING" size="256" sumtext="청구세부과"/>
  907. <Column id="clamtypecd" type="STRING" size="256" sumtext="청구구분"/>
  908. <Column id="clamtypecdnm" type="STRING" size="256" sumtext="청구구분명"/>
  909. <Column id="clamcnt" type="STRING" size="256" sumtext="청구건수"/>
  910. <Column id="clmcstotamt" type="STRING" size="256" sumtext="총진료비"/>
  911. <Column id="clclamamt" type="STRING" size="256" sumtext="청구액"/>
  912. <Column id="clhandicaprfund" type="STRING" size="256" sumtext="장애청구액"/>
  913. <Column id="cldruglimitdiffamtsum" type="STRING" size="256" sumtext="청구약제상한액"/>
  914. <Column id="jrdruglimitdiffamtsum01" type="STRING" size="256" sumtext="심결약제상한액"/>
  915. <Column id="rucntsum" type="STRING" size="256" sumtext="삭감건수"/>
  916. <Column id="realcutamt" type="STRING" size="256" sumtext="실삭감액"/>
  917. <Column id="rtncnt" type="STRING" size="256" sumtext="반송건수"/>
  918. <Column id="jrjudgdeciamt02" type="STRING" size="256" sumtext="반송액"/>
  919. <Column id="jrhandicaprfund02" type="STRING" size="256" sumtext="장애반송액"/>
  920. <Column id="jrdruglimitdiffamtsum02" type="STRING" size="256" sumtext="반송약제상한액"/>
  921. <Column id="rtnamt" type="STRING" size="256" sumtext="환수액"/>
  922. <Column id="inamt" type="STRING" size="256" sumtext="입원입금액"/>
  923. <Column id="outamt" type="STRING" size="256" sumtext="외래입금액"/>
  924. <Column id="depoamt" type="STRING" size="256" sumtext="통장입금액"/>
  925. <Column id="depodd" type="STRING" size="256" sumtext="입금일자"/>
  926. <Column id="notimm" type="STRING" size="256" sumtext="통보월"/>
  927. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  928. </ColumnInfo>
  929. </Dataset>
  930. <Dataset id="ds_tmp_insumed" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  931. <ColumnInfo>
  932. <Column id="acptno" type="STRING" size="256"/>
  933. </ColumnInfo>
  934. <Rows>
  935. <Row/>
  936. </Rows>
  937. </Dataset>
  938. <FilteredDataset id="FilteredDataset00" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_P0425list" filterstr="cdid != '7'"/>
  939. </Objects>
  940. <Bind>
  941. <BindItem id="item0" compid="grp_biz.grp_sea.rdo_insukind" propid="value" datasetid="ds_send" columnid="insukind"/>
  942. <BindItem id="item1" compid="grp_biz.grp_sea.rdo_termflag" propid="value" datasetid="ds_send" columnid="termflag"/>
  943. <BindItem id="item2" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  944. <BindItem id="item3" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  945. <BindItem id="item4" compid="grp_biz.grp_sea.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
  946. <BindItem id="item5" compid="grp_biz.grp_sea.combo1" propid="value" datasetid="ds_send" columnid="ordfildcd"/>
  947. <BindItem id="item6" compid="grp_biz.grp_sea.combo2" propid="value" datasetid="ds_send" columnid="clamflag"/>
  948. <BindItem id="item7" compid="grp_biz.grp_sea.ipt_clamno" propid="value" datasetid="ds_send" columnid="clamno"/>
  949. <BindItem id="item8" compid="grp_biz.switch1.case2.ipt_acptnomed" propid="value" datasetid="ds_tmp_insumed" columnid="acptno"/>
  950. <BindItem id="item9" compid="grp_biz.switch1.case1.ipt_acptno" propid="value" datasetid="ds_tmp_insumed" columnid="acptno"/>
  951. <BindItem id="item10" compid="grp_biz.switch1.case5.input1" propid="value" datasetid="ds_tmp_insumed" columnid="acptno"/>
  952. </Bind>
  953. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  954. * System Name :
  955. * Job Name :
  956. * Creator :
  957. * Make Date : 2016-05-24
  958. * Description :
  959. *---------------------------------------------------------------------------------------
  960. * Modify Date Modifier Modify Description
  961. *---------------------------------------------------------------------------------------
  962. * 2016-05-24 Live Converter TF->XP
  963. *
  964. *---------------------------------------------------------------------------------------
  965. ****************************************************************************************/
  966. include "com_commonxp::comm_main.xjs";
  967. include "pam_pamcomnxp::PAM001.xjs";
  968. include "pam_pamcomnxp::PAM.xjs";
  969. var col = "N";
  970. var gval_insumedrow = 0;
  971. var gval_insurow = 0;
  972. function SMPIF31400_oninit(obj:Form, e:InitEventInfo)
  973. {
  974. frmf_initForm(obj);
  975. grdf_setToolTipBind(grp_biz.switch1.case1.grd_depodetl01);
  976. grdf_setToolTipBind(grp_biz.switch1.case2.grd_depodetl02);
  977. grdf_setToolTipBind(grp_biz.switch1.case3.grd_depodetl03);
  978. grdf_setToolTipBind(grp_biz.switch1.case4.grd_depodetl04);
  979. grdf_setToolTipBind(grp_biz.switch1.case5.grd_depodetl05);
  980. }
  981. function SMPIF31400_onload(obj:Form, e:LoadEventInfo)
  982. {
  983. if(opener.frmf_getParameter("SMPIE05100"))
  984. {
  985. ds_send.copyData(arg_ds_send);
  986. }
  987. var arrParam = [{dsNm: "ds_init_P0425list", cdGrpId: "P0425"}
  988. ,{dsNm: "ds_init_P0155list", cdGrpId: "P0155"}]
  989. appf_getCodeList(arrParam);
  990. pamGetDeptCDDrIDList();
  991. ds_init_P0155list.insertRow(0);
  992. ds_init_P0425list.insertRow(0);
  993. grp_biz.grp_sea.ipt_fromdd.setFocus();
  994. ds_send.setColumn(0, "fromdd", "");
  995. ds_send.setColumn(0, "todd", "");
  996. if(!utlf_isNull(ds_send.getColumn(0, "clamno")))
  997. {
  998. grp_biz_grp_sea_btn_search_onclick();
  999. }
  1000. }
  1001. function grp_biz_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1002. {
  1003. if(utlf_isNull(grp_biz.grp_sea.rdo_insukind.value))
  1004. {
  1005. sysf_messageBox("보험유형을","C002");
  1006. grp_biz.grp_sea.rdo_insukind.setFocus();
  1007. return false;
  1008. }
  1009. //model.removeNodeset("/root/main/list01");
  1010. var insukind = ds_send.getColumn(0, "insukind");
  1011. var termflag = ds_send.getColumn(0, "termflag");
  1012. if( !(insukind == "51" && termflag == "3") )
  1013. {
  1014. var oParam = {};
  1015. oParam.id = "TRPIF31401";
  1016. oParam.service = "clamuncoapp.ClamUnco";
  1017. oParam.method = "reqGetDepoDetlByInsukind";
  1018. oParam.inds = "req=ds_send";
  1019. oParam.outds = "ds_main_griddepodetl01=griddepodetl01 ds_main_griddepodetl02=griddepodetl02 ds_main_griddepodetl03=griddepodetl03 ds_main_griddepodetl04=griddepodetl04 ds_main_griddepodetl05=griddepodetl05";
  1020. oParam.async = false;
  1021. //oParam.callback = "cf_TRPIF31401";
  1022. tranf_submit(oParam);
  1023. if(grp_biz.grp_sea.rdo_insukind.value == "11")
  1024. {
  1025. grp_biz.switch1.tabindex = 0;
  1026. }
  1027. else if(grp_biz.grp_sea.rdo_insukind.value == "21")
  1028. {
  1029. grp_biz.switch1.tabindex = 1;
  1030. }
  1031. else if(grp_biz.grp_sea.rdo_insukind.value == "31")
  1032. {
  1033. grp_biz.switch1.tabindex = 3;
  1034. }
  1035. else if(grp_biz.grp_sea.rdo_insukind.value == "41")
  1036. {
  1037. grp_biz.switch1.tabindex = 2;
  1038. }
  1039. else if(grp_biz.grp_sea.rdo_insukind.value == "51")
  1040. {
  1041. grp_biz.switch1.tabindex = 4;
  1042. }
  1043. }
  1044. }
  1045. function grp_biz_grp_sea_rdo_insukind_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1046. {
  1047. if(grp_biz.grp_sea.rdo_insukind.value == "11")
  1048. {
  1049. grp_biz.switch1.tabindex = 0;
  1050. }
  1051. else if(grp_biz.grp_sea.rdo_insukind.value == "21")
  1052. {
  1053. grp_biz.switch1.tabindex = 1;
  1054. }
  1055. else if(grp_biz.grp_sea.rdo_insukind.value == "41")
  1056. {
  1057. grp_biz.switch1.tabindex = 2;
  1058. }
  1059. else if(grp_biz.grp_sea.rdo_insukind.value == "31")
  1060. {
  1061. grp_biz.switch1.tabindex = 3;
  1062. }
  1063. else if(grp_biz.grp_sea.rdo_insukind.value == "51")
  1064. {
  1065. grp_biz.switch1.tabindex = 4;
  1066. }
  1067. grp_biz.grp_sea.ipt_fromdd.setFocus();
  1068. }
  1069. function grp_biz_grp_sea_rdo_termflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1070. {
  1071. ds_send.setColumn(0, "fromdd", "");
  1072. ds_send.setColumn(0, "todd", "");
  1073. if(ds_send.getColumn(0, "termflag") == "1" || ds_send.getColumn(0, "termflag") == "3" || ds_send.getColumn(0, "termflag") == "4")
  1074. {
  1075. grp_biz.grp_sea.ipt_fromdd.dateformat = "yyyy-MM";
  1076. grp_biz.grp_sea.ipt_todd.dateformat = "yyyy-MM";
  1077. grp_biz.grp_sea.ipt_fromdd.editformat = "yyyy-MM";
  1078. grp_biz.grp_sea.ipt_todd.editformat = "yyyy-MM";
  1079. }
  1080. else if(ds_send.getColumn(0, "termflag") == "2")
  1081. {
  1082. grp_biz.grp_sea.ipt_fromdd.dateformat = "yyyy-MM-dd";
  1083. grp_biz.grp_sea.ipt_todd.dateformat = "yyyy-MM-dd";
  1084. grp_biz.grp_sea.ipt_fromdd.editformat = "yyyy-MM-dd";
  1085. grp_biz.grp_sea.ipt_todd.editformat = "yyyy-MM-dd";
  1086. }
  1087. grp_biz.grp_sea.ipt_fromdd.setFocus();
  1088. }
  1089. function grp_biz_grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  1090. {
  1091. if(ds_send.getColumn(0, "termflag") == "1" || ds_send.getColumn(0, "termflag") == "3" || ds_send.getColumn(0, "termflag") == "4")
  1092. {
  1093. var date = obj.value;
  1094. ds_send.setColumn(0, "fromdd", String(date).substr(0, 6));
  1095. ds_send.setColumn(0, "todd", String(date).substr(0, 6));
  1096. }
  1097. else if(ds_send.getColumn(0, "termflag") == "2")
  1098. {
  1099. ds_send.setColumn(0, "todd", obj.value);
  1100. }
  1101. }
  1102. function grp_biz_grp_sea_ipt_clamno_onkeyup(obj:Edit, e:KeyEventInfo)
  1103. {
  1104. if(e.keycode == 13)
  1105. {
  1106. ds_send.setColumn(0, "clamno", obj.value);
  1107. grp_biz_grp_sea_btn_search_onclick();
  1108. }
  1109. }
  1110. function grp_biz_switch1_case1_ipt_acptno_onkeyup(obj:Edit, e:KeyEventInfo)
  1111. {
  1112. if(e.keycode == "13")
  1113. {
  1114. var acptno = grp_biz.switch1.case1.ipt_acptno.value;
  1115. var cnt = 0;
  1116. if(acptno.length > 7)
  1117. {
  1118. sysf_messageBox("접수번호는 7자리","I009");
  1119. grp_biz.switch1.case1.ipt_acptno.setFocus();
  1120. return false;
  1121. }
  1122. var rows = ds_main_griddepodetl01.rowcount;
  1123. for(var i = gval_insurow; i < rows; i++)
  1124. {
  1125. if(ds_main_griddepodetl01.getColumn(i, 2) == acptno)
  1126. {
  1127. ds_main_griddepodetl01.rowposition = i;
  1128. cnt++;
  1129. gval_insurow = i+1;
  1130. return false;
  1131. }
  1132. }
  1133. if(cnt == 0)
  1134. {
  1135. sysf_messageBox("찾는 접수번호가","I004");
  1136. gval_insurow = 0;
  1137. grp_biz.switch1.case1.ipt_acptno.setFocus();
  1138. }
  1139. }
  1140. }
  1141. function grp_biz_switch1_case1_button1_onclick(obj:Button, e:ClickEventInfo)
  1142. {
  1143. ds_send.setColumn(0, "batchyn", "Y");
  1144. var oParam = {};
  1145. oParam.id = "TRPIF31403";
  1146. oParam.service = "clamuncoapp.ClamUnco";
  1147. oParam.method = "reqGetDepoDetlByInsukind";
  1148. oParam.inds = "req=ds_send";
  1149. oParam.outds = "";
  1150. oParam.async = false;
  1151. //oParam.callback = "cf_TRPIF31403";
  1152. tranf_submit(oParam);
  1153. ds_send.setColumn(0, "batchyn", "N");
  1154. }
  1155. function grp_biz_switch1_case1_button23_onclick(obj:Button, e:ClickEventInfo)
  1156. {
  1157. var todd = utlf_getCurrentDate();
  1158. var objArg = new Object();
  1159. objArg.todd = todd;
  1160. objArg.execrid = sysf_getUserId();
  1161. objArg.prgmid = "ClamDataCretMain";
  1162. frmf_modal("SPZSB00301", "SPZSB00301", objArg, "","","","","","","","","","M");
  1163. }
  1164. function grp_biz_switch1_case1_button10_onclick(obj:Button, e:ClickEventInfo)
  1165. {
  1166. col = "N";
  1167. grp_biz.switch1.case1.grd_depodetl01.selecttype = "multiarea";
  1168. }
  1169. function grp_biz_switch1_case1_button5_onclick(obj:Button, e:ClickEventInfo)
  1170. {
  1171. col = "Y";
  1172. grp_biz.switch1.case1.grd_depodetl01.selecttype = "multiarea";
  1173. }
  1174. function grp_biz_switch1_case1_button6_onclick(obj:Button, e:ClickEventInfo)
  1175. {
  1176. col = "N";
  1177. grp_biz.switch1.case1.grd_depodetl01.selecttype = "multirow";
  1178. }
  1179. function grp_biz_switch1_case1_grd_depodetl01_oncellclick(obj:Grid, e:GridClickEventInfo)
  1180. {
  1181. var lv_nAreaStartRow;
  1182. var lv_nAreaEndRow;
  1183. var lv_nAreaStartCol;
  1184. var lv_nAreaEndCol;
  1185. if(col == "Y")
  1186. {
  1187. lv_nAreaStartRow = 0;
  1188. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1189. lv_nAreaStartCol = parseInt(obj.currentcol);
  1190. lv_nAreaEndCol = parseInt(obj.currentcol);
  1191. grdf_initGridStyle(obj);
  1192. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1193. {
  1194. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1195. {
  1196. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  1197. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  1198. }
  1199. }
  1200. }
  1201. else
  1202. {
  1203. grdf_initGridStyle(obj);
  1204. }
  1205. }
  1206. function grp_biz_switch1_case1_grd_depodetl01_onkeydown(obj:Grid, e:KeyEventInfo)
  1207. {
  1208. if (e.ctrlKey == true && e.keycode == 67 )
  1209. {
  1210. if(col == "Y")
  1211. {
  1212. var CONST_SEPARATOR = " "; //컬럼별 구분자
  1213. var lv_oBindDs = eval(obj.binddataset);
  1214. var lv_sColID;
  1215. var lv_sVal;
  1216. var lv_sClipboard = "";
  1217. var lv_nAreaStartRow;
  1218. var lv_nAreaEndRow;
  1219. var lv_nAreaStartCol;
  1220. var lv_nAreaEndCol;
  1221. if(obj.selecttype == "multiarea")
  1222. {
  1223. lv_nAreaStartRow = 0;
  1224. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1225. lv_nAreaStartCol = parseInt(obj.currentcol);
  1226. lv_nAreaEndCol = parseInt(obj.currentcol);
  1227. }
  1228. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1229. {
  1230. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1231. {
  1232. lv_sColID = obj.getCellProperty("body",nCell,"text");
  1233. lv_sVal = obj.getCellValue(nRow,nCell);
  1234. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  1235. }
  1236. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1237. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  1238. }
  1239. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1240. iv_sClipboard = lv_sClipboard;
  1241. system.setClipboard("CF_TEXT",lv_sClipboard);
  1242. }
  1243. else
  1244. {
  1245. grdf_clipboardCopy(obj, "PAM");
  1246. }
  1247. }
  1248. }
  1249. function grp_biz_switch1_case1_button4_onclick(obj:Button, e:ClickEventInfo)
  1250. {
  1251. system.execShell("excel");
  1252. }
  1253. function grp_biz_switch1_case1_button3_onclick(obj:Button, e:ClickEventInfo)
  1254. {
  1255. var today = new Date();
  1256. var yy = today.getYear()+"";
  1257. var mm = today.getMonth()+1;
  1258. var dd = today.getDate();
  1259. if(mm < 10)
  1260. {
  1261. mm = "0" + mm;
  1262. }
  1263. else
  1264. {
  1265. mm = mm + "";
  1266. }
  1267. if(dd < 10)
  1268. {
  1269. dd = "0" + dd;
  1270. }
  1271. else
  1272. {
  1273. dd = dd + "";
  1274. }
  1275. var tmp = yy + mm + dd;
  1276. if(ds_main_griddepodetl01.rowcount > 0)
  1277. {
  1278. grdf_exportExcel(grp_biz.switch1.case1.grd_depodetl01, "월별진료비입금내역조회(보험)_"+tmp, "see");
  1279. }
  1280. else
  1281. {
  1282. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  1283. }
  1284. }
  1285. function grp_biz_switch1_case2_ipt_acptnomed_onkeyup(obj:Edit, e:KeyEventInfo)
  1286. {
  1287. if(e.keycode == "13")
  1288. {
  1289. var acptno = grp_biz.switch1.case2.ipt_acptnomed.value;
  1290. var cnt = 0;
  1291. if(acptno.length != 7)
  1292. {
  1293. sysf_messageBox("접수번호는 7자리","I009");
  1294. grp_biz.switch1.case2.ipt_acptnomed.setFocus();
  1295. return false;
  1296. }
  1297. var rows = ds_main_griddepodetl02.rowcount;
  1298. for(var i = gval_insumedrow; i < rows; i++)
  1299. {
  1300. if(ds_main_griddepodetl02.getColumn(i, 2) == acptno)
  1301. {
  1302. ds_main_griddepodetl02.rowposition = i;
  1303. cnt++;
  1304. gval_insumedrow = i+1;
  1305. return false;
  1306. }
  1307. }
  1308. if(cnt == 0)
  1309. {
  1310. sysf_messageBox("찾는 접수번호가","I004");
  1311. gval_insumedrow = 0;
  1312. grp_biz.switch1.case2.ipt_acptnomed.setFocus();
  1313. }
  1314. }
  1315. }
  1316. function grp_biz_switch1_case2_button12_onclick(obj:Button, e:ClickEventInfo)
  1317. {
  1318. col = "N";
  1319. grp_biz.switch1.case2.grd_depodetl02.selecttype = "multiarea";
  1320. }
  1321. function grp_biz_switch1_case2_button9_onclick(obj:Button, e:ClickEventInfo)
  1322. {
  1323. col = "Y";
  1324. grp_biz.switch1.case2.grd_depodetl02.selecttype = "multiarea";
  1325. }
  1326. function grp_biz_switch1_case2_button11_onclick(obj:Button, e:ClickEventInfo)
  1327. {
  1328. col = "N";
  1329. grp_biz.switch1.case2.grd_depodetl02.selecttype = "multirow";
  1330. }
  1331. function grp_biz_switch1_case2_grd_depodetl02_oncellclick(obj:Grid, e:GridClickEventInfo)
  1332. {
  1333. var lv_nAreaStartRow;
  1334. var lv_nAreaEndRow;
  1335. var lv_nAreaStartCol;
  1336. var lv_nAreaEndCol;
  1337. if(col == "Y")
  1338. {
  1339. lv_nAreaStartRow = 0;
  1340. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1341. lv_nAreaStartCol = parseInt(obj.currentcol);
  1342. lv_nAreaEndCol = parseInt(obj.currentcol);
  1343. grdf_initGridStyle(obj);
  1344. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1345. {
  1346. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1347. {
  1348. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  1349. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  1350. }
  1351. }
  1352. }
  1353. else
  1354. {
  1355. grdf_initGridStyle(obj);
  1356. }
  1357. }
  1358. function grp_biz_switch1_case2_grd_depodetl02_onkeydown(obj:Grid, e:KeyEventInfo)
  1359. {
  1360. if (e.ctrlKey == true && e.keycode == 67 )
  1361. {
  1362. if(col == "Y")
  1363. {
  1364. var CONST_SEPARATOR = " "; //컬럼별 구분자
  1365. var lv_oBindDs = eval(obj.binddataset);
  1366. var lv_sColID;
  1367. var lv_sVal;
  1368. var lv_sClipboard = "";
  1369. var lv_nAreaStartRow;
  1370. var lv_nAreaEndRow;
  1371. var lv_nAreaStartCol;
  1372. var lv_nAreaEndCol;
  1373. if(obj.selecttype == "multiarea")
  1374. {
  1375. lv_nAreaStartRow = 0;
  1376. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1377. lv_nAreaStartCol = parseInt(obj.currentcol);
  1378. lv_nAreaEndCol = parseInt(obj.currentcol);
  1379. }
  1380. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1381. {
  1382. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1383. {
  1384. lv_sColID = obj.getCellProperty("body",nCell,"text");
  1385. lv_sVal = obj.getCellValue(nRow,nCell);
  1386. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  1387. }
  1388. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1389. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  1390. }
  1391. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1392. iv_sClipboard = lv_sClipboard;
  1393. system.setClipboard("CF_TEXT",lv_sClipboard);
  1394. }
  1395. else
  1396. {
  1397. grdf_clipboardCopy(obj, "PAM");
  1398. }
  1399. }
  1400. }
  1401. function grp_biz_switch1_case2_button8_onclick(obj:Button, e:ClickEventInfo)
  1402. {
  1403. system.execShell("excel");
  1404. }
  1405. function grp_biz_switch1_case2_button7_onclick(obj:Button, e:ClickEventInfo)
  1406. {
  1407. var today = new Date();
  1408. var yy = today.getYear()+"";
  1409. var mm = today.getMonth()+1;
  1410. var dd = today.getDate();
  1411. if(mm < 10)
  1412. {
  1413. mm = "0" + mm;
  1414. }
  1415. else
  1416. {
  1417. mm = mm + "";
  1418. }
  1419. if(dd < 10)
  1420. {
  1421. dd = "0" + dd;
  1422. }
  1423. else
  1424. {
  1425. dd = dd + "";
  1426. }
  1427. var tmp = yy + mm + dd;
  1428. if(ds_main_griddepodetl02.rowcount > 0)
  1429. {
  1430. grdf_exportExcel(grp_biz.switch1.case2.grd_depodetl02, "월별진료비입금내역조회(보호)_"+tmp, "see");
  1431. }
  1432. else
  1433. {
  1434. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  1435. }
  1436. }
  1437. function grp_biz_switch1_case3_button17_onclick(obj:Button, e:ClickEventInfo)
  1438. {
  1439. col = "N";
  1440. grp_biz.switch1.case2.grd_depodetl02.selecttype = "multiarea";
  1441. }
  1442. function grp_biz_switch1_case3_button15_onclick(obj:Button, e:ClickEventInfo)
  1443. {
  1444. col = "Y";
  1445. grp_biz.switch1.case2.grd_depodetl02.selecttype = "multiarea";
  1446. }
  1447. function grp_biz_switch1_case3_button16_onclick(obj:Button, e:ClickEventInfo)
  1448. {
  1449. col = "N";
  1450. grp_biz.switch1.case2.grd_depodetl02.selecttype = "multirow";
  1451. }
  1452. function grp_biz_switch1_case3_button14_onclick(obj:Button, e:ClickEventInfo)
  1453. {
  1454. system.execShell("excel");
  1455. }
  1456. function grp_biz_switch1_case3_button13_onclick(obj:Button, e:ClickEventInfo)
  1457. {
  1458. var today = new Date();
  1459. var yy = today.getYear()+"";
  1460. var mm = today.getMonth()+1;
  1461. var dd = today.getDate();
  1462. if(mm < 10)
  1463. {
  1464. mm = "0" + mm;
  1465. }
  1466. else
  1467. {
  1468. mm = mm + "";
  1469. }
  1470. if(dd < 10)
  1471. {
  1472. dd = "0" + dd;
  1473. }
  1474. else
  1475. {
  1476. dd = dd + "";
  1477. }
  1478. var tmp = yy + mm + dd;
  1479. if(ds_main_griddepodetl03.rowcount > 0)
  1480. {
  1481. grdf_exportExcel(grp_biz.switch1.case3.grd_depodetl03, "월별진료비입금내역조회(산재)_"+tmp, "see");
  1482. }
  1483. else
  1484. {
  1485. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  1486. }
  1487. }
  1488. function grp_biz_switch1_case3_grd_depodetl03_oncellclick(obj:Grid, e:GridClickEventInfo)
  1489. {
  1490. var lv_nAreaStartRow;
  1491. var lv_nAreaEndRow;
  1492. var lv_nAreaStartCol;
  1493. var lv_nAreaEndCol;
  1494. if(col == "Y")
  1495. {
  1496. lv_nAreaStartRow = 0;
  1497. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1498. lv_nAreaStartCol = parseInt(obj.currentcol);
  1499. lv_nAreaEndCol = parseInt(obj.currentcol);
  1500. grdf_initGridStyle(obj);
  1501. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1502. {
  1503. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1504. {
  1505. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  1506. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  1507. }
  1508. }
  1509. }
  1510. else
  1511. {
  1512. grdf_initGridStyle(obj);
  1513. }
  1514. }
  1515. function grp_biz_switch1_case3_grd_depodetl03_onkeydown(obj:Grid, e:KeyEventInfo)
  1516. {
  1517. if (e.ctrlKey == true && e.keycode == 67 )
  1518. {
  1519. if(col == "Y")
  1520. {
  1521. var CONST_SEPARATOR = " "; //컬럼별 구분자
  1522. var lv_oBindDs = eval(obj.binddataset);
  1523. var lv_sColID;
  1524. var lv_sVal;
  1525. var lv_sClipboard = "";
  1526. var lv_nAreaStartRow;
  1527. var lv_nAreaEndRow;
  1528. var lv_nAreaStartCol;
  1529. var lv_nAreaEndCol;
  1530. if(obj.selecttype == "multiarea")
  1531. {
  1532. lv_nAreaStartRow = 0;
  1533. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1534. lv_nAreaStartCol = parseInt(obj.currentcol);
  1535. lv_nAreaEndCol = parseInt(obj.currentcol);
  1536. }
  1537. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1538. {
  1539. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1540. {
  1541. lv_sColID = obj.getCellProperty("body",nCell,"text");
  1542. lv_sVal = obj.getCellValue(nRow,nCell);
  1543. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  1544. }
  1545. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1546. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  1547. }
  1548. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1549. iv_sClipboard = lv_sClipboard;
  1550. system.setClipboard("CF_TEXT",lv_sClipboard);
  1551. }
  1552. else
  1553. {
  1554. grdf_clipboardCopy(obj, "PAM");
  1555. }
  1556. }
  1557. }
  1558. function grp_biz_switch1_case4_grd_depodetl04_oncellclick(obj:Grid, e:GridClickEventInfo)
  1559. {
  1560. var lv_nAreaStartRow;
  1561. var lv_nAreaEndRow;
  1562. var lv_nAreaStartCol;
  1563. var lv_nAreaEndCol;
  1564. if(col == "Y")
  1565. {
  1566. lv_nAreaStartRow = 0;
  1567. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1568. lv_nAreaStartCol = parseInt(obj.currentcol);
  1569. lv_nAreaEndCol = parseInt(obj.currentcol);
  1570. grdf_initGridStyle(obj);
  1571. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1572. {
  1573. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1574. {
  1575. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  1576. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  1577. }
  1578. }
  1579. }
  1580. else
  1581. {
  1582. grdf_initGridStyle(obj);
  1583. }
  1584. }
  1585. function grp_biz_switch1_case4_grd_depodetl04_onkeydown(obj:Grid, e:KeyEventInfo)
  1586. {
  1587. if (e.ctrlKey == true && e.keycode == 67 )
  1588. {
  1589. if(col == "Y")
  1590. {
  1591. var CONST_SEPARATOR = " "; //컬럼별 구분자
  1592. var lv_oBindDs = eval(obj.binddataset);
  1593. var lv_sColID;
  1594. var lv_sVal;
  1595. var lv_sClipboard = "";
  1596. var lv_nAreaStartRow;
  1597. var lv_nAreaEndRow;
  1598. var lv_nAreaStartCol;
  1599. var lv_nAreaEndCol;
  1600. if(obj.selecttype == "multiarea")
  1601. {
  1602. lv_nAreaStartRow = 0;
  1603. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1604. lv_nAreaStartCol = parseInt(obj.currentcol);
  1605. lv_nAreaEndCol = parseInt(obj.currentcol);
  1606. }
  1607. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1608. {
  1609. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1610. {
  1611. lv_sColID = obj.getCellProperty("body",nCell,"text");
  1612. lv_sVal = obj.getCellValue(nRow,nCell);
  1613. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  1614. }
  1615. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1616. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  1617. }
  1618. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1619. iv_sClipboard = lv_sClipboard;
  1620. system.setClipboard("CF_TEXT",lv_sClipboard);
  1621. }
  1622. else
  1623. {
  1624. grdf_clipboardCopy(obj, "PAM");
  1625. }
  1626. }
  1627. }
  1628. function grp_biz_switch1_case5_input1_onkeyup(obj:Edit, e:KeyEventInfo)
  1629. {
  1630. if(e.keycode == "13")
  1631. {
  1632. var acptno = grp_biz.switch1.case5.input1.value;
  1633. var cnt = 0;
  1634. if(acptno.length != 7)
  1635. {
  1636. sysf_messageBox("접수번호는 7자리","I009");
  1637. grp_biz.switch1.case5.input1.setFocus();
  1638. return false;
  1639. }
  1640. var rows = ds_main_griddepodetl05.rowcount;
  1641. for(var i = gval_insumedrow; i < rows; i++)
  1642. {
  1643. if(ds_main_griddepodetl05.getColumn(i, 2) == acptno)
  1644. {
  1645. ds_main_griddepodetl05.rowposition = i;
  1646. cnt++;
  1647. gval_insumedrow = i+1;
  1648. return false;
  1649. }
  1650. }
  1651. if(cnt == 0)
  1652. {
  1653. sysf_messageBox("찾는 접수번호가","I004");
  1654. gval_insumedrow = 0;
  1655. grp_biz.switch1.case5.input1.setFocus();
  1656. }
  1657. }
  1658. }
  1659. function grp_biz_switch1_case5_btn_etccellcopy_onclick(obj:Button, e:ClickEventInfo)
  1660. {
  1661. col = "N";
  1662. grp_biz.switch1.case5.grd_depodetl05.selecttype = "multiarea";
  1663. }
  1664. function grp_biz_switch1_case5_btn_etccolcopy_onclick(obj:Button, e:ClickEventInfo)
  1665. {
  1666. col = "Y";
  1667. grp_biz.switch1.case5.grd_depodetl05.selecttype = "multiarea";
  1668. }
  1669. function grp_biz_switch1_case5_btn_etcrowcopy_onclick(obj:Button, e:ClickEventInfo)
  1670. {
  1671. col = "N";
  1672. grp_biz.switch1.case5.grd_depodetl05.selecttype = "multirow";
  1673. }
  1674. function grp_biz_switch1_case5_btn_etcopenexcel_onclick(obj:Button, e:ClickEventInfo)
  1675. {
  1676. system.execShell("excel");
  1677. }
  1678. function grp_biz_switch1_case5_btn_etcexcel_onclick(obj:Button, e:ClickEventInfo)
  1679. {
  1680. var today = new Date();
  1681. var yy = today.getYear()+"";
  1682. var mm = today.getMonth()+1;
  1683. var dd = today.getDate();
  1684. if(mm < 10)
  1685. {
  1686. mm = "0" + mm;
  1687. }
  1688. else
  1689. {
  1690. mm = mm + "";
  1691. }
  1692. if(dd < 10)
  1693. {
  1694. dd = "0" + dd;
  1695. }
  1696. else
  1697. {
  1698. dd = dd + "";
  1699. }
  1700. var tmp = yy + mm + dd;
  1701. if(ds_main_griddepodetl05.rowcount > 0)
  1702. {
  1703. grdf_exportExcel(grp_biz.switch1.case5.grd_depodetl05, "월별진료비입금내역조회(산재기타)_"+tmp, "see");
  1704. }
  1705. else
  1706. {
  1707. sysf_messageBox("엑셀저장할 내역이", "I004");
  1708. }
  1709. }
  1710. function grp_biz_switch1_case4_button21_onclick(obj:Button, e:ClickEventInfo)
  1711. {
  1712. var today = new Date();
  1713. var yy = today.getYear()+"";
  1714. var mm = today.getMonth()+1;
  1715. var dd = today.getDate();
  1716. if(mm < 10)
  1717. {
  1718. mm = "0" + mm;
  1719. }
  1720. else
  1721. {
  1722. mm = mm + "";
  1723. }
  1724. if(dd < 10)
  1725. {
  1726. dd = "0" + dd;
  1727. }
  1728. else
  1729. {
  1730. dd = dd + "";
  1731. }
  1732. var tmp = yy + mm + dd;
  1733. if(ds_main_griddepodetl04.rowcount > 0)
  1734. {
  1735. grdf_exportExcel(grp_biz.switch1.case4.grd_depodetl04, "월별진료비입금내역조회(자보)_"+tmp, "see");
  1736. }
  1737. else
  1738. {
  1739. sysf_messageBox("엑셀저장할 내역이", "I004");
  1740. }
  1741. }
  1742. function grp_biz_switch1_case4_button22_onclick(obj:Button, e:ClickEventInfo)
  1743. {
  1744. var today = new Date();
  1745. var yy = today.getYear()+"";
  1746. var mm = today.getMonth()+1;
  1747. var dd = today.getDate();
  1748. if(mm < 10)
  1749. {
  1750. mm = "0" + mm;
  1751. }
  1752. else
  1753. {
  1754. mm = mm + "";
  1755. }
  1756. if(dd < 10)
  1757. {
  1758. dd = "0" + dd;
  1759. }
  1760. else
  1761. {
  1762. dd = dd + "";
  1763. }
  1764. var tmp = yy + mm + dd;
  1765. if(ds_main_griddepodetl04.rowcount > 0)
  1766. {
  1767. grdf_exportExcel(grp_biz.switch1.case4.grd_depodetl04, "월별진료비입금내역조회(자보)_"+tmp, "see");
  1768. }
  1769. else
  1770. {
  1771. sysf_messageBox("엑셀저장할 내역이", "I004");
  1772. }
  1773. }
  1774. function grp_biz_switch1_case4_button19_onclick(obj:Button, e:ClickEventInfo)
  1775. {
  1776. col = "N";
  1777. grp_biz.switch1.case4.grd_depodetl04.selecttype = "multirow";
  1778. }
  1779. function grp_biz_switch1_case4_button18_onclick(obj:Button, e:ClickEventInfo)
  1780. {
  1781. col = "Y";
  1782. grp_biz.switch1.case4.grd_depodetl04.selecttype = "multiarea";
  1783. }
  1784. function grp_biz_switch1_case4_button20_onclick(obj:Button, e:ClickEventInfo)
  1785. {
  1786. col = "N";
  1787. grp_biz.switch1.case4.grd_depodetl04.selecttype = "multiarea";
  1788. }
  1789. //출력
  1790. function grp_biz_button24_onclick(obj:Button, e:ClickEventInfo)
  1791. {
  1792. if(grp_biz.grp_sea.rdo_insukind.value == "11")
  1793. {
  1794. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1795. rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepodetl01", ds_main_griddepodetl01);
  1796. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  1797. var objParam = new Object();
  1798. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1799. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  1800. rptf_exeReportPreview30(["RPPIF31400"],[objParam], option);
  1801. }
  1802. else if(grp_biz.grp_sea.rdo_insukind.value == "21")
  1803. {
  1804. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1805. rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepodetl02", ds_main_griddepodetl02);
  1806. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  1807. var objParam = new Object();
  1808. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1809. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  1810. rptf_exeReportPreview30(["RPPIF31401"],[objParam], option);
  1811. }
  1812. else if(grp_biz.grp_sea.rdo_insukind.value == "31")
  1813. {
  1814. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1815. rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepodetl04", ds_main_griddepodetl04);
  1816. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  1817. var objParam = new Object();
  1818. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1819. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  1820. rptf_exeReportPreview30(["RPPIF31402"],[objParam], option);
  1821. }
  1822. else if(grp_biz.grp_sea.rdo_insukind.value == "41")
  1823. {
  1824. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1825. rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepodetl03", ds_main_griddepodetl03);
  1826. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  1827. var objParam = new Object();
  1828. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1829. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  1830. rptf_exeReportPreview30(["RPPIF31403"],[objParam], option);
  1831. }
  1832. else if(grp_biz.grp_sea.rdo_insukind.value == "51")
  1833. {
  1834. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1835. rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepodetl05", ds_main_griddepodetl05);
  1836. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  1837. var objParam = new Object();
  1838. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1839. var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
  1840. rptf_exeReportPreview30(["RPPIF31404"],[objParam], option);
  1841. }
  1842. }
  1843. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
  1844. {
  1845. ds_send.clearData();
  1846. ds_send.addRow();
  1847. ds_main_griddepodetl01.clearData();
  1848. ds_main_griddepodetl02.clearData();
  1849. ds_main_griddepodetl03.clearData();
  1850. ds_main_griddepodetl04.clearData();
  1851. ds_main_griddepodetl05.clearData();
  1852. }
  1853. function grp_biz_switch1_case5_grd_depodetl05_oncellclick(obj:Grid, e:GridClickEventInfo)
  1854. {
  1855. var lv_nAreaStartRow;
  1856. var lv_nAreaEndRow;
  1857. var lv_nAreaStartCol;
  1858. var lv_nAreaEndCol;
  1859. if(col == "Y")
  1860. {
  1861. lv_nAreaStartRow = 0;
  1862. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1863. lv_nAreaStartCol = parseInt(obj.currentcol);
  1864. lv_nAreaEndCol = parseInt(obj.currentcol);
  1865. grdf_initGridStyle(obj);
  1866. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1867. {
  1868. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1869. {
  1870. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  1871. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  1872. }
  1873. }
  1874. }
  1875. else
  1876. {
  1877. grdf_initGridStyle(obj);
  1878. }
  1879. }
  1880. function grp_biz_switch1_case5_grd_depodetl05_onkeydown(obj:Grid, e:KeyEventInfo)
  1881. {
  1882. if (e.ctrlKey == true && e.keycode == 67 )
  1883. {
  1884. if(col == "Y")
  1885. {
  1886. var CONST_SEPARATOR = " "; //컬럼별 구분자
  1887. var lv_oBindDs = eval(obj.binddataset);
  1888. var lv_sColID;
  1889. var lv_sVal;
  1890. var lv_sClipboard = "";
  1891. var lv_nAreaStartRow;
  1892. var lv_nAreaEndRow;
  1893. var lv_nAreaStartCol;
  1894. var lv_nAreaEndCol;
  1895. if(obj.selecttype == "multiarea")
  1896. {
  1897. lv_nAreaStartRow = 0;
  1898. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  1899. lv_nAreaStartCol = parseInt(obj.currentcol);
  1900. lv_nAreaEndCol = parseInt(obj.currentcol);
  1901. }
  1902. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  1903. {
  1904. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  1905. {
  1906. lv_sColID = obj.getCellProperty("body",nCell,"text");
  1907. lv_sVal = obj.getCellValue(nRow,nCell);
  1908. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  1909. }
  1910. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1911. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  1912. }
  1913. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  1914. iv_sClipboard = lv_sClipboard;
  1915. system.setClipboard("CF_TEXT",lv_sClipboard);
  1916. }
  1917. else
  1918. {
  1919. grdf_clipboardCopy(obj, "PAM");
  1920. }
  1921. }
  1922. }
  1923. ]]></Script>
  1924. </Form>
  1925. </FDL>