SMPIF60310_개인별환수조회.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>개인별환수조회(SMPIF60310)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send01>
  11. <termflag/>
  12. <fromdd/>
  13. <todd/>
  14. <insukind>11</insukind>
  15. <ioflag>A</ioflag>
  16. <rtncheck/>
  17. <srchcond>1</srchcond>
  18. <srchcond1/>
  19. <srchcond2/>
  20. <clamno/>
  21. <docuseqno/>
  22. <ofidocno/>
  23. <patunitsrch1/>
  24. <patunitsrch2/>
  25. <rrgstno/>
  26. <rtnflag/>
  27. <rtnendyn/>
  28. <ordfildcd/>
  29. <clamdeptcd/>
  30. <cpcd/>
  31. <assocd/>
  32. </send01>
  33. </send>
  34. <main>
  35. <list01>
  36. <gridpsnrtndetl>
  37. <rtnyn/>
  38. <clamym/>
  39. <ordym/>
  40. <acptno/>
  41. <judgdg/>
  42. <docuseqno/>
  43. <pid/>
  44. <patnm/>
  45. <deciamt/>
  46. <rtnamt/>
  47. <rtnflag/>
  48. <rtnresn/>
  49. <ofidocflag/>
  50. <ofidocno/>
  51. <ofidocarvdd/>
  52. <assocd/>
  53. <clprocinstmark/>
  54. <jrprocinstmark/>
  55. <clamdeptcd/>
  56. <clamtotordamt/>
  57. <clamamt/>
  58. <judgdeciamt/>
  59. <jrtotordamt/>
  60. <jrownbamt/>
  61. <jrinsubamt/>
  62. <jrhandicaprfund/>
  63. <patrrgstno/>
  64. <rtnjudgdg/>
  65. <rtnacptno/>
  66. <rtnclamno/>
  67. <clamno/>
  68. <instcd/>
  69. <mpsno/>
  70. <rtnseqno/>
  71. </gridpsnrtndetl>
  72. </list01>
  73. <list02>
  74. <gridpsnrtndetl/>
  75. </list02>
  76. <patinfo>
  77. <patinfolist/>
  78. </patinfo>
  79. <batchapp>
  80. <ofidocno/>
  81. <ofidocarvdd/>
  82. <bohoinstcd/>
  83. </batchapp>
  84. <result/>
  85. </main>
  86. <init>
  87. <P0291list>
  88. <P0291>
  89. <cdid/>
  90. <cdnm/>
  91. </P0291>
  92. </P0291list>
  93. <P0302list>
  94. <P0302>
  95. <cdid/>
  96. <cdnm/>
  97. </P0302>
  98. </P0302list>
  99. <U0001list>
  100. <U0001>
  101. <srchcond2/>
  102. </U0001>
  103. </U0001list>
  104. <U0002list>
  105. <U0002>
  106. <clamno/>
  107. </U0002>
  108. </U0002list>
  109. <U0003list>
  110. <U0003>
  111. <clamno/>
  112. </U0003>
  113. </U0003list>
  114. <U0004list>
  115. <U0004>
  116. <assocd/>
  117. <assonm/>
  118. </U0004>
  119. </U0004list>
  120. <U0006list>
  121. <U0006>
  122. <cdid/>
  123. <cdnm/>
  124. </U0006>
  125. </U0006list>
  126. <temp>
  127. <code00list>
  128. <code00>
  129. <value/>
  130. <label/>
  131. </code00>
  132. </code00list>
  133. </temp>
  134. </init>
  135. <hidden>
  136. <sppmc02500>
  137. <cond>
  138. <srchcond/>
  139. <pid/>
  140. <hngnm/>
  141. <rrgstno1/>
  142. <rrgstno2/>
  143. </cond>
  144. </sppmc02500>
  145. </hidden>
  146. </root>
  147. </instance>
  148. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  149. <submission id="TRPIF60306" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0005list"/>
  150. <submission id="TRPIF60311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
  151. <submission id="TRPIF60312" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/U0001list"/>
  152. <submission id="TRPIF60313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/U0002list"/>
  153. <submission id="TRPIF60326" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/U0004list"/>
  154. <submission id="TRPIF60327" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/temp"/>
  155. </model>
  156. <script type="javascript" ev:event="xforms-ready">
  157. <![CDATA[
  158. //grd_excel.attribute("visibility") = "hidden";
  159. CommCode_Load();
  160. ]]>
  161. </script>
  162. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  163. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  164. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  165. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  166. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  167. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  168. <script type="javascript">
  169. <![CDATA[
  170. function Node_Init() {
  171. // NodeSet 초기화
  172. model.resetInstanceNode("/root/main/list01");
  173. model.refresh();
  174. }
  175. // 공통코드 Load작업
  176. function CommCode_Load() {
  177. // 관련 Control 초기화
  178. zbcfGetCodeList(new Array("P0291","P0302"), new Array("/root/init/P0291list","/root/init/P0302list"));
  179. //zbcfGetCodeList(new Array("P0247"), new Array( "/root/init/P0247list"));
  180. //zbcfGetCodeList(new Array("P0261"), new Array( "/root/init/P0261list"));
  181. //zbcfGetCodeList(new Array("P0295"), new Array( "/root/init/P0295list"));
  182. grd_psnrtndetl.colHidden(16) = true;
  183. grd_psnrtndetl.colHidden(17) = true;
  184. grd_psnrtndetl.colHidden(18) = true;
  185. model.makeNode("/root/send/send01/usesrcflag"); // 화면의 용도가 조회인지 관리인지 알려주는 인스턴스
  186. model.setValue("/root/send/send01/usesrcflag","srch");
  187. submit("TRPIF60306");
  188. submit("TRPIF60327");
  189. model.refresh();
  190. model.setFocus("ipt_srchcond1");
  191. }
  192. function search() {
  193. //if (combo1.value == "") {
  194. //if(rdo_srchcond.value != "") {
  195. //if(rdo_srchcond.value == "1") {
  196. //if(ipt_srchcond1.value == "") {
  197. //messageBox("접수번호를","C001");
  198. //model.setFocus("ipt_srchcond1");
  199. //return false;
  200. //}
  201. //}
  202. //if(rdo_srchcond.value == "2") {
  203. //if(ipt_srchcond1.value == "") {
  204. //messageBox("심사차수를","C001");
  205. //model.setFocus("ipt_srchcond1");
  206. //return false;
  207. //}
  208. //}
  209. //}
  210. //}
  211. // 환자단위조회 Input Box의 값이 널이 아닌 경우
  212. if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
  213. fGetInAftJudgTrgtManList();
  214. }
  215. // 환자단위조회 Input Box의 값이 널일 경우 환자단위조회 관련값 초기화
  216. if(ipt_patunitsrch.value == "") {
  217. model.setValue("/root/send/send01/patunitsrch2","");
  218. }
  219. submit("TRPIF60311");
  220. if(rdo_insukind.value == "11") {
  221. grd_psnrtndetl.colHidden(16) = true;
  222. grd_psnrtndetl.colHidden(17) = true;
  223. grd_psnrtndetl.colHidden(18) = true;
  224. } else {
  225. grd_psnrtndetl.colHidden(16) = false;
  226. grd_psnrtndetl.colHidden(17) = false;
  227. grd_psnrtndetl.colHidden(18) = false;
  228. }
  229. }
  230. function fGetInAftJudgTrgtManList(){
  231. // 환자단위조회를 하는 경우
  232. var patunitsrch1 = model.getValue("/root/send/send01/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
  233. model.setValue("/root/send/send01/patunitsrch1", patunitsrch1);
  234. if (patunitsrch1 == "") {
  235. model.setValue("/root/send/send01/patunitsrch2", "");
  236. }
  237. else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
  238. /** [2007.03.23 jumi]
  239. Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
  240. */
  241. // if (patunitsrch1.length < 8) {
  242. // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
  243. // }
  244. model.setValue("/root/send/send01/patunitsrch2", "pidSrch");
  245. } else { // 문자가 입력된 경우 환자이름으로 조회한다.
  246. if (patunitsrch1.length > 1) {
  247. model.setValue("/root/send/send01/patunitsrch2", "nmSrch");
  248. } else {
  249. model.setValue("/root/send/send01/patunitsrch2", "");
  250. model.refresh();
  251. messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
  252. return;
  253. }
  254. }
  255. }
  256. ]]>
  257. </script>
  258. </xhtml:head>
  259. <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  260. <group id="grp_tle" style="left:0px; top:0px; width:1194px; height:13px; ">
  261. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:281px; height:14px; ">개인별 환수조회</caption>
  262. </group>
  263. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1194px; height:744px; ">
  264. <group id="group2" style="left:0px; top:10px; width:1194px; height:110px; vertical-align:top; ">
  265. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:110px; background-color:#fffbf2; border-color:#ffd799; "/>
  266. <caption id="caption2" class="search_name" style="left:463px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
  267. <line id="line13" class="line_4" style="x1:1103px; y1:34px; x2:1103px; y2:56px; border-color:#ffe4bb; border-left-style:solid; "/>
  268. <button id="btn_search" class="btn1_letter2" style="left:1118px; top:34px; width:56px; height:22px; ">
  269. <caption>조회</caption>
  270. <script type="javascript" ev:event="onclick">
  271. <![CDATA[
  272. search();
  273. ]]>
  274. </script>
  275. </button>
  276. <caption id="caption4" class="search_name" style="left:323px; top:60px; width:86px; height:17px; ">주민번호 :</caption>
  277. <caption id="caption7" class="search_name" style="left:15px; top:34px; width:86px; height:17px; ">내원유형 :</caption>
  278. <input id="input2" ref="/root/send/send01/rrgstno" class="input_search" format="999999-9999999" style="left:413px; top:58px; width:105px; height:19px; "/>
  279. <input id="ipt_srchcond1" ref="/root/send/send01/srchcond1" class="input_search" inputtype="button" style="left:444px; top:33px; width:90px; height:19px; ">
  280. <script type="javascript" ev:event="onkeyup">
  281. <![CDATA[
  282. inputEnterKey("button108", "DOMActivate");
  283. ]]>
  284. </script>
  285. <script type="javascript" ev:event="onbuttonclick">
  286. <![CDATA[
  287. //조회조건이 청구년월일 경우 버튼 동작 안하도록 설정
  288. if(rdo_srchcond.value == "2") {
  289. return false;
  290. }
  291. rdo_srchcond.value = '1';
  292. model.makeNode("/root/send/send01/termflag");
  293. model.makeNode("/root/send/send01/fromdd");
  294. model.makeNode("/root/send/send01/todd");
  295. model.makeNode("/root/send/send01/insukind");
  296. model.makeNode("/root/send/send01/acptno");
  297. //model.setValue("/root/send/send01/insukind","11");
  298. setParameter("SPPIF30302_RTNTYPE", "P");
  299. modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
  300. model.setValue("/root/send/send01/srchcond1", getParameter("SPPIF30302_acptno"));
  301. //model.removeNodeset("/root/send/send01");
  302. clearParameter("SPPIF30302_RTNTYPE");
  303. clearParameter("SPPIF30302_acptno");
  304. ipt_srchcond1.refresh();
  305. if( model.getValue("/root/send/send01/srchcond1") != '' ){
  306. button108.dispatch("DOMActivate");
  307. }
  308. ]]>
  309. </script>
  310. </input>
  311. <select1 id="radio2" ref="/root/send/send01/ioflag" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:104px; top:35px; width:149px; height:15px; border-style:none; ">
  312. <choices>
  313. <item>
  314. <label>전체</label>
  315. <value>A</value>
  316. </item>
  317. <item>
  318. <label>입원</label>
  319. <value>I</value>
  320. </item>
  321. <item>
  322. <label>외래</label>
  323. <value>O</value>
  324. </item>
  325. </choices>
  326. </select1>
  327. <caption id="caption8" class="search_name" style="left:860px; top:34px; width:88px; height:17px; ">명 일 련 :</caption>
  328. <caption id="caption3" style="left:342px; top:10px; width:15px; height:15px; ">~</caption>
  329. <input id="ipt_todd" ref="/root/send/send01/todd" class="input_search" navindex="4" inputtype="date" format="yyyy-mm" style="left:358px; top:7px; width:78px; height:19px; "/>
  330. <select1 id="rdo_termflag" ref="/root/send/send01/termflag" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:16px; top:8px; width:239px; height:16px; font-weight:bold; border-style:none; ">
  331. <choices>
  332. <item>
  333. <label>진료월</label>
  334. <value>ordym</value>
  335. </item>
  336. <item>
  337. <label>청구월</label>
  338. <value>clamym</value>
  339. </item>
  340. <item>
  341. <label>환수월</label>
  342. <value>rtnym</value>
  343. </item>
  344. <item>
  345. <label>도착월</label>
  346. <value>arvym</value>
  347. </item>
  348. </choices>
  349. </select1>
  350. <input id="ipt_fromdd" ref="/root/send/send01/fromdd" class="input_search" navindex="3" inputtype="date" format="yyyy-mm" style="left:258px; top:7px; width:80px; height:19px; "/>
  351. <caption id="caption5" class="search_name" style="left:631px; top:34px; width:86px; height:17px; ">청구번호 :</caption>
  352. <caption id="caption9" class="search_name" style="left:631px; top:59px; width:90px; height:17px; ">공문번호 :</caption>
  353. <input id="ipt_patunitsrch" ref="/root/send/send01/patunitsrch1" class="input_search" inputtype="button" style="left:130px; top:58px; width:90px; height:19px; ">
  354. <hint>
  355. <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
  356. </hint>
  357. <script type="javascript" ev:event="onkeypress">
  358. <![CDATA[
  359. if (event.keyCode == "13") { // Enter 입력 시에
  360. if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
  361. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  362. fGetInAftJudgTrgtManList();
  363. }
  364. }
  365. ]]>
  366. </script>
  367. <script type="javascript" ev:event="onbuttonclick">
  368. <![CDATA[
  369. var ipt_pid = model.getValue("/root/send/send01/patunitsrch1");
  370. if (ipt_pid) {
  371. if(ipt_pid.isNumber()) {
  372. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  373. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  374. } else {
  375. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
  376. model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
  377. }
  378. } else {
  379. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  380. }
  381. modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
  382. // 환자단위조회 InputBox에 값을 입력후 팝업조회했을 때
  383. if (ipt_pid != "") {
  384. if(ipt_pid.isNumber()) {
  385. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  386. model.setValue("/root/send/send01/patunitsrch1", srch_pid);
  387. } else {
  388. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  389. model.setValue("/root/send/send01/patunitsrch1", srch_pid);
  390. }
  391. } else {
  392. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  393. model.setValue("/root/send/send01/patunitsrch1", srch_pid);
  394. }
  395. model.refresh();
  396. fGetInAftJudgTrgtManList();
  397. ]]>
  398. </script>
  399. </input>
  400. <caption id="caption12" class="search_name" style="left:15px; top:59px; width:112px; height:17px; ">환자단위조회 :</caption>
  401. <select1 id="rdo_endyn" ref="/root/send/send01/rtnendyn" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:130px; top:82px; width:149px; height:20px; border-style:none; ">
  402. <choices>
  403. <item>
  404. <label>전체</label>
  405. <value>A</value>
  406. </item>
  407. <item>
  408. <label>완료</label>
  409. <value>Y</value>
  410. </item>
  411. <item>
  412. <label>미완료</label>
  413. <value>N</value>
  414. </item>
  415. </choices>
  416. </select1>
  417. <caption id="caption18" class="search_name" style="left:860px; top:58px; width:86px; height:17px; ">환수구분 :</caption>
  418. <select1 id="combo1" ref="/root/send/send01/rtnflag" class="combo_search" appearance="minimal" style="left:950px; top:58px; width:100px; height:19px; ">
  419. <choices>
  420. <itemset nodeset="/root/init/P0302list/P0302">
  421. <label ref="cdnm"/>
  422. <value ref="cdid"/>
  423. </itemset>
  424. </choices>
  425. </select1>
  426. <caption id="caption19" class="search_name" style="left:15px; top:82px; width:112px; height:17px; ">환수완료여부 :</caption>
  427. <select1 id="combo2" ref="/root/send/send01/ordfildcd" class="combo_search" appearance="minimal" style="left:413px; top:83px; width:105px; height:19px; ">
  428. <choices>
  429. <itemset nodeset="/root/init/P0291list/P0291">
  430. <label ref="cdnm"/>
  431. <value ref="cdid"/>
  432. </itemset>
  433. </choices>
  434. </select1>
  435. <caption id="caption22" class="search_name" style="left:323px; top:83px; width:87px; height:17px; ">진료분야 :</caption>
  436. <caption id="caption23" class="search_name" style="left:631px; top:83px; width:87px; height:17px; ">청 구 과 :</caption>
  437. <select1 id="combo3" ref="/root/send/send01/clamdeptcd" class="combo_search" appearance="minimal" style="left:721px; top:83px; width:145px; height:19px; ">
  438. <choices>
  439. <itemset nodeset="/root/init/U0006list/U0006">
  440. <label ref="cdnm"/>
  441. <value ref="cdid"/>
  442. </itemset>
  443. </choices>
  444. </select1>
  445. <select1 id="rdo_srchcond" ref="/root/send/send01/srchcond" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:294px; top:34px; width:150px; height:16px; font-weight:bold; border-style:none; ">
  446. <choices>
  447. <item>
  448. <label>접수번호</label>
  449. <value>1</value>
  450. </item>
  451. <item>
  452. <label>심사차수</label>
  453. <value>2</value>
  454. </item>
  455. </choices>
  456. <script type="javascript" ev:event="xforms-select">
  457. <![CDATA[
  458. ipt_srchcond1.value = "";
  459. cmb_srchcond2.value = "";
  460. cmb_clamno.value = "";
  461. model.resetInstanceNode("/root/init/U0001list/U0001/srchcond2");
  462. model.resetInstanceNode("/root/init/U0002list/U0002/clamno");
  463. model.refresh();
  464. model.setFocus("ipt_srchcond1");
  465. ]]>
  466. </script>
  467. </select1>
  468. <select1 id="cmb_srchcond2" ref="/root/send/send01/srchcond2" class="combo_search" appearance="minimal" style="left:535px; top:33px; width:80px; height:19px; ">
  469. <choices>
  470. <itemset nodeset="/root/init/U0001list/U0001">
  471. <label ref="srchcond2"/>
  472. <value ref="srchcond2"/>
  473. </itemset>
  474. </choices>
  475. <script type="javascript" ev:event="xforms-select">
  476. <![CDATA[
  477. submit("TRPIF60313");
  478. if(cmb_clamno.length == 1) {
  479. cmb_clamno.value = model.getValue("/root/init/U0002list/U0002/clamno");
  480. model.setFocus("ipt_docuseqno");
  481. } else {
  482. model.setFocus("cmb_clamno");
  483. }
  484. ]]>
  485. </script>
  486. </select1>
  487. <input id="ipt_docuseqno" ref="/root/send/send01/docuseqno" class="input_search" style="left:950px; top:33px; width:90px; height:19px; "/>
  488. <input id="ipt_ofidocno" ref="/root/send/send01/ofidocno" class="input_search" style="left:721px; top:58px; width:85px; height:19px; "/>
  489. <select1 id="cmb_clamno" ref="/root/send/send01/clamno" class="combo_search" appearance="minimal" style="left:721px; top:33px; width:85px; height:19px; ">
  490. <choices>
  491. <itemset nodeset="/root/init/U0002list/U0002">
  492. <label ref="clamno"/>
  493. <value ref="clamno"/>
  494. </itemset>
  495. </choices>
  496. </select1>
  497. <select1 id="rdo_insukind" ref="/root/send/send01/insukind" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:551px; top:10px; width:104px; height:15px; border-style:none; ">
  498. <choices>
  499. <item>
  500. <label>보험</label>
  501. <value>11</value>
  502. </item>
  503. <item>
  504. <label>보호</label>
  505. <value>21</value>
  506. </item>
  507. </choices>
  508. <script type="javascript" ev:event="xforms-value-changed">
  509. <![CDATA[
  510. if(rdo_insukind.value == "11") {
  511. cpt_cpcd.visible = false;
  512. cmb_cpcd.visible = false;
  513. cpt_assocd.visible = false;
  514. cmb_assocd.visible = false;
  515. }
  516. if(rdo_insukind.value == "21") {
  517. cpt_cpcd.visible = true;
  518. cmb_cpcd.visible = true;
  519. cpt_assocd.visible = true;
  520. cmb_assocd.visible = true;
  521. }
  522. model.setValue("/root/send/send01/srchcond1","");
  523. model.setValue("/root/send/send01/srchcond2","");
  524. model.setValue("/root/send/send01/clamno","");
  525. ipt_srchcond1.value = "";
  526. cmb_srchcond2.value = "";
  527. cmb_clamno.value = "";
  528. model.removenode("/root/main/list01");
  529. model.setFocus("ipt_srchcond1");
  530. ]]>
  531. </script>
  532. </select1>
  533. <select1 id="cmb_cpcd" ref="/root/send/send01/cpcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:750px; top:7px; width:85px; height:19px; ">
  534. <choices>
  535. <item>
  536. <label/>
  537. <value/>
  538. </item>
  539. <item>
  540. <label>강원</label>
  541. <value>1</value>
  542. </item>
  543. <item>
  544. <label>경기</label>
  545. <value>2</value>
  546. </item>
  547. <item>
  548. <label>경남</label>
  549. <value>3</value>
  550. </item>
  551. <item>
  552. <label>경북</label>
  553. <value>4</value>
  554. </item>
  555. <item>
  556. <label>광주광역시</label>
  557. <value>5</value>
  558. </item>
  559. <item>
  560. <label>대구광역시</label>
  561. <value>6</value>
  562. </item>
  563. <item>
  564. <label>대전광역시</label>
  565. <value>7</value>
  566. </item>
  567. <item>
  568. <label>부산광역시</label>
  569. <value>8</value>
  570. </item>
  571. <item>
  572. <label>서울특별시</label>
  573. <value>9</value>
  574. </item>
  575. <item>
  576. <label>울산광역시</label>
  577. <value>10</value>
  578. </item>
  579. <item>
  580. <label>인천광역시</label>
  581. <value>11</value>
  582. </item>
  583. <item>
  584. <label>전남</label>
  585. <value>12</value>
  586. </item>
  587. <item>
  588. <label>전북</label>
  589. <value>13</value>
  590. </item>
  591. <item>
  592. <label>제주</label>
  593. <value>14</value>
  594. </item>
  595. <item>
  596. <label>충남</label>
  597. <value>15</value>
  598. </item>
  599. <item>
  600. <label>충북</label>
  601. <value>16</value>
  602. </item>
  603. </choices>
  604. <script type="javascript" ev:event="xforms-select">
  605. <![CDATA[
  606. submit("TRPIF60326"); // 조회조건의 시군구코드 조회
  607. ]]>
  608. </script>
  609. </select1>
  610. <select1 id="cmb_assocd" ref="/root/send/send01/assocd" class="combo_search" visibility="hidden" appearance="minimal" style="left:950px; top:7px; width:90px; height:19px; ">
  611. <choices>
  612. <itemset nodeset="/root/init/U0004list/U0004">
  613. <label ref="assonm"/>
  614. <value ref="assocd"/>
  615. </itemset>
  616. </choices>
  617. </select1>
  618. <caption id="cpt_assocd" class="search_name" visibility="hidden" style="left:860px; top:8px; width:83px; height:17px; ">시 군 구 :</caption>
  619. <caption id="cpt_cpcd" class="search_name" visibility="hidden" style="left:680px; top:8px; width:65px; height:17px; ">시 도 :</caption>
  620. <bool id="bool1" ref="/root/send/send01/rtncheck" style="left:271px; top:32px; width:25px; height:20px; ">
  621. <hint>
  622. <![CDATA[상계접수번호로 조회]]>
  623. </hint>
  624. </bool>
  625. <button id="button2" class="btn2_letter3" style="left:1119px; top:58px; width:53px; height:19px; ">
  626. <caption>초기화</caption>
  627. <script type="javascript" ev:event="onclick">
  628. <![CDATA[
  629. model.resetInstanceNode("/root/send");
  630. model.removenode("/root/main/list01/gridpsnrtndetl");
  631. //model.resetInstanceNode("/root/main/list01/gridpsnrtndetl");
  632. grd_psnrtndetl.colHidden(16) = true;
  633. grd_psnrtndetl.colHidden(17) = true;
  634. grd_psnrtndetl.colHidden(18) = true;
  635. model.makeNode("/root/send/send01/usesrcflag"); // 화면의 용도가 조회인지 관리인지 알려주는 인스턴스
  636. model.setValue("/root/send/send01/usesrcflag","srch");
  637. model.setValue("/root/send/send01/ioflag", "A");
  638. model.setValue("/root/send/send01/srchcond", "1");
  639. model.setValue("/root/send/send01/insukind", "11");
  640. model.setFocus("ipt_srchcond1");
  641. model.refresh();
  642. ]]>
  643. </script>
  644. </button>
  645. </group>
  646. <caption id="caption17" class="tit_2" style="left:5px; top:131px; width:124px; height:13px; ">개인별 환수내역</caption>
  647. <line id="line3" class="line_1" style="x1:0px; y1:149px; x2:1194px; y2:149px; "/>
  648. <button id="button3" class="btn2_letter4" style="left:1128px; top:127px; width:64px; height:19px; ">
  649. <caption>엑셀저장</caption>
  650. <script type="javascript" ev:event="DOMActivate">
  651. <![CDATA[
  652. var fileName = window.fileDialog("save", ",", false, cap_title.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  653. if (fileName != "") { grd_pirhobtspec.saveExcel(fileName, "SheetName", true, true, "", "", ""); }
  654. ]]>
  655. </script>
  656. </button>
  657. <datagrid id="grd_psnrtndetl" nodeset="/root/main/list01/gridpsnrtndetl" class="datagrid2" caption="환수&#xA;여부^청구월^진료월^접수번호^심사차수^명세서번호^등록번호^수진자명^결정액^환수액^환수구분^사유^공문구분^공문번호^공문도착일자^입금보장기관기호^청구보장기관기호^심결보장기관기호^청구과^총진료비^청구액^심사결정액^심결총진료비^심결&#xA;본인부담금^심결&#xA;보험자부담금^심결&#xA;장애인진료비^주민번호^상계심사차수^상계접수번호^상계청구번호" colsep="^" colwidth="40, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 90, 90, 110, 110, 110, 100, 100, 100, 100, 100, 100, 100, 100, 120, 90, 90, 90, 100, 100, 100, 100" dataheight="23" defaultrows="2" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:154px; width:1194px; height:577px; ">
  658. <col ref="rtnyn" style="text-align:center; "/>
  659. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  660. <col ref="ordym" format="yyyy-mm" style="text-align:center; "/>
  661. <col ref="acptno" style="text-align:center; "/>
  662. <col ref="judgdg" style="text-align:center; "/>
  663. <col ref="docuseqno" style="text-align:center; "/>
  664. <col ref="pid" style="text-align:center; "/>
  665. <col ref="patnm" style="text-align:center; "/>
  666. <col ref="deciamt" format="#,###" style="text-align:right; "/>
  667. <col ref="rtnamt" format="#,###" style="text-align:right; "/>
  668. <col disabled="true" ref="rtnflag" type="combo">
  669. <choices>
  670. <itemset nodeset="/root/init/P0302list/P0302">
  671. <label ref="cdnm"/>
  672. <value ref="cdid"/>
  673. </itemset>
  674. </choices>
  675. </col>
  676. <col ref="rtnresn" style="text-align:center; "/>
  677. <col disabled="true" ref="ofidocflag" type="combo" style="text-align:center; ">
  678. <choices>
  679. <item>
  680. <label>예정공문</label>
  681. <value>0</value>
  682. </item>
  683. <item>
  684. <label>결정공문</label>
  685. <value>1</value>
  686. </item>
  687. </choices>
  688. </col>
  689. <col ref="ofidocno" style="text-align:center; "/>
  690. <col ref="ofidocarvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  691. <col id="col19" ref="assocd" type="combo">
  692. <choices>
  693. <itemset nodeset="/root/init/temp/code00list/code00">
  694. <label ref="label"/>
  695. <value ref="value"/>
  696. </itemset>
  697. </choices>
  698. </col>
  699. <col ref="clprocinstmark"/>
  700. <col ref="jrprocinstmark"/>
  701. <col ref="clamdeptcd" style="text-align:center; "/>
  702. <col ref="clamtotordamt" format="#,###" style="text-align:right; "/>
  703. <col ref="clamamt" format="#,###" style="text-align:right; "/>
  704. <col ref="judgdeciamt" format="#,###" style="text-align:right; "/>
  705. <col ref="jrtotordamt" format="#,###" style="text-align:right; "/>
  706. <col ref="jrownbamt" format="#,###" style="text-align:right; "/>
  707. <col ref="jrinsubamt" format="#,###" style="text-align:right; "/>
  708. <col ref="jrhandicaprfund" format="#,###" style="text-align:right; "/>
  709. <col ref="patrrgstno" format="999999-9999999" style="text-align:center; "/>
  710. <col ref="rtnjudgdg" style="text-align:center; "/>
  711. <col ref="rtnacptno" style="text-align:center; "/>
  712. <col ref="rtnclamno" style="text-align:center; "/>
  713. <col ref="clamno" visibility="hidden"/>
  714. <col ref="instcd" visibility="hidden"/>
  715. <col ref="mpsno" visibility="hidden"/>
  716. <col ref="rtnseqno" visibility="hidden"/>
  717. </datagrid>
  718. <button id="button108" class="btn2_letter17" visibility="hidden" style="left:15px; top:420px; width:163px; height:19px; ">
  719. <caption>[콤보박스]접수번호/심사차수 내려받기</caption>
  720. <!-- - 2007.05.30 / 화면수정 / 청구년월을 획득하기위한 [Enter] 이벤트 핸들러 -->
  721. <script type="javascript" ev:event="DOMActivate">
  722. <![CDATA[
  723. // 가비지 데이터 삭제
  724. model.removenode("/root/init/U0001list/U0001");
  725. model.removenode("/root/init/U0002list/U0002");
  726. model.resetInstanceNode("/root/init/U0001list/U0001");
  727. model.resetInstanceNode("/root/init/U0002list/U0002");
  728. model.setValue("/root/send/send01/srchcond2","");
  729. model.setValue("/root/send/send01/clamno","");
  730. if(ipt_srchcond1.value.length >0) {
  731. submit("TRPIF60312");
  732. if(cmb_srchcond2.length > 0) {
  733. if(cmb_srchcond2.length == 1) {
  734. cmb_srchcond2.value = model.getValue("/root/init/U0001list/U0001/srchcond2");
  735. submit("TRPIF60313");
  736. if(cmb_clamno.length == 1) {
  737. cmb_clamno.value = model.getValue("/root/init/U0002list/U0002/clamno");
  738. model.setFocus("ipt_docuseqno");
  739. } else {
  740. model.setFocus("cmb_clamno");
  741. }
  742. } else {
  743. model.setFocus("cmb_srchcond2");
  744. }
  745. } else {
  746. if(rdo_srchcond.value == "1") {
  747. messageBox("조회된 심사차수가","I004");
  748. model.setFocus("ipt_srchconde1");
  749. }
  750. if(rdo_srchcond.value == "2") {
  751. messageBox("조회된 접수번호가","I004");
  752. model.setFocus("ipt_srchconde1");
  753. }
  754. }
  755. } else {
  756. model.setFocus("ipt_srchcond1");
  757. }
  758. ]]>
  759. </script>
  760. </button>
  761. </group>
  762. <group id="grp_btn" style="left:0px; top:757px; width:1194px; height:27px; "/>
  763. </xhtml:body>
  764. </xhtml:html>