SMPIF32100_입금내역관리(자보).xrw 83 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>입금내역관리(자보)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send01>
  11. <insukind>31</insukind>
  12. <acptno/>
  13. <judgdg/>
  14. <clamno/>
  15. <datefilter/>
  16. <clamtypecd/>
  17. <insuflag/>
  18. </send01>
  19. <send02>
  20. </send02>
  21. <uncoendprcs>
  22. <insukindflag>1</insukindflag>
  23. </uncoendprcs>
  24. </send>
  25. <main>
  26. <list001>
  27. <U0001>
  28. <clamno/>
  29. </U0001>
  30. <acptnocnt>
  31. <cnt/>
  32. </acptnocnt>
  33. </list001>
  34. <list002>
  35. <U0002>
  36. <judgdg/>
  37. <setno/>
  38. </U0002>
  39. </list002>
  40. <list003>
  41. <U0003>
  42. <judgdg/>
  43. </U0003>
  44. </list003>
  45. <list01>
  46. <gridpidmclam>
  47. <clamym/>
  48. <uncoym/>
  49. <acptdd/>
  50. <clamflag/>
  51. <judgdg/>
  52. <ioflag/>
  53. <ordfildcd/>
  54. <clamno/>
  55. </gridpidmclam>
  56. <gridpifmiunc>
  57. <cnt_clam/>
  58. <clmcstotamt/>
  59. <clownbamt/>
  60. <clclamamt/>
  61. <clownbmaxexamt/>
  62. <clsuppamt/>
  63. <clhsuppamt/>
  64. <cllsuppamt/>
  65. <cnt_judgdeci/>
  66. <jrtotordamt01/>
  67. <jrownbamt01/>
  68. <jrjudgdeciamt01/>
  69. <jrownbmaxexamt01/>
  70. <jrsuppamt01/>
  71. <jrhsuppamt01/>
  72. <jrlsuppamt01/>
  73. <cnt_rtn/>
  74. <jrtotordamt02/>
  75. <jrownbamt02/>
  76. <jrjudgdeciamt02/>
  77. <jrownbmaxexamt02/>
  78. <jrsuppamt02/>
  79. <jrhsuppamt02/>
  80. <jrlsuppamt02/>
  81. <cnt_judgrete/>
  82. <jrtotordamt03/>
  83. <jrownbamt03/>
  84. <jrjudgdeciamt03/>
  85. <jrownbmaxexamt03/>
  86. <jrsuppamt03/>
  87. <jrhsuppamt03/>
  88. <jrlsuppamt03/>
  89. <cnt_jumin/>
  90. <jrtotordamt04/>
  91. <jrownbamt04/>
  92. <jrjudgdeciamt04/>
  93. <jrownbmaxexamt04/>
  94. <jrsuppamt04/>
  95. <jrhsuppamt04/>
  96. <jrlsuppamt04/>
  97. <rucntsum/>
  98. <ruadjtamtsum/>
  99. <realcutamt/>
  100. <jrownaddbamtsum/>
  101. <acptno/>
  102. <judgdg/>
  103. <clamno/>
  104. <instcd/>
  105. <rtnrestamt/>
  106. <totuncoamt/>
  107. <uncoamt/>
  108. <cnt_calcdepo/>
  109. <cnt_hosoutcalc/>
  110. <clhandicaprfund/>
  111. <jrhandicaprfund01/>
  112. <jrhandicaprfund02/>
  113. <jrhandicaprfund03/>
  114. <jrhandicaprfund04/>
  115. <clamseqno/>
  116. <cldruglimitdiffamtsum/>
  117. <jrdruglimitdiffamtsum/>
  118. <jrdruglimitdiffamtadjtsum/>
  119. <cldruglimitdiffamtsum02/>
  120. <jrdruglimitdiffamtsum02/>
  121. <cldruglimitdiffamtsum03/>
  122. <jrdruglimitdiffamtsum03/>
  123. </gridpifmiunc>
  124. <gridpifhbsdp>
  125. <depodd/>
  126. <depoflag/>
  127. <bankcd/>
  128. <acntcd/>
  129. <depocnt/>
  130. <depoamt/>
  131. <rtnscheamt/>
  132. <notimm/>
  133. <rem/>
  134. <acptno/>
  135. <judgdg/>
  136. <clamno/>
  137. <seqno/>
  138. <instcd/>
  139. <depooutamt/>
  140. <depoinamt/>
  141. </gridpifhbsdp>
  142. <gridpifhrtns>
  143. <rtndd/>
  144. <rtnflag/>
  145. <rtnacptno/>
  146. <rtnjudgdg/>
  147. <ofidocno/>
  148. <ofidocarvdd/>
  149. <rtnamt/>
  150. <notimm/>
  151. <rem/>
  152. <acptno/>
  153. <judgdg/>
  154. <clamno/>
  155. <seqno/>
  156. <instcd/>
  157. <rtnflaggrcd/>
  158. <rtnseqno/>
  159. <rtnclamno/>
  160. <brtnamt/>
  161. </gridpifhrtns>
  162. <calcamtsumdetl>
  163. <calcamtsum/>
  164. </calcamtsumdetl>
  165. </list01>
  166. <list02>
  167. <gridpifhbsdp/>
  168. </list02>
  169. <list03>
  170. <gridpifhrtns/>
  171. </list03>
  172. <result/>
  173. <result2/>
  174. </main>
  175. <init>
  176. <P0101list>
  177. <P0101>
  178. <cdid/>
  179. <cdnm/>
  180. </P0101>
  181. </P0101list>
  182. <P0268list>
  183. <P0268>
  184. <cdid/>
  185. <cdnm/>
  186. </P0268>
  187. </P0268list>
  188. <R0001list>
  189. <R0001>
  190. <cdid/>
  191. <cdnm/>
  192. </R0001>
  193. </R0001list>
  194. <P0302list>
  195. <P0302>
  196. <cdid/>
  197. <cdnm/>
  198. </P0302>
  199. </P0302list>
  200. <P0059list>
  201. <P0059>
  202. <cdid/>
  203. <cdnm/>
  204. </P0059>
  205. </P0059list>
  206. <P0384list>
  207. <P0384>
  208. <cdid/>
  209. <cdnm/>
  210. </P0384>
  211. </P0384list>
  212. <temp>
  213. <judgretecnt>
  214. <cnt/>
  215. </judgretecnt>
  216. </temp>
  217. <bankinfo>
  218. <bankinfolist>
  219. <cdid/>
  220. <cdnm/>
  221. </bankinfolist>
  222. </bankinfo>
  223. <PAM>
  224. <PK032list/>
  225. </PAM>
  226. </init>
  227. <source>
  228. <judgdg/>
  229. <acptno/>
  230. <clamno/>
  231. <seqno/>
  232. <instcd/>
  233. <rtnflag/>
  234. <rtnflaggrcd/>
  235. <rtndetlrow/>
  236. <openerrtnflag/>
  237. <allsrchyn/>
  238. </source>
  239. <hidden>
  240. <session/>
  241. </hidden>
  242. <temp>
  243. <fstjudgdg/>
  244. </temp>
  245. </root>
  246. </instance>
  247. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  248. <submission id="TXPIF30301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result"/>
  249. <submission id="TXPIF30302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list03" resultref="/root/main/result2"/>
  250. <submission id="TRPIF30301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list001"/>
  251. <submission id="TRPIF30302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list002"/>
  252. <submission id="TRPIF30303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
  253. <submission id="TRPIF30307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/temp"/>
  254. <submission id="TRPIF30309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/bankinfo"/>
  255. <submission id="TRPIF31303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/uncoendprcs" resultref="/root/main/chek"/>
  256. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  257. </model>
  258. <script type="javascript" ev:event="xforms-ready">
  259. <![CDATA[
  260. fGetUserInfosSampling(); //세션/root/hidden/session
  261. INSTCD = model.getValue("/root/hidden/session/sess_dutplceinstcd");
  262. submit("TRPIF31303"); // 최종마감월을 가져와서 입금/환수 등록시 체크한다.
  263. //기관별 은행및 은행계좌조회
  264. fBankSearch();
  265. var cnt = getNodesetCount("/root/init/bankinfo/bankinfolist");
  266. var bankcd;
  267. var bankacount;
  268. for( var i = 1; i <= cnt; i++){
  269. if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "10"){
  270. bankcd = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
  271. }
  272. if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "20"){
  273. bankacount = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
  274. }
  275. }
  276. BANKCD = bankcd;
  277. BANKACOUNT = bankacount;
  278. // 공통코드 Load작업
  279. CommCode_Load();
  280. //model.alert(Instcd);
  281. ]]>
  282. </script>
  283. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  284. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  285. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  286. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  287. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  288. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  289. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  290. <script type="javascript">
  291. <![CDATA[
  292. function Node_Init() {
  293. // NodeSet 초기화
  294. model.resetInstanceNode("/root/main/list01");
  295. }
  296. // 공통코드 Load작업
  297. function CommCode_Load() {
  298. // 관련 Control 초기화
  299. zbcfGetCodeList(new Array("P0059","P0101","P0268","R0001","P0302"), new Array( "/root/init/P0059list","/root/init/P0101list","/root/init/P0268list","/root/init/R0001list","/root/init/P0302list"));
  300. zbcfGetCodeList(new Array("P0384"), new Array( "/root/init/P0384list"));
  301. // 2013.02.19 - 부가코드 원무공통코드조회
  302. pamfGetCodeList(new Array(
  303. "PK032"
  304. ),
  305. new Array("/root/init/PAM/PK032list"
  306. ));
  307. }
  308. // 청구번호 조회
  309. function searchClamno() {
  310. model.removenode("/root/main/list01");
  311. // inputEnterKey("button108", "DOMActivate");
  312. model.removenode("/root/main/list001/U0001");
  313. model.removenode("/root/main/list002/U0002");
  314. model.resetInstanceNode("/root/main/list001/U0001");
  315. model.resetInstanceNode("/root/main/list002/U0002");
  316. model.setValue("/root/send/send01/clamno","");
  317. model.setValue("/root/send/send01/judgdg","");
  318. // 청구유형을 넘긴다. 청구유형으로 청구번호(보험/산재)를 가져온다. clamtypecd 1:보험, 6:산재 2010.01.25
  319. model.setValue("/root/send/send01/clamtypecd", "8"); // 코드값 변환 10 -> 1, 40 -> 6
  320. model.refresh();
  321. submit("TRPIF30301");
  322. if( ipt_acptnocnt.value > 1) {
  323. //opt_comment.visible = true;
  324. //opt_comment.value = "[ 같은접수번호가 ("+ipt_acptnocnt.value+"건) 있습니다. ]";
  325. messageBox("같은접수번호가 있습니다.", "I007");
  326. } //else {
  327. //opt_comment.visible = false;
  328. //}
  329. if(cmb_clamno.length == 1) {
  330. cmb_clamno.value = model.getValue("/root/main/list001/U0001/clamno");
  331. submit("TRPIF30302");
  332. if(cmb_judgdg.length == 1) {
  333. cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
  334. search();
  335. // model.setFocus("btn_srch");
  336. } else {
  337. model.setFocus("cmb_judgdg");
  338. }
  339. } else {
  340. model.setFocus("cmb_clamno");
  341. }
  342. cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
  343. //model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  344. model.setValue("/root/temp/fstjudgdg", model.getValue("/root/main/list002/U0002[" + getNodesetCount("/root/main/list002/U0002/judgdg") + "]/judgdg"));
  345. }
  346. function search() {
  347. if(ipt_acptno.value == null || ipt_acptno.value == "") {
  348. messageBox("접수번호를","C001");
  349. return false;
  350. } else if(cmb_judgdg.value== "" || cmb_judgdg.value== null) {
  351. messageBox("심사차수를","C002");
  352. return false;
  353. } else if(cmb_clamno.value== "" || cmb_clamno.value== null) {
  354. messageBox("청구번호를","C002");
  355. return false;
  356. } else {
  357. model.resetInstanceNode("/root/main/list01");
  358. model.resetInstanceNode("/root/main/list02");
  359. model.refresh();
  360. if(model.getValue("/root/send/send01/acptno").length ==15)
  361. {
  362. model.setValue("root/send/send01/insuflag","070");
  363. }
  364. else
  365. {
  366. model.setValue("root/send/send01/insuflag","065");
  367. }
  368. submit("TRPIF30303");
  369. chkRtndetl();
  370. }
  371. model.makeNode("/root/main/list01/calcamtsumdetl/calcamtsum");
  372. chkGridPifhbsdp();
  373. if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
  374. for(var i=1;i<grd_pifhbsdp.rows;i++) {
  375. grd_pifhbsdp.isReadOnly(i,1) = true;
  376. grd_pifhbsdp.isReadOnly(i,2) = true;
  377. grd_pifhbsdp.isReadOnly(i,3) = true;
  378. grd_pifhbsdp.isReadOnly(i,4) = true;
  379. grd_pifhbsdp.isReadOnly(i,5) = true;
  380. grd_pifhbsdp.isReadOnly(i,6) = true;
  381. grd_pifhbsdp.isReadOnly(i,7) = true;
  382. grd_pifhbsdp.isReadOnly(i,8) = true;
  383. grd_pifhbsdp.isReadOnly(i,9) = false;
  384. }
  385. }
  386. }
  387. function rtnGridCheck() {
  388. // NodeSet 초기화
  389. var row_cnt = grd_pifhrtns.row;
  390. if(grd_pifhrtns.valueMatrix(row_cnt,2) == "01" || grd_pifhrtns.valueMatrix(row_cnt,2) == "02" || grd_pifhrtns.valueMatrix(row_cnt,2) == "07" ) {
  391. grd_pifhrtns.valueMatrix(row_cnt,3).disabled = false;
  392. grd_pifhrtns.valueMatrix(row_cnt,4).disabled = false;
  393. } else {
  394. grd_pifhrtns.valueMatrix(row_cnt,3).disabled = true;
  395. grd_pifhrtns.valueMatrix(row_cnt,4).disabled = true;
  396. }
  397. }
  398. // 저장된 환수내역에 대해서는 수정 불가 조치 함수
  399. function chkRtndetl() {
  400. // NodeSet 초기화
  401. var rows = grd_pifhrtns.rows;
  402. for(var i=1;i<rows;i++) {
  403. if(grd_pifhrtns.rowStatus(i) == "0") {
  404. // grd_pifhrtns.isReadOnly(i,1) = true;
  405. grd_pifhrtns.isReadOnly(i,2) = true;
  406. // grd_pifhrtns.isReadOnly(i,7) = true;
  407. // grd_pifhrtns.isReadOnly(i,8) = true;
  408. // grd_pifhrtns.isReadOnly(i,9) = true;
  409. }
  410. }
  411. }
  412. function chkGridPifhbsdp() {
  413. var rows = grd_pifhbsdp.rows;
  414. // 입금내역 그리드의 행갯수가 0보다 클때 2009.03.05 심사보류도 환수예정액 수정 가능하게 변경
  415. if(rows > 0) {
  416. for(var i=1;i<rows;i++) {
  417. if(grd_pifhbsdp.valueMatrix(i,2) == "01" || grd_pifhbsdp.valueMatrix(i,2) == "03" || grd_pifhbsdp.valueMatrix(i,2) == "06") {
  418. grd_pifhbsdp.valueMatrix(i,7) = "0";
  419. grd_pifhbsdp.isReadOnly(i,7) = true;
  420. } else {
  421. grd_pifhbsdp.isReadOnly(i,7) = false;
  422. }
  423. }
  424. }
  425. }
  426. // 입금내역의 입금구분 선택시 다음 셀로 포커스 이동
  427. function setGridPifhbsdpFocus(code) {
  428. if(code == "popup") {
  429. model.setFocus("body");
  430. model.setFocus("grd_pifhbsdp");
  431. grd_pifhbsdp.col = 6;
  432. grd_pifhbsdp.dispatch("onentercell");
  433. grd_pifhbsdp.editCell();
  434. } else {
  435. model.setFocus("body");
  436. model.setFocus("grd_pifhbsdp");
  437. grd_pifhbsdp.col = 6;
  438. grd_pifhbsdp.dispatch("onentercell");
  439. grd_pifhbsdp.editCell();
  440. }
  441. }
  442. // 환수내역의 환수구분 선택시 다음 셀로 포커스 이동
  443. function setGridPifhrtnsFocus() {
  444. model.setFocus("body");
  445. model.setFocus("grd_pifhrtns");
  446. grd_pifhrtns.col = 7;
  447. grd_pifhrtns.dispatch("onentercell");
  448. grd_pifhrtns.editCell();
  449. }
  450. function fBankSearch(){
  451. submit("TRPIF30309");
  452. }
  453. ]]>
  454. </script>
  455. </xhtml:head>
  456. <xhtml:body style="color:#000000; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  457. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  458. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:164px; height:15px; ">입금내역관리(자보)</caption>
  459. </group>
  460. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  461. <line id="line5" class="line_1" style="x1:0px; y1:351px; x2:1194px; y2:351px; "/>
  462. <caption id="caption8" class="tit_2" style="left:6px; top:314px; width:111px; height:13px; ">입금내역</caption>
  463. <caption id="caption16" class="tit_2" style="left:6px; top:515px; width:111px; height:13px; ">환수내역</caption>
  464. <line id="line9" class="line_1" style="x1:0px; y1:552px; x2:1194px; y2:552px; "/>
  465. <button id="button4" class="btn2_letter3" visibility="hidden" style="left:1084px; top:330px; width:53px; height:19px; ">
  466. <caption>행추가</caption>
  467. <script type="javascript" ev:event="onclick">
  468. <![CDATA[
  469. //model.alert(INSTCD);
  470. /*
  471. if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
  472. messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
  473. return false;
  474. }
  475. */
  476. grd_pifhbsdp.addRow();
  477. var row_cnt = grd_pifhbsdp.row;
  478. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acptno",ipt_acptno.value);
  479. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/judgdg",cmb_judgdg.value);
  480. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/clamno",cmb_clamno.value);
  481. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/instcd", INSTCD);
  482. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/bankcd", BANKCD);
  483. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acntcd", BANKACOUNT);
  484. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depooutamt", 0);
  485. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoinamt", 0);
  486. // if(ipt_acptno.value == "8888888") {
  487. // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "10");
  488. // }
  489. // if(ipt_acptno.value == "9999999") {
  490. // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "09");
  491. // }
  492. grd_pifhbsdp.valueMatrix(row_cnt, 6) = 0;
  493. grd_pifhbsdp.valueMatrix(row_cnt, 7) = 0;
  494. // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/rowstatus","i");
  495. if(ipt_calcamtsum.value != "") {
  496. var row = grd_pifhbsdp.row;
  497. var calcamtsum = Number(ipt_calcamtsum.value);
  498. if(calcamtsum >= 0) {
  499. grd_pifhbsdp.valueMatrix(row,6) = calcamtsum;
  500. grd_pifhbsdp.valueMatrix(row,7) = 0;
  501. } else {
  502. grd_pifhbsdp.valueMatrix(row,6) = 0;
  503. grd_pifhbsdp.valueMatrix(row,7) = calcamtsum;
  504. }
  505. }
  506. grd_pifhbsdp.topRow = grd_pifhbsdp.rows-1;
  507. ]]>
  508. </script>
  509. </button>
  510. <button id="button5" class="btn2_letter3" visibility="hidden" style="left:1140px; top:330px; width:53px; height:19px; ">
  511. <caption>행삭제</caption>
  512. <script type="javascript" ev:event="onclick">
  513. <![CDATA[
  514. var row_cnt = grd_pifhbsdp.row;
  515. if(row_cnt == '-1' || row_cnt == '0') {
  516. return false;
  517. }
  518. if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
  519. return false;
  520. }
  521. if(grd_pifhbsdp.rowStatus(row_cnt) == "1" || grd_pifhbsdp.rowStatus(row_cnt) == "3") {
  522. grd_pifhbsdp.deleteItem(row_cnt);
  523. return false;
  524. } else {
  525. if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  526. messageBox("마감된 데이터는 삭제 하실 수","I004"); // 없습니다.
  527. return;
  528. }
  529. if(messageBox("정말","Q001") == "6") {
  530. var rows = grd_pifhrtns.rows; // 환수내역 그리드의 데이터 총 갯수
  531. if(rows > 1) {
  532. for(var i=1;i<rows;i++) {
  533. var rtnacptno = grd_pifhrtns.valueMatrix(i,3);
  534. var rtnjudgdg = grd_pifhrtns.valueMatrix(i,4);
  535. var rtnseqno = grd_pifhrtns.valueMatrix(i,16);
  536. var seqno = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,13);
  537. if(ipt_acptno.value == rtnacptno & cmb_judgdg.value == rtnjudgdg & seqno == rtnseqno) {
  538. //if(messageBox("환수내역에 있는 데이터도 같이 삭제됩니다. 데이터를","Q001") == 7) {
  539. // return false;
  540. //}
  541. messageBox("환수내역이 존재하기 때문에 입금내역을 삭제할 수","I004");
  542. return false;
  543. }
  544. }
  545. }
  546. grd_pifhbsdp.deleteItem(row_cnt);
  547. model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
  548. //submit("TXPIF30301");
  549. if (submit("TXPIF30301")) {
  550. model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
  551. submit("TRPIF30303");
  552. chkRtndetl();
  553. }
  554. }
  555. }
  556. ]]>
  557. </script>
  558. </button>
  559. <button id="button7" class="btn2_letter3" visibility="hidden" style="left:1084px; top:531px; width:53px; height:19px; ">
  560. <caption>행추가</caption>
  561. <script type="javascript" ev:event="onclick">
  562. <![CDATA[
  563. /*if(ipt_rtnremainamt.value == "0") {
  564. messageBox("환수할 잔액이","I004");
  565. return false;
  566. }*/
  567. var depo_rows = grd_pifhbsdp.rows;
  568. var max_depodd = "00000000";
  569. var max_notimm = "";
  570. for(var i=1;i<depo_rows;i++) {
  571. if(grd_pifhbsdp.valueMatrix(i,1) > max_depodd) {
  572. max_depodd = grd_pifhbsdp.valueMatrix(i,1);
  573. max_notimm = grd_pifhbsdp.valueMatrix(i,8);
  574. }
  575. }
  576. grd_pifhrtns.addRow();
  577. var row_cnt = grd_pifhrtns.row;
  578. grd_pifhrtns.valueMatrix(row_cnt, 7) = 0;
  579. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/rtndd",max_depodd);
  580. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/notimm",max_notimm);
  581. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/acptno",ipt_acptno.value);
  582. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/judgdg",cmb_judgdg.value);
  583. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/clamno",cmb_clamno.value);
  584. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/instcd",'012');
  585. grd_pifhrtns.topRow = grd_pifhrtns.rows-1;
  586. ]]>
  587. </script>
  588. </button>
  589. <button id="button8" class="btn2_letter3" visibility="hidden" style="left:1140px; top:531px; width:53px; height:19px; ">
  590. <caption>행삭제</caption>
  591. <script type="javascript" ev:event="onclick">
  592. <![CDATA[
  593. var row_cnt = grd_pifhrtns.row;
  594. if(row_cnt == '-1' || row_cnt == '0') {
  595. return false;
  596. }
  597. if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
  598. return false;
  599. }
  600. if(grd_pifhrtns.rowStatus(row_cnt) == "1" || grd_pifhrtns.rowStatus(row_cnt) == "3") {
  601. grd_pifhrtns.deleteItem(row_cnt);
  602. return false;
  603. } else {
  604. if ( grd_pifhrtns.valueMatrix(grd_pifhrtns.row,grd_pifhrtns.colRef("notimm"))<= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  605. messageBox("마감된 데이터는 삭제하실 수 ","I004"); // 없습니다.
  606. return;
  607. }
  608. if(messageBox("정말","Q001") == "6") {
  609. grd_pifhrtns.rowStatus(row_cnt) = "4";
  610. model.setValue("/root/main/list03/gridpifhrtns", grd_pifhrtns.getUpdateData());
  611. grd_pifhrtns.deleteItem(row_cnt);
  612. if (submit("TXPIF30302")) {
  613. // model.resetInstanceNode("/root/main/list01/gridpifhrtns");
  614. submit("TRPIF30303");
  615. chkRtndetl();
  616. }
  617. }
  618. }
  619. /*
  620. model.setValue("/root/main/list03/gridpifhrtns", grd_pifhrtns.getUpdateData());
  621. if (submit("TXPIF30302")) {
  622. model.resetInstanceNode("/root/main/list01/gridpifhrtns");
  623. submit("TRPIF30301");
  624. }*/
  625. ]]>
  626. </script>
  627. </button>
  628. <caption id="caption3" class="tit_2" style="left:6px; top:83px; width:78px; height:13px; ">청구내역</caption>
  629. <line id="line2" class="line_1" style="x1:0px; y1:97px; x2:232px; y2:97px; "/>
  630. <caption id="caption21" class="cell_1" style="left:0px; top:102px; width:100px; height:23px; vertical-align:middle; ">건수</caption>
  631. <caption id="caption12" class="cell_1" style="left:0px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구년월</caption>
  632. <caption id="caption26" class="cell_1" style="left:0px; top:126px; width:100px; height:23px; vertical-align:middle; ">총진료비</caption>
  633. <caption id="caption27" class="cell_1" style="left:458px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구구분</caption>
  634. <input id="input9" ref="/root/main/list01/gridpifmiunc/cnt_clam" class="input_default" format="#,###" style="left:103px; top:103px; width:129px; height:19px; text-align:right; "/>
  635. <input id="input11" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt01" class="input_default" format="(-)#,###" style="left:340px; top:178px; width:133px; height:19px; text-align:right; "/>
  636. <caption id="caption9" class="cell_1" style="left:237px; top:176px; width:100px; height:23px; vertical-align:middle; ">심결액</caption>
  637. <caption id="caption13" class="cell_1" style="left:237px; top:102px; width:100px; height:23px; vertical-align:middle; ">건수</caption>
  638. <caption id="caption17" class="cell_1" style="left:237px; top:126px; width:100px; height:23px; vertical-align:middle; ">총진료비</caption>
  639. <input id="input17" ref="/root/main/list01/gridpifmiunc/jrtotordamt01" class="input_default" format="#,###" style="left:340px; top:128px; width:133px; height:19px; text-align:right; "/>
  640. <caption id="caption15" class="cell_1" style="left:237px; top:201px; width:100px; height:23px; vertical-align:middle; ">상한금</caption>
  641. <caption id="caption19" class="cell_1" style="left:0px; top:201px; width:100px; height:23px; vertical-align:middle; ">상한금</caption>
  642. <input id="input14" ref="/root/main/list01/gridpifmiunc/jrownbamt01" class="input_default" format="#,###" style="left:340px; top:153px; width:133px; height:19px; text-align:right; "/>
  643. <caption id="caption25" class="cell_1" style="left:237px; top:151px; width:100px; height:23px; vertical-align:middle; ">본인부담</caption>
  644. <input id="input1" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt02" class="input_default" format="#,###" style="left:581px; top:178px; width:132px; height:19px; text-align:right; "/>
  645. <input id="input5" ref="/root/main/list01/gridpifmiunc/jrownbamt02" class="input_default" format="#,###" style="left:581px; top:153px; width:132px; height:19px; text-align:right; "/>
  646. <caption id="caption4" class="cell_1" style="left:478px; top:102px; width:100px; height:23px; vertical-align:middle; ">건수</caption>
  647. <caption id="caption5" class="cell_1" style="left:478px; top:151px; width:100px; height:23px; vertical-align:middle; ">본인부담</caption>
  648. <input id="input6" ref="/root/main/list01/gridpifmiunc/cnt_rtn" class="input_default" format="#,###" style="left:581px; top:103px; width:132px; height:19px; text-align:right; "/>
  649. <caption id="caption10" class="cell_1" style="left:478px; top:201px; width:100px; height:23px; vertical-align:middle; ">상한금</caption>
  650. <input id="input7" ref="/root/main/list01/gridpifmiunc/jrtotordamt02" class="input_default" format="#,###" style="left:581px; top:128px; width:132px; height:19px; text-align:right; "/>
  651. <caption id="caption14" class="cell_1" style="left:604px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
  652. <caption id="caption18" class="cell_1" style="left:478px; top:126px; width:100px; height:23px; vertical-align:middle; ">총진료비</caption>
  653. <caption id="caption20" class="cell_1" style="left:478px; top:176px; width:100px; height:23px; vertical-align:middle; ">반송액</caption>
  654. <input id="input8" ref="/root/main/list01/gridpifmiunc/jrtotordamt03" class="input_default" format="#,###" style="left:821px; top:128px; width:132px; height:19px; text-align:right; "/>
  655. <caption id="caption23" class="cell_1" style="left:718px; top:176px; width:100px; height:23px; vertical-align:middle; ">보류액</caption>
  656. <caption id="caption24" class="cell_1" style="left:718px; top:201px; width:100px; height:23px; vertical-align:middle; ">상한금</caption>
  657. <caption id="caption28" class="cell_1" style="left:718px; top:102px; width:100px; height:23px; vertical-align:middle; ">건수</caption>
  658. <caption id="caption29" class="cell_1" style="left:905px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료분야</caption>
  659. <caption id="caption30" class="cell_1" style="left:718px; top:151px; width:100px; height:23px; vertical-align:middle; ">본인부담</caption>
  660. <input id="input10" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt03" class="input_default" format="#,###" style="left:821px; top:178px; width:132px; height:19px; text-align:right; "/>
  661. <caption id="caption31" class="cell_1" style="left:718px; top:126px; width:100px; height:23px; vertical-align:middle; ">총진료비</caption>
  662. <input id="input12" ref="/root/main/list01/gridpifmiunc/jrownbamt03" class="input_default" format="#,###" style="left:821px; top:153px; width:132px; height:19px; text-align:right; "/>
  663. <input id="input13" ref="/root/main/list01/gridpifmiunc/cnt_judgrete" class="input_default" format="#,###" style="left:821px; top:103px; width:132px; height:19px; text-align:right; "/>
  664. <input id="input18" ref="/root/main/list01/gridpifmiunc/jrtotordamt04" class="input_default" format="#,###" style="left:1076px; top:128px; width:118px; height:19px; text-align:right; "/>
  665. <caption id="caption32" class="cell_1" style="left:958px; top:151px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
  666. <caption id="caption34" class="cell_1" style="left:958px; top:126px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
  667. <input id="input19" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt04" class="input_default" format="#,###" style="left:1076px; top:178px; width:118px; height:19px; text-align:right; "/>
  668. <input id="input20" ref="/root/main/list01/gridpifmiunc/jrownbamt04" class="input_default" format="#,###" style="left:1076px; top:153px; width:118px; height:19px; text-align:right; "/>
  669. <caption id="caption35" class="cell_1" style="left:958px; top:176px; width:115px; height:23px; vertical-align:middle; ">보류액</caption>
  670. <caption id="caption36" class="cell_1" style="left:958px; top:201px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
  671. <caption id="caption37" class="cell_1" style="left:958px; top:102px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
  672. <line id="line1" class="line_1" style="x1:237px; y1:97px; x2:473px; y2:97px; "/>
  673. <line id="line4" class="line_1" style="x1:478px; y1:97px; x2:713px; y2:97px; "/>
  674. <line id="line6" class="line_1" style="x1:718px; y1:97px; x2:953px; y2:97px; "/>
  675. <line id="line7" class="line_1" style="x1:958px; y1:97px; x2:1194px; y2:97px; "/>
  676. <caption id="caption39" class="tit_2" style="left:246px; top:82px; width:114px; height:15px; ">심결내역(N204)</caption>
  677. <caption id="caption40" class="tit_2" style="left:486px; top:82px; width:78px; height:13px; ">반송내역</caption>
  678. <caption id="caption41" class="tit_2" style="left:726px; top:82px; width:96px; height:13px; ">심사보류내역</caption>
  679. <caption id="caption42" class="tit_2" style="left:966px; top:82px; width:128px; height:13px; ">주민보류내역</caption>
  680. <line id="line8" class="line_1" style="x1:0px; y1:50px; x2:1194px; y2:50px; "/>
  681. <line id="line10" class="line_3" style="x1:0px; y1:78px; x2:1195px; y2:78px; "/>
  682. <output id="input22" ref="/root/main/list01/gridpidmclam/clamym" class="input_default" format="yyyy-mm" appearance="output" style="left:63px; top:56px; width:80px; height:19px; text-align:center; "/>
  683. <output id="input24" ref="/root/main/list01/gridpidmclam/judgdg" class="input_default" appearance="output" style="left:667px; top:56px; width:80px; height:19px; text-align:center; "/>
  684. <output id="input25" ref="/root/main/list01/gridpidmclam/ordfildcd" class="input_default" appearance="output" style="left:967px; top:56px; width:80px; height:19px; text-align:center; "/>
  685. <input id="input3" ref="/root/main/list01/gridpifmiunc/clclamamt" class="input_default" format="#,###" style="left:103px; top:178px; width:129px; height:19px; text-align:right; "/>
  686. <input id="input4" ref="/root/main/list01/gridpifmiunc/clmcstotamt" class="input_default" format="#,###" style="left:103px; top:127px; width:129px; height:19px; text-align:right; "/>
  687. <input id="input16" ref="/root/main/list01/gridpifmiunc/clownbamt" class="input_default" format="#,###" style="left:103px; top:152px; width:129px; height:19px; text-align:right; "/>
  688. <input id="input26" ref="/root/main/list01/gridpifmiunc/clownbmaxexamt" class="input_default" format="#,###" style="left:103px; top:203px; width:129px; height:19px; text-align:right; "/>
  689. <input id="input27" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt01" class="input_default" format="#,###" style="left:340px; top:203px; width:133px; height:19px; text-align:right; "/>
  690. <input id="input28" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt02" class="input_default" format="#,###" style="left:581px; top:203px; width:132px; height:19px; text-align:right; "/>
  691. <input id="input29" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt03" class="input_default" format="#,###" style="left:821px; top:203px; width:132px; height:19px; text-align:right; "/>
  692. <input id="input30" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt04" class="input_default" format="#,###" style="left:1076px; top:203px; width:118px; height:19px; text-align:right; "/>
  693. <line id="line11" class="line_1" style="x1:0px; y1:298px; x2:1194px; y2:298px; "/>
  694. <line id="line14" class="line_3" style="x1:0px; y1:326px; x2:1194px; y2:326px; "/>
  695. <input id="input31" ref="/root/main/list01/gridpifmiunc/rucntsum" class="input_default" style="left:98px; top:304px; width:91px; height:19px; text-align:center; "/>
  696. <caption id="caption33" class="cell_1" style="left:0px; top:303px; width:95px; height:23px; text-align:center; vertical-align:middle; ">삭감건수</caption>
  697. <caption id="caption38" class="cell_1" style="left:392px; top:303px; width:93px; height:23px; text-align:center; vertical-align:middle; ">실삭감액</caption>
  698. <caption id="caption43" class="cell_1" style="left:197px; top:303px; width:93px; height:23px; text-align:center; vertical-align:middle; ">조정삭감액</caption>
  699. <caption id="caption44" class="cell_1" style="left:587px; top:303px; width:93px; height:23px; text-align:center; vertical-align:middle; ">본인추가부담</caption>
  700. <input id="input35" ref="/root/main/list01/gridpifmiunc/ruadjtamtsum" class="input_default" format="#,###" style="left:293px; top:304px; width:91px; height:19px; text-align:right; "/>
  701. <input id="input32" ref="/root/main/list01/gridpifmiunc/realcutamt" class="input_default" format="(-)#,###" style="left:488px; top:304px; width:96px; height:19px; text-align:right; "/>
  702. <input id="input33" ref="/root/main/list01/gridpifmiunc/jrownaddbamtsum" class="input_default" format="#,###" style="left:683px; top:304px; width:91px; height:19px; text-align:right; "/>
  703. <caption id="caption45" class="cell_1" style="left:782px; top:303px; width:93px; height:23px; text-align:center; vertical-align:middle; ">환수잔액</caption>
  704. <caption id="caption46" class="cell_1" style="left:975px; top:303px; width:98px; height:23px; text-align:center; vertical-align:middle; ">미수금</caption>
  705. <input id="input34" ref="/root/main/list01/gridpifmiunc/uncoamt" class="input_default" format="(-)#,###" style="left:1076px; top:304px; width:118px; height:19px; text-align:right; "/>
  706. <!--input id="ipt_acptno_hid" ref="/root/main/list01/gridpifmiunc/acptno" class="input_default"/>
  707. <input id="ipt_judgdg_hid" ref="/root/main/list01/gridpifmiunc/judgdg" class="input_default"/>
  708. <input id="ipt_clamno_hid" ref="/root/main/list01/gridpifmiunc/clamno" class="input_default"/>
  709. <input id="ipt_instcd_hid" ref="/root/main/list01/gridpifmiunc/instcd" class="input_default"/-->
  710. <button id="button3" class="btn2_letter6" disabled="false" visibility="hidden" style="left:880px; top:330px; width:86px; height:19px; ">
  711. <caption>환수잔액조회</caption>
  712. <script type="javascript" ev:event="onclick">
  713. <![CDATA[
  714. model.resetInstanceNode("/root/source");
  715. model.setValue("/root/source/judgdg", model.getValue("/root/send/send01/judgdg"));
  716. model.setValue("/root/source/clamno", model.getValue("/root/send/send01/clamno"));
  717. model.setValue("/root/source/acptno", model.getValue("/root/send/send01/acptno"));
  718. // model.setValue("/root/source/instcd", model.getValue("/root/main/list01/gridpifmiunc/instcd"));
  719. model.setValue("/root/source/rtnflag", "");
  720. model.makeNode("/root/source/openerflag");
  721. model.setValue("/root/source/openerflag","보험산재");
  722. // 환수잔액조회 팝업화면
  723. modal("SPPIF30310", 1, "", "", "SPPIF30310", "/root/source", "/root/send");
  724. //window.load("SPPIF30310.xrw", "modal", "SPPIF30310", "", "/root/source", "/root/send");
  725. ]]>
  726. </script>
  727. </button>
  728. <caption id="caption11" class="cell_1" style="left:0px; top:151px; width:100px; height:23px; vertical-align:middle; ">본인부담</caption>
  729. <caption id="caption22" class="cell_1" style="left:0px; top:176px; width:100px; height:23px; vertical-align:middle; ">청구액</caption>
  730. <line id="line17" class="line_2" style="x1:1px; y1:199px; x2:232px; y2:199px; "/>
  731. <caption id="caption49" class="cell_1" style="left:146px; top:54px; width:60px; height:23px; text-align:center; vertical-align:middle; ">미수월</caption>
  732. <caption id="caption50" class="cell_1" style="left:750px; top:54px; width:60px; height:23px; text-align:center; vertical-align:middle; ">내원유형</caption>
  733. <output id="input39" ref="/root/main/list01/gridpidmclam/clamno" class="input_default" appearance="output" style="left:1111px; top:56px; width:80px; height:19px; text-align:center; "/>
  734. <caption id="caption51" class="cell_1" style="left:1049px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구번호</caption>
  735. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  736. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  737. <line id="line18" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  738. <caption id="caption52" class="search_name" style="left:115px; top:9px; width:86px; height:17px; ">접수번호 :</caption>
  739. <caption id="cp_judgdg" class="search_name" style="left:547px; top:9px; width:86px; height:17px; ">심사차수 :</caption>
  740. <caption id="caption1" class="search_name" style="left:347px; top:9px; width:86px; height:17px; ">청구번호 :</caption>
  741. <select1 id="cmb_clamno" ref="/root/send/send01/clamno" class="combo_s_essential" navindex="4" appearance="minimal" style="left:437px; top:8px; width:100px; height:19px; text-align:center; ">
  742. <choices>
  743. <itemset nodeset="/root/main/list001/U0001">
  744. <label ref="clamno"/>
  745. <value ref="clamno"/>
  746. </itemset>
  747. </choices>
  748. <script type="javascript" ev:event="xforms-select">
  749. <![CDATA[
  750. // 심사차수를 초기화한다.
  751. model.removenode("/root/main/list002/U0002");
  752. model.setValue("/root/send/send01/judgdg","");
  753. model.refresh();
  754. submit("TRPIF30302");
  755. if(cmb_judgdg.length == 1) {
  756. cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
  757. search();
  758. //model.setFocus("btn_srch");
  759. } else if(cmb_judgdg.length > 1) {
  760. model.setFocus("cmb_judgdg");
  761. } else {
  762. messageBox("해당하는 심사차수가","I004");
  763. return false;
  764. }
  765. cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
  766. //model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  767. model.setValue("/root/temp/fstjudgdg", model.getValue("/root/main/list002/U0002[" + getNodesetCount("/root/main/list002/U0002/judgdg") + "]/judgdg"));
  768. ]]>
  769. </script>
  770. </select1>
  771. <select1 id="cmb_judgdg" ref="/root/send/send01/judgdg" class="combo_s_essential" navindex="3" appearance="minimal" showvalue="true" style="left:640px; top:8px; width:150px; height:19px; text-align:left; ">
  772. <choices>
  773. <itemset nodeset="/root/main/list002/U0002">
  774. <label ref="setno"/>
  775. <value ref="judgdg"/>
  776. </itemset>
  777. </choices>
  778. <script type="javascript" ev:event="xforms-select">
  779. <![CDATA[
  780. model.removenode("/root/main/list01");
  781. search();
  782. ]]>
  783. </script>
  784. </select1>
  785. <input id="ipt_acptno" ref="/root/send/send01/acptno" class="input_s_essential" navindex="2" autonext="false" inputtype="button" maxlength="8" style="left:203px; top:8px; width:132px; height:19px; text-align:center; ">
  786. <script type="javascript" ev:event="onbuttonclick">
  787. <![CDATA[
  788. model.makeNode("/root/send/send01/termflag");
  789. model.makeNode("/root/send/send01/fromdd");
  790. model.makeNode("/root/send/send01/todd");
  791. modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
  792. cmb_judgdg.value = model.getValue("/root/main/list001/U0001/judgdg");
  793. cmb_clamno.value = model.getValue("/root/main/list002/U0002/clamno");
  794. if(ipt_acptno.value != "" & cmb_judgdg.value != "") {
  795. search();
  796. }
  797. ]]>
  798. </script>
  799. <script type="javascript" ev:event="onkeypress">
  800. <![CDATA[
  801. if (event.keyCode != '13') {
  802. return false;
  803. }
  804. setInputNodeCurText();
  805. if(ipt_acptno.value == "") {
  806. return false;
  807. } else {
  808. //model.setValue("/root/send/send01/acptno", ipt_acptno.value) ;
  809. // 9999999 , 88888888 일 경우 심사차수 필터링 추가
  810. if ( ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999" ) {
  811. cp_judgym.attribute("visibility") = "visible";
  812. ipt_judgym.attribute("visibility") = "visible";
  813. //cp_judgdg.attribute("left") = "808px";
  814. //cmb_judgdg.attribute("left") = "898px";
  815. sDate = new Date();
  816. ipt_judgym.value = sDate.getYear();
  817. grd_pifhbsdp.colHidden( grd_pifhbsdp.colRef("depooutamt") ) = false;
  818. grd_pifhbsdp.colHidden( grd_pifhbsdp.colRef("depoinamt") ) = false;
  819. //grd_pifhbsdp.rebuild();
  820. } else {
  821. cp_judgym.attribute("visibility") = "hidden";
  822. ipt_judgym.attribute("visibility") = "hidden";
  823. //cp_judgdg.attribute("left") = "542px";
  824. //cmb_judgdg.attribute("left") = "632px";
  825. grd_pifhbsdp.colHidden( grd_pifhbsdp.colRef("depooutamt") ) = true;
  826. grd_pifhbsdp.colHidden( grd_pifhbsdp.colRef("depoinamt") ) = true;
  827. //grd_pifhbsdp.rebuild();
  828. }
  829. searchClamno();
  830. }
  831. ]]>
  832. </script>
  833. </input>
  834. <button id="btn_srch" class="btn1_letter2" style="left:1121px; top:7px; width:56px; height:22px; ">
  835. <caption>조회</caption>
  836. <script type="javascript" ev:event="DOMActivate">
  837. <![CDATA[
  838. search();
  839. // model.setValue("/root/main/list01/calcamtsumdetl/calcamtsum","-1234567");
  840. // btn_acptno.selected = true;
  841. ]]>
  842. </script>
  843. </button>
  844. <caption id="cp_judgym" class="search_name" visibility="hidden" style="left:793px; top:10px; width:138px; height:17px; ">정산심사차수년도 :</caption>
  845. <input id="ipt_judgym" ref="/root/send/send01/datefilter" class="input_search" navindex="3" visibility="hidden" inputtype="date" format="yyyy" style="left:943px; top:9px; width:100px; height:19px; text-align:center; ">
  846. <script type="javascript" ev:event="xforms-value-changed">
  847. <![CDATA[
  848. submit("TRPIF30302");
  849. cmb_judgdg.select(0);
  850. ]]>
  851. </script>
  852. </input>
  853. <select1 id="rdo_insukind" ref="/root/send/send01/insukind" class="radio_search" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:20px; top:10px; width:95px; height:16px; border-style:none; ">
  854. <choices>
  855. <item>
  856. <label>자보</label>
  857. <value>31</value>
  858. </item>
  859. </choices>
  860. <script type="javascript" ev:event="xforms-select">
  861. <![CDATA[
  862. if (rdo_insukind.value == "11") {
  863. ipt_acptno.attribute("maxlength") = 7;
  864. model.setValue("/root/send/uncoendprcs/insukindflag","1"); // 보험
  865. } else if (rdo_insukind.value == "41") {
  866. ipt_acptno.attribute("maxlength") = 15;
  867. model.setValue("/root/send/uncoendprcs/insukindflag","6"); // 산재
  868. } else if (rdo_insukind.value == "31") {
  869. ipt_acptno.attribute("maxlength") = 15;
  870. model.setValue("/root/send/uncoendprcs/insukindflag","8"); // 자보
  871. }
  872. // 최종 마감월
  873. model.removeNodeset("/root/main/check");
  874. submit("TRPIF31303");
  875. // 라디오 선택 변경시 초기화
  876. model.removenode("/root/main/list01");
  877. model.removenode("/root/main/list001/U0001");
  878. model.removenode("/root/main/list002/U0002");
  879. model.resetInstanceNode("/root/main/list001/U0001");
  880. model.resetInstanceNode("/root/main/list002/U0002");
  881. model.setValue("/root/send/send01/clamno","");
  882. model.setValue("/root/send/send01/judgdg","");
  883. model.setValue("/root/send/send01/acptno","");
  884. model.refresh();
  885. model.setFocus("ipt_acptno");
  886. ]]>
  887. </script>
  888. </select1>
  889. <caption id="caption66" class="search_name" visibility="visible" style="left:793px; top:10px; width:138px; height:17px; ">손보사명</caption>
  890. <select1 id="combo1" ref="/root/main/list01/gridpidmclam/insucmno" class="combo_s_essential" disabled="true" navindex="3" appearance="minimal" showvalue="true" style="left:890px; top:10px; width:160px; height:19px; text-align:left; ">
  891. <choices>
  892. <itemset nodeset="/root/init/PAM/PK032list/PK032">
  893. <label ref="cdnm"/>
  894. <value ref="cdid"/>
  895. </itemset>
  896. </choices>
  897. <script type="javascript" ev:event="xforms-select">
  898. <![CDATA[
  899. model.removenode("/root/main/list01");
  900. search();
  901. ]]>
  902. </script>
  903. </select1>
  904. </group>
  905. <button id="button1" class="btn5_letter2" visibility="hidden" style="left:1039px; top:531px; width:42px; height:19px; ">
  906. <caption>저장</caption>
  907. <script type="javascript" ev:event="onclick">
  908. <![CDATA[
  909. // grd_pifhrtns.refresh();
  910. var row_cnt = grd_pifhrtns.rows;
  911. var row = grd_pifhrtns.row;
  912. //var status = grd_pifhrtns.rowStatus(row);
  913. var errorcnt = 0;
  914. for (var i=0; i <grd_pifhbsdp.rows; i++){
  915. var rowstat = grd_pifhbsdp.rowStatus(i);
  916. var rowval = grd_pifhbsdp.valueMatrix(i,grd_pifhbsdp.colRef("depodd"));
  917. if (rowval.length > 0 && (grd_pifhbsdp.fixedRows + 1) <= grd_pifhbsdp.rows && rowstat == 0 ) {
  918. } else {
  919. errorcnt++;
  920. }
  921. }
  922. if (errorcnt > 0) {
  923. messageBox("입금내역 저장 후 시도 하거나 입금 내역을 먼저 ","C001");
  924. }
  925. if(row_cnt < 2) {
  926. messageBox("환수내역을 먼저 ","C001");
  927. return false;
  928. } else {
  929. for(var i = 1 ; i < row_cnt ; i++) {
  930. if(ipt_acptno.value== "") {
  931. messageBox("접수번호를","C001");
  932. return false;
  933. }
  934. if(cmb_judgdg.value == "") {
  935. messageBox("심사차수를","C001");
  936. return false;
  937. }
  938. if(grd_pifhrtns.valueMatrix(i,1) == "00000000") {
  939. messageBox("환수일자를","C001");
  940. return false;
  941. }
  942. if(grd_pifhrtns.valueMatrix(i,7) == "") {
  943. messageBox("환수금액을","C001");
  944. return false;
  945. }
  946. if(grd_pifhrtns.valueMatrix(i,9) == "") {
  947. messageBox("재무통보월을","C001");
  948. return false;
  949. }
  950. if ( (grd_pifhrtns.rowStatus(i) == "1" || grd_pifhrtns.rowStatus(i) == "3" )&& grd_pifhrtns.valueMatrix(i,9) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  951. messageBox("마감된 이전월의 재무통보월은 저장 하실 수","I004"); // 없습니다.
  952. return false;
  953. }
  954. /*
  955. if(grd_pifhrtns.valueMatrix(row_cnt,8) == "") {
  956. messageBox("재무통보월을","C001");
  957. return false;
  958. }*/
  959. model.setValue("/root/main/list01/gridpifhrtns["+i+"]/acptno", ipt_acptno.value);
  960. model.setValue("/root/main/list01/gridpifhrtns["+i+"]/judgdg", cmb_judgdg.value);
  961. model.setValue("/root/main/list01/gridpifhrtns["+i+"]/clamno", cmb_clamno.value);
  962. model.setValue("/root/main/list01/gridpifhrtns["+i+"]/instcd", '012');
  963. // 재무통보월을 6자리로 만들기
  964. var notimm = grd_pifhrtns.valueMatrix(i,8);
  965. notimm = notimm.substr(0,6);
  966. grd_pifhrtns.valueMatrix(i,8) = notimm;
  967. var bsdpuse = "N";
  968. /*
  969. for (var j==1;j<=grd_pifhbsdp.rows;j++)
  970. {
  971. if (notimm == model.getValue("/root/main/list01/gridpifhbsdp["+ j +"]/notimm"))
  972. {
  973. bsdpuse = "Y";
  974. }
  975. }
  976. if (bsdpuse == "N")
  977. {
  978. messageBox("해당 환수건의 통보월에 대한 입금 통보월이 ","I004");
  979. }
  980. */
  981. }
  982. model.setValue("/root/main/list03/gridpifhrtns", grd_pifhrtns.getUpdateData());
  983. if (submit("TXPIF30302")) {
  984. model.resetInstanceNode("/root/main/list01/gridpifhrtns");
  985. submit("TRPIF30303");
  986. chkRtndetl();
  987. }
  988. }
  989. ]]>
  990. </script>
  991. </button>
  992. <button id="button2" class="btn5_letter2" visibility="hidden" style="left:1039px; top:330px; width:42px; height:19px; ">
  993. <caption>저장</caption>
  994. <script type="javascript" ev:event="onclick">
  995. <![CDATA[
  996. var row_cnt = grd_pifhbsdp.row;
  997. var rows = grd_pifhbsdp.rows;
  998. var ins_cnt = 0;
  999. if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
  1000. for(var i = 1;i<rows;i++) {
  1001. if(grd_pifhbsdp.rowStatus(i) == 1) {
  1002. messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
  1003. ++ins_cnt;
  1004. return false;
  1005. }
  1006. }
  1007. }
  1008. if(ipt_acptno.value== "") {
  1009. messageBox("접수번호를","C001");
  1010. model.setFocus("ipt_acptno");
  1011. return false;
  1012. }
  1013. if(cmb_judgdg.value == "") {
  1014. messageBox("심사차수를","C001");
  1015. model.setFocus("cmb_judgdg");
  1016. return false;
  1017. }
  1018. /*저장할 행을 선택하지 않았을 시*/
  1019. if(row_cnt == "-1") {
  1020. return false;
  1021. }
  1022. /*
  1023. if(grd_pifhbsdp.valueMatrix(row_cnt,6) == "") {
  1024. messageBox("통장입금액을","C001");
  1025. return false;
  1026. }*/
  1027. if(grd_pifhbsdp.valueMatrix(row_cnt,2) == "" || grd_pifhbsdp.valueMatrix(row_cnt,2) == null) {
  1028. messageBox(grd_pifhbsdp.valueMatrix(0,2),"C001");
  1029. return false;
  1030. }
  1031. var notimm = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,8);
  1032. notimm = notimm.substr(0,6);
  1033. model.setValue("/root/main/list01/gridpifhbsdp/notimm",notimm);
  1034. model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
  1035. if (model.getValue("/root/main/list02/gridpifmidep").length == 0) {
  1036. model.removenode("/root/main/list02/gridpifmidep");
  1037. }
  1038. if (submit("TXPIF30301")) {
  1039. model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
  1040. submit("TRPIF30303");
  1041. chkRtndetl();
  1042. }
  1043. ]]>
  1044. </script>
  1045. </button>
  1046. <line id="line3" class="line_2" style="x1:1px; y1:174px; x2:232px; y2:174px; "/>
  1047. <line id="line15" class="line_2" style="x1:1px; y1:149px; x2:232px; y2:149px; "/>
  1048. <line id="line16" class="line_2" style="x1:0px; y1:124px; x2:231px; y2:124px; "/>
  1049. <line id="line22" class="line_2" style="x1:238px; y1:124px; x2:473px; y2:124px; "/>
  1050. <line id="line23" class="line_2" style="x1:238px; y1:149px; x2:473px; y2:149px; "/>
  1051. <line id="line24" class="line_2" style="x1:238px; y1:174px; x2:473px; y2:174px; "/>
  1052. <line id="line25" class="line_2" style="x1:238px; y1:199px; x2:473px; y2:199px; "/>
  1053. <line id="line26" class="line_2" style="x1:478px; y1:199px; x2:713px; y2:199px; "/>
  1054. <line id="line27" class="line_2" style="x1:478px; y1:174px; x2:713px; y2:174px; "/>
  1055. <line id="line28" class="line_2" style="x1:478px; y1:149px; x2:713px; y2:149px; "/>
  1056. <line id="line29" class="line_2" style="x1:478px; y1:124px; x2:713px; y2:124px; "/>
  1057. <line id="line30" class="line_2" style="x1:718px; y1:124px; x2:953px; y2:124px; "/>
  1058. <line id="line31" class="line_2" style="x1:718px; y1:149px; x2:953px; y2:149px; "/>
  1059. <line id="line32" class="line_2" style="x1:718px; y1:174px; x2:953px; y2:174px; "/>
  1060. <line id="line33" class="line_2" style="x1:718px; y1:199px; x2:953px; y2:199px; "/>
  1061. <line id="line34" class="line_2" style="x1:959px; y1:199px; x2:1194px; y2:199px; "/>
  1062. <line id="line35" class="line_2" style="x1:959px; y1:174px; x2:1194px; y2:174px; "/>
  1063. <line id="line36" class="line_2" style="x1:959px; y1:149px; x2:1194px; y2:149px; "/>
  1064. <line id="line37" class="line_2" style="x1:959px; y1:124px; x2:1194px; y2:124px; "/>
  1065. <datagrid id="grd_pifhbsdp" nodeset="/root/main/list01/gridpifhbsdp" caption="입금일자^입금구분^금융기관^계좌번호^건수^통장입금액^환수예정액^재무통보월^환자명^정산외래입금^정산입원입금^비고^접수번호^심사차수^청구번호^일련번호^기관코드" colsep="^" colwidth="100, 90, 100, 120, 70, 90, 90, 86, 55, 100, 100, 322, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:356px; width:1194px; height:171px; ">
  1066. <col autonext="true" ref="depodd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
  1067. <col autonext="true" ref="depoflag" type="combo">
  1068. <choices>
  1069. <itemset nodeset="/root/init/P0268list/P0268">
  1070. <label ref="cdnm"/>
  1071. <value ref="cdid"/>
  1072. </itemset>
  1073. </choices>
  1074. </col>
  1075. <col autonext="true" ref="bankcd" type="combo" style="text-align:center; ">
  1076. <choices>
  1077. <itemset nodeset="/root/init/R0001list/R0001">
  1078. <label ref="cdnm"/>
  1079. <value ref="cdid"/>
  1080. </itemset>
  1081. </choices>
  1082. </col>
  1083. <col ref="acntcd" type="input" style="text-align:center; "/>
  1084. <col ref="depocnt" type="input" format="#,###" style="text-align:right; "/>
  1085. <col ref="depoamt" type="input" format="#,###" style="text-align:right; "/>
  1086. <col ref="rtnscheamt" type="input" format="#,###" style="text-align:right; "/>
  1087. <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
  1088. <col ref="patnm"/>
  1089. <col ref="depooutamt" type="input" visibility="visible" format="#,###"/>
  1090. <col ref="depoinamt" type="input" visibility="visible" format="#,###"/>
  1091. <col ref="rem" type="input"/>
  1092. <col ref="acptno" visibility="hidden" style="text-align:center; "/>
  1093. <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
  1094. <col ref="clamno" visibility="hidden" style="text-align:center; "/>
  1095. <col ref="seqno" visibility="hidden" style="text-align:center; "/>
  1096. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  1097. <script type="javascript" ev:event="xforms-select">
  1098. <![CDATA[
  1099. var insukind = model.getValue("/root/send/send01/insukind");
  1100. if(grd_pifhbsdp.col == grd_pifhbsdp.colRef("depoflag")){
  1101. var row = grd_pifhbsdp.row;
  1102. // 입금내역 그리드의 통장입금액을 받을 행번호를 send 노드에 create 한후 개인별 상한금 조회화면으로 넘겨준다.
  1103. model.makeNode("/root/send/send01/opn_row");
  1104. model.setValue("/root/send/send01/opn_row", row);
  1105. var depoflag = grd_pifhbsdp.valueMatrix(row,2); // 입금구분
  1106. var clamseqno = model.getValue("/root/main/list01/gridpifmiunc/clamseqno"); // 청구서일련번호(심결내역이 도착한 순서대로)
  1107. // 입금구분이 가지급,주민보류,무차수가지급,환입금,결손액 선택시 건수는 0 입력
  1108. if(depoflag == "01" || depoflag == "03" || depoflag == "05" || depoflag == "06" || depoflag == "07" || depoflag == "08" || depoflag == "11") {
  1109. grd_pifhbsdp.valueMatrix(row,5) = 0;
  1110. }
  1111. // 20100721 입금구분이 가지급, 상한금, 지원금인 경우는 심사차수가 1차인 경우만 입력가능
  1112. if(depoflag == "01" || depoflag == "06" || depoflag == "11") {
  1113. //model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  1114. //model.alert(model.getValue("/root/temp/fstjudgdg"));
  1115. //model.alert(model.getValue("/root/send/send01/judgdg"));
  1116. if(model.getValue("/root/temp/fstjudgdg") != model.getValue("/root/send/send01/judgdg")){
  1117. messageBox("가지급, 상한금, 지원금은 심사차수가 1차만 가능합니다","");
  1118. return;
  1119. }
  1120. }
  1121. // 20100721 END
  1122. //1차 가지급일 경우
  1123. if(depoflag == "02") {
  1124. if(clamseqno != "1"){
  1125. if(insukind == "11"){
  1126. grd_pifhbsdp.valueMatrix(row,2) = "04";
  1127. }else{
  1128. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1129. }
  1130. /*
  1131. submit("TRPIF30307"); // 심사보류건수를 구해온다.
  1132. // grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/init/temp/judgretecnt/cnt");
  1133. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value)
  1134. setGridPifhbsdpFocus("popup")
  1135. */
  1136. }else{
  1137. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1138. }
  1139. }
  1140. // 입금구분이 주민보류일 경우
  1141. if(depoflag == "03") {
  1142. // grd_pifhbsdp.isReadOnly(row,7) = true;
  1143. model.makeNode("/root/send/send01/openerflag");
  1144. model.setValue("/root/send/send01/openerflag", "2");
  1145. model.makeNode("/root/send/send01/clamym");
  1146. model.setValue("/root/send/send01/clamym", ipt_clamdd.value.substr(0,6));
  1147. model.makeNode("/root/send/send01/instcd");
  1148. //model.setValue("/root/send/send01/instcd", ipt_instcd_hid.value);
  1149. // 입금일자를 팝업에 던져 준다.
  1150. model.makeNode("/root/send/send01/rtndd");
  1151. model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
  1152. modal("SPPIF30303", 1,"", "", "SPPIF30303", "/root/send/send01", "/root/send");
  1153. setGridPifhbsdpFocus("popup");
  1154. //window.load("SPPIF30303_주민보류내역.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
  1155. }
  1156. // 입금구분이 심사보류일 경우 심사보류건수는 심사차수가 2차이상일 경우만 0이 아닐수 있다.
  1157. // 1차에서의 심사보류건수 중 2차 심결로 온 건수 - 2차 주민보류건수 = 심사보류 건수이다.
  1158. if(depoflag == "04") {
  1159. if(clamseqno == "1"){
  1160. grd_pifhbsdp.valueMatrix(row,2) = "02";
  1161. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1162. }else{
  1163. submit("TRPIF30307"); // 심사보류건수를 구해온다.
  1164. // grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/init/temp/judgretecnt/cnt");
  1165. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value)
  1166. setGridPifhbsdpFocus("popup")
  1167. };
  1168. }
  1169. // 입금구분이 상한액일 경우
  1170. if(depoflag == "06") {
  1171. // grd_pifhbsdp.valueMatrix(row,7) = "0";
  1172. // grd_pifhbsdp.isReadOnly(row,7) = true;
  1173. model.makeNode("/root/send/send01/openerflag");
  1174. model.setValue("/root/send/send01/openerflag", "2");
  1175. // 입금일자를 팝업에 던져 준다.
  1176. model.makeNode("/root/send/send01/rtndd");
  1177. model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
  1178. // 2009.04.06 입금구분을 넘겨준다.
  1179. model.makeNode("/root/send/send01/inddepoflag");
  1180. model.setValue("/root/send/send01/inddepoflag", "06");
  1181. // model.setFocus("body");
  1182. modal("SPPIF30301", 1,"", "", "SPPIF30301", "/root/send/send01", "/root/send");
  1183. setGridPifhbsdpFocus("popup");
  1184. //window.load("SPPIF30301_개인별상한금관리.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
  1185. }
  1186. // 입금구분이 정산일 경우 정산건수는 piehf403 테이블의 정산 결정차액이 0이 아닌 건수
  1187. if(depoflag == "09") {
  1188. grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/main/list01/gridpifmiunc/cnt_calcdepo");
  1189. }
  1190. // 입금구분이 원외정산일 경우 원외정산건수는 piehf703 테이블의 정산 결정차액이 0이 아닌 건수
  1191. if(depoflag == "10") {
  1192. grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/main/list01/gridpifmiunc/cnt_hosoutcalc");
  1193. }
  1194. // 입금구분이 지원금일 경우
  1195. if(depoflag == "11") {
  1196. // grd_pifhbsdp.valueMatrix(row,7) = "0";
  1197. // grd_pifhbsdp.isReadOnly(row,7) = true;
  1198. model.makeNode("/root/send/send01/openerflag");
  1199. model.setValue("/root/send/send01/openerflag", "2");
  1200. // 입금일자를 팝업에 던져 준다.
  1201. model.makeNode("/root/send/send01/rtndd");
  1202. model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
  1203. // 2009.04.06 입금구분을 넘겨준다.
  1204. model.makeNode("/root/send/send01/inddepoflag");
  1205. model.setValue("/root/send/send01/inddepoflag", "11");
  1206. // model.setFocus("body");
  1207. modal("SPPIF30304", 1,"", "", "SPPIF30304", "/root/send/send01", "/root/send");
  1208. setGridPifhbsdpFocus("popup");
  1209. //window.load("SPPIF30301_개인별상한금관리.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
  1210. }
  1211. // 입금구분이 장애인일 경우
  1212. if(depoflag == "12") {
  1213. modal("SPPIF30421", 1,"", "", "SPPIF30421", "/root/send/send01", "/root/send");
  1214. }
  1215. // if(depoflag == "01") {
  1216. // // grd_pifhbsdp.valueMatrix(row,7) = "0";
  1217. // // grd_pifhbsdp.isReadOnly(row,7) = true;
  1218. //
  1219. // // 다음 포커스로 이동(가지급의 경우엔 통장입금액만 입력함. 환수예정액은 없음)
  1220. // setGridPifhbsdpFocus("nopopup");
  1221. // }
  1222. /*if(depoflag == "02" || depoflag == "05" || depoflag == "07" || depoflag == "08" || depoflag == "09" || depoflag == "10") {
  1223. grd_pifhbsdp.valueMatrix(row,7) = "0";
  1224. // grd_pifhbsdp.isReadOnly(row,7) = false;
  1225. }*/
  1226. if(depoflag != "02") {
  1227. // grd_pifhbsdp.valueMatrix(row,6) = "0"; // 2009.04.13 통장입금액 초기화 주석처리
  1228. grd_pifhbsdp.valueMatrix(row,7) = "0";
  1229. }
  1230. // 입금구분 선택시 다음 포커스 Setting
  1231. if(depoflag == "01" || depoflag == "02" || depoflag == "05" || depoflag == "07" || depoflag == "08" || depoflag == "09" || depoflag == "10") {
  1232. setGridPifhbsdpFocus("nopopup");
  1233. }
  1234. // 입금구분 선택시 다음 포커스 Setting 끝
  1235. chkGridPifhbsdp();
  1236. }
  1237. ]]>
  1238. </script>
  1239. <script type="javascript" ev:event="onkeyup">
  1240. <![CDATA[
  1241. if(event.keyCode == "13") {
  1242. var col = grd_pifhbsdp.col;
  1243. if(col == 6) {
  1244. model.setFocus("body");
  1245. model.setFocus("grd_pifhbsdp");
  1246. // 1차 지급일 경우 환수예정액으로 포커스 이동
  1247. if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,2) == "02" ) {
  1248. grd_pifhbsdp.col = 7;
  1249. } else {
  1250. grd_pifhbsdp.col = 8;
  1251. }
  1252. grd_pifhbsdp.dispatch("onentercell");
  1253. grd_pifhbsdp.editCell();
  1254. }
  1255. if(col == 7) {
  1256. model.setFocus("body");
  1257. model.setFocus("grd_pifhbsdp");
  1258. grd_pifhbsdp.col = 8;
  1259. grd_pifhbsdp.dispatch("onentercell");
  1260. grd_pifhbsdp.editCell();
  1261. }
  1262. }
  1263. ]]>
  1264. </script>
  1265. <script type="javascript" ev:event="xforms-value-changed">
  1266. <![CDATA[
  1267. var col = grd_pifhbsdp.col;
  1268. var row = grd_pifhbsdp.row;
  1269. var clamseqno = model.getValue("/root/main/list01/gridpifmiunc/clamseqno");
  1270. var insukind = model.getValue("/root/send/send01/insukind");
  1271. if(insukind == "11"){
  1272. if( col == grd_pifhbsdp.colRef("depodd")) {
  1273. if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row, grd_pifhbsdp.colRef("depodd")) != '') {
  1274. //model.setFocus("body");
  1275. //model.setFocus("grd_pifhbsdp");
  1276. if(clamseqno == "1"){
  1277. grd_pifhbsdp.valueMatrix(row,2) = "02";
  1278. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1279. }else{
  1280. grd_pifhbsdp.valueMatrix(row,2) = "04";
  1281. submit("TRPIF30307"); // 심사보류건수를 구해온다.
  1282. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value);
  1283. }
  1284. //입금일자 선택시 입금월로 재무통보월 자동 세팅-20100706 정숙희 선생님 요청사항
  1285. var depodd = model.getValue("/root/main/list01/gridpifhbsdp["+ row +"]/depodd").substring(0,6);
  1286. model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/notimm", depodd);
  1287. //통장입금액을 심결액으로 세팅-20100706 정숙희 선생님 요청사항
  1288. model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/depoamt", model.getValue("/root/main/list01/gridpifmiunc/jrjudgdeciamt01"));
  1289. // setGridPifhbsdpFocus("nopopup");
  1290. model.setFocus("body");
  1291. model.setFocus("grd_pifhbsdp");
  1292. grd_pifhbsdp.col = 6;
  1293. grd_pifhbsdp.dispatch("onentercell");
  1294. // grd_pifhbsdp.editCell();
  1295. }
  1296. }
  1297. }else if(insukind == "41"){
  1298. if( col == grd_pifhbsdp.colRef("depodd")) {
  1299. if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row, grd_pifhbsdp.colRef("depodd")) != '') {
  1300. //model.setFocus("body");
  1301. //model.setFocus("grd_pifhbsdp");
  1302. if(clamseqno == "1" || clamseqno == "0"){
  1303. grd_pifhbsdp.valueMatrix(row,2) = "02";
  1304. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1305. }else{
  1306. grd_pifhbsdp.valueMatrix(row,2) = "04";
  1307. submit("TRPIF30307"); // 심사보류건수를 구해온다.
  1308. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value);
  1309. }
  1310. //입금일자 선택시 입금월로 재무통보월 자동 세팅-20100706 정숙희 선생님 요청사항
  1311. var depodd = model.getValue("/root/main/list01/gridpifhbsdp["+ row +"]/depodd").substring(0,6);
  1312. model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/notimm", depodd);
  1313. //통장입금액을 심결액으로 세팅-20100706 정숙희 선생님 요청사항
  1314. model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/depoamt", model.getValue("/root/main/list01/gridpifmiunc/jrjudgdeciamt01"));
  1315. // setGridPifhbsdpFocus("nopopup");
  1316. model.setFocus("body");
  1317. model.setFocus("grd_pifhbsdp");
  1318. grd_pifhbsdp.col = 6;
  1319. grd_pifhbsdp.dispatch("onentercell");
  1320. // grd_pifhbsdp.editCell();
  1321. }
  1322. }
  1323. }
  1324. if( col == grd_pifhbsdp.colRef("notimm")) {
  1325. if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) != '') {
  1326. model.setFocus("body");
  1327. model.setFocus("grd_pifhbsdp");
  1328. if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  1329. messageBox("마감된 이전월의 재무통보월은 입력하실 수","I004");
  1330. grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) = "";
  1331. return;
  1332. }
  1333. // grd_pifhbsdp.col = 9;
  1334. // grd_pifhbsdp.dispatch("onentercell");
  1335. // grd_pifhbsdp.editCell();
  1336. }
  1337. }
  1338. //2011-04-22 추가 정산입금에 외래/입원 구분 추가
  1339. if( col == grd_pifhbsdp.colRef("depooutamt")) {
  1340. var amt = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depoamt"));
  1341. var outamt = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depooutamt"));
  1342. grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depoinamt")) = parseInt(amt) - parseInt(outamt);
  1343. }
  1344. if( col == grd_pifhbsdp.colRef("depoinamt")) {
  1345. var amt = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depoamt"));
  1346. var inamt = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depoinamt"));
  1347. grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depooutamt")) = parseInt(amt) - parseInt(inamt);
  1348. }
  1349. ]]>
  1350. </script>
  1351. </datagrid>
  1352. <datagrid id="grd_pifhrtns" nodeset="/root/main/list01/gridpifhrtns" caption="환수일자^환수구분^상계접수번호^상계심사차수^공문번호^공문도착일^환수금액^Before환수금액^재무통보월^환자명^비고^접수번호^심사차수^청구번호^순번^기관코드^환수구분그룹코드" colsep="^" colwidth="100, 94, 110, 110, 117, 100, 94, 100, 98, 55, 325, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:557px; width:1194px; height:170px; ">
  1353. <col autonext="true" ref="rtndd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; ">
  1354. <script type="javascript" ev:event="xforms-value-changed">
  1355. <![CDATA[
  1356. var col = grd_pifhrtns.col;
  1357. if( col == grd_pifhrtns.colRef("rtndd")) {
  1358. if(grd_pifhrtns.valueMatrix(grd_pifhrtns.row, 1) != '') {
  1359. model.setFocus("body");
  1360. model.setFocus("grd_pifhrtns");
  1361. // grd_pifhrtns.col = 2;
  1362. // grd_pifhrtns.dispatch("onentercell");
  1363. // grd_pifhrtns.editCell();
  1364. }
  1365. }
  1366. ]]>
  1367. </script>
  1368. </col>
  1369. <col ref="rtnflag" type="combo">
  1370. <choices>
  1371. <itemset nodeset="/root/init/P0302list/P0302">
  1372. <label ref="cdnm"/>
  1373. <value ref="cdid"/>
  1374. </itemset>
  1375. </choices>
  1376. </col>
  1377. <script type="javascript" ev:event="xforms-select">
  1378. <![CDATA[
  1379. var row = grd_pifhrtns.row;
  1380. if(grd_pifhrtns.col == "2") {
  1381. var rtnflag = grd_pifhrtns.valueMatrix(row,2);
  1382. /*
  1383. if(grd_pifhrtns.valueMatrix(row,2) == "01" || grd_pifhrtns.valueMatrix(row,2) == "02" || grd_pifhrtns.valueMatrix(row,2) == "07" ) {
  1384. grd_pifhrtns.isReadOnly(row,3) = false;
  1385. grd_pifhrtns.isReadOnly(row,4) = false;
  1386. } else {
  1387. grd_pifhrtns.isReadOnly(row,3) = true;
  1388. grd_pifhrtns.isReadOnly(row,4) = true;
  1389. }
  1390. */
  1391. // 환수구분이 01,02,09,12 이면 환수그룹코드가 1
  1392. if(rtnflag == "01" || rtnflag == "02" || rtnflag == "09" || rtnflag == "12") {
  1393. model.setValue("/root/source/rtnflaggrcd", "1");
  1394. }
  1395. // 환수구분이 06이면 환수그룹코드가 3
  1396. if(rtnflag == "06") {
  1397. model.setValue("/root/source/rtnflaggrcd", "3");
  1398. }
  1399. // 환수구분이 03,04,05,08,11,13 이면 환수그룹코드가 2
  1400. if(rtnflag == "03" || rtnflag == "04" || rtnflag == "05" || rtnflag == "08" || rtnflag == "11" || rtnflag == "13") {
  1401. model.setValue("/root/source/rtnflaggrcd", "2");
  1402. }
  1403. // 환수구분이 07,10 이면 환수그룹코드가 4
  1404. if(rtnflag == "07" || rtnflag == "10") {
  1405. model.setValue("/root/source/rtnflaggrcd", "4");
  1406. }
  1407. model.setValue("/root/source/acptno", ipt_acptno.value); // 접수번호
  1408. model.setValue("/root/source/judgdg", cmb_judgdg.value); // 심사차수
  1409. model.setValue("/root/source/clamno", cmb_clamno.value); // 청구번호
  1410. model.setValue("/root/source/rtnflag", rtnflag); // 환수구분
  1411. model.setValue("/root/source/rtndetlrow", row);
  1412. model.makeNode("/root/source/openerflag");
  1413. model.setValue("/root/source/openerflag","보험산재");
  1414. model.setValue("/root/source/openerrtnflag",grd_pifhrtns.valueMatrix(row,2));
  1415. // 환수잔액조회 팝업화면
  1416. modal("SPPIF30310", 1, "", "", "SPPIF30310", "/root/source", "/root/send");
  1417. // 환수구분 선택시 포커스를 환수금액으로 이동시킴
  1418. setGridPifhrtnsFocus();
  1419. }
  1420. ]]>
  1421. </script>
  1422. <col ref="rtnacptno" style="text-align:center; "/>
  1423. <col ref="rtnjudgdg" style="text-align:center; "/>
  1424. <col ref="ofidocno" style="text-align:center; "/>
  1425. <col ref="ofidocarvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1426. <col ref="rtnamt" type="input" format="(-)#,###" style="text-align:right; ">
  1427. <script type="javascript" ev:event="xforms-value-changed">
  1428. <![CDATA[
  1429. var rows = grd_pifhrtns.rows;
  1430. for(var i=1;i<rows;i++) {
  1431. var rtnamt = model.getValue("/root/main/list01/gridpifhrtns["+ i +"]/rtnamt");
  1432. var brtnamt = model.getValue("/root/main/list01/gridpifhrtns["+ i +"]/brtnamt");
  1433. if(parseInt(rtnamt) > parseInt(brtnamt)){
  1434. messageBox(i+"번째 줄의 환수액이 환수잔액을 초과합니다!" ,"E999");
  1435. model.setValue("/root/main/list01/gridpifhrtns["+ i +"]/rtnamt", brtnamt);
  1436. return;
  1437. }
  1438. }
  1439. model.refresh();
  1440. ]]>
  1441. </script>
  1442. </col>
  1443. <col ref="brtnamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  1444. <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; ">
  1445. <script type="javascript" ev:event="xforms-value-changed">
  1446. <![CDATA[
  1447. var col = grd_pifhrtns.col;
  1448. if( col == grd_pifhrtns.colRef("notimm")) {
  1449. if(grd_pifhrtns.valueMatrix(grd_pifhrtns.row,grd_pifhrtns.colRef("notimm")) != '') {
  1450. model.setFocus("body");
  1451. model.setFocus("grd_pifhrtns");
  1452. if ( grd_pifhrtns.valueMatrix(grd_pifhrtns.row,grd_pifhrtns.colRef("notimm"))<= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  1453. messageBox("마감된 이전월의 재무통보월은 입력하실 수","I004");
  1454. grd_pifhrtns.valueMatrix(grd_pifhrtns.row,grd_pifhrtns.colRef("notimm")) = "";
  1455. return;
  1456. }
  1457. // grd_pifhbsdp.col = 9;
  1458. // grd_pifhbsdp.dispatch("onentercell");
  1459. // grd_pifhbsdp.editCell();
  1460. }
  1461. }
  1462. ]]>
  1463. </script>
  1464. </col>
  1465. <col ref="patnm"/>
  1466. <col ref="rem" type="input"/>
  1467. <col ref="acptno" visibility="hidden"/>
  1468. <col ref="judgdg" visibility="hidden"/>
  1469. <col ref="clamno" visibility="hidden"/>
  1470. <col ref="seqno" visibility="hidden"/>
  1471. <col ref="instcd" visibility="hidden"/>
  1472. <col ref="rtnflaggrcd" type="combo" visibility="hidden">
  1473. <choices>
  1474. <itemset nodeset="/root/init/P0384list/P0384">
  1475. <label ref="cdnm"/>
  1476. <value ref="cdid"/>
  1477. </itemset>
  1478. </choices>
  1479. </col>
  1480. <col ref="rtnseqno" visibility="hidden"/>
  1481. <col ref="rtnclamno" visibility="hidden"/>
  1482. <script type="javascript" ev:event="xforms-value-changed">
  1483. <![CDATA[
  1484. var col = grd_pifhrtns.col;
  1485. var row = grd_pifhrtns.row;
  1486. if( col == grd_pifhrtns.colRef("rtndd")) {
  1487. if(grd_pifhrtns.valueMatrix(grd_pifhrtns.row, grd_pifhrtns.colRef("rtndd")) != '') {
  1488. //입금일자 선택시 입금월로 재무통보월 자동 세팅-20100706 정숙희 선생님 요청사항
  1489. var rtndd = model.getValue("/root/main/list01/gridpifhrtns["+ row +"]/rtndd").substring(0,6);
  1490. model.setValue("/root/main/list01/gridpifhrtns["+ row +"]/notimm", rtndd);
  1491. grd_pifhrtns.refresh();
  1492. }
  1493. }
  1494. ]]>
  1495. </script>
  1496. </datagrid>
  1497. <!--select1 id="cmb_clamtypecd" ref="/root/main/list01/gridpidmclam/clamtypecd" disabled="true" appearance="minimal" style="left:407px; top:76px; width:91px; height:19px; ">
  1498. <choices>
  1499. <itemset nodeset="/root/init/P0059list/P0059">
  1500. <label ref="cdnm"/>
  1501. <value ref="cdid"/>
  1502. </itemset>
  1503. </choices>
  1504. </select1-->
  1505. <output id="ipt_clamdd" ref="/root/main/list01/gridpidmclam/uncoym" class="input_default" format="yyyy-mm" appearance="output" style="left:209px; top:56px; width:90px; height:19px; text-align:center; "/>
  1506. <caption id="caption2" style="left:590px; top:330px; width:75px; height:20px; ">정산금액합계</caption>
  1507. <input id="ipt_calcamtsum" ref="/root/main/list01/calcamtsumdetl/calcamtsum" format="(-)#,###" style="left:674px; top:330px; width:91px; height:19px; text-align:right; "/>
  1508. <input id="ipt_rtnremainamt" ref="/root/main/list01/gridpifmiunc/rtnrestamt" class="input_default" format="#,###" style="left:878px; top:304px; width:91px; height:19px; text-align:right; "/>
  1509. <output id="ipt_clamtypecd" ref="/root/main/list01/gridpidmclam/clamflag" appearance="output" style="left:521px; top:56px; width:80px; height:19px; text-align:center; "/>
  1510. <output id="input2" ref="/root/main/list01/gridpidmclam/acptdd" class="input_default" format="yyyy-mm-dd" appearance="output" style="left:365px; top:56px; width:90px; height:19px; text-align:center; "/>
  1511. <caption id="caption47" class="cell_1" style="left:302px; top:54px; width:60px; height:23px; text-align:center; vertical-align:middle; ">접수일자</caption>
  1512. <input id="ipt_judgdecicnt" ref="/root/main/list01/gridpifmiunc/cnt_judgdeci" class="input_default" format="#,###" style="left:340px; top:103px; width:133px; height:19px; text-align:right; "/>
  1513. <input id="ipt_jumincnt" ref="/root/main/list01/gridpifmiunc/cnt_jumin" class="input_default" format="#,###" style="left:1076px; top:103px; width:118px; height:19px; text-align:right; "/>
  1514. <input id="ipt_acptnocnt" ref="/root/main/list001/acptnocnt/cnt" visibility="hidden" style="left:1075px; top:15px; width:20px; height:19px; "/>
  1515. <input id="input15" ref="/root/main/list01/gridpifmiunc/jrhsuppamt04" class="input_default" format="#,###" style="left:1076px; top:228px; width:58px; height:19px; text-align:right; "/>
  1516. <line id="line38" class="line_2" style="x1:718px; y1:224px; x2:953px; y2:224px; "/>
  1517. <line id="line39" class="line_2" style="x1:959px; y1:224px; x2:1194px; y2:224px; "/>
  1518. <caption id="caption7" class="cell_1" style="left:478px; top:226px; width:100px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1519. <line id="line40" class="line_2" style="x1:238px; y1:224px; x2:473px; y2:224px; "/>
  1520. <line id="line41" class="line_2" style="x1:478px; y1:224px; x2:713px; y2:224px; "/>
  1521. <caption id="caption48" class="cell_1" style="left:718px; top:226px; width:100px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1522. <caption id="caption53" class="cell_1" style="left:958px; top:226px; width:115px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1523. <input id="input21" ref="/root/main/list01/gridpifmiunc/clhsuppamt" class="input_default" format="#,###" style="left:103px; top:228px; width:66px; height:19px; text-align:right; "/>
  1524. <line id="line42" class="line_2" style="x1:1px; y1:224px; x2:232px; y2:224px; "/>
  1525. <input id="input23" ref="/root/main/list01/gridpifmiunc/jrhsuppamt01" class="input_default" format="#,###" style="left:340px; top:228px; width:68px; height:19px; text-align:right; "/>
  1526. <caption id="caption55" class="cell_1" style="left:237px; top:226px; width:100px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1527. <input id="input36" ref="/root/main/list01/gridpifmiunc/jrhsuppamt02" class="input_default" format="#,###" style="left:581px; top:228px; width:68px; height:19px; text-align:right; "/>
  1528. <input id="input37" ref="/root/main/list01/gridpifmiunc/jrhsuppamt03" class="input_default" format="#,###" style="left:821px; top:228px; width:68px; height:19px; text-align:right; "/>
  1529. <caption id="caption56" class="cell_1" style="left:0px; top:226px; width:100px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1530. <output id="input38" ref="/root/main/list01/gridpidmclam/ioflag" appearance="output" style="left:812px; top:56px; width:90px; height:19px; "/>
  1531. <input id="input40" ref="/root/main/list01/gridpifmiunc/totuncoamt" format="(-)#,###" appearance="input" style="left:1076px; top:280px; width:118px; height:19px; text-align:right; "/>
  1532. <caption id="caption57" style="left:993px; top:280px; width:65px; height:20px; ">토탈미수금</caption>
  1533. <caption id="caption54" class="cell_1" style="left:958px; top:250px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1534. <input id="input41" ref="/root/main/list01/gridpifmiunc/clhandicaprfund" class="input_default" format="#,###" style="left:103px; top:252px; width:129px; height:19px; text-align:right; "/>
  1535. <input id="input42" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund01" class="input_default" format="#,###" style="left:340px; top:252px; width:133px; height:19px; text-align:right; "/>
  1536. <caption id="caption58" class="cell_1" style="left:237px; top:250px; width:100px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1537. <caption id="caption59" class="cell_1" style="left:0px; top:250px; width:100px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1538. <input id="input43" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund02" class="input_default" format="#,###" style="left:581px; top:252px; width:132px; height:19px; text-align:right; "/>
  1539. <input id="input44" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund04" class="input_default" format="#,###" style="left:1076px; top:252px; width:118px; height:19px; text-align:right; "/>
  1540. <input id="input45" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund03" class="input_default" format="#,###" style="left:821px; top:252px; width:132px; height:19px; text-align:right; "/>
  1541. <caption id="caption60" class="cell_1" style="left:718px; top:250px; width:100px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1542. <caption id="caption61" class="cell_1" style="left:478px; top:250px; width:100px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1543. <caption id="caption62" class="cell_1" style="left:0px; top:274px; width:100px; height:23px; vertical-align:middle; ">약제상한차액</caption>
  1544. <input id="input46" ref="/root/main/list01/gridpifmiunc/cldruglimitdiffamtsum" class="input_default" format="#,###" style="left:103px; top:276px; width:129px; height:19px; text-align:right; "/>
  1545. <caption id="caption63" class="cell_1" style="left:237px; top:274px; width:100px; height:23px; vertical-align:middle; ">약제상한차액</caption>
  1546. <input id="input47" ref="/root/main/list01/gridpifmiunc/jrdruglimitdiffamtsum" class="input_default" format="#,###" style="left:340px; top:276px; width:133px; height:19px; text-align:right; "/>
  1547. <caption id="caption64" class="cell_1" style="left:478px; top:274px; width:100px; height:23px; vertical-align:middle; ">약제상한차액</caption>
  1548. <input id="input48" ref="/root/main/list01/gridpifmiunc/cldruglimitdiffamtsum02" class="input_default" format="#,###" style="left:581px; top:276px; width:133px; height:19px; text-align:right; "/>
  1549. <caption id="caption65" class="cell_1" style="left:718px; top:274px; width:100px; height:23px; vertical-align:middle; ">약제상한차액</caption>
  1550. <input id="input49" ref="/root/main/list01/gridpifmiunc/cldruglimitdiffamtsum03" class="input_default" format="#,###" style="left:821px; top:276px; width:133px; height:19px; text-align:right; "/>
  1551. <line id="line12" class="line_2" style="x1:478px; y1:248px; x2:713px; y2:248px; "/>
  1552. <line id="line13" class="line_2" style="x1:478px; y1:272px; x2:713px; y2:272px; "/>
  1553. <line id="line19" class="line_2" style="x1:718px; y1:248px; x2:953px; y2:248px; "/>
  1554. <line id="line20" class="line_2" style="x1:718px; y1:272px; x2:953px; y2:272px; "/>
  1555. <line id="line21" class="line_2" style="x1:959px; y1:248px; x2:1194px; y2:248px; "/>
  1556. <line id="line43" class="line_2" style="x1:959px; y1:272px; x2:1194px; y2:272px; "/>
  1557. <line id="line44" class="line_2" style="x1:238px; y1:248px; x2:473px; y2:248px; "/>
  1558. <line id="line45" class="line_2" style="x1:238px; y1:272px; x2:473px; y2:272px; "/>
  1559. <line id="line46" class="line_2" style="x1:1px; y1:248px; x2:232px; y2:248px; "/>
  1560. <line id="line47" class="line_2" style="x1:1px; y1:272px; x2:232px; y2:272px; "/>
  1561. <input id="input50" ref="/root/main/list01/gridpifmiunc/cllsuppamt" class="input_default" format="#,###" style="left:171px; top:228px; width:61px; height:19px; text-align:right; "/>
  1562. <input id="input51" ref="/root/main/list01/gridpifmiunc/jrlsuppamt01" class="input_default" format="#,###" style="left:410px; top:228px; width:63px; height:19px; text-align:right; "/>
  1563. <input id="input52" ref="/root/main/list01/gridpifmiunc/jrlsuppamt02" class="input_default" format="#,###" style="left:651px; top:228px; width:62px; height:19px; text-align:right; "/>
  1564. <input id="input53" ref="/root/main/list01/gridpifmiunc/jrlsuppamt04" class="input_default" format="#,###" style="left:1136px; top:228px; width:58px; height:19px; text-align:right; "/>
  1565. <input id="input54" ref="/root/main/list01/gridpifmiunc/jrlsuppamt03" class="input_default" format="#,###" style="left:891px; top:228px; width:62px; height:19px; text-align:right; "/>
  1566. </group>
  1567. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
  1568. </xhtml:body>
  1569. </xhtml:html>