SMRWY00500_부양가족공제내역등록.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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>SMRWY00500_부양가족공제내역등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <suppfamydedu>
  11. <suppfamydedulist/>
  12. <famyinfolist/>
  13. <emplinfolist/>
  14. </suppfamydedu>
  15. </main>
  16. <send>
  17. <save>
  18. <suppfamydedulist/>
  19. </save>
  20. <suppfamydedu>
  21. <deduyy/>
  22. <emplno/>
  23. <emplnm/>
  24. <workym/>
  25. <retireyn>N</retireyn>
  26. </suppfamydedu>
  27. </send>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. misfGridInit(grd_famyinfolist);
  33. misfGridInit(grd_suppfamydedulist);
  34. misfMsterDetailSet(grd_famyinfolist,null, "TRRWY00501" ,"N");
  35. misfMsterDetailSet(grd_suppfamydedulist,null, "TRRWY00501" ,"Y");
  36. misfComboComCdListMulti("R0213","grd_suppfamydedulist.famyrelacd");
  37. var nowdate = getCurrentDate();
  38. var yy = nowdate.substring(0,4);
  39. ipt_deduyy.value =yy;
  40. ]]>
  41. </script>
  42. <submission id="TRRWY00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/suppfamydedu" resultref="/root/main/suppfamydedu"/>
  43. <submission id="TXRWY00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  49. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. </xhtml:head>
  52. <xhtml:body>
  53. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  54. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">부양가족공제내역등록</caption>
  55. </group>
  56. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  57. <line id="line7" class="line_2" style="x1:0px; y1:167px; x2:230px; y2:167px; "/>
  58. <line id="line6" class="line_2" style="x1:0px; y1:143px; x2:230px; y2:143px; "/>
  59. <line id="line5" class="line_2" style="x1:0px; y1:119px; x2:230px; y2:119px; "/>
  60. <line id="line4" class="line_2" style="x1:0px; y1:95px; x2:230px; y2:95px; "/>
  61. <line id="line3" class="line_3" style="x1:0px; y1:263px; x2:230px; y2:263px; "/>
  62. <line id="line11" class="line_2" style="x1:0px; y1:239px; x2:230px; y2:239px; "/>
  63. <line id="line10" class="line_2" style="x1:0px; y1:215px; x2:230px; y2:215px; "/>
  64. <line id="line8" class="line_2" style="x1:0px; y1:191px; x2:230px; y2:191px; "/>
  65. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  66. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:17px; width:56px; height:22px; ">
  67. <caption>조회</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. misfMsterDetailRetrieve();
  71. ]]>
  72. </script>
  73. </button>
  74. <line id="line13" class="line_4" style="x1:1109px; y1:17px; x2:1109px; y2:39px; "/>
  75. <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:157px; height:13px; ">사원정보/가족사항</caption>
  76. <line id="line207" class="line_1" style="x1:0px; y1:68px; x2:230px; y2:68px; "/>
  77. <line id="line1" class="line_1" style="x1:0px; y1:288px; x2:1195; y2:288px; "/>
  78. <caption id="caption1" class="tit_2" style="left:5px; top:273px; width:148px; height:13px; ">부양가족 공제자 List</caption>
  79. <button id="btn_grdaddsuppfamydedulist" class="btn2_letter3" style="left:1018px; top:267px; width:53px; height:19px; ">
  80. <caption>행추가</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. misfGridIUD(grd_suppfamydedulist, "A");
  84. ]]>
  85. </script>
  86. </button>
  87. <button id="btn_savesuppfamydedulistexcel" class="btn2_letter4" style="left:1130px; top:267px; width:64px; height:19px; ">
  88. <caption>엑셀입력</caption>
  89. <script type="javascript" ev:event="DOMActivate">
  90. <![CDATA[
  91. ]]>
  92. </script>
  93. </button>
  94. <button id="btn_grddelsuppfamydedulist" class="btn2_letter3" style="left:1074px; top:267px; width:53px; height:19px; ">
  95. <caption>행삭제</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. misfGridIUD(grd_suppfamydedulist, "D");
  99. ]]>
  100. </script>
  101. </button>
  102. <caption id="caption3" class="search_name" style="left:15px; top:19px; width:94px; height:17px; ">기준년도 :</caption>
  103. <input id="ipt_deduyy" ref="/root/send/suppfamydedu/deduyy" class="input_s_essential" style="left:100px; top:18px; width:100px; height:19px; "/>
  104. <caption id="caption2" class="search_name" style="left:469px; top:19px; width:86px; height:17px; ">사원번호 :</caption>
  105. <datagrid id="grd_famyinfolist" nodeset="/root/main/suppfamydedu/famyinfolist" caption="성명^관계^주민번호^주민번호^학력^직업^결혼^사망^비고^사원번호^순번^주민번호|성명^관계^앞자리^뒷자리^학력^직업^결혼^사망^비고^사원번호^순번^주민번호" colsep="^" colwidth="98, 99, 92, 100, 107, 84, 39, 33, 280, 49, 41, 33" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:235px; top:73px; width:960px; height:191px; ">
  106. <col ref="name"/>
  107. <col ref="famyrelnm"/>
  108. <col ref="rregno1"/>
  109. <col ref="rregno2"/>
  110. <col ref="scholnm"/>
  111. <col ref="jobnm"/>
  112. <col checkvalue="Y,N" disabled="true" ref="maryyn" type="checkbox"/>
  113. <col checkvalue="Y,N" disabled="true" ref="dethyn" type="checkbox"/>
  114. <col ref="cmt"/>
  115. <col ref="emplno" visibility="hidden"/>
  116. <col ref="seqno" visibility="hidden"/>
  117. <col ref="rregno" visibility="hidden"/>
  118. <script type="javascript" ev:event="ondblclick">
  119. <![CDATA[
  120. var famyrrgstno1 = "";
  121. var famyrrgstno2 = "";
  122. var inputchk = "N";
  123. var rregno = grd_famyinfolist.valueMatrix(grd_famyinfolist.row, grd_famyinfolist.colRef("rregno"));
  124. var famynm = grd_famyinfolist.valueMatrix(grd_famyinfolist.row, grd_famyinfolist.colRef("name"));
  125. var rregno1 = grd_famyinfolist.valueMatrix(grd_famyinfolist.row, grd_famyinfolist.colRef("rregno1"));
  126. var rregno2 = grd_famyinfolist.valueMatrix(grd_famyinfolist.row, grd_famyinfolist.colRef("rregno2"));
  127. for (var i = 2; i <= grd_suppfamydedulist.rows - 1; i++) {
  128. famyrrgstno1 = grd_suppfamydedulist.valueMatrix(i, grd_suppfamydedulist.colRef("famyrrgstno1"));
  129. famyrrgstno2 = grd_suppfamydedulist.valueMatrix(i, grd_suppfamydedulist.colRef("famyrrgstno2"));
  130. if (rregno1 == famyrrgstno1 && rregno2 == famyrrgstno2) {
  131. inputchk = "Y";
  132. break;
  133. }
  134. }
  135. if (inputchk == "N") {
  136. misfGridIUD(grd_suppfamydedulist, "A");
  137. grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famynm")) = famynm;
  138. grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno1")) = rregno1;
  139. grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno2")) = rregno2;
  140. }
  141. ]]>
  142. </script>
  143. </datagrid>
  144. <datagrid id="grd_suppfamydedulist" nodeset="/root/main/suppfamydedu/suppfamydedulist" caption="관계^성명^주민번호^주민번호^국내국외^기본공제^65-69세^70세이상^장애^부녀자^자녀양육비^보험료공제^의료비공제^교육비공제^신용카드^현금영수증^학원비지로^사원번호^공제년도^작업년월^퇴직여부^순번^주소^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^주민번호|관계^성명^앞자리^뒷자리^국내국외^기본공제^65-69세^70세이상^장애^부녀자^자녀양육비^보험료공제^의료비공제^교육비공제^신용카드^현금영수증^학원비지로^사원번호^공제년도^작업년월^퇴직여부^순번^주소^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^주민번호" colsep="^" colwidth="177, 137, 102, 106, 143, 37, 37, 32, 33, 47, 44, 49, 44, 41, 33, 42, 49, 44, 28, 30, 33, 23, 27, 23, 28, 21, 30, 33" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:293px; width:1195px; height:441px; ">
  145. <col ref="famyrelacd" type="combo">
  146. <choices>
  147. <itemset>
  148. <label/>
  149. <value/>
  150. </itemset>
  151. </choices>
  152. </col>
  153. <col ref="famynm" type="input"/>
  154. <col ref="famyrrgstno1" type="input"/>
  155. <col ref="famyrrgstno2" type="input"/>
  156. <col ref="natiinoutflag" type="combo">
  157. <choices>
  158. <item>
  159. <label>국내</label>
  160. <value>1</value>
  161. </item>
  162. <item>
  163. <label>국외</label>
  164. <value>0</value>
  165. </item>
  166. </choices>
  167. </col>
  168. <col checkvalue="1,0" ref="basededuyn" type="checkbox"/>
  169. <col checkvalue="1,0" ref="rptagrfrom65to69ageyn" type="checkbox"/>
  170. <col checkvalue="1,0" ref="rptagr70agemorthnyn" type="checkbox"/>
  171. <col checkvalue="1,0" ref="handcapyn" type="checkbox"/>
  172. <col checkvalue="1,0" ref="maryfmlyn" type="checkbox"/>
  173. <col checkvalue="1,0" ref="expsbrngupchldrnyn" type="checkbox"/>
  174. <col checkvalue="1,0" ref="insuamtdeduyn" type="checkbox"/>
  175. <col checkvalue="1,0" ref="deduhealcareamtyn" type="checkbox"/>
  176. <col checkvalue="1,0" ref="schodeduyn" type="checkbox"/>
  177. <col checkvalue="1,0" ref="crcardyn" type="checkbox"/>
  178. <col checkvalue="1,0" ref="cashrcptyn" type="checkbox"/>
  179. <col checkvalue="1,0" ref="acdmycostyn" type="checkbox"/>
  180. <col ref="emplno" visibility="hidden"/>
  181. <col ref="deduyy" visibility="hidden"/>
  182. <col ref="workym" visibility="hidden"/>
  183. <col ref="retireyn" visibility="hidden"/>
  184. <col ref="dedupsnseq" visibility="hidden"/>
  185. <col ref="cntcaddr" visibility="hidden"/>
  186. <col ref="fstrgstrid" visibility="hidden"/>
  187. <col ref="fstrgstdt" visibility="hidden"/>
  188. <col ref="lastupdtrid" visibility="hidden"/>
  189. <col ref="lastupdtdt" visibility="hidden"/>
  190. <col ref="famyrrgstno" visibility="hidden"/>
  191. <script type="javascript" ev:event="xforms-value-changed">
  192. <![CDATA[
  193. if (grd_suppfamydedulist.colAttribute(grd_suppfamydedulist.col,"ref") == "famyrelacd" ) {
  194. if (grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrelacd")) == "0" ) {
  195. grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famynm")) = ipt_emplnm2.value;
  196. grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno1")) = ipt_famyrrgstno1.value;
  197. grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno2")) = ipt_famyrrgstno2.value;
  198. }
  199. // else {
  200. // grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famynm")) = "";
  201. // grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno1")) = "";
  202. // grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno2")) = "";
  203. // }
  204. }
  205. ]]>
  206. </script>
  207. </datagrid>
  208. <input id="ipt_emplnm" ref="/root/send/suppfamydedu/emplnm" class="input_default" navindex="21" style="left:649px; top:18px; width:150px; height:19px; ">
  209. <script type="javascript" ev:event="onkeyup">
  210. <![CDATA[
  211. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  212. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  213. inputEnterKey("btn_search", "DOMActivate");
  214. }
  215. ]]>
  216. </script>
  217. <script type="javascript" ev:event="xforms-value-changed">
  218. <![CDATA[
  219. var recv_list = "emplno,emplnm";
  220. rpbfValidationCheck("EMPLNM", recv_list);
  221. model.refresh();
  222. ]]>
  223. </script>
  224. </input>
  225. <input id="ipt_emplno" ref="/root/send/suppfamydedu/emplno" class="input_default" navindex="20" style="left:554px; top:18px; width:69px; height:19px; ">
  226. <script type="javascript" ev:event="onkeyup">
  227. <![CDATA[
  228. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  229. inputEnterKey("ipt_emplno", "xforms-value-changed");
  230. inputEnterKey("btn_search", "DOMActivate");
  231. }
  232. ]]>
  233. </script>
  234. <script type="javascript" ev:event="xforms-value-changed">
  235. <![CDATA[
  236. var recv_list = "emplno,emplnm";
  237. rpbfValidationCheck("EMPLNO", recv_list);
  238. model.refresh();
  239. ]]>
  240. </script>
  241. </input>
  242. <button id="btn_emplsearch" class="icon_search" style="left:629px; top:18px; width:16px; height:16px; ">
  243. <caption/>
  244. <script type="javascript" ev:event="DOMActivate">
  245. <![CDATA[
  246. var recv_list = "emplno,emplnm";
  247. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  248. model.refresh();
  249. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  250. btn_search.dispatch("DOMActivate");
  251. }
  252. ]]>
  253. </script>
  254. </button>
  255. <input id="ipt_deptnm" ref="/root/main/suppfamydedu/emplinfolist/deptnm" class="input_default" disabled="true" navindex="33" style="left:72px; top:195px; width:159px; height:19px; "/>
  256. <caption id="caption51" class="cell_1" style="left:0px; top:145px; width:70px; height:23px; text-align:left; vertical-align:middle; ">소속</caption>
  257. <input id="ipt_famyrrgstno1" ref="/root/main/suppfamydedu/emplinfolist/rregno1" class="input_essential" disabled="true" navindex="29" style="left:72px; top:123px; width:73px; height:19px; "/>
  258. <input id="ipt_famyrrgstno2" ref="/root/main/suppfamydedu/emplinfolist/rregno2" class="input_essential" disabled="true" navindex="30" style="left:158px; top:123px; width:73px; height:19px; "/>
  259. <caption id="caption74" class="cell_1" style="left:0px; top:121px; width:70px; height:23px; vertical-align:middle; ">주민번호</caption>
  260. <caption id="caption53" class="cell_1" style="left:0px; top:193px; width:70px; height:23px; vertical-align:middle; ">부서</caption>
  261. <caption id="caption42" class="cell_1" style="left:0px; top:73px; width:70px; height:23px; vertical-align:middle; ">사번</caption>
  262. <caption id="caption45" class="cell_1" style="left:0px; top:169px; width:70px; height:23px; vertical-align:middle; ">직위</caption>
  263. <input id="ipt_jobposnm" ref="/root/main/suppfamydedu/emplinfolist/jobposnm" class="input_default" disabled="true" navindex="45" style="left:72px; top:171px; width:159px; height:19px; "/>
  264. <caption id="caption59" class="search_n_b" style="left:146px; top:124px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  265. <input id="ipt_emplno2" ref="/root/main/suppfamydedu/emplinfolist/emplno" class="input_default" disabled="true" navindex="20" style="left:72px; top:75px; width:159px; height:19px; "/>
  266. <caption id="caption4" class="cell_1" style="left:0px; top:97px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
  267. <input id="ipt_emplnm2" ref="/root/main/suppfamydedu/emplinfolist/emplnm" class="input_default" disabled="true" navindex="21" style="left:72px; top:99px; width:159px; height:19px; "/>
  268. <input id="ipt_instnm" ref="/root/main/suppfamydedu/emplinfolist/instnm" class="input_essential" disabled="true" navindex="30" style="left:72px; top:147px; width:159px; height:19px; "/>
  269. <caption id="caption5" class="cell_1" style="left:0px; top:217px; width:70px; height:23px; text-align:left; vertical-align:middle; ">임용일자</caption>
  270. <input id="ipt_entcodd" ref="/root/main/suppfamydedu/emplinfolist/entcodd" class="input_essential" disabled="true" navindex="30" inputtype="date" style="left:72px; top:219px; width:159px; height:19px; "/>
  271. <caption id="caption7" class="cell_1" style="left:0px; top:241px; width:70px; height:23px; text-align:left; vertical-align:middle; ">퇴직일자</caption>
  272. <input id="ipt_retiredd" ref="/root/main/suppfamydedu/emplinfolist/retiredd" class="input_essential" disabled="true" navindex="30" inputtype="date" style="left:72px; top:243px; width:159px; height:19px; "/>
  273. <caption id="caption8" class="search_name" style="left:245px; top:19px; width:86px; height:17px; ">정산년월 :</caption>
  274. <input id="ipt_workym" ref="/root/send/suppfamydedu/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:330px; top:18px; width:100px; height:19px; "/>
  275. <select1 id="radio1" ref="/root/send/suppfamydedu/retireyn" appearance="full" cols="2" overflow="visible" style="left:810px; top:18px; width:130px; height:19px; border-style:solid; ">
  276. <choices>
  277. <item>
  278. <label>연말</label>
  279. <value>N</value>
  280. </item>
  281. <item>
  282. <label>중도퇴직</label>
  283. <value>Y</value>
  284. </item>
  285. </choices>
  286. </select1>
  287. <line id="line2" class="line_1" style="x1:235px; y1:68px; x2:1195px; y2:68px; "/>
  288. </group>
  289. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  290. <button id="button36" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
  291. <caption>저장</caption>
  292. <script type="javascript" ev:event="DOMActivate">
  293. <![CDATA[
  294. misfSave("TXRWY00501");
  295. ]]>
  296. </script>
  297. </button>
  298. <button id="button35" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
  299. <caption>초기화</caption>
  300. </button>
  301. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  302. </group>
  303. </xhtml:body>
  304. </xhtml:html>