SMPIF40200_청구및입금내역조회(보험장부).xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF40200" position="absolute 0 0 1208 770" titletext="청구및입금내역조회(보험장부)" oninit="SMPIF40200_oninit" onload="SMPIF40200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 13 1196 765" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 11 1194 46" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Button position="absolute 1123 7 1179 29" id="button1" class="btn1" taborder="3" text="조회" anchor="top right" onclick="grp_biz_grp_sea_button1_onclick"/>
  14. <Shape position="absolute 1105 7 1111 29" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  15. <Static text="내원유형 :" position="absolute 437 10 530 27" id="caption4" class="search_name" anchor="default"/>
  16. <Radio position="absolute 517 6 666 29" id="radio2" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  17. <Dataset id="innerdataset">
  18. <ColumnInfo>
  19. <Column id="codecolumn"/>
  20. <Column id="datacolumn"/>
  21. </ColumnInfo>
  22. <Rows>
  23. <Row>
  24. <Col id="codecolumn">A</Col>
  25. <Col id="datacolumn">전체</Col>
  26. </Row>
  27. <Row>
  28. <Col id="codecolumn">O</Col>
  29. <Col id="datacolumn">외래</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">I</Col>
  33. <Col id="datacolumn">입원</Col>
  34. </Row>
  35. </Rows>
  36. </Dataset>
  37. </Radio>
  38. <Static text="구분 :" position="absolute 15 10 75 27" id="caption11" class="search_name" anchor="default"/>
  39. <Radio position="absolute 68 6 183 29" id="rdo_termflag" class="radio_search" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_grp_sea_rdo_termflag_onitemchanged">
  40. <Dataset id="innerdataset">
  41. <ColumnInfo>
  42. <Column id="codecolumn"/>
  43. <Column id="datacolumn"/>
  44. </ColumnInfo>
  45. <Rows>
  46. <Row>
  47. <Col id="codecolumn">clamym</Col>
  48. <Col id="datacolumn">청구월</Col>
  49. </Row>
  50. <Row>
  51. <Col id="codecolumn">uncoym</Col>
  52. <Col id="datacolumn">미수월</Col>
  53. </Row>
  54. </Rows>
  55. </Dataset>
  56. </Radio>
  57. <Static text="~" position="absolute 298 9 310 26" id="caption2" class="search_no_b" anchor="default"/>
  58. <cp_monthCal id="ipt_fromdd" titletext="monthCalendar" taborder="4" text="cp_monthCal00" scrollbars="none" position="absolute 202 7 285 30" anchor="default"/>
  59. <cp_monthCal id="ipt_todd" titletext="monthCalendar" taborder="5" text="cp_monthCal01" scrollbars="none" position="absolute 322 7 397 29" anchor="default"/>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. <Static text="청구 및 입금 내역 목록" position="absolute 0 55 162 77" id="caption1" class="tit_2" anchor="default"/>
  64. <Shape position="absolute 0 71 1194 77" linetype="horizontal" id="line1" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  65. <Grid position="absolute 0 76 1194 745" id="grd_clamdepospeclist" class="datagrid2" binddataset="ds_main_clamdepospeclist" anchor="all" oncellclick="grp_biz_grd_clamdepospeclist_oncellclick" onkeydown="grp_biz_grd_clamdepospeclist_onkeydown" cellsizingtype="col">
  66. <Formats>
  67. <Format id="default">
  68. <Columns>
  69. <Column size="22"/>
  70. <Column size="60"/>
  71. <Column size="60"/>
  72. <Column size="85"/>
  73. <Column size="60"/>
  74. <Column size="40"/>
  75. <Column size="40"/>
  76. <Column size="80"/>
  77. <Column size="70"/>
  78. <Column size="50"/>
  79. <Column size="95"/>
  80. <Column size="95"/>
  81. <Column size="90"/>
  82. <Column size="80"/>
  83. <Column size="75"/>
  84. <Column size="80"/>
  85. <Column size="75"/>
  86. <Column size="95"/>
  87. <Column size="80"/>
  88. <Column size="100"/>
  89. <Column size="45"/>
  90. <Column size="95"/>
  91. <Column size="90"/>
  92. <Column size="90"/>
  93. <Column size="90"/>
  94. <Column size="90"/>
  95. <Column size="90"/>
  96. <Column size="90"/>
  97. <Column size="90"/>
  98. <Column size="50"/>
  99. <Column size="90"/>
  100. <Column size="55"/>
  101. <Column size="90"/>
  102. <Column size="90"/>
  103. <Column size="90"/>
  104. <Column size="45"/>
  105. <Column size="90"/>
  106. <Column size="90"/>
  107. <Column size="90"/>
  108. <Column size="55"/>
  109. <Column size="90"/>
  110. <Column size="90"/>
  111. <Column size="90"/>
  112. <Column size="90"/>
  113. <Column size="5"/>
  114. <Column size="5"/>
  115. </Columns>
  116. <Rows>
  117. <Row size="32" band="head"/>
  118. <Row size="24"/>
  119. </Rows>
  120. <Band id="head">
  121. <Cell/>
  122. <Cell col="1" text="청구월"/>
  123. <Cell col="2" text="미수월"/>
  124. <Cell col="3" text="내원유형"/>
  125. <Cell col="4" text="청구형태"/>
  126. <Cell col="5" text="차수"/>
  127. <Cell col="6" text="분야"/>
  128. <Cell col="7" text="접수번호"/>
  129. <Cell col="8" text="접수일자"/>
  130. <Cell col="9" text="건수"/>
  131. <Cell col="10" text="총진료비"/>
  132. <Cell col="11" text="청구액"/>
  133. <Cell col="12" text="상한액"/>
  134. <Cell col="13" text="지원금"/>
  135. <Cell col="14" text="장애인금"/>
  136. <Cell col="15" text="심사차수"/>
  137. <Cell col="16" text="통장&#10;입금일자"/>
  138. <Cell col="17" text="통장입금액"/>
  139. <Cell col="18" text="명칭구분"/>
  140. <Cell col="19" text="비고"/>
  141. <Cell col="20" text="심결&#10;건수"/>
  142. <Cell col="21" text="심사결정액"/>
  143. <Cell col="22" text="심결상한액"/>
  144. <Cell col="23" text="심결지원금"/>
  145. <Cell col="24" text="심결장애인"/>
  146. <Cell col="25" text="환수예정액"/>
  147. <Cell col="26" text="환수금"/>
  148. <Cell col="27" text="지급반송액"/>
  149. <Cell col="28" text="실삭감액"/>
  150. <Cell col="29" text="삭감율"/>
  151. <Cell col="30" text="결손액"/>
  152. <Cell col="31" text="심사보류&#10;건수"/>
  153. <Cell col="32" text="심사보류&#10;총진료비"/>
  154. <Cell col="33" text="심사보류액"/>
  155. <Cell col="34" text="심사보류&#10;장애인"/>
  156. <Cell col="35" text="반송&#10;건수"/>
  157. <Cell col="36" text="반송&#10;총진료비"/>
  158. <Cell col="37" text="반송액"/>
  159. <Cell col="38" text="반송장애인"/>
  160. <Cell col="39" text="주민보류&#10;건수"/>
  161. <Cell col="40" text="주민보류&#10;총진료비"/>
  162. <Cell col="41" text="주민보류액"/>
  163. <Cell col="42" text="주민보류&#10;장애인"/>
  164. <Cell col="43" text="미수금"/>
  165. <Cell col="44"/>
  166. <Cell col="45"/>
  167. </Band>
  168. <Band id="body">
  169. <Cell celltype="head" expr="currow+1"/>
  170. <Cell col="1" displaytype="expr:utlf_isNull(clamym) ? 'nomal' : 'date'" text="bind:clamym" mask="expr:utlf_isNull(clamym) ? '' : 'yyyy-MM'" enable="true"/>
  171. <Cell col="2" displaytype="expr:utlf_isNull(uncoym) ? 'nomal' : 'date'" text="bind:uncoym" mask="expr:utlf_isNull(uncoym) ? '' : 'yyyy-MM'" enable="true"/>
  172. <Cell col="3" text="bind:ioflag" enable="true"/>
  173. <Cell col="4" text="bind:clamflag" enable="true"/>
  174. <Cell col="5" text="bind:clamdg" enable="true"/>
  175. <Cell col="6" text="bind:ordfildcd" enable="true"/>
  176. <Cell col="7" text="bind:acptno" enable="true"/>
  177. <Cell col="8" displaytype="expr:utlf_isNull(acptdd) ? 'nomal' : 'date'" text="bind:acptdd" mask="expr:utlf_isNull(acptdd) ? '' : 'yyyy-MM-dd'"/>
  178. <Cell col="9" displaytype="number" text="bind:clcnt"/>
  179. <Cell col="10" displaytype="number" text="bind:clmcstotamt"/>
  180. <Cell col="11" displaytype="number" text="bind:clclamamt"/>
  181. <Cell col="12" displaytype="number" text="bind:clownbmaxexamt"/>
  182. <Cell col="13" displaytype="number" text="bind:clsuppamt"/>
  183. <Cell col="14" displaytype="number" text="bind:clhandicaprfund"/>
  184. <Cell col="15" text="bind:judgdg"/>
  185. <Cell col="16" displaytype="date" text="bind:depodd" mask="yyyy-MM-dd"/>
  186. <Cell col="17" displaytype="number" text="bind:depoamt"/>
  187. <Cell col="18" text="bind:depoflag"/>
  188. <Cell col="19" text="bind:rem"/>
  189. <Cell col="20" displaytype="number" text="bind:jrdecicnt"/>
  190. <Cell col="21" displaytype="number" text="bind:jrdeciamt"/>
  191. <Cell col="22" displaytype="number" text="bind:jrownbmaxexamtamt"/>
  192. <Cell col="23" displaytype="number" text="bind:jrsuppamt"/>
  193. <Cell col="24" displaytype="number" text="bind:jrhandicaprfund"/>
  194. <Cell col="25" displaytype="number" text="bind:rtnscheamt"/>
  195. <Cell col="26" displaytype="number" text="bind:rtnamt"/>
  196. <Cell col="27" displaytype="number" text="bind:paysendamt"/>
  197. <Cell col="28" displaytype="number" text="bind:realcutamt"/>
  198. <Cell col="29" text="bind:realcutrate"/>
  199. <Cell col="30" displaytype="number" text="bind:lostamt"/>
  200. <Cell col="31" displaytype="number" text="bind:retecnt"/>
  201. <Cell col="32" displaytype="number" text="bind:retemcstotamt"/>
  202. <Cell col="33" displaytype="number" text="bind:reteclamamt"/>
  203. <Cell col="34" displaytype="number" text="bind:reteclhandicapamt"/>
  204. <Cell col="35" displaytype="number" text="bind:sendcnt"/>
  205. <Cell col="36" displaytype="number" text="bind:sendmcstotamt"/>
  206. <Cell col="37" displaytype="number" text="bind:sendclamamt"/>
  207. <Cell col="38" displaytype="number" text="bind:sendclhandicapamt"/>
  208. <Cell col="39" displaytype="number" text="bind:rrgstnoretecnt"/>
  209. <Cell col="40" displaytype="number" text="bind:rrgstnoretemcstotamt"/>
  210. <Cell col="41" displaytype="number" text="bind:rrgstnoreteclamamt"/>
  211. <Cell col="42" displaytype="number" text="bind:rrgstnoreteclhandicapamt"/>
  212. <Cell col="43" displaytype="number" text="bind:uncoamt" mask="9,999"/>
  213. <Cell col="44" text="bind:acptnohidn"/>
  214. <Cell col="45" text="bind:ioflaghidn"/>
  215. </Band>
  216. </Format>
  217. </Formats>
  218. </Grid>
  219. <Button position="absolute 1019 52 1113 71" id="button7" class="btn7" text="Open Excel" anchor="top right" onclick="grp_biz_button7_onclick"/>
  220. <Button position="absolute 911 52 964 71" id="button10" class="btn2" text="열카피" anchor="top right" onclick="grp_biz_button10_onclick"/>
  221. <Button position="absolute 965 52 1018 71" id="button11" class="btn2" text="행카피" anchor="top right" onclick="grp_biz_button11_onclick"/>
  222. <Button position="absolute 1114 52 1194 71" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button12_onclick"/>
  223. <Button position="absolute 857 52 910 71" id="button13" class="btn2" text="셀카피" anchor="top right" onclick="grp_biz_button13_onclick"/>
  224. </Layout>
  225. </Layouts>
  226. </Div>
  227. <Static id="caption6" text="청구 및 입금내역 조회(보험장부)" class="tit_1" position="absolute 1 0 249 23"/>
  228. </Layout>
  229. </Layouts>
  230. <Objects>
  231. <Dataset id="ds_main_clamdepospeclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  232. <ColumnInfo>
  233. <Column id="clamym" type="STRING"/>
  234. <Column id="uncoym" type="STRING"/>
  235. <Column id="ioflag" type="STRING"/>
  236. <Column id="clamflag" type="STRING"/>
  237. <Column id="clamdg" type="STRING"/>
  238. <Column id="ordfildcd" type="STRING"/>
  239. <Column id="acptno" type="STRING"/>
  240. <Column id="acptdd" type="STRING"/>
  241. <Column id="clcnt" type="STRING"/>
  242. <Column id="clmcstotamt" type="STRING"/>
  243. <Column id="clclamamt" type="STRING"/>
  244. <Column id="clownbmaxexamt" type="STRING"/>
  245. <Column id="clsuppamt" type="STRING"/>
  246. <Column id="clhandicaprfund" type="STRING"/>
  247. <Column id="judgdg" type="STRING"/>
  248. <Column id="depodd" type="STRING"/>
  249. <Column id="depoamt" type="STRING"/>
  250. <Column id="depoflag" type="STRING"/>
  251. <Column id="rem" type="STRING"/>
  252. <Column id="jrdecicnt" type="STRING"/>
  253. <Column id="jrdeciamt" type="STRING"/>
  254. <Column id="jrownbmaxexamtamt" type="STRING"/>
  255. <Column id="jrsuppamt" type="STRING"/>
  256. <Column id="jrhandicaprfund" type="STRING"/>
  257. <Column id="rtnscheamt" type="STRING"/>
  258. <Column id="rtnamt" type="STRING"/>
  259. <Column id="paysendamt" type="STRING"/>
  260. <Column id="realcutamt" type="STRING"/>
  261. <Column id="realcutrate" type="STRING"/>
  262. <Column id="lostamt" type="STRING"/>
  263. <Column id="retecnt" type="STRING"/>
  264. <Column id="retemcstotamt" type="STRING"/>
  265. <Column id="reteclamamt" type="STRING"/>
  266. <Column id="reteclhandicapamt" type="STRING"/>
  267. <Column id="sendcnt" type="STRING"/>
  268. <Column id="sendmcstotamt" type="STRING"/>
  269. <Column id="sendclamamt" type="STRING"/>
  270. <Column id="sendclhandicapamt" type="STRING"/>
  271. <Column id="rrgstnoretecnt" type="STRING"/>
  272. <Column id="rrgstnoretemcstotamt" type="STRING"/>
  273. <Column id="rrgstnoreteclamamt" type="STRING"/>
  274. <Column id="rrgstnoreteclhandicapamt" type="STRING"/>
  275. <Column id="uncoamt" type="STRING"/>
  276. <Column id="acptnohidn" type="STRING"/>
  277. <Column id="ioflaghidn" type="STRING"/>
  278. </ColumnInfo>
  279. </Dataset>
  280. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  281. <ColumnInfo>
  282. <Column id="termflag" type="STRING" size="256"/>
  283. <Column id="fromdd" type="STRING" size="256"/>
  284. <Column id="todd" type="STRING" size="256"/>
  285. <Column id="ioflag" type="STRING" size="256"/>
  286. </ColumnInfo>
  287. <Rows>
  288. <Row>
  289. <Col id="termflag">clamym</Col>
  290. <Col id="fromdd"/>
  291. <Col id="todd"/>
  292. <Col id="ioflag">A</Col>
  293. </Row>
  294. </Rows>
  295. </Dataset>
  296. </Objects>
  297. <Bind>
  298. <BindItem id="item0" compid="grp_biz.grp_sea.rdo_termflag" propid="value" datasetid="ds_send" columnid="termflag"/>
  299. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_fromdd" propid="text" datasetid="ds_send" columnid="fromdd"/>
  300. <BindItem id="item2" compid="grp_biz.grp_sea.ipt_todd" propid="text" datasetid="ds_send" columnid="todd"/>
  301. <BindItem id="item3" compid="grp_biz.grp_sea.radio2" propid="value" datasetid="ds_send" columnid="ioflag"/>
  302. </Bind>
  303. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  304. * System Name :
  305. * Job Name :
  306. * Creator :
  307. * Make Date : 2016-05-24
  308. * Description :
  309. *---------------------------------------------------------------------------------------
  310. * Modify Date Modifier Modify Description
  311. *---------------------------------------------------------------------------------------
  312. * 2016-05-24 Live Converter TF->XP
  313. *
  314. *---------------------------------------------------------------------------------------
  315. ****************************************************************************************/
  316. include "com_commonxp::comm_main.xjs";
  317. include "pam_pamcomnxp::PAM001.xjs";
  318. include "pam_pamcomnxp::PAM.xjs";
  319. var col = "N";
  320. function SMPIF40200_oninit(obj:Form, e:InitEventInfo)
  321. {
  322. frmf_initForm(obj);
  323. }
  324. function SMPIF40200_onload(obj:Form, e:LoadEventInfo)
  325. {
  326. grp_biz.grp_sea.ipt_fromdd.setCallEvent("fn_cp_monthCal00");
  327. grp_biz.grp_sea.ipt_todd.setCallEvent("fn_cp_monthCal01");
  328. ds_send.setColumn(0, "fromdd", String(utlf_getCurrentDate()).substr(0,6));
  329. ds_send.setColumn(0, "todd", String(utlf_getCurrentDate()).substr(0,6));
  330. }
  331. function fn_cp_monthCal00()
  332. {
  333. var month = grp_biz.grp_sea.ipt_fromdd.getData();
  334. ds_send.setColumn(0, "fromdd", month);
  335. ds_send.setColumn(0, "todd", month);
  336. grp_biz.grp_sea.ipt_todd.setData(month);
  337. }
  338. function fn_cp_monthCal01()
  339. {
  340. var month = grp_biz.grp_sea.ipt_todd.getData();
  341. ds_send.setColumn(0, "todd", month);
  342. }
  343. function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  344. {
  345. if(utlf_isNull(ds_send.getColumn(0, "fromdd")))
  346. {
  347. sysf_messageBox("시작일을","C001");
  348. grp_biz.grp_sea.ipt_fromdd.setFocus();
  349. return false;
  350. }
  351. var oParam = {};
  352. oParam.id = "TRPIF40201";
  353. oParam.service = "clamuncoapp.ClamUnco";
  354. oParam.method = "reqGetClamDepoSpecBooks";
  355. oParam.inds = "req=ds_send";
  356. oParam.outds = "ds_main_clamdepospeclist=gridclamdepospeclist";
  357. oParam.async = false;
  358. //oParam.callback = "cf_TRPIF40201";
  359. tranf_submit(oParam);
  360. }
  361. function grp_biz_button13_onclick(obj:Button, e:ClickEventInfo)
  362. {
  363. col = "N";
  364. grp_biz.grd_clamdepospeclist.selecttype = "multiarea";
  365. }
  366. function grp_biz_button10_onclick(obj:Button, e:ClickEventInfo)
  367. {
  368. col = "Y";
  369. grp_biz.grd_clamdepospeclist.selecttype = "multiarea";
  370. }
  371. function grp_biz_button11_onclick(obj:Button, e:ClickEventInfo)
  372. {
  373. col = "N";
  374. grp_biz.grd_clamdepospeclist.selecttype = "multirow";
  375. }
  376. function grp_biz_button7_onclick(obj:Button, e:ClickEventInfo)
  377. {
  378. system.execShell("excel");
  379. }
  380. function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
  381. {
  382. var today = new Date();
  383. var yy = today.getYear()+"";
  384. var mm = today.getMonth()+1;
  385. var dd = today.getDate();
  386. if(mm < 10)
  387. {
  388. mm = "0" + mm;
  389. }
  390. else
  391. {
  392. mm = mm + "";
  393. }
  394. if(dd < 10)
  395. {
  396. dd = "0" + dd;
  397. }
  398. else
  399. {
  400. dd = dd + "";
  401. }
  402. var tmp = yy + mm + dd;
  403. if (ds_main_clamdepospeclist.rowcount < 1)
  404. {
  405. return;
  406. }
  407. else
  408. {
  409. grdf_exportExcel(grp_biz.grd_clamdepospeclist, "청구및입금내역조회(보험장부)_"+tmp, "see");
  410. }
  411. }
  412. function grp_biz_grp_sea_rdo_termflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  413. {
  414. grp_biz.grp_sea.ipt_fromdd.setFocus();
  415. }
  416. function grp_biz_grd_clamdepospeclist_oncellclick(obj:Grid, e:GridClickEventInfo)
  417. {
  418. var lv_nAreaStartRow;
  419. var lv_nAreaEndRow;
  420. var lv_nAreaStartCol;
  421. var lv_nAreaEndCol;
  422. if(col == "Y")
  423. {
  424. lv_nAreaStartRow = 0;
  425. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  426. lv_nAreaStartCol = parseInt(obj.currentcol);
  427. lv_nAreaEndCol = parseInt(obj.currentcol);
  428. grdf_initGridStyle(obj);
  429. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  430. {
  431. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  432. {
  433. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  434. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  435. }
  436. }
  437. }
  438. else
  439. {
  440. grdf_initGridStyle(obj);
  441. }
  442. }
  443. function grp_biz_grd_clamdepospeclist_onkeydown(obj:Grid, e:KeyEventInfo)
  444. {
  445. if(col == "Y")
  446. {
  447. var CONST_SEPARATOR = " "; //컬럼별 구분자
  448. var lv_oBindDs = eval(obj.binddataset);
  449. var lv_sColID;
  450. var lv_sVal;
  451. var lv_sClipboard = "";
  452. var lv_nAreaStartRow;
  453. var lv_nAreaEndRow;
  454. var lv_nAreaStartCol;
  455. var lv_nAreaEndCol;
  456. if(obj.selecttype == "multiarea")
  457. {
  458. lv_nAreaStartRow = 0;
  459. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  460. lv_nAreaStartCol = parseInt(obj.currentcol);
  461. lv_nAreaEndCol = parseInt(obj.currentcol);
  462. }
  463. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  464. {
  465. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  466. {
  467. lv_sColID = obj.getCellProperty("body",nCell,"text");
  468. lv_sVal = obj.getCellValue(nRow,nCell);
  469. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  470. }
  471. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  472. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  473. }
  474. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  475. iv_sClipboard = lv_sClipboard;
  476. system.setClipboard("CF_TEXT",lv_sClipboard);
  477. }
  478. else
  479. {
  480. if (e.ctrlKey == true && e.keycode == 67 )
  481. {
  482. grdf_clipboardCopy(obj, "PAM");
  483. }
  484. }
  485. }
  486. ]]></Script>
  487. </Form>
  488. </FDL>