SMRPA04200_연금납입고지서.xrw 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. <main>
  10. <insurancelist>
  11. <notiym/>
  12. <instcd/>
  13. <instnm/>
  14. <jobgradnm/>
  15. <prestmmbamt/>
  16. <totretc/>
  17. <loadamt/>
  18. <totamt/>
  19. <groupretc/>
  20. <perponamt/>
  21. <corporateamt/>
  22. <calamityamt/>
  23. <jobgradnm1/>
  24. <prestmmbamt1/>
  25. <totretc1/>
  26. <loadamt1/>
  27. <totamt1/>
  28. <groupretc1/>
  29. <perponamt1/>
  30. <corporateamt1/>
  31. <calamityamt1/>
  32. </insurancelist>
  33. </main>
  34. <send>
  35. <report>
  36. <notiym/>
  37. <instcd/>
  38. <workgbn/>
  39. <infoworkgbn/>
  40. <workgbn/>
  41. </report>
  42. <payappsend>
  43. <instcd/>
  44. <payym/>
  45. <payitemcd/>
  46. </payappsend>
  47. </send>
  48. <temp>
  49. <penmedicnfmyn/>
  50. <peninstcnfmyn/>
  51. <leninstcnfmyn/>
  52. <lenmedicnfmyn/>
  53. <pendatayn/>
  54. <lendatayn/>
  55. <hidden/>
  56. </temp>
  57. <init/>
  58. </root>
  59. </instance>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  64. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  65. <script type="javascript" ev:event="xforms-ready">
  66. <![CDATA[
  67. fInitialize();
  68. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"));
  69. var instcd = getUserInfo("dutplceinstcd");
  70. cmb_instcd.value=instcd;
  71. makeReportPreview(0,100,1195,650);
  72. ]]>
  73. </script>
  74. <submission id="TRRPA04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/report" resultref="/root/main/insurancelist"/>
  75. <submission id="TXRPA04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/report" resultref="/root/temp"/>
  76. <submission id="TRRPA03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/report" resultref="/root/temp"/>
  77. <submission id="TXRWZ00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payappsend" resultref="/root/temp/hidden"/>
  78. </model>
  79. <script type="javascript">
  80. <![CDATA[
  81. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  82. function fInitialize() {
  83. model.resetInstanceNode("/root/send");
  84. model.refresh();
  85. var curDate = getCurrentDate().toDate();
  86. model.setValue("/root/send/report/notiym", curDate.getDateFormat('YYYYMM'));
  87. }
  88. ]]>
  89. </script>
  90. </xhtml:head>
  91. <xhtml:body style="margin-left:8; margin-right:8; ">
  92. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  93. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">연금납입 고지서</caption>
  94. </group>
  95. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  96. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  97. <caption id="cap_notiym" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">고지년월:</caption>
  98. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  99. <caption>조회</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. if(!isRequiredControls("ipt_notiym","cmb_instcd"))return;
  103. model.setValue("/root/send/report/infoworkgbn","P");
  104. submit("TRRPA04201");
  105. exeReportPreview("RPRPA04200", "XMLSTR", "/root/main/insurancelist");
  106. ]]>
  107. </script>
  108. </button>
  109. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  110. <input id="ipt_notiym" ref="/root/send/report/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18px; width:100px; height:19px; "/>
  111. <select1 id="cmb_instcd" ref="/root/send/report/instcd" class="combo_s_essential" appearance="minimal" style="left:305px; top:18px; width:144px; height:19px; ">
  112. <choices>
  113. <itemset>
  114. <label/>
  115. <value/>
  116. </itemset>
  117. </choices>
  118. </select1>
  119. <caption id="cap_instcd" class="search_name" style="left:220px; top:20px; width:86px; height:17px; ">기 관:</caption>
  120. <input id="ipt_workgbn" ref="/root/send/report/workgbn" visibility="hidden" style="left:535px; top:20px; width:110px; height:20px; "/>
  121. <input id="input1" ref="/root/send/report/infoworkgbn" visibility="hidden" style="left:660px; top:20px; width:110px; height:19px; "/>
  122. </group>
  123. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  124. <button id="btn_init" class="btn4_letter3" style="left:864px; top:3px; width:68px; height:22px; ">
  125. <caption>초기화</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. fInitialize();
  129. ]]>
  130. </script>
  131. </button>
  132. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  133. <button id="button2" class="btn4_letter4" style="left:1027px; top:3px; width:80px; height:22px; ">
  134. <caption>확정취소</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. if(!isRequiredControls("ipt_notiym"))return;
  138. var retMes = messageBox("의료원 확정을 취소 하시겠습니까?", "Q999");
  139. if ( retMes != 6) {
  140. return;
  141. }
  142. model.makeValue("/root/send/report/workgbn","D");
  143. // model.makeValue("/root/send/report/togglegbn","D");
  144. submit("TRRPA03401");
  145. var peninstcnfmyn=model.getValue("/root/temp/peninstcnfmyn");
  146. var leninstcnfmyn=model.getValue("/root/temp/leninstcnfmyn");
  147. var penmedicnfmyn=model.getValue("/root/temp/penmedicnfmyn");
  148. var lenmedicnfmyn=model.getValue("/root/temp/lenmedicnfmyn");
  149. if(peninstcnfmyn =='Y' || leninstcnfmyn =='Y'){
  150. messageBox("기관확정이 완료된 자료는 취소 ","E001");
  151. return;
  152. }
  153. if(penmedicnfmyn !='Y' || lenmedicnfmyn !='Y'){
  154. messageBox("취소할 자료가 ","I004");
  155. return;
  156. }
  157. submit("TXRPA04201");
  158. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  159. messageBox("의료원 확정취소가 ","I001");
  160. }
  161. ]]>
  162. </script>
  163. </button>
  164. <button id="button1" class="btn4_letter5" style="left:933px; top:3px; width:92px; height:22px; ">
  165. <caption>의료원확정</caption>
  166. <script type="javascript" ev:event="DOMActivate">
  167. <![CDATA[
  168. if(!isRequiredControls("ipt_notiym"))return;
  169. var retMes = messageBox("자료를 확정 하시겠습니까?", "Q999");
  170. if ( retMes != 6) {
  171. return;
  172. }
  173. model.setValue("/root/send/report/workgbn","P");
  174. submit("TRRPA03401");
  175. var pendatayn=model.getValue("/root/temp/pendatayn");
  176. var lendatayn=model.getValue("/root/temp/lendatayn");
  177. var penmedicnfmyn=model.getValue("/root/temp/penmedicnfmyn");
  178. var lenmedicnfmyn=model.getValue("/root/temp/lenmedicnfmyn");
  179. if(pendatayn !='Y'){
  180. messageBox("확정할 연금 부담금 자료가 ","I004");
  181. return;
  182. }
  183. if(lendatayn !='Y'){
  184. messageBox("확정할 대여상환금 자료가 ","I004");
  185. return;
  186. }
  187. if(penmedicnfmyn =='Y' || lenmedicnfmyn =='Y'){
  188. messageBox("해당월의 자료는 이미 확정 ","I001");
  189. return;
  190. }
  191. submit("TXRPA04201");
  192. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  193. messageBox("작업이","I001");
  194. }
  195. ]]>
  196. </script>
  197. </button>
  198. <button id="button3" class="btn4_letter4" style="left:1109px; top:3px; width:80px; height:22px; ">
  199. <caption>급여이체</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. if(!isRequiredControls("ipt_notiym"))return;
  203. var retMes = messageBox("자료를 급여이체하시겠습니까?", "Q999");
  204. if ( retMes != 6) {
  205. return;
  206. }
  207. model.setValue("/root/send/report/workgbn","P");
  208. submit("TRRPA03401");
  209. var penmedicnfmyn =model.getValue("/root/temp/penmedicnfmyn");
  210. var lenmedicnfmyn =model.getValue("/root/temp/lenmedicnfmyn");
  211. var penpayrefltyn = model.getValue("/root/temp/penpayrefltyn");
  212. var lenpayrefltyn = model.getValue("/root/temp/lenpayrefltyn");
  213. if(penmedicnfmyn !='Y' || lenmedicnfmyn !='Y'){
  214. messageBox("급여이체할 자료가 ","I004");
  215. return;
  216. }
  217. if(penpayrefltyn =='Y' || lenpayrefltyn =='Y'){
  218. messageBox("급여이체 자료가 이미 ","I001");
  219. return;
  220. }
  221. var instcd = getUserInfo("dutplceinstcd");
  222. var payym = model.getValue("/root/send/report/notiym");
  223. var payitemcd = "60010";
  224. model.setValue("/root/send/payappsend/instcd",instcd);
  225. model.setValue("/root/send/payappsend/payym",payym);
  226. model.setValue("/root/send/payappsend/payitemcd",payitemcd);
  227. submit("TXRWZ00303");
  228. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  229. messageBox("급여이체작업이","I001");
  230. }
  231. ]]>
  232. </script>
  233. </button>
  234. </group>
  235. </xhtml:body>
  236. </xhtml:html>