SMPIE00800_접수반송증조회.xrw 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. 2007.05.30 / 최초작성 / 이종찬
  4. -->
  5. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  6. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  7. <xhtml:head>
  8. <xhtml:title>접수및반송증조회(F010)</xhtml:title>
  9. <model id="model1">
  10. <instance id="instance1">
  11. <root xmlns="">
  12. <main>
  13. <grid>
  14. <gridlist101>
  15. <f101h>
  16. <acptdd/>
  17. <appflag/>
  18. <appflagdesc/>
  19. <verflag/>
  20. <docuno/>
  21. <corpmark/>
  22. <suppcd/>
  23. <rem/>
  24. <clamcnt/>
  25. </f101h>
  26. </gridlist101>
  27. <gridlist102>
  28. <f102h>
  29. <ioflag/>
  30. <acptdd/>
  31. <clamno/>
  32. <acptno/>
  33. <insuflag/>
  34. <flag/>
  35. <reqinstmark/>
  36. <acptflag/>
  37. <clamcnt/>
  38. <clamamt/>
  39. <ordym/>
  40. <clamflag/>
  41. <ordfildcd/>
  42. <medcaretotamt/>
  43. <ownbamt/>
  44. <ownbmaxexamt/>
  45. <handcaprfund/>
  46. <ediownbmaxexamtcnt/>
  47. </f102h>
  48. </gridlist102>
  49. <gridlist103>
  50. <f103h>
  51. <ioflag/>
  52. <acptdd/>
  53. <clamno/>
  54. <acptno/>
  55. <docuseqno/>
  56. <rtnrsncd/>
  57. <rem/>
  58. </f103h>
  59. </gridlist103>
  60. <!-- ########## 산재추가3 시작 JHP 2008.10.07 ########## -->
  61. <gridlist100>
  62. <i100>
  63. <notidd/>
  64. <acptflag/>
  65. <clamno/>
  66. <acptno/>
  67. <acptrtnflag/>
  68. <clamcntsum/>
  69. <clamamtsum/>
  70. <sendresncd/>
  71. <rem/>
  72. <docuno/>
  73. <healinstcd/>
  74. <note/>
  75. </i100>
  76. </gridlist100>
  77. <!-- ########## 산재추가3 완료 JHP 2008.10.07 ########## -->
  78. </grid>
  79. <tmp>
  80. <gridlist101>
  81. <f101h>
  82. <acptdd/>
  83. <appflag/>
  84. <appflagdesc/>
  85. <verflag/>
  86. <docuno/>
  87. <corpmark/>
  88. <suppcd/>
  89. <rem/>
  90. <clamcnt/>
  91. </f101h>
  92. </gridlist101>
  93. <gridlist102>
  94. <f102h>
  95. <appflagdesc/>
  96. <acptdd/>
  97. <clamno/>
  98. <acptno/>
  99. <insuflag/>
  100. <flag/>
  101. <reqinstmark/>
  102. <acptflag/>
  103. <clamcnt/>
  104. <clamamt/>
  105. <ordym/>
  106. <clamflag/>
  107. <ordfildcd/>
  108. <medcaretotamt/>
  109. <ownbamt/>
  110. <ownbmaxexamt/>
  111. <handcaprfund/>
  112. <ediownbmaxexamtcnt/>
  113. <depoamt/>
  114. <clamtypecd/>
  115. </f102h>
  116. </gridlist102>
  117. <gridlist103>
  118. <f103h>
  119. <appflagdesc/>
  120. <acptdd/>
  121. <clamno/>
  122. <acptno/>
  123. <docuseqno/>
  124. <rtnrsncd/>
  125. <rem/>
  126. </f103h>
  127. </gridlist103>
  128. <gridlist100>
  129. <i100>
  130. <acptflag/>
  131. <ordym/>
  132. <ioflag/>
  133. <sumtypecd/>
  134. <clamno/>
  135. <acptrtnflag/>
  136. <notidd/>
  137. <acptno/>
  138. <clamcntsum/>
  139. <clamamtsum/>
  140. <sendresncd/>
  141. <rem/>
  142. <docuno/>
  143. <healinstcd/>
  144. <note/>
  145. </i100>
  146. </gridlist100>
  147. </tmp>
  148. <list01>
  149. <comboclamfild>
  150. <clamfildval/>
  151. <clamfildlab/>
  152. </comboclamfild>
  153. </list01>
  154. <list02>
  155. <rem/>
  156. </list02>
  157. </main>
  158. <send>
  159. <fromacptym/>
  160. <toacptym/>
  161. <termflag/>
  162. <insuflag/>
  163. <srchnum/>
  164. <clamfild/>
  165. <ioflag/>
  166. <numflag/>
  167. <appflag/>
  168. <acptdd/>
  169. <acptflag/>
  170. <clamdgfrom/>
  171. <clamdgto/>
  172. <clamym/>
  173. <clamflag/>
  174. <summary/>
  175. </send>
  176. <popupdata>
  177. <popupmenu>
  178. <grd_f102h>
  179. <item>
  180. <name>개인별미수관리</name>
  181. <func>fCallindspec</func>
  182. </item>
  183. <item>
  184. <name>-</name>
  185. <func/>
  186. </item>
  187. <item>
  188. <name>접수반송증 삭제</name>
  189. <func>fDeleteF010</func>
  190. </item>
  191. </grd_f102h>
  192. <grd_i100>
  193. <item>
  194. <name>산재접수반송증삭제</name>
  195. <func>fDeleteI010</func>
  196. </item>
  197. </grd_i100>
  198. </popupmenu>
  199. </popupdata>
  200. <init>
  201. <P0255list>
  202. <P0255>
  203. <cdid/>
  204. <cdnm/>
  205. </P0255>
  206. </P0255list>
  207. <P0249list>
  208. <P0249>
  209. <cdid/>
  210. <cdnm/>
  211. </P0249>
  212. </P0249list>
  213. <P0235list>
  214. <P0235>
  215. <cdid/>
  216. <cdnm/>
  217. </P0235>
  218. </P0235list>
  219. <P0408list>
  220. <P0408>
  221. <cdid/>
  222. <cdnm/>
  223. </P0408>
  224. </P0408list>
  225. <P0274list>
  226. <P0274>
  227. <cdid/>
  228. <cdnm/>
  229. </P0274>
  230. </P0274list>
  231. <P0271list>
  232. <P0271>
  233. <cdid/>
  234. <cdnm/>
  235. </P0271>
  236. </P0271list>
  237. <P0286list>
  238. <P0286>
  239. <cdid/>
  240. <cdnm/>
  241. </P0286>
  242. </P0286list>
  243. <P0425list>
  244. <P0425>
  245. <cdid/>
  246. <cdnm/>
  247. </P0425>
  248. </P0425list>
  249. <P0456list>
  250. <P0456>
  251. <cdid/>
  252. <cdnm/>
  253. </P0456>
  254. </P0456list>
  255. <!-- ##### 산재추가6 시작 JHP 2008.10.07 ##### -->
  256. <P0273list>
  257. <P0273>
  258. <cdid/>
  259. <cdnm/>
  260. </P0273>
  261. </P0273list>
  262. <P0275list>
  263. <P0275>
  264. <cdid/>
  265. <cdnm/>
  266. </P0275>
  267. </P0275list>
  268. <P0257list>
  269. <P0257>
  270. <cdid/>
  271. <cdnm/>
  272. </P0257>
  273. </P0257list>
  274. <P0458list>
  275. <P0458>
  276. <cdid/>
  277. <cdnm/>
  278. </P0458>
  279. </P0458list>
  280. <P0028list>
  281. <P0028>
  282. <cdid/>
  283. <cdnm/>
  284. </P0028>
  285. </P0028list>
  286. <P0458kindcdlist>
  287. </P0458kindcdlist>
  288. <!-- ##### 산재추가6 완료 JHP 2008.10.07 ##### -->
  289. <clamdg/>
  290. <clamdgfrom/>
  291. <clamdgto/>
  292. <P0155list>
  293. <P0155>
  294. <cdid/>
  295. <cdnm/>
  296. </P0155>
  297. </P0155list>
  298. </init>
  299. <hidden>
  300. <smpif20100>
  301. <ioflag/>
  302. <dateflag/>
  303. <fromdd/>
  304. <todd/>
  305. <insukind/>
  306. <clamflag/>
  307. <clamdg/>
  308. <ordfildcd/>
  309. <acptno/>
  310. </smpif20100>
  311. </hidden>
  312. <report>
  313. <grid>
  314. <gridlist102>
  315. <f102h>
  316. <appflagdesc/>
  317. <acptdd/>
  318. <clamno/>
  319. <insuflag/>
  320. <flag/>
  321. <reqinstmark/>
  322. <acptflag/>
  323. <clamcnt/>
  324. <clamamt/>
  325. <ordym/>
  326. <clamflag/>
  327. <ordfildcd/>
  328. <medcaretotamt/>
  329. <ownbamt/>
  330. <ownbmaxexamt/>
  331. <handcaprfund/>
  332. <ediownbmaxexamtcnt/>
  333. </f102h>
  334. </gridlist102>
  335. </grid>
  336. </report>
  337. <send2>
  338. <insukind/>
  339. <termflag/>
  340. <fromdd/>
  341. <todd/>
  342. <clamflag/>
  343. <clamno/>
  344. </send2>
  345. </root>
  346. </instance>
  347. <script type="javascript" ev:event="xforms-ready">
  348. <![CDATA[
  349. // 노드 초기화
  350. Node_Init();
  351. // 1. 공통코드
  352. CommCode_Load();
  353. /*
  354. // 2. 다른화면에서 팝업으로 열리는 경우
  355. // 호출화면 : SMPIS00100_청구및자료수집이력조회, SMPIS00200_월별환자조회, SPPIE00710_접수및반송증요약보기
  356. // var fromacptym = model.getValue("/root/send/fromacptym");
  357. var srchnum = model.getValue("/root/send/srchnum");
  358. model.alert(srchnum);
  359. if (srchnum != "") {
  360. // if (fromacptym) {
  361. submit("TRPIE00800");
  362. }
  363. else {
  364. // 초기화
  365. fInitialize();
  366. }
  367. //청구구분 전체 추가
  368. //addComboItem("combo1","전체","","above");
  369. */
  370. ]]>
  371. </script>
  372. <submission id="TRPIE00800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grid"/>
  373. <submission id="TRPIE00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tmp"/>
  374. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  375. <submission id="TRPIE00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  376. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  377. <submission id="TRPIE00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  378. <!-- ##### 수정추가7 시작 JHP 2008.10.07 ##### -->
  379. <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
  380. <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  381. <!-- ##### 수정추가7 완료 JHP 2008.10.07 ##### -->
  382. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
  383. </model>
  384. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  385. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  386. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  387. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  388. <script type="javascript">
  389. <![CDATA[
  390. function Node_Init() {
  391. rdo_insukind.select(0); // 보험유형 -.전체
  392. rdo_term.select(0); // 조회기간 1.접수일자
  393. rdo_ioflag.select(0); // 내원형태 -.전체
  394. model.refresh();
  395. // 다른 화면에서 팝업으로 호출하는 경우 자동조회
  396. // 호출화면 : SMPIS00100_청구및자료수집이력조회, SMPIS00200_월별환자조회, SMPIF20100_개인별모든내역보기, SMPIF20300_개인별청구및심결내역조회, SPPIE00720_심결요약보기
  397. var srchnum = model.getValue("/root/send/summary/srchnum");
  398. if (srchnum != "") {
  399. //ipt_fromterm.disabled = false;
  400. //ipt_toterm.disabled = false;
  401. model.setValue("/root/send/numflag", model.getValue("/root/send/summary/numflag"));
  402. model.setValue("/root/send/srchnum", model.getValue("/root/send/summary/srchnum"));
  403. model.refresh();
  404. submit("TRPIE00800");
  405. }else{
  406. rdo_numflag.select(1); // 조회구분 1.접수번호
  407. }
  408. }
  409. function fInitialize() {
  410. rdo_insukind.select(0); // 보험유형 -.전체
  411. rdo_term.select(0); // 조회기간 1.접수일자
  412. rdo_ioflag.select(0); // 내원형태 -.전체
  413. rdo_numflag.select(1); // 조회구분 1.접수번호
  414. }
  415. // 초기화
  416. function fInitialize() {
  417. model.resetInstanceNode("/root/send");
  418. rdo_insukind.select(0); // 보험유형 -.전체
  419. rdo_term.select(0); // 조회기간 1.접수일자
  420. rdo_ioflag.select(0); // 내원형태 -.전체
  421. rdo_numflag.select(1); // 조회구분 1.접수번호
  422. // 그리드 공라인 없애기
  423. model.removeNodeset("/root/main/grid/gridlist101");
  424. model.removeNodeset("/root/main/grid/gridlist102");
  425. model.removeNodeset("/root/main/grid/gridlist103");
  426. model.refresh();
  427. // 포커스 이동
  428. model.setFocus("ipt_fromacptym");
  429. }
  430. // 공통코드
  431. function CommCode_Load() {
  432. zbcfGetCodeList(new Array("P0249"), new Array("/root/init/P0249list"));
  433. zbcfGetCodeList(new Array("P0235"), new Array("/root/init/P0235list"));
  434. zbcfGetCodeList(new Array("P0408"), new Array("/root/init/P0408list"));
  435. zbcfGetCodeList(new Array("P0274"), new Array("/root/init/P0274list"));
  436. zbcfGetCodeList(new Array("P0271"), new Array("/root/init/P0271list"));
  437. zbcfGetCodeList(new Array("P0286"), new Array("/root/init/P0286list"));
  438. zbcfGetCodeList(new Array("P0425"), new Array("/root/init/P0425list"));
  439. zbcfGetCodeList(new Array("P0456"), new Array("/root/init/P0456list"));
  440. // ##### 산재추가5 시작 JHP 2008.10.07 #####
  441. // P0273 접수구분(산재접수증),
  442. // P0275 접수반송구분,
  443. // P0257 심사불능/반송사유(산재)
  444. // P0458 집계형태코드_청구서 생성시 보험, 보호, 산재, 자보의 진료분야표시
  445. zbcfGetCodeList(new Array("P0273","P0275","P0257","P0458","P0028", "P0155"),
  446. new Array("/root/init/P0273list",
  447. "/root/init/P0275list",
  448. "/root/init/P0257list",
  449. "/root/init/P0458list",
  450. "/root/init/P0028list",
  451. "/root/init/P0155list"));
  452. // ##### 산재추가5 완료 JHP 2008.10.07 #####
  453. model.refresh();
  454. }
  455. // 개인별미수관리
  456. function fCallindspec() {
  457. if (grd_f102h.row >= grd_f102h.fixedRows ) {
  458. var row = grd_f102h.row;
  459. model.setValue("/root/hidden/smpif20100/ioflag", model.getValue("/root/main/grid/gridlist102/f102h/ioflag")); //내원구분
  460. model.setValue("/root/hidden/smpif20100/dateflag", "2"); //진료년월 구분자(2)
  461. model.setValue("/root/hidden/smpif20100/fromdd", model.getValue("/root/main/grid/gridlist102/f102h/ordym")); //진료년월
  462. model.setValue("/root/hidden/smpif20100/todd", model.getValue("/root/main/grid/gridlist102/f102h/ordym"));//진료년월
  463. model.setValue("/root/hidden/smpif20100/insukind", model.getValue("/root/main/grid/gridlist102/f102h/insuflag"));//유형
  464. model.setValue("/root/hidden/smpif20100/clamflag", model.getValue("/root/main/grid/gridlist102/f102h/clamflag"));//청구구분(워,추,재)
  465. model.setValue("/root/hidden/smpif20100/clamdg", model.getValue("/root/main/grid/gridlist102/f102h/clamdg"));//청구차수
  466. model.setValue("/root/hidden/smpif20100/acptno", model.getValue("/root/main/grid/gridlist102/f102h/acptno"));//접수번호
  467. modal("SMPIF20100", "", "10", "10", "SMPIF20100", "/root/hidden/smpif20100" ,"/root/hidden/smpif20100", "", "");
  468. }
  469. }
  470. // 접수반송증 삭제
  471. function fDeleteF010() {
  472. if (grd_f102h.row >= grd_f102h.fixedRows ) {
  473. // 1. 삭제할 접수반송증 데이터를 만든다.
  474. var rows = grd_f102h.selectedRows;
  475. var cnt = 1;
  476. for (var i = 0; i < rows; i++) {
  477. var sel = grd_f102h.selectedRow(i);
  478. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "f010");
  479. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/rsrvflag", "Y");
  480. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/uncoflag", "Y");
  481. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/cutflag", "");
  482. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/appflag", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/appflag"));
  483. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptdd", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/acptdd"));
  484. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/clamno"));
  485. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/insuflag", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/insuflag"));
  486. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/flag", model.getValue("/root/main/grid/gridlist102/f102h[" + sel + "]/flag"));
  487. cnt++;
  488. }
  489. // 2. 수신테이블 삭제 팝업 호출
  490. modal("SPPIE00810", "", "10", "10", "SPPIE00810", "/root/hidden/sppie00810" ,"/root/main", "", "");
  491. }
  492. }
  493. // 청구년월 함수
  494. function pidfGetClamdg() {
  495. var check = model.getValue("/root/send/termflag");
  496. if ( model.getValue("/root/send/fromacptym") > model.getValue("/root/send/toacptym") ) {
  497. messageBox("종료일은 시작일보다 클 수 ", "I004");
  498. model.setValue("/root/send/toacptym","")
  499. }
  500. if(check == "2"){
  501. if(model.getValue("/root/send/fromacptym") != "" || model.getValue("/root/send/toacptym") != ""){
  502. model.removeNodeset("/root/init/clamdg");
  503. model.makeNode("/root/init/clamdg");
  504. model.setValue("/root/send/clamym",model.getValue("/root/send/fromacptym"));
  505. /*
  506. model.removeNodeset("/root/send/ioflag");
  507. model.makeNode("/root/send/ioflag");
  508. model.setValue("/root/send/ioflag", model.getValue("/root/send/ioflag"));
  509. */
  510. submit("TRPID20407");
  511. model.copyNode("/root/init/clamdgfrom","/root/init/clamdg");
  512. cmb_clamdgfrom.refresh();
  513. cmb_clamdgfrom.select(0);
  514. model.setValue("/root/send/clamym",model.getValue("/root/send/toacptym"));
  515. submit("TRPID20407");
  516. model.copyNode("/root/init/clamdgto","/root/init/clamdg");
  517. addComboItem("cmb_clamdgfrom","전체","","above");
  518. addComboItem("cmb_clamdgto","전체","","above");
  519. cmb_clamdgto.refresh();
  520. cmb_clamdgto.select(0);
  521. }
  522. }
  523. }
  524. // 청구년월 차수 기간 체크
  525. function fChkClamym()
  526. {
  527. var fromym = model.getValue("/root/send/fromacptym");
  528. var toym = model.getValue("/root/send/toacptym");
  529. var check = model.getValue("/root/send/termflag");
  530. if(check == "2"){
  531. if ( fromym != toym ){
  532. cmb_clamdgfrom.value = "";
  533. cmb_clamdgto.value = "";
  534. cmb_clamdgfrom.disabled = true;
  535. cmb_clamdgto.disabled = true;
  536. }else{
  537. cmb_clamdgfrom.disabled = false;
  538. cmb_clamdgto.disabled = false;
  539. cmb_clamdgfrom.select(0);
  540. cmb_clamdgto.select(0);
  541. }
  542. cmb_clamdgto.refresh();
  543. cmb_clamdgfrom.refresh();
  544. }
  545. }
  546. function fDeleteI010(){
  547. if (grd_i100.row >= grd_i100.fixedRows ) {
  548. // 1. 삭제할 접수반송증 데이터를 만든다.
  549. var rows = grd_i100.selectedRows;
  550. var cnt = 1;
  551. for (var i = 0; i < rows; i++) {
  552. var sel = grd_i100.selectedRow(i);
  553. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "i010");
  554. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/rsrvflag", "Y");
  555. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/uncoflag", "Y");
  556. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/cutflag", "");
  557. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/grid/gridlist100/i100[" + sel + "]/clamno"));
  558. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptno", model.getValue("/root/main/grid/gridlist100/i100[" + sel + "]/acptno"));
  559. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/notidd", model.getValue("/root/main/grid/gridlist100/i100[" + sel + "]/notidd"));
  560. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptrtnflag", model.getValue("/root/main/grid/gridlist100/i100[" + sel + "]/acptrtnflag"));
  561. cnt++;
  562. }
  563. // 2. 수신테이블 삭제 팝업 호출
  564. modal("SPPIE00810", "", "10", "10", "SPPIE00810", "/root/hidden/sppie00810" ,"/root/main", "", "");
  565. fSearch();
  566. }
  567. }
  568. function fSearch(){
  569. // 신청구분 초기화
  570. model.setValue( "instance('instance1')/send/appflag", "");
  571. model.removenode("/root/main/grid");
  572. model.refresh();
  573. if ((ipt_fromacptym.currentText == "" && ipt_srchnum.currentText == "") || (ipt_toacptym.currentText == "" && ipt_srchnum.currentText == "")) {
  574. messageBox("[기간 ]또는 [청구번호/접수번호]를","C001");
  575. }
  576. else {
  577. submit("TRPIE00800");
  578. }
  579. model.refresh();
  580. }
  581. ]]>
  582. </script>
  583. </xhtml:head>
  584. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  585. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:597px; ">
  586. <group id="group2" style="left:0px; top:10px; width:1194px; height:75px; vertical-align:top; ">
  587. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:75px; background-color:#fffbf2; border-color:#ffd799; "/>
  588. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:29px; width:56px; height:22px; ">
  589. <caption>조회</caption>
  590. <script type="javascript" ev:event="DOMActivate">
  591. <![CDATA[
  592. fSearch();
  593. ]]>
  594. </script>
  595. </button>
  596. <line id="line13" class="line_4" style="x1:1108px; y1:12px; x2:1108px; y2:63px; border-color:#ffe4bb; border-left-style:solid; "/>
  597. <caption id="caption19" class="search_name" style="left:460px; top:19px; width:86px; height:17px; ">보험유형 :</caption>
  598. <caption id="caption7" style="left:290px; top:29px; width:15px; height:15px; ">~</caption>
  599. <select1 id="rdo_insukind" ref="/root/send/insuflag" class="radio_search" overflow="visible" appearance="full" cols="4" rows="1" style="left:549px; top:19px; width:176px; height:16px; border-style:none; ">
  600. <choices>
  601. <item>
  602. <label>전체</label>
  603. <value>-</value>
  604. </item>
  605. <item>
  606. <label>보험</label>
  607. <value>4</value>
  608. </item>
  609. <item>
  610. <label>보호</label>
  611. <value>5</value>
  612. </item>
  613. <!-- ########## 산재추가1 시작 JHP 2008.10.07 ########## -->
  614. <item>
  615. <label>산재</label>
  616. <value>6</value>
  617. </item>
  618. <!-- ########## 산재추가1 완료 JHP 2008.10.07 ########## -->
  619. </choices>
  620. <!-- ########## 산재추가4 시작 JHP 2008.10.07 ########## -->
  621. <script type="javascript" ev:event="xforms-value-changed">
  622. <![CDATA[
  623. var insurkindflag = model.getValue("/root/send/insuflag");
  624. // 보험유형선택시 진료분야(진료구분)의 값을 유형코드별로 변경
  625. // 4 보험, 5 보호, 6 산재, 7 자보
  626. if(insurkindflag == '4'){
  627. var bizid_list = "P0006";
  628. }else if(insurkindflag == '5'){
  629. var bizid_list = "P0007";
  630. }else if(insurkindflag == '6'){
  631. var bizid_list = "P0008";
  632. }else if(insurkindflag == '7'){
  633. var bizid_list = "P0009";
  634. }
  635. if(insurkindflag == '-'){
  636. cmb_clamfield.choices.itemset.attribute("nodeset") = "/root/init/P0458list/P0458";
  637. cmb_clamfield.refresh();
  638. }else{
  639. var cdgrupid_list = "P0458";
  640. var kindlistcd = bizid_list+cdgrupid_list;
  641. model.resetInstanceNode("/root/init/P0458kindcdlist/"+kindlistcd);
  642. zbcfGetKindCodeList(
  643. new Array(bizid_list),
  644. new Array(cdgrupid_list),
  645. new Array("/root/init/P0458kindcdlist"),
  646. false,
  647. new Array("dispseq"),
  648. new Array("asc")
  649. );
  650. cmb_clamfield.choices.itemset.attribute("nodeset") = "/root/init/P0458kindcdlist/"+kindlistcd;
  651. cmb_clamfield.refresh();
  652. }
  653. // 산재선택시 산재에 따른 추가 조회조건 그룹 보이기.
  654. if(insurkindflag == '6'){
  655. cap_notidd.visible = true;
  656. cap_notidd.attribute("left") = "75";
  657. cap_notidd.attribute("top") = "21";
  658. //2009.03.27 syjung 산재 접수일자 형식은 yymmdd지만 입력받을 때는 사용자 편의상 yyyymmdd로 받음. Query에서 yymmdd로 변경하여 조회함.
  659. // if (rdo_term.value == 1) {
  660. // ipt_fromacptym.attribute("maxlength") = 6;
  661. // ipt_toacptym.attribute("maxlength") = 6;
  662. //
  663. // ipt_fromacptym.attribute("format") = "yy-mm-dd";
  664. // ipt_toacptym.attribute("format") = "yy-mm-dd";
  665. // }
  666. cap_acptflag.visible = true;
  667. // cap_acptflag.attribute("top") = "21";
  668. cmb_acptflag.visible = true;
  669. // cap_notidd.attribute("top") = "21";
  670. caption2.attribute("top") = "29";
  671. cmb_clamfield.attribute("top") = "29";
  672. caption8.attribute("top") = "50";
  673. combo1.attribute("top") = "50";
  674. // 산재의 경우 포맷이 다르므로 클리어
  675. // ipt_fromacptym.value = "";
  676. // ipt_toacptym.value = "";
  677. } else {
  678. cap_notidd.visible= false;
  679. if (rdo_term.value == 1) {
  680. ipt_fromacptym.attribute("maxlength") = 8;
  681. ipt_toacptym.attribute("maxlength") = 8;
  682. // 산재였다가 다른 값을 선택 했을 경우 클리어
  683. if (ipt_fromacptym.attribute("format") == "yy-mm-dd") {
  684. ipt_fromacptym.value = "";
  685. ipt_toacptym.value = "";
  686. }
  687. ipt_fromacptym.attribute("format") = "yyyy-mm-dd";
  688. ipt_toacptym.attribute("format") = "yyyy-mm-dd";
  689. }
  690. cap_acptflag.visible = false;
  691. cmb_acptflag.visible = false;
  692. caption2.attribute("top") = "19";
  693. cmb_clamfield.attribute("top") = "19";
  694. caption8.attribute("top") = "39";
  695. combo1.attribute("top") = "39";
  696. }
  697. // ipt_fromacptym.value = "";
  698. // ipt_toacptym.value = "";
  699. model.refreshpart("/root/send/fromacptym");
  700. model.refreshpart("/root/send/toacptym");
  701. // var insuflag1 = model.getValue("/root/send/insuflag");
  702. // var insuflag2 = rdo_insukind.value;
  703. //
  704. // if(insuflag1 == '6'){
  705. // cmb_clamfield.disabled = true;
  706. // } else {
  707. // cmb_clamfield.disabled = false;
  708. // }
  709. ]]>
  710. </script>
  711. <!-- ########## 산재추가4 완료 JHP 2008.10.07 ########## -->
  712. </select1>
  713. <input id="ipt_toacptym" ref="/root/send/toacptym" class="input_s_essential" inputtype="date" style="left:304px; top:26px; width:90px; height:19px; ">
  714. <script type="javascript" ev:event="DOMFocusOut">
  715. <![CDATA[
  716. pidfGetClamdg();
  717. fChkClamym();
  718. inputEnterKey("btn_enter2", "DOMActivate");
  719. // // 2008-04-29 uncocommonapplib의 메소드를 호출한다.
  720. // // 여기에서 청구분야 조회를 요청한다.
  721. // model.setValue("/root/send/clamfild","");
  722. // // 2007.10.12 submit 변경
  723. // // submit("TRPIE00802");
  724. // // 기간 입력 없이 포커스만 이동하면서 조회 할 수 있는 예외 동작 차단한다.
  725. // // 2007.10.18 필수입력으로 체크하지 않고 아래와 같은 방법으로 체크한다.
  726. // if (ipt_fromacptym.currentText != "" && ipt_toacptym.currentText != "") {
  727. // submit("TRPIE00803");
  728. // model.setFocus("cmb_clamfield");
  729. // }
  730. //
  731. // // model.setFocus("cmb_clamfield");
  732. //
  733. // // model.setFocus("ipt_clamno");
  734. //
  735. //
  736. //
  737. //
  738. // // 2007.11.26 리뷰 후 수정 요구사항 반영(기간 입력 시 자동조회 기능)
  739. // if ((ipt_fromacptym.currentText == "" && ipt_srchnum.currentText == "") || (ipt_toacptym.currentText == "" && ipt_srchnum.currentText == "")) {
  740. // messageBox("[기간 ]또는 [청구번호/접수번호]를 입력하여주십시오.","C003");
  741. // }
  742. // else {
  743. // submit("TRPIE00800");
  744. // }
  745. ]]>
  746. </script>
  747. </input>
  748. <select1 id="rdo_term" ref="/root/send/termflag" class="radio_search" overflow="visible" appearance="full" cols="1" rows="2" style="left:60px; top:21px; width:70px; height:32px; border-style:none; ">
  749. <choices>
  750. <item>
  751. <label>접수일자</label>
  752. <value>1</value>
  753. </item>
  754. <item>
  755. <label>청구년월</label>
  756. <value>2</value>
  757. </item>
  758. </choices>
  759. <script type="javascript" ev:event="xforms-select">
  760. <![CDATA[
  761. // 진료월을 선택하는 경우 입력 값의 길이가 6자리를 넘는지 체크한다.
  762. if (rdo_term.value == 2) {
  763. ipt_fromacptym.attribute("maxlength") = 6;
  764. ipt_toacptym.attribute("maxlength") = 6;
  765. // 2007.10.12 날짜 형식 지정
  766. ipt_fromacptym.attribute("format") = "yyyy-mm";
  767. ipt_toacptym.attribute("format") = "yyyy-mm";
  768. model.setFocus("ipt_fromacptym");
  769. var cur_date = getCurrentDate();
  770. ipt_fromacptym.value = cur_date.substr(0,6);
  771. ipt_toacptym.value = cur_date.substr(0,6);
  772. /*
  773. if (ipt_fromacptym.value.length >= 7) {
  774. // 사용자에게 에러 메시지를 보여주고 'YYYYMM'형식으로 변환시킨다.
  775. messageBox("진료년월을 'YYYYMM'형식으로 입력해 주십시오.", "C003");
  776. ipt_fromacptym.value = ipt_fromacptym.value.substr(0,6);
  777. ipt_toacptym.value = ipt_toacptym.value.substr(0,6);
  778. }
  779. */
  780. cmb_clamdgfrom.disabled = false;
  781. cmb_clamdgto.disabled = false;
  782. cmb_clamdgfrom.select(0);
  783. cmb_clamdgto.select(0);
  784. }
  785. // 2007.11.26 리뷰 후 수정 요구사항 반영
  786. if (rdo_term.value == 1) {
  787. ipt_fromacptym.attribute("maxlength") = 8;
  788. ipt_toacptym.attribute("maxlength") = 8;
  789. // 2007.10.12 날짜 형식 지정
  790. ipt_fromacptym.attribute("format") = "yyyy-mm-dd";
  791. ipt_toacptym.attribute("format") = "yyyy-mm-dd";
  792. model.setFocus("ipt_fromacptym");
  793. var cur_date = getCurrentDate();
  794. ipt_fromacptym.value = cur_date;
  795. ipt_toacptym.value = cur_date;
  796. cmb_clamdgfrom.value = "";
  797. cmb_clamdgto.value = "";
  798. cmb_clamdgfrom.disabled = true;
  799. cmb_clamdgto.disabled = true;
  800. }
  801. model.refresh();
  802. ]]>
  803. </script>
  804. </select1>
  805. <!--
  806. <select1 id="cmb_clamfield" ref="/root/send/clamfild" class="combo_search" navindex="3" appearance="minimal" style="left:782px; top:15px; width:100px; height:19px; ">
  807. <choices>
  808. <itemset nodeset="/root/init/P0425list/P0425">
  809. <label ref="cdnm"/>
  810. <value ref="cdid"/>
  811. </itemset>
  812. </choices>
  813. </select1>
  814. -->
  815. <caption id="caption10" class="search_name" style="left:460px; top:39px; width:86px; height:17px; ">내원유형 :</caption>
  816. <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" overflow="visible" appearance="full" cols="3" rows="1" style="left:549px; top:41px; width:141px; height:16px; border-style:none; ">
  817. <choices>
  818. <item>
  819. <label>전체</label>
  820. <value>-</value>
  821. </item>
  822. <item>
  823. <label>입원</label>
  824. <value>I</value>
  825. </item>
  826. <item>
  827. <label>외래</label>
  828. <value>O</value>
  829. </item>
  830. </choices>
  831. </select1>
  832. <select1 id="rdo_numflag" ref="/root/send/numflag" class="radio_search" overflow="visible" appearance="full" cols="1" rows="2" style="left:926px; top:21px; width:70px; height:32px; border-style:none; ">
  833. <choices>
  834. <item>
  835. <label>청구번호</label>
  836. <value>1</value>
  837. </item>
  838. <item>
  839. <label>접수번호</label>
  840. <value>2</value>
  841. </item>
  842. </choices>
  843. <script type="javascript" ev:event="xforms-select">
  844. <![CDATA[
  845. if (rdo_numflag.value == 2) {
  846. // ipt_srchnum.attribute("maxlength") = 7;
  847. model.setFocus("ipt_srchnum");
  848. // if (ipt_srchnum.value.length >= 8) {
  849. // // 사용자에게 에러 메시지를 보여주고 'YYYYMM'형식으로 변환시킨다.
  850. // messageBox("접수번호는 최대 7자리까지 입력해 주십시오.", "C003");
  851. // ipt_srchnum.value = "";
  852. // }
  853. }
  854. else {
  855. // ipt_srchnum.attribute("maxlength") = 10;
  856. // 초기 화면 로딩 시에는 포커스를 주지 않는다.
  857. if (ipt_fromacptym.value.length > 0) {
  858. model.setFocus("ipt_srchnum");
  859. }
  860. }
  861. ipt_srchnum.value = "";
  862. model.refreshpart("/root/send/srchnum");
  863. ]]>
  864. </script>
  865. </select1>
  866. <input id="ipt_srchnum" ref="/root/send/srchnum" class="input_search" navindex="4" style="left:1000px; top:28px; width:100px; height:19px; ">
  867. <script type="javascript" ev:event="onkeyup">
  868. <![CDATA[
  869. setInputNodeCurText();
  870. // 아무 동작을 필요로 하지 않는다.
  871. //inputEnterKey("button3", "DOMActivate");
  872. var leng = ipt_srchnum.currentText.length
  873. var str = ipt_srchnum.currentText;
  874. //alert(leng+1);
  875. if (leng == 10 && rdo_numflag.value == 1) {
  876. model.setValue("root/send/srchnum",str);
  877. // 청구번호로 submit
  878. submit("TRPIE00800");
  879. }
  880. else if ((leng == 7 || leng == 15) && rdo_numflag.value == 2) {
  881. model.setValue("root/send/srchnum",str);
  882. // 접수번호로 submit
  883. submit("TRPIE00800");
  884. }
  885. ]]>
  886. </script>
  887. </input>
  888. <caption id="cap_fromacptym" class="search_name" style="left:0px; top:27px; width:66px; height:17px; ">기간 :</caption>
  889. <caption id="cap_toacptym" class="search_name" visibility="hidden" style="left:10px; top:37px; width:66px; height:17px; ">기간 :</caption>
  890. <caption id="cap_notidd" visibility="hidden" style="left:145px; top:45px; width:55px; height:17px; background-color:#FFFBF2; ">통지일자</caption>
  891. <input id="ipt_fromacptym" ref="/root/send/fromacptym" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm" style="left:137px; top:26px; width:90px; height:19px; ">
  892. <script type="javascript" ev:event="DOMFocusOut">
  893. <![CDATA[
  894. model.setValue("/root/send/toacptym",model.getValue("/root/send/fromacptym"));
  895. model.refresh();
  896. pidfGetClamdg();
  897. fChkClamym();
  898. //inputEnterKey("btn_enter1", "DOMActivate");
  899. ]]>
  900. </script>
  901. </input>
  902. <caption id="cap_acptflag" class="search_name" visibility="hidden" style="left:730px; top:7px; width:90px; height:17px; ">접수구분 :</caption>
  903. <select1 id="cmb_acptflag" ref="/root/send/acptflag" class="combo_search" visibility="hidden" appearance="minimal" style="left:822px; top:5px; width:94px; height:19px; ">
  904. <choices>
  905. <itemset nodeset="/root/init/P0273list/P0273">
  906. <label ref="cdnm"/>
  907. <value ref="cdid"/>
  908. </itemset>
  909. </choices>
  910. </select1>
  911. <select1 id="cmb_clamfield" ref="/root/send/clamfild" class="combo_search" navindex="3" appearance="minimal" style="left:822px; top:28px; width:95px; height:19px; ">
  912. <choices>
  913. <itemset nodeset="/root/init/P0458list/P0458">
  914. <label ref="cdnm"/>
  915. <value ref="cdid"/>
  916. </itemset>
  917. </choices>
  918. </select1>
  919. <caption id="caption2" class="search_name" style="left:730px; top:29px; width:90px; height:17px; ">청구분야 :</caption>
  920. <select1 id="cmb_clamdgto" ref="/root/send/clamdgto" class="combo_search" appearance="minimal" style="left:396px; top:26px; width:55px; height:19px; ">
  921. <choices>
  922. <itemset nodeset="/root/init/clamdgto/clamdglist">
  923. <label ref="clamdgnm"/>
  924. <value ref="clamdgcd"/>
  925. </itemset>
  926. </choices>
  927. <script type="javascript" ev:event="xforms-value-changed">
  928. <![CDATA[
  929. model.setValue("/root/send/clamdgfrom", model.getValue("/root/send/clamdgto"));
  930. model.refresh();
  931. ]]>
  932. </script>
  933. </select1>
  934. <select1 id="cmb_clamdgfrom" ref="/root/send/clamdgfrom" class="combo_search" appearance="minimal" style="left:229px; top:26px; width:55px; height:19px; ">
  935. <choices>
  936. <itemset nodeset="/root/init/clamdgfrom/clamdglist">
  937. <label ref="clamdgnm"/>
  938. <value ref="clamdgcd"/>
  939. </itemset>
  940. </choices>
  941. <script type="javascript" ev:event="xforms-value-changed">
  942. <![CDATA[
  943. model.setValue("/root/send/clamdgto", model.getValue("/root/send/clamdgfrom"));
  944. model.refresh();
  945. ]]>
  946. </script>
  947. </select1>
  948. <caption id="caption8" class="search_name" style="left:730px; top:50px; width:88px; height:17px; ">청구구분 :</caption>
  949. <select1 id="combo1" ref="/root/send/clamflag" class="combo_search" navindex="3" appearance="minimal" style="left:822px; top:51px; width:95px; height:19px; ">
  950. <choices>
  951. <itemset nodeset="/root/init/P0155list/P0155">
  952. <label ref="cdnm"/>
  953. <value ref="cdid"/>
  954. </itemset>
  955. </choices>
  956. </select1>
  957. </group>
  958. <line id="line3" class="line_1" style="x1:0px; y1:110px; x2:280px; y2:110px; "/>
  959. <caption id="caption1" class="tit_2" style="left:290px; top:95px; width:145px; height:13px; ">접수반송증2(F010.2)</caption>
  960. <line id="line1" class="line_1" style="x1:285px; y1:110px; x2:1194px; y2:110px; "/>
  961. <caption id="caption3" class="tit_2" style="left:290px; top:378px; width:150px; height:13px; ">접수반송증3(F010.3)</caption>
  962. <line id="line2" class="line_1" style="x1:285px; y1:393px; x2:1194px; y2:393px; "/>
  963. <datagrid id="grd_f101h" nodeset="/root/main/grid/gridlist101/f101h" caption="접수일자^건수^신청구분^참조^VER^요양기관기호^지원^신청구분^appflag^비고" colsep="^" colwidth="76, 34, 55, 80, 48, 80, 43, 55, 100" dataheight="23" ellipsis="true" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:115px; width:280px; height:481px; color:#b9e5fb; ">
  964. <col ref="acptdd" format="yyyy-mm-dd" style="left:0px; top:32px; width:59px; height:23px; text-align:center; "/>
  965. <col ref="clamcnt" visibility="hidden" style="text-align:center; "/>
  966. <col disabled="true" ref="appflagdesc" style="text-align:center; "/>
  967. <col ref="rem" type="inputbutton"/>
  968. <script type="javascript" ev:event="onbuttonclick">
  969. <![CDATA[
  970. model.setValue("/root/main/list02/rem", grd_f101h.valueMatrix(grd_f101h.row,grd_f101h.col));
  971. modal("SPPIE00200", "", "400", "400" ,"", "/root/main/list02/rem", "/root/send/textno");
  972. ]]>
  973. </script>
  974. <col ref="verflag" style="text-align:center; "/>
  975. <col ref="corpmark" style="text-align:center; "/>
  976. <col ref="suppcd" style="text-align:center; "/>
  977. <col ref="appflagdesc"/>
  978. <col ref="appflag" visibility="hidden"/>
  979. <script type="javascript" ev:event="onclick">
  980. <![CDATA[
  981. var rtn = null;
  982. if (grd_f101h.isCell(event.target) && grd_f101h.row >= grd_f101h.fixedRows) {
  983. var row = grd_f101h.selectedRow(0);
  984. var acptdd = grd_f101h.textmatrix(row, 1); // 접수일자
  985. var appflag = grd_f101h.textmatrix(row, 9); // 신청구분
  986. //rdo_term.select(0); // 접수일자
  987. model.setValue( "root/send/acptdd", acptdd);
  988. model.setValue( "root/send/appflag", appflag);
  989. // model.makeNode( "/root/send/appflag" );
  990. // model.setValue( "instance('instance1')/send/appflag", appflag );
  991. rtn = submit("TRPIE00801");
  992. //내용: 구조화를 갖춘 인스턴스 트리에 submission을 여러개 사용하지 않고 특정 매핑 컨트롤만 업데이트 할 수 있도록 한 처리 방안(통합팀 김선희 사원)
  993. if (rtn) {
  994. // 교체 할 자식 노드가 있는 부모 노드 선택
  995. var node = instance1.selectSingleNode("/root/main/grid");
  996. // 자식 노드 교체
  997. //node.replaceChild(instance1.root.temp.gridlist102, instance1.root.main.grid.gridlist102);
  998. //node.replaceChild(instance1.root.temp.gridlist103, instance1.root.main.grid.gridlist103);
  999. node.replaceChild(instance1.root.main.tmp.gridlist102, instance1.root.main.grid.gridlist102);
  1000. node.replaceChild(instance1.root.main.tmp.gridlist103, instance1.root.main.grid.gridlist103);
  1001. grd_f102h.rebuild();
  1002. grd_f103h.rebuild();
  1003. }
  1004. model.refresh();
  1005. // grd_f102h.colStyle(9,"data","background-color") = "#ffffcc";
  1006. // grd_f102h.colStyle(10,"data","background-color") = "#ffff99";
  1007. // grd_f102h.colStyle(11,"data","background-color") = "#ffff88";
  1008. // grd_f102h.colStyle(12,"data","background-color") = "#ffff77";
  1009. // grd_f102h.colStyle(13,"data","background-color") = "#ffff66";
  1010. // grd_f102h.colStyle(14,"data","background-color") = "#ffff55";
  1011. // grd_f102h.colStyle(15,"data","background-color") = "#ffff44";
  1012. // grd_f102h.colStyle(16,"data","background-color") = "#ffff33";
  1013. // grd_f102h.colStyle(17,"data","background-color") = "#ffff22";
  1014. }
  1015. ]]>
  1016. </script>
  1017. <script type="javascript" ev:event="onaftersort">
  1018. <![CDATA[
  1019. grd_f101h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  1020. ]]>
  1021. </script>
  1022. </datagrid>
  1023. <datagrid id="grd_f102h" nodeset="/root/main/grid/gridlist102/f102h" caption="내원유형^신청구분코드^접수일자^구분^진료년월^보험자 종별^분야^청구구분^청구번호^접수번호^청구건수^총진료비^본인부담금^청구금액^상한액^지원금^장애인^대불금^접수구분^의뢰기관기호^입금액^청구유형^상한초과건수" colsep="^" colwidth="55, 85, 76, 32, 68, 79, 35, 60, 80, 60, 65, 82, 82, 82, 82, 82, 82, 82, 61, 96,100, 100, 82" dataheight="23" ellipsis="true" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:285px; top:115px; width:909px; height:255px; ">
  1024. <col disabled="true" ref="ioflag" style="text-align:center; "/>
  1025. <col ref="appflag" visibility="hidden" style="text-align:center; "/>
  1026. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1027. <col ref="flag" style="text-align:center; "/>
  1028. <col ref="ordym" format="yyyy-mm" style="text-align:center; "/>
  1029. <col disabled="true" ref="insuflag" type="combo" style="text-align:center; ">
  1030. <choices>
  1031. <itemset nodeset="/root/init/P0249list/P0249">
  1032. <label ref="cdnm"/>
  1033. <value ref="cdid"/>
  1034. </itemset>
  1035. </choices>
  1036. </col>
  1037. <col ref="ordfildcd" style="text-align:center; "/>
  1038. <col ref="clamflag" style="text-align:center; "/>
  1039. <col ref="clamno" savetype="text" style="text-align:center; "/>
  1040. <col ref="acptno" style="text-align:center; "/>
  1041. <col ref="clamcnt" format="(-)#,###" style="left:612px; top:23px; width:65px; height:23px; text-align:right; "/>
  1042. <col ref="medcaretotamt" format="(-)#,###" style="text-align:right; "/>
  1043. <col ref="ownbamt" format="(-)#,###" style="text-align:right; "/>
  1044. <col ref="clamamt" format="(-)#,###" style="text-align:right; "/>
  1045. <col ref="ownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
  1046. <col ref="suppamt" format="(-)#,###" style="text-align:right; "/>
  1047. <col ref="handcaprfund" format="(-)#,###" style="text-align:right; "/>
  1048. <col ref="subtamt" format="(-)#,###" style="text-align:right; "/>
  1049. <col disabled="true" ref="acptflag" type="combo" style="text-align:center; ">
  1050. <choices>
  1051. <itemset nodeset="/root/init/P0271list/P0271">
  1052. <label ref="cdnm"/>
  1053. <value ref="cdid"/>
  1054. </itemset>
  1055. </choices>
  1056. </col>
  1057. <col ref="reqinstmark" style="left:1230px; top:23px; width:96px; height:23px; text-align:center; "/>
  1058. <col ref="depoamt" format="#,###" style="left:721px; top:0px; width:0px; height:0px; text-align:right; "/>
  1059. <col ref="clamtypecd" visibility="hidden"/>
  1060. <col ref="ediownbmaxexamtcnt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  1061. <script type="javascript" ev:event="ondblclick">
  1062. <![CDATA[
  1063. //window.load("SMPIE_금액정보.xrw", "modal", "pop", "width:1140; height:640;", "/root/main/list01", "/root/main/list01");
  1064. ]]>
  1065. </script>
  1066. <script type="javascript" ev:event="onaftersort">
  1067. <![CDATA[
  1068. grd_f101h.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  1069. ]]>
  1070. </script>
  1071. <script type="javascript" ev:event="onclick">
  1072. <![CDATA[
  1073. var row = grd_f102h.row;
  1074. var acptno = grd_f102h.valueMatrix(row, grd_f102h.colRef("acptno"));
  1075. for (var i = 1; i < grd_f103h.rows; i++) {
  1076. if (grd_f103h.valueMatrix(i,grd_f103h.colRef("acptno")) == acptno) {
  1077. grd_f103h.rowhidden(i) = false;
  1078. }
  1079. else {
  1080. grd_f103h.rowhidden(i) = true;
  1081. }
  1082. }
  1083. ]]>
  1084. </script>
  1085. <script type="javascript" ev:event="onmousedown">
  1086. <![CDATA[
  1087. if (event.button == 3) { // 3 : 오른쪽 버튼
  1088. if (grd_f102h.isCell(event.target) && grd_f102h.mouseRow >= grd_f102h.fixedrows) {
  1089. setPopupMenu("grd_f102h", false, "/root/popupdata/popupmenu/grd_f102h/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
  1090. }
  1091. }
  1092. ]]>
  1093. </script>
  1094. <script type="javascript" ev:event="DOMFocusOut">
  1095. <![CDATA[
  1096. initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
  1097. ]]>
  1098. </script>
  1099. <script type="javascript" ev:event="onkeydown">
  1100. <![CDATA[
  1101. // 셀 복사 Ctrl + C 키를 누른 경우
  1102. if (grd_f102h.isCell(event.target) && grd_f102h.row >= grd_f102h.fixedRows) {
  1103. var row = grd_f102h.row;
  1104. var col = grd_f102h.col;
  1105. var clip = grd_f102h.labelMatrix(row, col);
  1106. window.clipBoardData = clip;
  1107. }
  1108. ]]>
  1109. </script>
  1110. <script type="javascript" ev:event="oncopy">
  1111. <![CDATA[
  1112. grid_oncopy();
  1113. ]]>
  1114. </script>
  1115. </datagrid>
  1116. <button id="button1" class="btn2_letter3" style="left:924px; top:90px; width:53px; height:19px; ">
  1117. <caption>셀카피</caption>
  1118. <script type="javascript" ev:event="onclick">
  1119. <![CDATA[
  1120. grd_f102h.attribute("selectionmode") = "free";
  1121. // grd_i100.attribute("selectionmode") = "free";
  1122. // grd_f103h.attribute("selectionmode") = "free";
  1123. ]]>
  1124. </script>
  1125. </button>
  1126. <datagrid id="grd_f103h" nodeset="/root/main/grid/gridlist103/f103h" caption="내원유형^접수일자^청구번호^접수번호^명일련^반송코드^반송사유^비고" colsep="^" colwidth="55, 76, 76, 57, 46, 65, 270, 225" dataheight="23" ellipsis="true" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:285px; top:398px; width:909px; height:199px; ">
  1127. <col ref="ioflag" style="text-align:center; "/>
  1128. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1129. <col ref="clamno" style="text-align:center; "/>
  1130. <col ref="acptno" style="text-align:center; "/>
  1131. <col ref="docuseqno" style="text-align:center; "/>
  1132. <col ref="rtnrsncd" style="text-align:center; "/>
  1133. <col ref="rtnrsndesc" type="combo" style="text-align:left; ">
  1134. <choices>
  1135. <itemset nodeset="/root/init/P0456list/P0456">
  1136. <label ref="cdnm"/>
  1137. <value ref="cdid"/>
  1138. </itemset>
  1139. </choices>
  1140. </col>
  1141. <col ref="rem" type="inputbutton" style="text-align:center; "/>
  1142. <script type="javascript" ev:event="onbuttonclick">
  1143. <![CDATA[
  1144. model.setValue("/root/main/list02/rem", grd_f103h.valueMatrix(grd_f103h.row,grd_f103h.col));
  1145. modal("SPPIE00200", "", "400", "400" ,"", "/root/main/list02/rem", "/root/send/textno");
  1146. ]]>
  1147. </script>
  1148. <script type="javascript" ev:event="oncopy">
  1149. <![CDATA[
  1150. grid_oncopy();
  1151. ]]>
  1152. </script>
  1153. </datagrid>
  1154. <button id="button5" class="btn2_letter3" style="left:978px; top:90px; width:53px; height:19px; ">
  1155. <caption>열카피</caption>
  1156. <script type="javascript" ev:event="onclick">
  1157. <![CDATA[
  1158. grd_f102h.attribute("selectionmode") = "bycol";
  1159. // grd_i100.attribute("selectionmode") = "bycol";
  1160. // grd_f103h.attribute("selectionmode") = "bycol";
  1161. ]]>
  1162. </script>
  1163. </button>
  1164. <button id="button6" class="btn2_letter3" style="left:1032px; top:90px; width:53px; height:19px; ">
  1165. <caption>행카피</caption>
  1166. <script type="javascript" ev:event="onclick">
  1167. <![CDATA[
  1168. grd_f102h.attribute("selectionmode") = "byrow";
  1169. // grd_i100.attribute("selectionmode") = "byrow";
  1170. // grd_f103h.attribute("selectionmode") = "byrow";
  1171. ]]>
  1172. </script>
  1173. </button>
  1174. <button id="button12" class="btn2_letter4" style="left:1087px; top:90px; width:64px; height:19px; ">
  1175. <caption>엑셀저장</caption>
  1176. <script type="javascript" ev:event="DOMActivate">
  1177. <![CDATA[
  1178. var fileName = window.fileDialog("save", ",", false, "F010_2", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1179. if (fileName != "") {
  1180. grd_f102h.saveExcel(fileName, "sheetname:접수반송증내역", true, true, "", "", "");
  1181. }
  1182. ]]>
  1183. </script>
  1184. </button>
  1185. <button id="button2" class="btn2_letter4" style="left:1087px; top:373px; width:64px; height:19px; ">
  1186. <caption>엑셀저장</caption>
  1187. <script type="javascript" ev:event="DOMActivate">
  1188. <![CDATA[
  1189. var fileName = window.fileDialog("save", ",", false, "F010_3", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1190. if (fileName != "")
  1191. {
  1192. grd_f103h.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1193. }
  1194. ]]>
  1195. </script>
  1196. </button>
  1197. <button id="button26" class="btn2_letter2" style="left:1152px; top:90px; width:42px; height:19px; ">
  1198. <caption>출력</caption>
  1199. <script type="javascript" ev:event="DOMActivate">
  1200. <![CDATA[
  1201. model.removenode("/root/report/grid/gridlist102");
  1202. model.makeNode("/root/report/grid/gridlist102");
  1203. // 보고서에 들어갈 내용 담기
  1204. for (var i = 1; i < grd_f102h.rows; i++) {
  1205. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/appflagdesc", grd_f102h.valueMatrix(i, grd_f102h.colRef("appflagdesc"))); //신청구분
  1206. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ioflag", grd_f102h.valueMatrix(i, grd_f102h.colRef("ioflag"))); //내원유형
  1207. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/acptdd", grd_f102h.valueMatrix(i, grd_f102h.colRef("acptdd"))); //접수일자
  1208. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/flag", grd_f102h.valueMatrix(i, grd_f102h.colRef("flag"))); //접수,반송구분
  1209. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ordym", grd_f102h.valueMatrix(i, grd_f102h.colRef("ordym"))); //진료년월
  1210. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/insuflag", grd_f102h.labelMatrix(i, grd_f102h.colRef("insuflag"))); //보험자종별
  1211. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ordfildcd", grd_f102h.labelMatrix(i, grd_f102h.colRef("ordfildcd"))); //분야
  1212. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/clamflag", grd_f102h.labelMatrix(i, grd_f102h.colRef("clamflag"))); //청구구분
  1213. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/clamno", grd_f102h.valueMatrix(i, grd_f102h.colRef("clamno"))); //청구번호
  1214. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/acptno", grd_f102h.valueMatrix(i, grd_f102h.colRef("acptno"))); //접수번호
  1215. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/clamcnt", grd_f102h.valueMatrix(i, grd_f102h.colRef("clamcnt"))); //청구건수
  1216. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/medcaretotamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("medcaretotamt"))); //총진료비
  1217. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ownbamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("ownbamt"))); //본인부담금
  1218. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/clamamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("clamamt"))); //청구금액
  1219. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/ownbmaxexamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("ownbmaxexamt"))); //상한액
  1220. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/suppamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("suppamt")));//지원금
  1221. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/handcaprfund", grd_f102h.valueMatrix(i, grd_f102h.colRef("handcaprfund"))); //장애인금액
  1222. model.makeValue("/root/report/grid/gridlist102/f102h["+i+"]/subtamt", grd_f102h.valueMatrix(i, grd_f102h.colRef("subtamt")));//대불금
  1223. }
  1224. exeReportPreview("RPPIE00810", "XMLSTR", "","", "false","","","","","false");
  1225. ]]>
  1226. </script>
  1227. </button>
  1228. <button id="button3" class="btn2_letter2" style="left:1152px; top:373px; width:42px; height:19px; ">
  1229. <caption>출력</caption>
  1230. <script type="javascript" ev:event="DOMActivate">
  1231. <![CDATA[
  1232. exeReportPreview("RPPIE00820", "XMLSTR", "","", "false","","","","","false");
  1233. ]]>
  1234. </script>
  1235. </button>
  1236. <button id="btn_enter1" class="btn2_letter15" visibility="hidden" style="left:20px; top:145px; width:240px; height:19px; ">
  1237. <caption>[인풋박스]접수년월로 포커스이동</caption>
  1238. <script type="javascript" ev:event="DOMActivate">
  1239. <![CDATA[
  1240. model.setFocus("ipt_toacptym");
  1241. ]]>
  1242. </script>
  1243. </button>
  1244. <button id="btn_enter2" class="btn2_letter16" visibility="hidden" style="left:30px; top:155px; width:240px; height:19px; ">
  1245. <caption>[인풋박스]환자유형으로 포커스이동</caption>
  1246. <!-- - 2007.05.30 / 화면수정 / 다음 인풋박스로 이동하기위한 [Enter] 이벤트 핸들러 -->
  1247. <script type="javascript" ev:event="DOMActivate">
  1248. <![CDATA[
  1249. // 청구번호가 아닌 조회 기간으로 분야를 획득하도록 수정해야 한다.
  1250. model.setValue("/root/send/clamfild","");
  1251. // 2007.10.12 submit 변경
  1252. // submit("TRPIE00802");
  1253. // submit("TRPIE00803");
  1254. model.setFocus("cmb_clamfield");
  1255. // model.setFocus("ipt_clamno");
  1256. ]]>
  1257. </script>
  1258. </button>
  1259. <button id="button4" class="btn2_letter16" visibility="hidden" style="left:40px; top:165px; width:196px; height:19px; ">
  1260. <caption>[인풋박스]환자유형으로 포커스이동</caption>
  1261. <script type="javascript" ev:event="DOMActivate">
  1262. <![CDATA[
  1263. model.setValue("/root/send/clamfild","");
  1264. submit("TRPIE00802");
  1265. model.setFocus("cmb_clamfield");
  1266. ]]>
  1267. </script>
  1268. </button>
  1269. <!-- ########## 산재추가2 시작 JHP 2008.10.07 ########## -->
  1270. <!-- ########## 산재추가2 완료 JHP 2008.10.07 ########## -->
  1271. <caption id="caption5" class="tit_2" style="left:5px; top:95px; width:150px; height:13px; ">접수반송증1(F010.1)</caption>
  1272. <!-- ########## 산재추가7 시작 JHP 2008.10.22 ########## -->
  1273. <button id="button9" class="btn2_letter10" style="left:790px; top:90px; width:130px; height:19px; ">
  1274. <caption>월별진료비 입금내역</caption>
  1275. <script type="javascript" ev:event="onclick">
  1276. <![CDATA[
  1277. model.setValue("/root/send2/clamno",grd_f102h.valueMatrix(grd_f102h.row, grd_f102h.colRef("clamno")));
  1278. var insukind = grd_f102h.valueMatrix(grd_f102h.row, grd_f102h.colRef("clamtypecd"));
  1279. if ( insukind == "1" ) insukind = "11";
  1280. if ( insukind == "4" ) insukind = "21";
  1281. if ( insukind == "6" ) insukind = "41";
  1282. if ( insukind == "8" ) insukind = "31";
  1283. model.setValue("/root/send2/insukind",insukind);
  1284. model.setValue("/root/send2/termflag","4");
  1285. open("SMPIF31400", "1", "10", "10", "SMPIF31400", "/root/send2", "/root/send", "", "");
  1286. ]]>
  1287. </script>
  1288. </button>
  1289. <button id="button14" class="btn2_letter3" style="left:925px; top:373px; width:53px; height:19px; ">
  1290. <caption>셀카피</caption>
  1291. <script type="javascript" ev:event="onclick">
  1292. <![CDATA[
  1293. // grd_f102h.attribute("selectionmode") = "free";
  1294. // grd_i100.attribute("selectionmode") = "free";
  1295. grd_f103h.attribute("selectionmode") = "free";
  1296. ]]>
  1297. </script>
  1298. </button>
  1299. <button id="button15" class="btn2_letter3" style="left:979px; top:373px; width:53px; height:19px; ">
  1300. <caption>열카피</caption>
  1301. <script type="javascript" ev:event="onclick">
  1302. <![CDATA[
  1303. // grd_f102h.attribute("selectionmode") = "bycol";
  1304. // grd_i100.attribute("selectionmode") = "bycol";
  1305. grd_f103h.attribute("selectionmode") = "bycol";
  1306. ]]>
  1307. </script>
  1308. </button>
  1309. <button id="button16" class="btn2_letter3" style="left:1033px; top:373px; width:53px; height:19px; ">
  1310. <caption>행카피</caption>
  1311. <script type="javascript" ev:event="onclick">
  1312. <![CDATA[
  1313. // grd_f102h.attribute("selectionmode") = "byrow";
  1314. // grd_i100.attribute("selectionmode") = "byrow";
  1315. grd_f103h.attribute("selectionmode") = "byrow";
  1316. ]]>
  1317. </script>
  1318. </button>
  1319. </group>
  1320. <group id="group4" style="left:0px; top:610px; width:1195px; height:150px; ">
  1321. <caption id="caption4" class="tit_2" style="left:0px; top:8px; width:150px; height:13px; ">
  1322. <![CDATA[산재접수반송증(I100)]]>
  1323. <script type="javascript" ev:event="onclick">
  1324. <![CDATA[
  1325. if (group4.attribute("top") == "610" || group4.attribute("top") == "610px") {
  1326. group4.attribute("top") = "390px";
  1327. group4.attribute("height") = "370px";
  1328. grd_i100.attribute("height") = "337px";
  1329. grd_f101h.attribute("height") = "255px";
  1330. } else {
  1331. group4.attribute("top") = "610px";
  1332. group4.attribute("height") = "150px";
  1333. grd_i100.attribute("height") = "117px";
  1334. grd_f101h.attribute("height") = "481px";
  1335. }
  1336. model.refresh();
  1337. ]]>
  1338. </script>
  1339. </caption>
  1340. <line id="line4" class="line_1" style="x1:0px; y1:23px; x2:1195px; y2:23px; "/>
  1341. <datagrid id="grd_i100" nodeset="/root/main/grid/gridlist100/i100" caption="접수구분^진료년월^내원유형^집계형태^청구번호^접수반송구분^통지일자^접수번호^청구건수계^청구액계^반송사유^참조란^서식번호^의료기관코드" colsep="^" colwidth="84, 63, 62, 59, 77, 84, 64, 110, 73, 90, 66, 170, 67, 93" dataheight="23" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:28px; width:1195px; height:117px; ">
  1342. <col disabled="true" ref="acptflag" type="combo" style="text-align:center; ">
  1343. <choices>
  1344. <itemset nodeset="/root/init/P0273list/P0273">
  1345. <label ref="cdnm"/>
  1346. <value ref="cdid"/>
  1347. </itemset>
  1348. </choices>
  1349. </col>
  1350. <col ref="ordym" format="yyyy/mm" style="text-align:center; "/>
  1351. <col ref="ioflag" type="combo" style="text-align:center; ">
  1352. <choices>
  1353. <itemset nodeset="/root/init/P0028list/P0028">
  1354. <label ref="cdnm"/>
  1355. <value ref="cdid"/>
  1356. </itemset>
  1357. </choices>
  1358. </col>
  1359. <col ref="sumtypecd" type="combo" style="text-align:center; ">
  1360. <choices>
  1361. <itemset nodeset="/root/init/P0458list/P0458">
  1362. <label ref="cdnm"/>
  1363. <value ref="cdid"/>
  1364. </itemset>
  1365. </choices>
  1366. </col>
  1367. <col ref="clamno" style="text-align:center; "/>
  1368. <col disabled="true" ref="acptrtnflag" type="combo" style="text-align:center; ">
  1369. <choices>
  1370. <itemset nodeset="/root/init/P0275list/P0275">
  1371. <label ref="cdnm"/>
  1372. <value ref="cdid"/>
  1373. </itemset>
  1374. </choices>
  1375. </col>
  1376. <col ref="notidd" format="yy/mm/dd" style="text-align:center; "/>
  1377. <col ref="acptno" style="text-align:center; "/>
  1378. <col ref="clamcntsum" format="#,###" style="text-align:right; "/>
  1379. <col ref="clamamtsum" format="#,###" style="text-align:right; "/>
  1380. <col disabled="true" ref="sendresncd" style="text-align:left; "/>
  1381. <col ref="rem" style="text-align:left; "/>
  1382. <col ref="docuno" style="text-align:center; "/>
  1383. <col ref="healinstcd" style="text-align:center; "/>
  1384. <script type="javascript" ev:event="oncopy">
  1385. <![CDATA[
  1386. grid_oncopy();
  1387. ]]>
  1388. </script>
  1389. <script type="javascript" ev:event="onmousedown">
  1390. <![CDATA[
  1391. if (event.button == 3) { // 3 : 오른쪽 버튼
  1392. if (grd_i100.isCell(event.target) && grd_i100.mouseRow >= grd_i100.fixedrows) {
  1393. setPopupMenu("grd_i100", false, "/root/popupdata/popupmenu/grd_i100/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
  1394. }
  1395. }
  1396. ]]>
  1397. </script>
  1398. </datagrid>
  1399. <button id="button7" class="btn2_letter4" style="left:1129px; top:2px; width:64px; height:19px; ">
  1400. <caption>엑셀저장</caption>
  1401. <script type="javascript" ev:event="DOMActivate">
  1402. <![CDATA[
  1403. var fileName = window.fileDialog("save", ",", false, "I100", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1404. if (fileName != "")
  1405. {
  1406. grd_i100.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1407. }
  1408. // var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  1409. // // 그리드 제목을 선택하면 저장이 안된다.
  1410. // if (grd_i100.rows == 1) {
  1411. // return;
  1412. // }
  1413. //
  1414. // var fileName = window.fileDialog("save", ",", false, "I100-산재접수반송증_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1415. //
  1416. // if (fileName != "")
  1417. // {
  1418. // grd_i100.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1419. // }
  1420. ]]>
  1421. </script>
  1422. </button>
  1423. <button id="button10" class="btn2_letter3" style="left:967px; top:2px; width:53px; height:19px; ">
  1424. <caption>셀카피</caption>
  1425. <script type="javascript" ev:event="onclick">
  1426. <![CDATA[
  1427. // grd_f102h.attribute("selectionmode") = "free";
  1428. grd_i100.attribute("selectionmode") = "free";
  1429. // grd_f103h.attribute("selectionmode") = "free";
  1430. ]]>
  1431. </script>
  1432. </button>
  1433. <button id="button11" class="btn2_letter3" style="left:1021px; top:2px; width:53px; height:19px; ">
  1434. <caption>열카피</caption>
  1435. <script type="javascript" ev:event="onclick">
  1436. <![CDATA[
  1437. // grd_f102h.attribute("selectionmode") = "bycol";
  1438. grd_i100.attribute("selectionmode") = "bycol";
  1439. // grd_f103h.attribute("selectionmode") = "bycol";
  1440. ]]>
  1441. </script>
  1442. </button>
  1443. <button id="button13" class="btn2_letter3" style="left:1075px; top:2px; width:53px; height:19px; ">
  1444. <caption>행카피</caption>
  1445. <script type="javascript" ev:event="onclick">
  1446. <![CDATA[
  1447. // grd_f102h.attribute("selectionmode") = "byrow";
  1448. grd_i100.attribute("selectionmode") = "byrow";
  1449. // grd_f103h.attribute("selectionmode") = "byrow";
  1450. ]]>
  1451. </script>
  1452. </button>
  1453. </group>
  1454. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  1455. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">접수반송증조회(F010)</caption>
  1456. </group>
  1457. <!-- ########## 산재추가7 완료 JHP 2008.10.22 ########## -->
  1458. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  1459. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1460. <button id="button8" class="btn4_letter3" visibility="visible" style="left:1127px; top:5px; width:68px; height:22px; ">
  1461. <caption>초기화</caption>
  1462. <script type="javascript" ev:event="DOMActivate">
  1463. <![CDATA[
  1464. fInitialize();
  1465. ]]>
  1466. </script>
  1467. </button>
  1468. </group>
  1469. </xhtml:body>
  1470. </xhtml:html>