SMRWY02500_공제신청내역생성.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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. <ponyemplform>
  11. <yyendcalcmanbaselist/>
  12. </ponyemplform>
  13. </main>
  14. <send>
  15. <save>
  16. <yyendcalcmanbaselist/>
  17. </save>
  18. <yyendcalcmanbase>
  19. <instcd/>
  20. <calcyy/>
  21. <workym/>
  22. <grupjoblncd/>
  23. <emplno/>
  24. <emplnm/>
  25. <retireyn>N</retireyn>
  26. <dutplcedeptcd/>
  27. <actndeptqualyn/>
  28. </yyendcalcmanbase>
  29. </send>
  30. <init>
  31. <medyn/>
  32. <endwnyn/>
  33. <eduyn/>
  34. <eduyn/>
  35. <insuyn/>
  36. <housyn/>
  37. <mamfunyn/>
  38. <indpensyn/>
  39. <pensaveyn/>
  40. <inveassoyn/>
  41. <crcardyn/>
  42. <cashrcptyn/>
  43. <pacashyn/>
  44. </init>
  45. <hidden>
  46. </hidden>
  47. </root>
  48. </instance>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. misfGridInit(grd_yyendcalcmanbaselist);
  52. misfMsterDetailSet(grd_yyendcalcmanbaselist,null, "TRRWY00401" ,"N");
  53. misfComboComCdList('R0059', cmb_grupjoblncd, "Y");
  54. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  55. var nowdate = getCurrentDate();
  56. var yy = nowdate.substring(0,4);
  57. var yyyymm = nowdate.substring(0,6);
  58. model.setValue(ipt_calcyy.attribute("ref") , yy);
  59. model.setValue(ipt_workym.attribute("ref") , yyyymm);
  60. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  61. misfGetUserAuth();
  62. if (DUTY_PAY_YN == "Y" ) {
  63. cmb_instcd.disabled = false;
  64. }
  65. else {
  66. cmb_instcd.disabled = true;
  67. }
  68. model.refresh();
  69. ]]>
  70. </script>
  71. <submission id="TRRWY00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendcalcmanbase" resultref="/root/main/ponyemplform"/>
  72. <submission id="TXRWY02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  73. </model>
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  76. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  77. <script type="javascript" src="../../../mis/yyendtaxadstweb/js/RWY001.js"/>
  78. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  79. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  81. </xhtml:head>
  82. <xhtml:body>
  83. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  84. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">공제신청내역생성</caption>
  85. </group>
  86. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  87. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  88. <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
  89. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:16px; width:56px; height:22px; ">
  90. <caption>조회</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. misfMsterDetailRetrieve();
  94. ]]>
  95. </script>
  96. </button>
  97. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:186px; height:14px; ">공제내역 대상자 List</caption>
  98. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1191px; y2:70px; "/>
  99. <datagrid id="grd_yyendcalcmanbaselist" nodeset="/root/main/ponyemplform/yyendcalcmanbaselist" caption="^사번^성명^직군^직위^입사일자^퇴사일자^직급^호봉^내외국인구분^ 신청서 제출일^정산분류^귀속년월일^귀속년월일^배우자^부녀자^ 부양수 60세이상^ 부양수 20세이하^ 경로자 65세~69세^ 경로자 70세이상^장애인수^자녀양육 6세이하|^사번^성명^직군^직위^입사일자^퇴사일자^직급^호봉^내외국인구분^ 신청서 제출일^정산분류^귀속년월일^귀속년월일^배우자^부녀자^ 부양수 60세이상^ 부양수 20세이하^ 경로자 65세~69세^ 경로자 70세이상^장애인수^자녀양육 6세이하" colsep="^" colwidth="21, 65, 64, 104, 72, 54, 54, 55, 52, 45, 56, 54, 54, 54, 18, 18, 56, 56, 68, 59, 30, 60" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1191px; height:665px; ">
  100. <col checkvalue="Y,N" ref="selyn" type="checkbox"/>
  101. <col ref="emplno"/>
  102. <col ref="emplnm"/>
  103. <col ref="grupjoblnnm"/>
  104. <col ref="jobposnm"/>
  105. <col ref="entcodd"/>
  106. <col ref="retiredd"/>
  107. <col ref="jobgradnm"/>
  108. <col ref="payclsnm"/>
  109. <col ref="ionatiflagnm" style="text-align:center; "/>
  110. <col ref="appdocprstdd"/>
  111. <col ref="retireynnm" style="text-align:center; "/>
  112. <col ref="fromdd"/>
  113. <col ref="todd"/>
  114. <col checkvalue="Y,N" ref="ptneryn" style="text-align:center; "/>
  115. <col checkvalue="Y,N" ref="maryfmlyn" style="text-align:center; "/>
  116. <col ref="supppsnno60" format="#,###" style="text-align:right; "/>
  117. <col ref="ipt_supppsnno20" format="#,###" style="text-align:right; "/>
  118. <col ref="rptagrfrom65to69agecnt" format="#,###" style="text-align:right; "/>
  119. <col ref="rptagr70agemorthncnt" format="#,###" style="text-align:right; "/>
  120. <col ref="handicaprcnt" format="#,###" style="text-align:right; "/>
  121. <col ref="brngupchldrncnt" format="#,###" style="text-align:right; "/>
  122. </datagrid>
  123. <select1 id="cmb_instcd" ref="/root/send/yyendcalcmanbase/instcd" class="combo_s_essential" appearance="minimal" style="left:372px; top:18px; width:125px; height:19px; ">
  124. <choices>
  125. <itemset>
  126. <label/>
  127. <value/>
  128. </itemset>
  129. </choices>
  130. </select1>
  131. <caption id="caption8" class="search_name" style="left:313px; top:18px; width:61px; height:17px; ">기관:</caption>
  132. <caption id="caption2" class="search_name" style="left:664px; top:18px; width:81px; height:17px; ">사원번호:</caption>
  133. <input id="ipt_calcyy" ref="/root/send/yyendcalcmanbase/calcyy" class="input_s_essential" style="left:85px; top:18px; width:51px; height:19px; "/>
  134. <caption id="caption3" class="search_name" style="left:5px; top:18px; width:84px; height:17px; ">기준년도:</caption>
  135. <input id="ipt_emplnm" ref="/root/send/yyendcalcmanbase/emplnm" class="input_default" navindex="21" style="left:843px; top:18px; width:127px; height:19px; ">
  136. <script type="javascript" ev:event="xforms-value-changed">
  137. <![CDATA[
  138. var recv_list = "emplno,emplnm";
  139. rpbfValidationCheck("EMPLNM", recv_list);
  140. model.refresh();
  141. ]]>
  142. </script>
  143. </input>
  144. <select1 id="rdo_retireyn" ref="/root/send/yyendcalcmanbase/retireyn" disabled="true" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:976px; top:18px; width:119px; height:19px; border-style:solid; ">
  145. <choices>
  146. <item>
  147. <label>연말</label>
  148. <value>N</value>
  149. </item>
  150. <item>
  151. <label>중도퇴직</label>
  152. <value>Y</value>
  153. </item>
  154. </choices>
  155. </select1>
  156. <input id="ipt_emplno" ref="/root/send/yyendcalcmanbase/emplno" class="input_default" navindex="20" style="left:748px; top:18px; width:69px; height:19px; ">
  157. <script type="javascript" ev:event="xforms-value-changed">
  158. <![CDATA[
  159. var recv_list = "emplno,emplnm";
  160. rpbfValidationCheck("EMPLNO", recv_list);
  161. model.refresh();
  162. ]]>
  163. </script>
  164. </input>
  165. <input id="ipt_workym" ref="/root/send/yyendcalcmanbase/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:224px; top:18px; width:83px; height:19px; "/>
  166. <caption id="caption4" class="search_name" style="left:142px; top:18px; width:84px; height:17px; ">작업년월:</caption>
  167. <button id="btn_emplsearch" class="icon_search" style="left:823px; top:18px; width:16px; height:16px; ">
  168. <caption/>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. var recv_list = "emplno,emplnm";
  172. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  173. model.refresh();
  174. ]]>
  175. </script>
  176. </button>
  177. <select1 id="cmb_grupjoblncd" ref="/root/send/yyendcalcmanbase/grupjoblncd" class="combo_s_essential" appearance="minimal" style="left:558px; top:18px; width:101px; height:19px; ">
  178. <choices>
  179. <itemset>
  180. <label/>
  181. <value/>
  182. </itemset>
  183. </choices>
  184. </select1>
  185. <caption id="caption7" class="search_name" style="left:499px; top:18px; width:66px; height:17px; ">직군:</caption>
  186. <button id="btn_allsel" class="btn2_letter4" style="left:1037px; top:48px; width:64px; height:19px; ">
  187. <caption>전체선택</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. for (var i = grd_yyendcalcmanbaselist.fixedRows; i < grd_yyendcalcmanbaselist.rows ; i++) {
  191. grd_yyendcalcmanbaselist.valueMatrix(i, grd_yyendcalcmanbaselist.colRef("selyn")) = "Y";
  192. }
  193. ]]>
  194. </script>
  195. </button>
  196. <button id="btn_allselcan" class="btn2_letter6" style="left:1103px; top:48px; width:86px; height:19px; ">
  197. <caption>전체선택취소</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. for (var i = grd_yyendcalcmanbaselist.fixedRows; i < grd_yyendcalcmanbaselist.rows ; i++) {
  201. grd_yyendcalcmanbaselist.valueMatrix(i, grd_yyendcalcmanbaselist.colRef("selyn")) = "N";
  202. }
  203. ]]>
  204. </script>
  205. </button>
  206. <select id="chk_medyn" ref="/root/init/medyn" overflow="visible" appearance="full" style="left:195px; top:50px; width:60px; height:20px; border-style:none; ">
  207. <choices>
  208. <item>
  209. <label>의료비</label>
  210. <value>Y</value>
  211. </item>
  212. </choices>
  213. </select>
  214. <select id="chk_endwnyn" ref="/root/init/endwnyn" overflow="visible" appearance="full" style="left:260px; top:50px; width:60px; height:20px; border-style:none; ">
  215. <choices>
  216. <item>
  217. <label>기부금</label>
  218. <value>Y</value>
  219. </item>
  220. </choices>
  221. </select>
  222. <select id="chk_eduyn" ref="/root/init/eduyn" overflow="visible" appearance="full" style="left:320px; top:50px; width:60px; height:20px; border-style:none; ">
  223. <choices>
  224. <item>
  225. <label>교육비</label>
  226. <value>Y</value>
  227. </item>
  228. </choices>
  229. </select>
  230. <select id="chk_pacashyn" ref="/root/init/pacashyn" overflow="visible" appearance="full" style="left:975px; top:50px; width:60px; height:20px; border-style:none; ">
  231. <choices>
  232. <item>
  233. <label>지로</label>
  234. <value>Y</value>
  235. </item>
  236. </choices>
  237. </select>
  238. <select id="chk_insuyn" ref="/root/init/insuyn" overflow="visible" appearance="full" style="left:380px; top:50px; width:60px; height:20px; border-style:none; ">
  239. <choices>
  240. <item>
  241. <label>보험료</label>
  242. <value>Y</value>
  243. </item>
  244. </choices>
  245. </select>
  246. <select id="chk_housyn" ref="/root/init/housyn" overflow="visible" appearance="full" style="left:439px; top:50px; width:75px; height:20px; border-style:none; ">
  247. <choices>
  248. <item>
  249. <label>주택자금</label>
  250. <value>Y</value>
  251. </item>
  252. </choices>
  253. </select>
  254. <select id="chk_mamfunyn" ref="/root/init/mamfunyn" overflow="visible" appearance="full" style="left:514px; top:50px; width:110px; height:20px; border-style:none; ">
  255. <choices>
  256. <item>
  257. <label>혼인/이사/장례</label>
  258. <value>Y</value>
  259. </item>
  260. </choices>
  261. </select>
  262. <select id="chk_indpensyn" ref="/root/init/indpensyn" overflow="visible" appearance="full" style="left:620px; top:50px; width:75px; height:20px; border-style:none; ">
  263. <choices>
  264. <item>
  265. <label>개인연금</label>
  266. <value>Y</value>
  267. </item>
  268. </choices>
  269. </select>
  270. <select id="chk_pensaveyn" ref="/root/init/pensaveyn" overflow="visible" appearance="full" style="left:685px; top:50px; width:75px; height:20px; border-style:none; ">
  271. <choices>
  272. <item>
  273. <label>연금저축</label>
  274. <value>Y</value>
  275. </item>
  276. </choices>
  277. </select>
  278. <select id="chk_inveassoyn" ref="/root/init/inveassoyn" overflow="visible" appearance="full" style="left:753px; top:50px; width:75px; height:20px; border-style:none; ">
  279. <choices>
  280. <item>
  281. <label>투자조합</label>
  282. <value>Y</value>
  283. </item>
  284. </choices>
  285. </select>
  286. <select id="chk_crcardyn" ref="/root/init/crcardyn" overflow="visible" appearance="full" style="left:822px; top:50px; width:70px; height:20px; border-style:none; ">
  287. <choices>
  288. <item>
  289. <label>신용카드</label>
  290. <value>Y</value>
  291. </item>
  292. </choices>
  293. </select>
  294. <select id="chk_cashrcptyn" ref="/root/init/cashrcptyn" overflow="visible" appearance="full" style="left:897px; top:50px; width:80px; height:20px; border-style:none; ">
  295. <choices>
  296. <item>
  297. <label>현금영수증</label>
  298. <value>Y</value>
  299. </item>
  300. </choices>
  301. </select>
  302. </group>
  303. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  304. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  305. <button id="btn_save" class="btn4_letter4" style="left:1109px; top:3px; width:82px; height:22px; ">
  306. <caption>공제생성</caption>
  307. <script type="javascript" ev:event="DOMActivate">
  308. <![CDATA[
  309. //<submission id="TXRWY02501" ref="/root/send/save" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden/temp"/>
  310. model.removenode("/root/send/save");
  311. model.makeNode("/root/send/save/yyendcalcmanbaselist");
  312. model.makeNode("/root/send/save/setcalcitem/medyn");
  313. model.makeNode("/root/send/save/setcalcitem/endwnyn");
  314. model.makeNode("/root/send/save/setcalcitem/eduyn");
  315. model.makeNode("/root/send/save/setcalcitem/insuyn");
  316. model.makeNode("/root/send/save/setcalcitem/housyn");
  317. model.makeNode("/root/send/save/setcalcitem/mamfunyn");
  318. model.makeNode("/root/send/save/setcalcitem/indpensyn");
  319. model.makeNode("/root/send/save/setcalcitem/pensaveyn");
  320. model.makeNode("/root/send/save/setcalcitem/inveassoyn");
  321. model.makeNode("/root/send/save/setcalcitem/crcardyn");
  322. model.makeNode("/root/send/save/setcalcitem/cashrcptyn");
  323. model.makeNode("/root/send/save/setcalcitem/pacashyn");
  324. var varcopy = instance1.selectNodes(grd_yyendcalcmanbaselist.nodeset + "[selyn='Y']");
  325. var rCSV = getNodeListCSV(varcopy);
  326. model.setValue("/root/send/save/yyendcalcmanbaselist", rCSV);
  327. model.setValue("/root/send/save/setcalcitem/medyn", model.getValue(chk_medyn.attribute("ref")));
  328. model.setValue("/root/send/save/setcalcitem/endwnyn", model.getValue(chk_endwnyn.attribute("ref")));
  329. model.setValue("/root/send/save/setcalcitem/eduyn", model.getValue(chk_eduyn.attribute("ref")));
  330. model.setValue("/root/send/save/setcalcitem/insuyn", model.getValue(chk_insuyn.attribute("ref")));
  331. model.setValue("/root/send/save/setcalcitem/housyn", model.getValue(chk_housyn.attribute("ref")));
  332. model.setValue("/root/send/save/setcalcitem/mamfunyn", model.getValue(chk_mamfunyn.attribute("ref")));
  333. model.setValue("/root/send/save/setcalcitem/indpensyn", model.getValue(chk_indpensyn.attribute("ref")));
  334. model.setValue("/root/send/save/setcalcitem/pensaveyn", model.getValue(chk_pensaveyn.attribute("ref")));
  335. model.setValue("/root/send/save/setcalcitem/inveassoyn", model.getValue(chk_inveassoyn.attribute("ref")));
  336. model.setValue("/root/send/save/setcalcitem/crcardyn", model.getValue(chk_crcardyn.attribute("ref")));
  337. model.setValue("/root/send/save/setcalcitem/cashrcptyn", model.getValue(chk_cashrcptyn.attribute("ref")));
  338. model.setValue("/root/send/save/setcalcitem/pacashyn", model.getValue(chk_pacashyn.attribute("ref")));
  339. model.refresh();
  340. submit("TXRWY02501");
  341. ]]>
  342. </script>
  343. </button>
  344. <button id="btn_clear" class="btn4_letter3" style="left:1039px; top:3px; width:68px; height:22px; ">
  345. <caption>초기화</caption>
  346. </button>
  347. </group>
  348. </xhtml:body>
  349. </xhtml:html>