SMPIF30800_입금내역관리(미수).xrw 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088
  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>입금내역관리(장기이식)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send01>
  11. <acptno/>
  12. <judgdg/>
  13. <clamno/>
  14. </send01>
  15. <send02>
  16. </send02>
  17. </send>
  18. <main>
  19. <list001>
  20. <U0001>
  21. <clamno/>
  22. </U0001>
  23. <iuntcnt>
  24. <cnt/>
  25. </iuntcnt>
  26. </list001>
  27. <list002>
  28. <U0002>
  29. <judgdg/>
  30. </U0002>
  31. </list002>
  32. <list01>
  33. <pifmiuntlist>
  34. <acptno/>
  35. <clamno/>
  36. <judgdg/>
  37. <clamym/>
  38. <ordym/>
  39. <clamtypecd/>
  40. <ioflag/>
  41. <clamdeptcd/>
  42. <clamcnt/>
  43. <clmcstotamt/>
  44. <clownbamt/>
  45. <clclamamt/>
  46. <clownbmaxexamt/>
  47. <clsuppamt/>
  48. <clhandicaprfund/>
  49. <cldruglimitdiffamtsum/>
  50. <judgdecicnt/>
  51. <jrtotordamt01/>
  52. <jrownbamt01/>
  53. <jrjudgdeciamt01/>
  54. <jrownbmaxexamt01/>
  55. <jrsuppamt01/>
  56. <jrhandicaprfund01/>
  57. <jrdruglimitdiffamtsum01/>
  58. <rtncnt/>
  59. <jrtotordamt02/>
  60. <jrownbamt02/>
  61. <jrjudgdeciamt02/>
  62. <jrownbmaxexamt02/>
  63. <jrsuppamt02/>
  64. <jrhandicaprfund02/>
  65. <jrdruglimitdiffamtsum02/>
  66. <judgretecnt/>
  67. <jrtotordamt03/>
  68. <jrownbamt03/>
  69. <jrjudgdeciamt03/>
  70. <jrownbmaxexamt03/>
  71. <jrsuppamt03/>
  72. <jrhandicaprfund03/>
  73. <jrdruglimitdiffamtsum03/>
  74. <rucntsum/>
  75. <ruadjtamtsum/>
  76. <realcutamt/>
  77. <jrownaddbamtsum/>
  78. <rtnrestamt/>
  79. <uncoamt/>
  80. <iuflag>I</iuflag>
  81. </pifmiuntlist>
  82. <pifmidetlist>
  83. <list>
  84. <depodd/>
  85. <inddepoflag/>
  86. <bankcd/>
  87. <acntcd/>
  88. <depocnt/>
  89. <depoamt/>
  90. <depooutamt/>
  91. <depoinamt/>
  92. <notimm/>
  93. <remfact/>
  94. <acptno/>
  95. <judgdg/>
  96. <clamno/>
  97. <seq/>
  98. </list>
  99. </pifmidetlist>
  100. <pifhrtntlist>
  101. <list>
  102. <rtndd/>
  103. <rtnflag/>
  104. <rtnacptno/>
  105. <rtnclamno/>
  106. <rtnjudgdg/>
  107. <rtnseqno/>
  108. <ofidocno/>
  109. <ofidocarvdd/>
  110. <rtnamt/>
  111. <notimm/>
  112. <rem/>
  113. <acptno/>
  114. <clamno/>
  115. <judgdg/>
  116. <seqno/>
  117. <cpcd/>
  118. <depoprocinstmark/>
  119. </list>
  120. </pifhrtntlist>
  121. </list01>
  122. <list02>
  123. <pifmidetlist/>
  124. </list02>
  125. <list03>
  126. <pifhrtntlist/>
  127. </list03>
  128. <result/>
  129. <result2/>
  130. <result3/>
  131. </main>
  132. <init>
  133. <P0165list>
  134. <P0165>
  135. <cdid/>
  136. <cdnm/>
  137. </P0165>
  138. </P0165list>
  139. <P0266list>
  140. <P0266>
  141. <cdid/>
  142. <cdnm/>
  143. </P0266>
  144. </P0266list>
  145. <R0001list>
  146. <R0001>
  147. <cdid/>
  148. <cdnm/>
  149. </R0001>
  150. </R0001list>
  151. <P0302list>
  152. <P0302>
  153. <cdid/>
  154. <cdnm/>
  155. </P0302>
  156. </P0302list>
  157. <P0059list>
  158. <P0059>
  159. <cdid/>
  160. <cdnm/>
  161. </P0059>
  162. </P0059list>
  163. <P0384list>
  164. <P0384>
  165. <cdid/>
  166. <cdnm/>
  167. </P0384>
  168. </P0384list>
  169. <P0503list>
  170. <P0503>
  171. <cdid/>
  172. <cdnm/>
  173. </P0503>
  174. </P0503list>
  175. <P0322list>
  176. <P0322>
  177. <cdid/>
  178. <cdnm/>
  179. </P0322>
  180. </P0322list>
  181. <temp>
  182. <judgretecnt>
  183. <cnt/>
  184. </judgretecnt>
  185. </temp>
  186. <bankinfo>
  187. <bankinfolist>
  188. <cdid/>
  189. <cdnm/>
  190. </bankinfolist>
  191. </bankinfo>
  192. <list01>
  193. <pifmiuntlist>
  194. <acptno/>
  195. <clamno/>
  196. <judgdg/>
  197. <clamym/>
  198. <ordym/>
  199. <clamtypecd/>
  200. <ioflag/>
  201. <clamdeptcd/>
  202. <clamcnt/>
  203. <clmcstotamt/>
  204. <clownbamt/>
  205. <clclamamt/>
  206. <clownbmaxexamt/>
  207. <clsuppamt/>
  208. <clhandicaprfund/>
  209. <cldruglimitdiffamtsum/>
  210. <judgdecicnt/>
  211. <jrtotordamt01/>
  212. <jrownbamt01/>
  213. <jrjudgdeciamt01/>
  214. <jrownbmaxexamt01/>
  215. <jrsuppamt01/>
  216. <jrhandicaprfund01/>
  217. <jrdruglimitdiffamtsum01/>
  218. <rtncnt/>
  219. <jrtotordamt02/>
  220. <jrownbamt02/>
  221. <jrjudgdeciamt02/>
  222. <jrownbmaxexamt02/>
  223. <jrsuppamt02/>
  224. <jrhandicaprfund02/>
  225. <jrdruglimitdiffamtsum02/>
  226. <judgretecnt/>
  227. <jrtotordamt03/>
  228. <jrownbamt03/>
  229. <jrjudgdeciamt03/>
  230. <jrownbmaxexamt03/>
  231. <jrsuppamt03/>
  232. <jrhandicaprfund03/>
  233. <jrdruglimitdiffamtsum03/>
  234. <rucntsum/>
  235. <ruadjtamtsum/>
  236. <realcutamt/>
  237. <jrownaddbamtsum/>
  238. <rtnrestamt/>
  239. <uncoamt/>
  240. <iuflag>I</iuflag>
  241. </pifmiuntlist>
  242. </list01>
  243. </init>
  244. <hidden>
  245. <session/>
  246. </hidden>
  247. <temp>
  248. <fstjudgdg/>
  249. </temp>
  250. </root>
  251. </instance>
  252. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  253. <submission id="TRPIF30309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/bankinfo"/>
  254. <submission id="TRPIF31303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/uncoendprcs" resultref="/root/main/chek"/>
  255. <submission id="TRPIF30801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list001"/>
  256. <submission id="TRPIF30802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list002"/>
  257. <submission id="TRPIF30803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
  258. <submission id="TRPIF30804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/list01/pifmidetlist"/>
  259. <submission id="TRPIF30805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01/pifhrtntlist"/>
  260. <submission id="TXPIF30801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list01/pifmiuntlist" resultref="/root/main/result"/>
  261. <submission id="TXPIF30802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result2"/>
  262. <submission id="TXPIF30803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list03" resultref="/root/main/result3"/>
  263. </model>
  264. <script type="javascript" ev:event="xforms-ready">
  265. <![CDATA[
  266. fGetUserInfosSampling(); //세션/root/hidden/session
  267. INSTCD = model.getValue("/root/hidden/session/sess_dutplceinstcd");
  268. //기관별 은행및 은행계좌조회
  269. fBankSearch();
  270. var cnt = getNodesetCount("/root/init/bankinfo/bankinfolist");
  271. var bankcd;
  272. var bankacount;
  273. for( var i = 1; i <= cnt; i++){
  274. if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "10"){
  275. bankcd = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
  276. }
  277. if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "20"){
  278. bankacount = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
  279. }
  280. }
  281. BANKCD = bankcd;
  282. BANKACOUNT = bankacount;
  283. // 공통코드 Load작업
  284. CommCode_Load();
  285. finit();
  286. ]]>
  287. </script>
  288. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  289. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  290. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  291. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  292. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  293. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  294. <script type="javascript">
  295. <![CDATA[
  296. function finit() {
  297. model.resetInstanceNode("/root/main/list01/pifmiuntlist");
  298. model.makeValue("/root/main/list01/pifmiuntlist/iuflag", "I");
  299. model.removeNodeset("/root/main/list01/pifmidetlist/list");
  300. model.removeNodeset("/root/main/list01/pifhrtntlist/list");
  301. var iuflag = model.getValue("/root/main/list01/pifmiuntlist/iuflag");
  302. //입력,수정 상태에 따른 접수번호, 청구번호, 심사차수 disable
  303. if(iuflag == "I") {
  304. ipt_acptno.disabled = false;
  305. ipt_clamno.disabled = false;
  306. ipt_judgdg.disabled = false;
  307. btn_idetsave.disabled = true;
  308. btn_idetadd.disabled = true;
  309. btn_idetdel.disabled = true;
  310. btn_rtntadd.disabled = true;
  311. btn_rtntdel.disabled = true;
  312. btn_rtntsave.disabled = true;
  313. } else if(iuflag == "U") {
  314. ipt_acptno.disabled = true;
  315. ipt_clamno.disabled = true;
  316. ipt_judgdg.disabled = true;
  317. btn_idetsave.disabled = false;
  318. btn_idetadd.disabled = false;
  319. btn_idetdel.disabled = false;
  320. btn_rtntadd.disabled = false;
  321. btn_rtntdel.disabled = false;
  322. btn_rtntsave.disabled = false;
  323. }
  324. model.refresh();
  325. }
  326. function Node_Init() {
  327. // NodeSet 초기화
  328. model.resetInstanceNode("/root/main/list01");
  329. }
  330. // 공통코드 Load작업
  331. function CommCode_Load() {
  332. // 관련 Control 초기화
  333. zbcfGetCodeList(new Array("P0059","P0165","P0266","R0001","P0302", "P0384", "P0503", "P0322")
  334. ,new Array( "/root/init/P0059list","/root/init/P0165list","/root/init/P0266list","/root/init/R0001list","/root/init/P0302list"
  335. ,"/root/init/P0384list", "/root/init/P0503list", "/root/init/P0322list"));
  336. }
  337. // 청구번호 조회
  338. function searchClamno() {
  339. model.resetInstanceNode("/root/main/list01/pifmiuntlist");
  340. model.makeValue("/root/main/list01/pifmiuntlist/iuflag", "I");
  341. model.resetInstanceNode("/root/main/list001/U0001");
  342. model.resetInstanceNode("/root/main/list002/U0002");
  343. model.setValue("/root/send/send01/clamno","");
  344. model.setValue("/root/send/send01/judgdg","");
  345. model.refresh();
  346. submit("TRPIF30801");
  347. if(cmb_clamno.length == 1) {
  348. cmb_clamno.value = model.getValue("/root/main/list001/U0001/clamno");
  349. submit("TRPIF30802");
  350. if(cmb_judgdg.length == 1) {
  351. cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
  352. fsearch();
  353. } else {
  354. model.setFocus("cmb_judgdg");
  355. }
  356. } else {
  357. model.setFocus("cmb_clamno");
  358. }
  359. cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
  360. model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  361. }
  362. function fafsavesch() {
  363. var acptno = ipt_acptno.value;
  364. var clamno = ipt_clamno.value;
  365. var judgdg = ipt_judgdg.value;
  366. model.removenode("/root/main/list01");
  367. model.removenode("/root/main/list001/U0001");
  368. model.removenode("/root/main/list002/U0002");
  369. model.resetInstanceNode("/root/main/list001/U0001");
  370. model.resetInstanceNode("/root/main/list002/U0002");
  371. model.setValue("/root/send/send01/clamno","");
  372. model.setValue("/root/send/send01/judgdg","");
  373. //입력한 값으로 재조회
  374. ipt_schacptno.value = acptno;
  375. submit("TRPIF30801");
  376. cmb_clamno.value = clamno;
  377. submit("TRPIF30802");
  378. cmb_judgdg.value = judgdg;
  379. fsearch();
  380. model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  381. }
  382. function fsearch() {
  383. if(ipt_schacptno.value == null || ipt_schacptno.value == "") {
  384. messageBox("접수번호를","C001");
  385. return false;
  386. } else if(cmb_clamno.value== "" || cmb_clamno.value== null) {
  387. messageBox("청구번호를","C002");
  388. return false;
  389. } else if(cmb_judgdg.value== "" || cmb_judgdg.value== null) {
  390. messageBox("심사차수를","C002");
  391. return false;
  392. } else {
  393. model.resetInstanceNode("/root/main/list01");
  394. model.resetInstanceNode("/root/main/list02");
  395. model.resetInstanceNode("/root/main/list03");
  396. model.refresh();
  397. if(submit("TRPIF30803")) {
  398. var ndCnt = getNodesetCount("/root/main/list01/pifmiuntlist/acptno");
  399. //미수내역이 존재하지 않으면 강제flag 입력
  400. if(ndCnt < 1) {
  401. copyNodesetType("/root/main/list01", "/root/init/list01", "after");
  402. }
  403. var iuflag = model.getValue("/root/main/list01/pifmiuntlist/iuflag");
  404. //입력,수정 상태에 따른 접수번호, 청구번호, 심사차수 disable
  405. if(iuflag == "I") {
  406. ipt_acptno.disabled = false;
  407. ipt_clamno.disabled = false;
  408. ipt_judgdg.disabled = false;
  409. btn_idetsave.disabled = true;
  410. btn_idetadd.disabled = true;
  411. btn_idetdel.disabled = true;
  412. btn_rtntadd.disabled = true;
  413. btn_rtntdel.disabled = true;
  414. btn_rtntsave.disabled = true;
  415. } else if(iuflag == "U") {
  416. ipt_acptno.disabled = true;
  417. ipt_clamno.disabled = true;
  418. ipt_judgdg.disabled = true;
  419. btn_idetsave.disabled = false;
  420. btn_idetadd.disabled = false;
  421. btn_idetdel.disabled = false;
  422. btn_rtntadd.disabled = false;
  423. btn_rtntdel.disabled = false;
  424. btn_rtntsave.disabled = false;
  425. }
  426. }
  427. }
  428. }
  429. // 입금내역의 입금구분 선택시 다음 셀로 포커스 이동
  430. function setGridPifhbsdpFocus(code) {
  431. if(code == "popup") {
  432. model.setFocus("body");
  433. model.setFocus("grd_pifhbsdp");
  434. grd_pifhbsdp.col = 6;
  435. grd_pifhbsdp.dispatch("onentercell");
  436. grd_pifhbsdp.editCell();
  437. } else {
  438. model.setFocus("body");
  439. model.setFocus("grd_pifhbsdp");
  440. grd_pifhbsdp.col = 6;
  441. grd_pifhbsdp.dispatch("onentercell");
  442. grd_pifhbsdp.editCell();
  443. }
  444. }
  445. // 환수내역의 환수구분 선택시 다음 셀로 포커스 이동
  446. function setGridPifhrtnsFocus() {
  447. model.setFocus("body");
  448. model.setFocus("grd_pifhrtns");
  449. grd_pifhrtns.col = 7;
  450. grd_pifhrtns.dispatch("onentercell");
  451. grd_pifhrtns.editCell();
  452. }
  453. function fBankSearch(){
  454. submit("TRPIF30309");
  455. }
  456. ]]>
  457. </script>
  458. </xhtml:head>
  459. <xhtml:body>
  460. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  461. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:164px; height:14px; ">입금내역관리(장기이식)</caption>
  462. </group>
  463. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:769px; ">
  464. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  465. <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; "/>
  466. <caption id="caption52" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">접수번호 :</caption>
  467. <input id="ipt_schacptno" ref="/root/send/send01/acptno" class="input_s_essential" navindex="2" autonext="false" maxlength="8" style="left:103px; top:8px; width:110px; height:19px; text-align:center; ">
  468. <script type="javascript" ev:event="onkeypress">
  469. <![CDATA[
  470. if (event.keyCode != '13') {
  471. return false;
  472. }
  473. setInputNodeCurText();
  474. if(ipt_schacptno.value == "") {
  475. return false;
  476. } else {
  477. searchClamno();
  478. }
  479. ]]>
  480. </script>
  481. </input>
  482. <caption id="caption1" class="search_name" style="left:232px; top:9px; width:86px; height:17px; ">청구번호 :</caption>
  483. <select1 id="cmb_clamno" ref="/root/send/send01/clamno" class="combo_s_essential" navindex="4" appearance="minimal" style="left:322px; top:8px; width:100px; height:19px; text-align:center; ">
  484. <choices>
  485. <itemset nodeset="/root/main/list001/U0001">
  486. <label ref="clamno"/>
  487. <value ref="clamno"/>
  488. </itemset>
  489. </choices>
  490. <script type="javascript" ev:event="xforms-select">
  491. <![CDATA[
  492. // 심사차수를 초기화한다.
  493. model.removenode("/root/main/list002/U0002");
  494. model.setValue("/root/send/send01/judgdg","");
  495. model.refresh();
  496. submit("TRPIF30802");
  497. if(cmb_judgdg.length == 1) {
  498. cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
  499. fsearch();
  500. //model.setFocus("btn_srch");
  501. } else if(cmb_judgdg.length > 1) {
  502. model.setFocus("cmb_judgdg");
  503. } else {
  504. messageBox("해당하는 심사차수가","I004");
  505. return false;
  506. }
  507. cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
  508. model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  509. ]]>
  510. </script>
  511. </select1>
  512. <caption id="cp_judgdg" class="search_name" style="left:442px; top:9px; width:86px; height:17px; ">심사차수 :</caption>
  513. <select1 id="cmb_judgdg" ref="/root/send/send01/judgdg" class="combo_s_essential" navindex="3" appearance="minimal" style="left:532px; top:8px; width:138px; height:19px; text-align:center; ">
  514. <choices>
  515. <itemset nodeset="/root/main/list002/U0002">
  516. <label ref="judgdg"/>
  517. <value ref="judgdg"/>
  518. </itemset>
  519. </choices>
  520. <script type="javascript" ev:event="xforms-select">
  521. <![CDATA[
  522. model.resetInstanceNode("/root/main/list01");
  523. fsearch();
  524. ]]>
  525. </script>
  526. </select1>
  527. <line id="line18" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  528. <button id="btn_srch" class="btn1_letter2" style="left:1121px; top:7px; width:56px; height:22px; ">
  529. <caption>조회</caption>
  530. <script type="javascript" ev:event="DOMActivate">
  531. <![CDATA[
  532. fsearch();
  533. ]]>
  534. </script>
  535. </button>
  536. <input id="ipt_acptnocnt" ref="/root/main/list001/iuntcnt/cnt" visibility="hidden" style="left:1075px; top:8px; width:20px; height:19px; "/>
  537. </group>
  538. <caption id="caption32" class="tit_2" style="left:5px; top:55px; width:111px; height:13px; ">미수내역</caption>
  539. <button id="button7" class="btn5_letter2" style="left:1106px; top:50px; width:42px; height:19px; ">
  540. <caption>저장</caption>
  541. <script type="javascript" ev:event="onclick">
  542. <![CDATA[
  543. if(ipt_acptno.value== "") {
  544. messageBox("접수번호를","C001");
  545. model.setFocus("ipt_acptno");
  546. return false;
  547. }
  548. if(ipt_clamno.value == "") {
  549. messageBox("청구번호를","C001");
  550. model.setFocus("ipt_clamno");
  551. return false;
  552. }
  553. if(ipt_judgdg.value == "") {
  554. messageBox("심사차수를","C001");
  555. model.setFocus("ipt_judgdg");
  556. return false;
  557. }
  558. if(ipt_clamym.value == "") {
  559. messageBox("청구년월을","C001");
  560. model.setFocus("ipt_judgdg");
  561. return false;
  562. }
  563. if(ipt_ordym.value == "") {
  564. messageBox("진료연월을","C001");
  565. model.setFocus("ipt_judgdg");
  566. return false;
  567. }
  568. // if(cmb_clamtypecd.value == "") {
  569. // messageBox("청구구분을","C001");
  570. // model.setFocus("ipt_judgdg");
  571. // return false;
  572. // }
  573. // if(cmb_ioflag.value == "") {
  574. // messageBox("내원유형을","C001");
  575. // model.setFocus("ipt_judgdg");
  576. // return false;
  577. // }
  578. // if(cmb_clamdeptcd.value == "") {
  579. // messageBox("진료분야를","C001");
  580. // model.setFocus("ipt_judgdg");
  581. // return false;
  582. // }
  583. if (submit("TXPIF30801")) {
  584. fafsavesch();
  585. }
  586. ]]>
  587. </script>
  588. </button>
  589. <button id="button6" class="btn2_letter3" style="left:1051px; top:50px; width:53px; height:19px; ">
  590. <caption>초기화</caption>
  591. <script type="javascript" ev:event="onclick">
  592. <![CDATA[
  593. finit();
  594. ]]>
  595. </script>
  596. </button>
  597. <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  598. <caption id="caption12" class="cell_1" style="left:0px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">접수번호</caption>
  599. <caption id="caption49" class="cell_1" style="left:146px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구번호</caption>
  600. <caption id="caption47" class="cell_1" style="left:302px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
  601. <caption id="caption27" class="cell_1" style="left:458px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구년월</caption>
  602. <caption id="caption14" class="cell_1" style="left:604px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료연월</caption>
  603. <caption id="caption50" class="cell_1" style="left:750px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구구분</caption>
  604. <caption id="caption29" class="cell_1" style="left:905px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">내원유형</caption>
  605. <caption id="caption51" class="cell_1" style="left:1049px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료분야</caption>
  606. <input id="ipt_acptno" ref="/root/main/list01/pifmiuntlist/acptno" class="input_default" appearance="output" style="left:63px; top:76px; width:80px; height:19px; text-align:center; "/>
  607. <input id="ipt_clamno" ref="/root/main/list01/pifmiuntlist/clamno" class="input_default" appearance="output" style="left:209px; top:76px; width:90px; height:19px; text-align:center; "/>
  608. <input id="ipt_judgdg" ref="/root/main/list01/pifmiuntlist/judgdg" class="input_default" appearance="output" style="left:365px; top:76px; width:90px; height:19px; text-align:center; "/>
  609. <input id="ipt_clamym" ref="/root/main/list01/pifmiuntlist/clamym" inputtype="date" format="yyyy-mm" appearance="output" style="left:521px; top:76px; width:80px; height:19px; text-align:center; "/>
  610. <input id="ipt_ordym" ref="/root/main/list01/pifmiuntlist/ordym" class="input_default" inputtype="date" format="yyyy-mm" appearance="output" style="left:667px; top:76px; width:80px; height:19px; text-align:center; "/>
  611. <select1 id="cmb_clamtypecd" ref="/root/main/list01/pifmiuntlist/clamtypecd" appearance="minimal" style="left:812px; top:76px; width:90px; height:19px; text-align:center; ">
  612. <choices>
  613. <itemset nodeset="/root/init/P0503list/P0503">
  614. <label ref="cdnm"/>
  615. <value ref="cdid"/>
  616. </itemset>
  617. </choices>
  618. </select1>
  619. <select1 id="cmb_ioflag" ref="/root/main/list01/pifmiuntlist/ioflag" appearance="minimal" style="left:967px; top:76px; width:80px; height:19px; text-align:center; ">
  620. <choices>
  621. <item>
  622. <label/>
  623. <value/>
  624. </item>
  625. <item>
  626. <label>외래</label>
  627. <value>O</value>
  628. </item>
  629. <item>
  630. <label>입원</label>
  631. <value>I</value>
  632. </item>
  633. </choices>
  634. </select1>
  635. <select1 id="cmb_clamdeptcd" ref="/root/main/list01/pifmiuntlist/clamdeptcd" appearance="minimal" style="left:1111px; top:76px; width:80px; height:19px; text-align:center; ">
  636. <choices>
  637. <itemset nodeset="/root/init/P0322list/P0322">
  638. <label ref="cdnm"/>
  639. <value ref="cdid"/>
  640. </itemset>
  641. </choices>
  642. </select1>
  643. <line id="line10" class="line_3" style="x1:0px; y1:98px; x2:1195px; y2:98px; "/>
  644. <caption id="caption3" class="tit_2" style="left:6px; top:103px; width:78px; height:13px; ">청구내역</caption>
  645. <line id="line2" class="line_1" style="x1:0px; y1:117px; x2:288px; y2:117px; "/>
  646. <caption id="caption21" class="cell_1" style="left:0px; top:122px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
  647. <caption id="caption26" class="cell_1" style="left:0px; top:146px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
  648. <caption id="caption11" class="cell_1" style="left:0px; top:171px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
  649. <caption id="caption22" class="cell_1" style="left:0px; top:196px; width:115px; height:23px; vertical-align:middle; ">청구액</caption>
  650. <caption id="caption19" class="cell_1" style="left:0px; top:221px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
  651. <caption id="caption56" class="cell_1" style="left:0px; top:246px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
  652. <caption id="caption59" class="cell_1" style="left:0px; top:271px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
  653. <caption id="caption62" class="cell_1" style="left:0px; top:296px; width:115px; height:23px; vertical-align:middle; ">청구약제상한차액</caption>
  654. <input id="input9" ref="/root/main/list01/pifmiuntlist/clamcnt" class="input_default" format="#,###" style="left:118px; top:123px; width:170px; height:19px; text-align:right; "/>
  655. <input id="input4" ref="/root/main/list01/pifmiuntlist/clmcstotamt" class="input_default" format="#,###" style="left:118px; top:147px; width:170px; height:19px; text-align:right; "/>
  656. <input id="input16" ref="/root/main/list01/pifmiuntlist/clownbamt" class="input_default" format="#,###" style="left:118px; top:172px; width:170px; height:19px; text-align:right; "/>
  657. <input id="input3" ref="/root/main/list01/pifmiuntlist/clclamamt" class="input_default" format="#,###" style="left:118px; top:198px; width:170px; height:19px; text-align:right; "/>
  658. <input id="input26" ref="/root/main/list01/pifmiuntlist/clownbmaxexamt" class="input_default" format="#,###" style="left:118px; top:223px; width:170px; height:19px; text-align:right; "/>
  659. <input id="input21" ref="/root/main/list01/pifmiuntlist/clsuppamt" class="input_default" format="#,###" style="left:118px; top:248px; width:170px; height:19px; text-align:right; "/>
  660. <input id="input41" ref="/root/main/list01/pifmiuntlist/clhandicaprfund" class="input_default" format="#,###" style="left:118px; top:273px; width:170px; height:19px; text-align:right; "/>
  661. <input id="input46" ref="/root/main/list01/pifmiuntlist/cldruglimitdiffamtsum" class="input_default" format="#,###" style="left:118px; top:298px; width:170px; height:19px; text-align:right; "/>
  662. <caption id="caption39" class="tit_2" style="left:311px; top:102px; width:114px; height:13px; ">심결내역(F204)</caption>
  663. <line id="line1" class="line_1" style="x1:302px; y1:117px; x2:590px; y2:117px; "/>
  664. <caption id="caption13" class="cell_1" style="left:302px; top:122px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
  665. <caption id="caption17" class="cell_1" style="left:302px; top:146px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
  666. <caption id="caption25" class="cell_1" style="left:302px; top:171px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
  667. <caption id="caption9" class="cell_1" style="left:302px; top:196px; width:115px; height:23px; vertical-align:middle; ">심결액</caption>
  668. <caption id="caption15" class="cell_1" style="left:302px; top:221px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
  669. <caption id="caption55" class="cell_1" style="left:302px; top:246px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
  670. <caption id="caption58" class="cell_1" style="left:302px; top:271px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
  671. <caption id="caption63" class="cell_1" style="left:302px; top:296px; width:115px; height:23px; vertical-align:middle; ">심결약제상한차액</caption>
  672. <input id="ipt_judgdecicnt" ref="/root/main/list01/pifmiuntlist/judgdecicnt" class="input_default" format="#,###" style="left:420px; top:123px; width:170px; height:19px; text-align:right; "/>
  673. <input id="input17" ref="/root/main/list01/pifmiuntlist/jrtotordamt01" class="input_default" format="#,###" style="left:420px; top:148px; width:170px; height:19px; text-align:right; "/>
  674. <input id="input14" ref="/root/main/list01/pifmiuntlist/jrownbamt01" class="input_default" format="#,###" style="left:420px; top:173px; width:170px; height:19px; text-align:right; "/>
  675. <input id="input11" ref="/root/main/list01/pifmiuntlist/jrjudgdeciamt01" class="input_default" format="(-)#,###" style="left:420px; top:198px; width:170px; height:19px; text-align:right; "/>
  676. <input id="input27" ref="/root/main/list01/pifmiuntlist/jrownbmaxexamt01" class="input_default" format="#,###" style="left:420px; top:223px; width:170px; height:19px; text-align:right; "/>
  677. <input id="input23" ref="/root/main/list01/pifmiuntlist/jrsuppamt01" class="input_default" format="#,###" style="left:420px; top:248px; width:170px; height:19px; text-align:right; "/>
  678. <input id="input42" ref="/root/main/list01/pifmiuntlist/jrhandicaprfund01" class="input_default" format="#,###" style="left:420px; top:273px; width:170px; height:19px; text-align:right; "/>
  679. <input id="input47" ref="/root/main/list01/pifmiuntlist/jrdruglimitdiffamtsum01" class="input_default" format="#,###" style="left:420px; top:298px; width:170px; height:19px; text-align:right; "/>
  680. <caption id="caption40" class="tit_2" style="left:611px; top:102px; width:131px; height:13px; ">반송내역</caption>
  681. <line id="line4" class="line_1" style="x1:603px; y1:117px; x2:891px; y2:117px; "/>
  682. <caption id="caption4" class="cell_1" style="left:603px; top:122px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
  683. <caption id="caption18" class="cell_1" style="left:603px; top:146px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
  684. <caption id="caption5" class="cell_1" style="left:603px; top:171px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
  685. <caption id="caption20" class="cell_1" style="left:603px; top:196px; width:115px; height:23px; vertical-align:middle; ">반송액</caption>
  686. <caption id="caption10" class="cell_1" style="left:603px; top:221px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
  687. <caption id="caption7" class="cell_1" style="left:603px; top:246px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
  688. <caption id="caption61" class="cell_1" style="left:603px; top:271px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
  689. <caption id="caption16" class="cell_1" style="left:603px; top:296px; width:115px; height:23px; vertical-align:middle; ">반송약제상한차액</caption>
  690. <input id="input6" ref="/root/main/list01/pifmiuntlist/rtncnt" class="input_default" format="#,###" style="left:721px; top:123px; width:170px; height:19px; text-align:right; "/>
  691. <input id="input7" ref="/root/main/list01/pifmiuntlist/jrtotordamt02" class="input_default" format="#,###" style="left:721px; top:148px; width:170px; height:19px; text-align:right; "/>
  692. <input id="input5" ref="/root/main/list01/pifmiuntlist/jrownbamt02" class="input_default" format="#,###" style="left:721px; top:173px; width:170px; height:19px; text-align:right; "/>
  693. <input id="input1" ref="/root/main/list01/pifmiuntlist/jrjudgdeciamt02" class="input_default" format="#,###" style="left:721px; top:198px; width:170px; height:19px; text-align:right; "/>
  694. <input id="input28" ref="/root/main/list01/pifmiuntlist/jrownbmaxexamt02" class="input_default" format="#,###" style="left:721px; top:223px; width:170px; height:19px; text-align:right; "/>
  695. <input id="input36" ref="/root/main/list01/pifmiuntlist/jrsuppamt02" class="input_default" format="#,###" style="left:721px; top:248px; width:170px; height:19px; text-align:right; "/>
  696. <input id="input43" ref="/root/main/list01/pifmiuntlist/jrhandicaprfund02" class="input_default" format="#,###" style="left:721px; top:273px; width:170px; height:19px; text-align:right; "/>
  697. <input id="input48" ref="/root/main/list01/pifmiuntlist/jrdruglimitdiffamtsum02" class="input_default" format="#,###" style="left:721px; top:298px; width:170px; height:19px; text-align:right; "/>
  698. <caption id="caption41" class="tit_2" style="left:911px; top:102px; width:96px; height:13px; ">심사보류내역</caption>
  699. <line id="line6" class="line_1" style="x1:903px; y1:117px; x2:1191px; y2:117px; "/>
  700. <caption id="caption28" class="cell_1" style="left:903px; top:122px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
  701. <caption id="caption31" class="cell_1" style="left:903px; top:146px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
  702. <caption id="caption30" class="cell_1" style="left:903px; top:171px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
  703. <caption id="caption23" class="cell_1" style="left:903px; top:196px; width:115px; height:23px; vertical-align:middle; ">보류액</caption>
  704. <caption id="caption24" class="cell_1" style="left:903px; top:221px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
  705. <caption id="caption48" class="cell_1" style="left:903px; top:246px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
  706. <caption id="caption60" class="cell_1" style="left:903px; top:271px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
  707. <caption id="caption64" class="cell_1" style="left:903px; top:296px; width:115px; height:23px; vertical-align:middle; ">반송약제상한차액</caption>
  708. <input id="input13" ref="/root/main/list01/pifmiuntlist/judgretecnt" class="input_default" format="#,###" style="left:1021px; top:123px; width:170px; height:19px; text-align:right; "/>
  709. <input id="input8" ref="/root/main/list01/pifmiuntlist/jrtotordamt03" class="input_default" format="#,###" style="left:1021px; top:148px; width:170px; height:19px; text-align:right; "/>
  710. <input id="input12" ref="/root/main/list01/pifmiuntlist/jrownbamt03" class="input_default" format="#,###" style="left:1021px; top:173px; width:170px; height:19px; text-align:right; "/>
  711. <input id="input10" ref="/root/main/list01/pifmiuntlist/jrjudgdeciamt03" class="input_default" format="#,###" style="left:1021px; top:198px; width:170px; height:19px; text-align:right; "/>
  712. <input id="input29" ref="/root/main/list01/pifmiuntlist/jrownbmaxexamt03" class="input_default" format="#,###" style="left:1021px; top:223px; width:170px; height:19px; text-align:right; "/>
  713. <input id="input37" ref="/root/main/list01/pifmiuntlist/jrsuppamt03" class="input_default" format="#,###" style="left:1021px; top:248px; width:170px; height:19px; text-align:right; "/>
  714. <input id="input45" ref="/root/main/list01/pifmiuntlist/jrhandicaprfund03" class="input_default" format="#,###" style="left:1021px; top:273px; width:170px; height:19px; text-align:right; "/>
  715. <input id="input49" ref="/root/main/list01/pifmiuntlist/jrdruglimitdiffamtsum03" class="input_default" format="#,###" style="left:1021px; top:298px; width:170px; height:19px; text-align:right; "/>
  716. <line id="line13" class="line_3" style="x1:302px; y1:319px; x2:589px; y2:319px; "/>
  717. <line id="line19" class="line_3" style="x1:603px; y1:319px; x2:890px; y2:319px; "/>
  718. <line id="line20" class="line_3" style="x1:903px; y1:319px; x2:1190px; y2:319px; "/>
  719. <line id="line3" class="line_2" style="x1:1px; y1:194px; x2:290px; y2:194px; "/>
  720. <line id="line17" class="line_2" style="x1:0px; y1:219px; x2:290px; y2:219px; "/>
  721. <line id="line42" class="line_2" style="x1:0px; y1:244px; x2:290px; y2:244px; "/>
  722. <line id="line12" class="line_3" style="x1:0px; y1:319px; x2:290px; y2:319px; "/>
  723. <line id="line15" class="line_2" style="x1:0px; y1:169px; x2:289px; y2:169px; "/>
  724. <line id="line16" class="line_2" style="x1:0px; y1:144px; x2:290px; y2:144px; "/>
  725. <line id="line22" class="line_2" style="x1:302px; y1:144px; x2:589px; y2:144px; "/>
  726. <line id="line23" class="line_2" style="x1:302px; y1:169px; x2:589px; y2:169px; "/>
  727. <line id="line24" class="line_2" style="x1:302px; y1:194px; x2:589px; y2:194px; "/>
  728. <line id="line25" class="line_2" style="x1:302px; y1:219px; x2:589px; y2:219px; "/>
  729. <line id="line40" class="line_2" style="x1:302px; y1:244px; x2:589px; y2:244px; "/>
  730. <line id="line26" class="line_2" style="x1:603px; y1:219px; x2:890px; y2:219px; "/>
  731. <line id="line41" class="line_2" style="x1:603px; y1:244px; x2:890px; y2:244px; "/>
  732. <line id="line27" class="line_2" style="x1:603px; y1:194px; x2:890px; y2:194px; "/>
  733. <line id="line28" class="line_2" style="x1:603px; y1:169px; x2:890px; y2:169px; "/>
  734. <line id="line29" class="line_2" style="x1:603px; y1:144px; x2:890px; y2:144px; "/>
  735. <line id="line30" class="line_2" style="x1:903px; y1:144px; x2:1190px; y2:144px; "/>
  736. <line id="line31" class="line_2" style="x1:903px; y1:169px; x2:1190px; y2:169px; "/>
  737. <line id="line32" class="line_2" style="x1:903px; y1:194px; x2:1190px; y2:194px; "/>
  738. <line id="line33" class="line_2" style="x1:903px; y1:219px; x2:1190px; y2:219px; "/>
  739. <line id="line38" class="line_2" style="x1:903px; y1:244px; x2:1190px; y2:244px; "/>
  740. <line id="line9" class="line_2" style="x1:303px; y1:269px; x2:590px; y2:269px; "/>
  741. <line id="line43" class="line_2" style="x1:604px; y1:269px; x2:891px; y2:269px; "/>
  742. <line id="line44" class="line_2" style="x1:0px; y1:269px; x2:290px; y2:269px; "/>
  743. <line id="line45" class="line_2" style="x1:903px; y1:269px; x2:1190px; y2:269px; "/>
  744. <line id="line47" class="line_2" style="x1:303px; y1:294px; x2:590px; y2:294px; "/>
  745. <line id="line48" class="line_2" style="x1:604px; y1:294px; x2:891px; y2:294px; "/>
  746. <line id="line49" class="line_2" style="x1:0px; y1:294px; x2:290px; y2:294px; "/>
  747. <line id="line50" class="line_2" style="x1:903px; y1:294px; x2:1190px; y2:294px; "/>
  748. <line id="line11" class="line_1" style="x1:0px; y1:324px; x2:1194px; y2:324px; "/>
  749. <caption id="caption33" class="cell_1" style="left:0px; top:329px; width:95px; height:23px; text-align:center; vertical-align:middle; ">삭감건수</caption>
  750. <caption id="caption43" class="cell_1" style="left:197px; top:329px; width:93px; height:23px; text-align:center; vertical-align:middle; ">조정삭감액</caption>
  751. <caption id="caption38" class="cell_1" style="left:392px; top:329px; width:93px; height:23px; text-align:center; vertical-align:middle; ">실삭감액</caption>
  752. <caption id="caption44" class="cell_1" style="left:587px; top:329px; width:93px; height:23px; text-align:center; vertical-align:middle; ">본인추가부담</caption>
  753. <caption id="caption45" class="cell_1" style="left:782px; top:329px; width:93px; height:23px; text-align:center; vertical-align:middle; ">환수잔액</caption>
  754. <caption id="caption46" class="cell_1" style="left:975px; top:329px; width:98px; height:23px; text-align:center; vertical-align:middle; ">미수금</caption>
  755. <input id="ipt_rucntsum" ref="/root/main/list01/pifmiuntlist/rucntsum" class="input_default" style="left:98px; top:330px; width:91px; height:19px; text-align:center; "/>
  756. <input id="ipt_ruadjtamtsum" ref="/root/main/list01/pifmiuntlist/ruadjtamtsum" class="input_default" format="#,###" style="left:293px; top:330px; width:91px; height:19px; text-align:right; "/>
  757. <input id="ipt_realcutamt" ref="/root/main/list01/pifmiuntlist/realcutamt" class="input_default" format="(-)#,###" style="left:488px; top:330px; width:96px; height:19px; text-align:right; "/>
  758. <input id="ipt_jrownaddbamtsum" ref="/root/main/list01/pifmiuntlist/jrownaddbamtsum" class="input_default" format="#,###" style="left:683px; top:330px; width:91px; height:19px; text-align:right; "/>
  759. <input id="ipt_rtnremainamt" ref="/root/main/list01/pifmiuntlist/rtnrestamt" class="input_default" format="#,###" style="left:878px; top:330px; width:91px; height:19px; text-align:right; "/>
  760. <input id="input34" ref="/root/main/list01/pifmiuntlist/uncoamt" class="input_default" format="(-)#,###" style="left:1076px; top:330px; width:118px; height:19px; text-align:right; "/>
  761. <line id="line14" class="line_3" style="x1:0px; y1:352px; x2:1194px; y2:352px; "/>
  762. <button id="btn_idetsave" class="btn5_letter2" style="left:1150px; top:361px; width:42px; height:19px; ">
  763. <caption>저장</caption>
  764. <script type="javascript" ev:event="onclick">
  765. <![CDATA[
  766. var row_cnt = grd_pifhbsdp.row;
  767. var rows = grd_pifhbsdp.rows;
  768. var ins_cnt = 0;
  769. if(ipt_schacptno.value== "") {
  770. messageBox("접수번호를","C001");
  771. model.setFocus("ipt_schacptno");
  772. return false;
  773. }
  774. if(cmb_judgdg.value == "") {
  775. messageBox("심사차수를","C001");
  776. model.setFocus("cmb_judgdg");
  777. return false;
  778. }
  779. /*저장할 행을 선택하지 않았을 시*/
  780. if(row_cnt == "-1") {
  781. return false;
  782. }
  783. if(grd_pifhbsdp.valueMatrix(row_cnt,2) == "" || grd_pifhbsdp.valueMatrix(row_cnt,2) == null) {
  784. messageBox(grd_pifhbsdp.valueMatrix(0,2),"C001");
  785. return false;
  786. }
  787. model.setValue("/root/main/list02/pifmidetlist", grd_pifhbsdp.getUpdateData());
  788. if (submit("TXPIF30802")) {
  789. model.resetInstanceNode("/root/main/list01/pifmidetlist");
  790. submit("TRPIF30804");
  791. }
  792. ]]>
  793. </script>
  794. </button>
  795. <button id="btn_idetadd" class="btn2_letter3" style="left:1040px; top:361px; width:53px; height:19px; ">
  796. <caption>행추가</caption>
  797. <script type="javascript" ev:event="onclick">
  798. <![CDATA[
  799. grd_pifhbsdp.addRow();
  800. var row_cnt = grd_pifhbsdp.row;
  801. model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/acptno",ipt_acptno.value);
  802. model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/judgdg",ipt_judgdg.value);
  803. model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/clamno",ipt_clamno.value);
  804. model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/bankcd", BANKCD);
  805. model.setValue("/root/main/list01/pifmidetlist/list["+row_cnt+"]/acntcd", BANKACOUNT);
  806. grd_pifhbsdp.valueMatrix(row_cnt, 6) = 0;
  807. grd_pifhbsdp.valueMatrix(row_cnt, 7) = 0;
  808. grd_pifhbsdp.valueMatrix(row_cnt, 8) = 0;
  809. grd_pifhbsdp.topRow = grd_pifhbsdp.rows-1;
  810. ]]>
  811. </script>
  812. </button>
  813. <button id="btn_idetdel" class="btn2_letter3" style="left:1095px; top:361px; width:53px; height:19px; ">
  814. <caption>행삭제</caption>
  815. </button>
  816. <line id="line5" class="line_1" style="x1:0px; y1:381px; x2:1194px; y2:381px; "/>
  817. <caption id="caption8" class="tit_2" style="left:6px; top:367px; width:111px; height:13px; ">입금내역</caption>
  818. <datagrid id="grd_pifhbsdp" nodeset="/root/main/list01/pifmidetlist/list" caption="입금일자^입금구분^금융기관^계좌번호^건수^통장입금액^외래입금액^입원입금액^재무통보월^비고^접수번호^심사차수^청구번호^일련번호" colsep="^" colwidth="100, 90, 100, 120, 70, 90, 90, 90, 86, 322, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:386px; width:1194px; height:171px; ">
  819. <col autonext="true" ref="depodd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
  820. <col autonext="true" disabled="true" ref="inddepoflag" type="combo">
  821. <choices>
  822. <itemset nodeset="/root/init/P0266list/P0266">
  823. <label ref="cdnm"/>
  824. <value ref="cdid"/>
  825. </itemset>
  826. </choices>
  827. </col>
  828. <col autonext="true" ref="bankcd" type="combo" style="text-align:center; ">
  829. <choices>
  830. <itemset nodeset="/root/init/R0001list/R0001">
  831. <label ref="cdnm"/>
  832. <value ref="cdid"/>
  833. </itemset>
  834. </choices>
  835. </col>
  836. <col ref="acntcd" type="input" style="text-align:center; "/>
  837. <col ref="depocnt" type="input" format="#,###" style="text-align:right; "/>
  838. <col ref="depoamt" type="input" format="#,###" style="text-align:right; "/>
  839. <col ref="depooutamt" type="input" visibility="hidden" format="#,###" style="text-align:right; "/>
  840. <col ref="depoinamt" type="input" visibility="hidden" format="#,###" style="text-align:right; "/>
  841. <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
  842. <col ref="remfact" type="input"/>
  843. <col ref="acptno" visibility="hidden" style="text-align:center; "/>
  844. <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
  845. <col ref="clamno" visibility="hidden" style="text-align:center; "/>
  846. <col ref="seq" visibility="hidden" style="text-align:center; "/>
  847. </datagrid>
  848. <caption id="caption2" class="tit_2" style="left:6px; top:572px; width:111px; height:13px; ">환수내역</caption>
  849. <button id="btn_rtntadd" class="btn2_letter3" style="left:1040px; top:565px; width:53px; height:19px; ">
  850. <caption>행추가</caption>
  851. <script type="javascript" ev:event="onclick">
  852. <![CDATA[
  853. var depo_rows = grd_pifhbsdp.rows;
  854. grd_pifhrtns.addRow();
  855. var row_cnt = grd_pifhrtns.row;
  856. grd_pifhrtns.valueMatrix(row_cnt, 9) = 0;
  857. model.setValue("/root/main/list01/pifhrtntlist/list["+row_cnt+"]/acptno",ipt_acptno.value);
  858. model.setValue("/root/main/list01/pifhrtntlist/list["+row_cnt+"]/judgdg",ipt_judgdg.value);
  859. model.setValue("/root/main/list01/pifhrtntlist/list["+row_cnt+"]/clamno",ipt_clamno.value);
  860. grd_pifhrtns.topRow = grd_pifhrtns.rows-1;
  861. ]]>
  862. </script>
  863. </button>
  864. <button id="btn_rtntdel" class="btn2_letter3" style="left:1095px; top:565px; width:53px; height:19px; ">
  865. <caption>행삭제</caption>
  866. <script type="javascript" ev:event="onclick">
  867. <![CDATA[
  868. var row_cnt = grd_pifhrtns.row;
  869. if(row_cnt == '-1' || row_cnt == '0') {
  870. return false;
  871. }
  872. if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
  873. return false;
  874. }
  875. if(grd_pifhrtns.rowStatus(row_cnt) == "1" || grd_pifhrtns.rowStatus(row_cnt) == "3") {
  876. grd_pifhrtns.deleteItem(row_cnt);
  877. return false;
  878. } else {
  879. grd_pifhrtns.rowStatus(row_cnt) = "4";
  880. }
  881. ]]>
  882. </script>
  883. </button>
  884. <button id="btn_rtntsave" class="btn5_letter2" style="left:1150px; top:565px; width:42px; height:19px; ">
  885. <caption>저장</caption>
  886. <script type="javascript" ev:event="onclick">
  887. <![CDATA[
  888. var row_cnt = grd_pifhrtns.rows;
  889. var row = grd_pifhrtns.row;
  890. if(row_cnt < 2) {
  891. return false;
  892. } else {
  893. for(var i = 1 ; i < row_cnt ; i++) {
  894. if(ipt_acptno.value== "") {
  895. messageBox("접수번호를","C001");
  896. return false;
  897. }
  898. if(ipt_judgdg.value == "") {
  899. messageBox("심사차수를","C001");
  900. return false;
  901. }
  902. /*
  903. if(grd_pifhrtns.valueMatrix(i,1) == "00000000") {
  904. messageBox("환수일자를","C001");
  905. return false;
  906. }
  907. if(grd_pifhrtns.valueMatrix(i,7) == "") {
  908. messageBox("환수금액을","C001");
  909. return false;
  910. }
  911. if(grd_pifhrtns.valueMatrix(i,9) == "") {
  912. messageBox("재무통보월을","C001");
  913. return false;
  914. }
  915. if ( (grd_pifhrtns.rowStatus(i) == "1" || grd_pifhrtns.rowStatus(i) == "3" )&& grd_pifhrtns.valueMatrix(i,9) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  916. messageBox("마감된 이전월의 재무통보월은 저장 하실 수","I004"); // 없습니다.
  917. return false;
  918. }
  919. if(grd_pifhrtns.valueMatrix(row_cnt,8) == "") {
  920. messageBox("재무통보월을","C001");
  921. return false;
  922. }*/
  923. }
  924. model.setValue("/root/main/list03/pifhrtntlist", grd_pifhrtns.getUpdateData());
  925. if (submit("TXPIF30803")) {
  926. model.resetInstanceNode("/root/main/list01/pifhrtntlist/list");
  927. submit("TRPIF30805");
  928. }
  929. }
  930. ]]>
  931. </script>
  932. </button>
  933. <line id="line7" class="line_1" style="x1:0px; y1:586px; x2:1194px; y2:586px; "/>
  934. <datagrid id="grd_pifhrtns" nodeset="/root/main/list01/pifhrtntlist/list" caption="환수일자^환수구분^상계접수번호^상계청구번호^상계심사차수^rtnseqno^공문번호^공문도착일^환수금액^재무통보월^비고^접수번호^심사차수^청구번호^순번^시도코드^입금보장기관기호" colsep="^" colwidth="100, 94, 110, 100, 110, 100, 117, 100, 94, 98, 325, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:591px; width:1194px; height:170px; ">
  935. <col autonext="true" ref="rtndd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; ">
  936. <script type="javascript" ev:event="xforms-value-changed">
  937. <![CDATA[
  938. var col = grd_pifhrtns.col;
  939. if( col == grd_pifhrtns.colRef("rtndd")) {
  940. if(grd_pifhrtns.valueMatrix(grd_pifhrtns.row, 1) != '') {
  941. model.setFocus("body");
  942. model.setFocus("grd_pifhrtns");
  943. // grd_pifhrtns.col = 2;
  944. // grd_pifhrtns.dispatch("onentercell");
  945. // grd_pifhrtns.editCell();
  946. }
  947. }
  948. ]]>
  949. </script>
  950. </col>
  951. <col ref="rtnflag" type="combo">
  952. <choices>
  953. <itemset nodeset="/root/init/P0302list/P0302">
  954. <label ref="cdnm"/>
  955. <value ref="cdid"/>
  956. </itemset>
  957. </choices>
  958. </col>
  959. <col ref="rtnacptno" style="text-align:center; "/>
  960. <col ref="rtnclamno" visibility="hidden" style="text-align:center; "/>
  961. <col ref="rtnjudgdg" style="text-align:center; "/>
  962. <col ref="rtnseqno" visibility="hidden"/>
  963. <col ref="ofidocno" type="input" style="text-align:center; "/>
  964. <col ref="ofidocarvdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  965. <col ref="rtnamt" type="input" format="(-)#,###" style="text-align:right; "/>
  966. <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
  967. <col ref="rem" type="input"/>
  968. <col ref="acptno" visibility="hidden"/>
  969. <col ref="clamno" visibility="hidden"/>
  970. <col ref="judgdg" visibility="hidden"/>
  971. <col ref="seqno" visibility="hidden"/>
  972. <col ref="cpcd" visibility="hidden"/>
  973. <col ref="depoprocinstmark" visibility="hidden"/>
  974. </datagrid>
  975. <button id="button1" class="btn5_letter2" style="left:1150px; top:50px; width:42px; height:19px; ">
  976. <caption>삭제</caption>
  977. <script type="javascript" ev:event="onclick">
  978. <![CDATA[
  979. if(ipt_acptno.value== "") {
  980. messageBox("접수번호를","C001");
  981. model.setFocus("ipt_acptno");
  982. return false;
  983. }
  984. if(ipt_clamno.value == "") {
  985. messageBox("청구번호를","C001");
  986. model.setFocus("ipt_clamno");
  987. return false;
  988. }
  989. if(ipt_judgdg.value == "") {
  990. messageBox("심사차수를","C001");
  991. model.setFocus("ipt_judgdg");
  992. return false;
  993. }
  994. if(ipt_clamym.value == "") {
  995. messageBox("청구년월을","C001");
  996. model.setFocus("ipt_judgdg");
  997. return false;
  998. }
  999. if(ipt_ordym.value == "") {
  1000. messageBox("진료연월을","C001");
  1001. model.setFocus("ipt_judgdg");
  1002. return false;
  1003. }
  1004. var msg = messageBox("삭제","S001");
  1005. if (msg == 6) {
  1006. model.setValue("/root/main/list01/pifmiuntlist/iuflag","D");
  1007. if (submit("TXPIF30801")) {
  1008. fafsavesch();
  1009. }
  1010. }
  1011. ]]>
  1012. </script>
  1013. </button>
  1014. </group>
  1015. </xhtml:body>
  1016. </xhtml:html>