SMRPA03600_개인별취합및조정내역관리.xrw 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>개인별 취합 및 조정내역관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <healthinsucreat>
  11. <notiym/>
  12. <rrgstno/>
  13. <emplnm/>
  14. <instnm/>
  15. <grde/>
  16. <calcamt/>
  17. <notiamt/>
  18. <yyendcalc/>
  19. <adjtamt/>
  20. <propayamt/>
  21. <rtnamt/>
  22. <lndchrgamt/>
  23. <spclmentfact/>
  24. <rrgstno1/>
  25. <rrgstno2/>
  26. <instcd/>
  27. <workgbn/>
  28. <endyn/>
  29. <mtrtadjtamt/>
  30. <mtrtpropayamt/>
  31. <mtrtrtnamt/>
  32. <mtrtlndchrgamt/>
  33. <mtrtnotiympayamt/>
  34. <notiympayamtsum/>
  35. <mtrtyyendcalc/>
  36. <mtrtcalcamt/>
  37. <mtrtnotiamt/>
  38. <notiamtsum/>
  39. <calcamtsum/>
  40. </healthinsucreat>
  41. <disadiffpayform>
  42. <healthinsulist>
  43. <notiym/>
  44. <bisplceno/>
  45. <unitbizplceno/>
  46. <notidg/>
  47. <acntcd/>
  48. <seqno/>
  49. <certno/>
  50. <emplnm/>
  51. <rrgstno/>
  52. <reductresn/>
  53. <jobkindcd/>
  54. <grde/>
  55. <remunrmmamt/>
  56. <calcinsuamt/>
  57. <calcresn/>
  58. <calcupdtbf/>
  59. <calcupdtaft/>
  60. <fromym/>
  61. <toym/>
  62. <calcamt/>
  63. <yyendcalc/>
  64. <notiamt/>
  65. <acqtdd/>
  66. <lossdd/>
  67. <instcd/>
  68. <mtrtcalcinsuamt/>
  69. <mtrtcalcamt/>
  70. <mtrtyyendcalc/>
  71. <mtrtnotiamt/>
  72. <mtrtcalcinsuamtsum/>
  73. <mtrtcalcamtsum/>
  74. <mtrtyyendcalcsum/>
  75. <mtrtnotiamtsum/>
  76. <mtrtadjtamt/>
  77. <mtrtpropayamt/>
  78. <mtrtrtnamt/>
  79. <mtrtlndchrgamt/>
  80. <mtrtnotiympayamt/>
  81. <mtrtyyendcalc/>
  82. <notiympayamtsum/>
  83. <totnotiymamt/>
  84. <mtrttotnotiymamt/>
  85. <totnotiymamtsum/>
  86. </healthinsulist>
  87. </disadiffpayform>
  88. <disadiffpayitem>
  89. <notiym/>
  90. <rrgstno/>
  91. <emplnm/>
  92. <instcd/>
  93. <grde/>
  94. <calcamt/>
  95. <notiamt/>
  96. <yyendcalc/>
  97. <adjtamt/>
  98. <propayamt/>
  99. <rtnamt/>
  100. <lndchrgamt/>
  101. <spclmentfact/>
  102. <rrgstno1/>
  103. <rrgstno2/>
  104. <workgbn/>
  105. <endyn/>
  106. <notiympayamt/>
  107. <oldinstcd/>
  108. <mtrtcalcinsuamt/>
  109. <mtrtcalcamt/>
  110. <mtrtyyendcalc/>
  111. <mtrtnotiamt/>
  112. <mtrtcalcinsuamtsum/>
  113. <mtrtcalcamtsum/>
  114. <mtrtyyendcalcsum/>
  115. <mtrtnotiamtsum/>
  116. <mtrtcalcresn/>
  117. <mtrtfromym/>
  118. <mtrttoym/>
  119. <mtrtnotiympayamt/>
  120. <mtrtadjtamt/>
  121. <mtrtpropayamt/>
  122. <mtrtrtnamt/>
  123. <mtrtlndchrgamt/>
  124. <notiamtsum/>
  125. <calcamtsum/>
  126. </disadiffpayitem>
  127. </main>
  128. <send>
  129. <searchlist>
  130. <notiym/>
  131. <instcd/>
  132. <rrgstno1/>
  133. <rrgstno2/>
  134. <emplnm/>
  135. <endyn/>
  136. <preststatcd/>
  137. <spclmentfactyn/>
  138. <workgbn/>
  139. <reductresnyn/>
  140. </searchlist>
  141. <disadiffpayitem>
  142. <rrgstno1/>
  143. <rrgstno2/>
  144. <emplnm/>
  145. <notiym/>
  146. <instcd/>
  147. <workgbn/>
  148. </disadiffpayitem>
  149. <savelist>
  150. <healthinsucreat/>
  151. </savelist>
  152. </send>
  153. <temp>
  154. <endyn/>
  155. <creatyn/>
  156. <payrefltyn/>
  157. </temp>
  158. <init>
  159. <spclmentfactyn>
  160. <label>대납금액+특이사항</label>
  161. <value>Y</value>
  162. </spclmentfactyn>
  163. <reductresnyn>
  164. <label>감면대상자</label>
  165. <value>Y</value>
  166. </reductresnyn>
  167. </init>
  168. </root>
  169. </instance>
  170. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  171. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  172. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  173. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  174. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  175. <script type="javascript" ev:event="xforms-ready">
  176. <![CDATA[
  177. fInitialize();
  178. misfGridInit(grd_healthinsucreat);
  179. misfGridInit(grd_healthinsulist);
  180. misfMsterDetailSet(grd_healthinsucreat, null, "TRRPA03601" ,"Y");
  181. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
  182. misfComboComCdList('R0146', cmb_preststatcd,'Y');
  183. rpaComboInstBase(cmb_instcd_i,getUserInfo("dutplceinstcd"));
  184. // misfComboCopyItemSet(cmb_instcd_i, "", grd_healthinsulist, "instcd");
  185. //화면 권한 설정
  186. btn_save.disabled = !(checkAuth("X"));
  187. btn_update.disabled = true;
  188. ]]>
  189. </script>
  190. <submission id="TRRPA01403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/disadiffpayitem" resultref="/root/main/disadiffpayform"/>
  191. <submission id="TRRPA03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/healthinsucreat"/>
  192. <submission id="TXRPA03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
  193. <submission id="TXRPA03602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
  194. <submission id="TRRPA01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
  195. </model>
  196. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  197. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  198. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  199. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  200. <script type="javascript">
  201. <![CDATA[
  202. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  203. function fInitialize() {
  204. model.removeNodeset("/root/main/healthinsucreat");
  205. model.removeNodeset("/root/main/disadiffpayform/healthinsulist");
  206. model.resetInstanceNode("/root/main/disadiffpayitem");
  207. model.resetInstanceNode("/root/send");
  208. model.refresh();
  209. var curDate = getCurrentDate().toDate();
  210. model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM'));
  211. model.setValue("/root/main/disadiffpayitem/notiym", curDate.getDateFormat('YYYYMM'));
  212. var instcd = getUserInfo("dutplceinstcd");
  213. // cmb_instcd.value=instcd;
  214. // cmb_instcd_i.value=instcd;
  215. }
  216. function fEnableUpdateButton() {
  217. btn_update.disabled = false;
  218. }
  219. function fRefInitialize() {
  220. model.resetInstanceNode("/root/main/disadiffpayitem");
  221. model.refresh();
  222. var curDate = ipt_notiym.value;
  223. var rrgstno1 = ipt_chldrnresdnrgst1.value;
  224. var rrgstno2 = ipt_chldrnresdnrgst2.value;
  225. var emplnm = ipt_emplnm.value;
  226. model.setValue("/root/main/disadiffpayitem/notiym", curDate);
  227. var instcd = cmb_instcd.value;
  228. cmb_instcd.value = instcd;
  229. cmb_instcd_i.value = instcd;
  230. ipt_rrgstno1_i.value = rrgstno1;
  231. ipt_rrgstno2_i.value = rrgstno2;
  232. ipt_emplnm_i.value = emplnm;
  233. }
  234. function ftotPenPayAmt(){
  235. var notiamt = 0;
  236. var yyendcalc = 0;
  237. var adjtamt = 0;
  238. var propayamt = 0;
  239. var rtnamt = 0;
  240. var lndchrgamt = 0;
  241. if(ipt_notiamt.value!=""){ // 고지금액
  242. notiamt=parseInt(ipt_notiamt.value);
  243. }
  244. /* 연말정산 금액은 수정되더라도 당월납부액에 아무런 영향을 미치지 않도록 프로그램 수정됨. (2010.04 /김미선 - 고영석선생님 요청)
  245. if(ipt_yyendcalc.value!=""){ // 연말정산
  246. yyendcalc=parseInt(ipt_yyendcalc.value);
  247. }
  248. */
  249. if(ipt_adjtamt.value!=""){ // 조정금액
  250. adjtamt=parseInt(ipt_adjtamt.value);
  251. }
  252. if(ipt_propayamt.value!=""){ // 대납금액
  253. propayamt=parseInt(ipt_propayamt.value);
  254. }
  255. if(ipt_rtnamt.value!=""){ // 환입액
  256. rtnamt=parseInt(ipt_rtnamt.value);
  257. }
  258. if(ipt_lndchrgamt.value){ // 개인징수
  259. lndchrgamt=parseInt(ipt_lndchrgamt.value);
  260. }
  261. //scholexppayamt=parseInt(scho)+parseInt(admischoolamt)+parseInt(asctfeereliztpln)+parseInt(stdasctfee);
  262. totnotiympayamt=notiamt +yyendcalc+adjtamt-propayamt-rtnamt-lndchrgamt;
  263. ipt_notiympayamt.value=totnotiympayamt;
  264. }
  265. // 건강보험 장기요양 추가 (2008.7.11 임지헌)
  266. function ftotMtrtPenPayAmt(){
  267. var mtrtnotiamt = 0;
  268. var mtrtyyendcalc = 0;
  269. var mtrtadjtamt = 0;
  270. var mtrtpropayamt = 0;
  271. var mtrtrtnamt = 0;
  272. var mtrtlndchrgamt = 0;
  273. var mtrttotnotiympayamt = 0;
  274. if(ipt_mtrtnotiamt.value!=""){
  275. mtrtnotiamt=parseInt(ipt_mtrtnotiamt.value);
  276. }
  277. /* 연말정산 금액은 수정되더라도 당월납부액에 아무런 영향을 미치지 않도록 프로그램 수정됨. (2010.04 /김미선 - 고영석선생님 요청)
  278. if(ipt_mtrtyyendcalc.value!=""){
  279. mtrtyyendcalc=parseInt(ipt_mtrtyyendcalc.value);
  280. }
  281. */
  282. if(ipt_mtrtadjtamt.value!=""){
  283. mtrtadjtamt=parseInt(ipt_mtrtadjtamt.value);
  284. }
  285. if(ipt_mtrtpropayamt.value!=""){
  286. mtrtpropayamt=parseInt(ipt_mtrtpropayamt.value);
  287. }
  288. if(ipt_mtrtrtnamt.value!=""){
  289. mtrtrtnamt=parseInt(ipt_mtrtrtnamt.value);
  290. }
  291. if(ipt_mtrtlndchrgamt.value){
  292. mtrtlndchrgamt=parseInt(ipt_mtrtlndchrgamt.value);
  293. }
  294. //scholexppayamt=parseInt(scho)+parseInt(admischoolamt)+parseInt(asctfeereliztpln)+parseInt(stdasctfee);
  295. mtrttotnotiympayamt=mtrtnotiamt +mtrtyyendcalc+mtrtadjtamt-mtrtpropayamt-mtrtrtnamt-mtrtlndchrgamt;
  296. ipt_mtrtnotiympayamt.value=mtrttotnotiympayamt;
  297. }
  298. ]]>
  299. </script>
  300. </xhtml:head>
  301. <xhtml:body style="margin-left:8; margin-right:8; ">
  302. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  303. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">개인별 취합 및 조정내역관리</caption>
  304. </group>
  305. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  306. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:50px; background-color:#fffbf2; border-color:#ffd799; "/>
  307. <caption id="caption2" class="search_name" style="left:15px; top:27px; width:105px; height:17px; ">작업년월 :</caption>
  308. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:24px; width:56px; height:22px; ">
  309. <caption>조회</caption>
  310. <script type="javascript" ev:event="DOMActivate">
  311. <![CDATA[
  312. if(!isRequiredControls("ipt_notiym"))return;
  313. misfGridInit(grd_healthinsulist);
  314. model.setValue("/root/send/searchlist/workgbn",'M');
  315. submit("TRRPA03601");
  316. model.resetInstanceNode("/root/main/disadiffpayitem");
  317. model.refresh();
  318. // fRefInitialize();
  319. // btn_beforsearch.dispatch("DOMActivate");
  320. ]]>
  321. </script>
  322. </button>
  323. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  324. <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:26px; width:75px; height:19px; ">
  325. <script type="javascript" ev:event="xforms-value-changed">
  326. <![CDATA[
  327. ipt_notiym_i.value= ipt_notiym.value;
  328. ]]>
  329. </script>
  330. </input>
  331. <caption id="caption5" class="search_name" style="left:181px; top:27px; width:99px; height:17px; ">기 관 :</caption>
  332. <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_search" appearance="minimal" style="left:265px; top:26px; width:120px; height:19px; ">
  333. <choices>
  334. <itemset>
  335. <label/>
  336. <value/>
  337. </itemset>
  338. </choices>
  339. <script type="javascript" ev:event="xforms-value-changed">
  340. <![CDATA[
  341. cmb_instcd_i.value = cmb_instcd.value;
  342. ]]>
  343. </script>
  344. </select1>
  345. <line id="line20" class="line_1" style="x1:0px; y1:434px; x2:460px; y2:435px; "/>
  346. <caption id="caption278" class="tit_2" style="left:5px; top:69px; width:188px; height:13px; ">개인별 취합 및 조정내역</caption>
  347. <line id="line207" class="line_1" style="x1:0px; y1:85px; x2:1194px; y2:85px; "/>
  348. <datagrid id="grd_healthinsucreat" nodeset="/root/main/healthinsucreat" caption="순번^고지년월^성명^주민등록번호^청구기관^근무상태^퇴직일^감면사유^정산사유^정산사유^등급^정산금액^정산금액^고지금액계^연말정산^연말정산^조정금액^조정금액^대납금액^대납금액^환입액^환입액^개인징수금^개인징수금^당월납부액^당월납부액^당월납부액^특이사항^^caption1^caption2|순번^고지년월^성명^주민등록번호^청구기관^근무상태^퇴직일^감면사유^건강^요양^등급^건강^요양^고지금액계^건강^요양^건강^요양^건강^요양^건강^요양^건강^요양^건강^요양^계^특이사항^^caption1^caption2" colsep="^" colwidth="42, 61, 62, 92, 110, 71, 70, 103, 86, 86, 51, 66, 66, 76, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 74, 309, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="8" mergecellsfixedrows="byrowrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:90px; width:1195px; height:320px; ">
  349. <col ref="numno" style="text-align:center; "/>
  350. <col ref="notiym" format="yyyy-mm" style="text-align:center; "/>
  351. <col ref="emplnm" type="output" style="text-align:center; "/>
  352. <col ref="rrgstno" type="output" format="999999-9999999" style="text-align:center; "/>
  353. <col ref="instnm" type="output" visibility="visible" style="text-align:center; "/>
  354. <col ref="preststatnm" style="text-align:center; "/>
  355. <col ref="retiredd" format="yyyy-mm-dd"/>
  356. <col ref="reductresnnm"/>
  357. <col ref="calcresnnm"/>
  358. <col ref="mtrtcalcresnnm"/>
  359. <col ref="grde" type="output" visibility="hidden" style="text-align:center; "/>
  360. <col ref="calcamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  361. <col ref="mtrtcalcamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  362. <col ref="notiamtsum" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  363. <col ref="yyendcalc" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  364. <col ref="mtrtyyendcalc" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  365. <col ref="adjtamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  366. <col ref="mtrtadjtamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  367. <col ref="propayamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  368. <col ref="mtrtpropayamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  369. <col ref="rtnamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  370. <col ref="mtrtrtnamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  371. <col ref="lndchrgamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  372. <col ref="mtrtlndchrgamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  373. <col ref="notiympayamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  374. <col ref="mtrtnotiympayamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  375. <col ref="notiympayamtsum" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  376. <col ref="spclmentfact"/>
  377. <col ref="instcd" visibility="hidden"/>
  378. <col ref="oldinstcd" visibility="hidden"/>
  379. <col ref="rrgstno1" visibility="hidden"/>
  380. <col ref="rrgstno2" visibility="hidden"/>
  381. <col ref="workgbn" visibility="hidden"/>
  382. <col ref="endyn" visibility="hidden"/>
  383. <col ref="notiamt" visibility="hidden"/>
  384. <col ref="mtrtnotiamt" visibility="hidden"/>
  385. <script type="javascript" ev:event="onclick">
  386. <![CDATA[
  387. var cur_row = grd_healthinsucreat.row ;
  388. if ( cur_row > 0 ) {
  389. fEnableUpdateButton();
  390. model.copyNode("/root/main/disadiffpayitem","/root/main/healthinsucreat["+(cur_row-1)+"]");
  391. ipt_notiym_i.disabled=true;
  392. ipt_rrgstno1_i.disabled=true;
  393. ipt_rrgstno2_i.disabled=true;
  394. ipt_emplnm_i.disabled=true;
  395. var rrgstno1=grd_healthinsucreat.valueMatrix(cur_row,grd_healthinsucreat.colRef("rrgstno1"));
  396. var rrgstno2=grd_healthinsucreat.valueMatrix(cur_row,grd_healthinsucreat.colRef("rrgstno2"));
  397. var notiym=grd_healthinsucreat.valueMatrix(cur_row,grd_healthinsucreat.colRef("notiym"));
  398. model.makeValue("/root/send/disadiffpayitem/workgbn","1");
  399. model.setValue("/root/send/disadiffpayitem/rrgstno1",rrgstno1);
  400. model.setValue("/root/send/disadiffpayitem/rrgstno2",rrgstno2);
  401. model.setValue("/root/send/disadiffpayitem/notiym",notiym);
  402. model.setValue("/root/send/disadiffpayitem/instcd","");
  403. model.setValue("/root/send/disadiffpayitem/emplnm","");
  404. submit("TRRPA01403");
  405. }
  406. model.refresh();
  407. ]]>
  408. </script>
  409. <script type="javascript" ev:event="onaftersort">
  410. <![CDATA[
  411. grd_healthinsucreat.gridToInstance();
  412. ]]>
  413. </script>
  414. </datagrid>
  415. <caption id="caption3" class="tit_2" style="left:5px; top:419px; width:139px; height:13px; ">조정내역</caption>
  416. <caption id="caption11" class="cell_1" style="left:465px; top:486px; width:75px; height:23px; vertical-align:middle; ">조정금액</caption>
  417. <select1 id="cmb_instcd_i" ref="/root/main/disadiffpayitem/instcd" class="combo_search" appearance="minimal" style="left:103px; top:489px; width:126px; height:19px; ">
  418. <choices>
  419. <itemset>
  420. <label/>
  421. <value/>
  422. </itemset>
  423. </choices>
  424. </select1>
  425. <caption id="cap_notiym_i" class="cell_1" style="left:0px; top:439px; width:100px; height:23px; vertical-align:middle; ">고지년월</caption>
  426. <caption id="cap_emplnm_i" class="cell_1" style="left:231px; top:439px; width:100px; height:23px; vertical-align:middle; ">성 명</caption>
  427. <caption id="caption30" class="cell_1" style="left:643px; top:438px; width:75px; height:23px; vertical-align:middle; ">당월납부액</caption>
  428. <line id="line25" class="line_1" style="x1:0px; y1:587px; x2:1194px; y2:587px; "/>
  429. <caption id="cap_emplnm" class="cell_1" style="left:465px; top:438px; width:75px; height:23px; vertical-align:middle; ">정산금액</caption>
  430. <caption id="caption40" class="cell_1" style="left:643px; top:486px; width:75px; height:23px; vertical-align:middle; ">대납금액</caption>
  431. <caption id="caption41" class="cell_1" style="left:0px; top:510px; width:100px; height:55px; vertical-align:middle; ">특이사항</caption>
  432. <input id="ipt_notiym_i" ref="/root/main/disadiffpayitem/notiym" class="input_search" inputtype="date" format="yyyy-mm" style="left:103px; top:441px; width:104px; height:19px; "/>
  433. <input id="ipt_notiamt" ref="/root/main/disadiffpayitem/notiamt" class="input_search" disabled="true" maxlength="9" format="(-)#,###" style="left:541px; top:464px; width:101px; height:19px; text-align:right; ">
  434. <script type="javascript" ev:event="xforms-value-changed">
  435. <![CDATA[
  436. ftotPenPayAmt();
  437. ]]>
  438. </script>
  439. </input>
  440. <input id="ipt_yyendcalc" ref="/root/main/disadiffpayitem/yyendcalc" class="input_search" maxlength="9" format="(-)#,###" style="left:720px; top:464px; width:101px; height:19px; text-align:right; ">
  441. <script type="javascript" ev:event="xforms-value-changed">
  442. <![CDATA[
  443. // ftotPenPayAmt();
  444. ]]>
  445. </script>
  446. </input>
  447. <input id="ipt_adjtamt" ref="/root/main/disadiffpayitem/adjtamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:541px; top:488px; width:101px; height:19px; text-align:right; ">
  448. <script type="javascript" ev:event="xforms-value-changed">
  449. <![CDATA[
  450. ftotPenPayAmt();
  451. ]]>
  452. </script>
  453. </input>
  454. <input id="ipt_propayamt" ref="/root/main/disadiffpayitem/propayamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:720px; top:488px; width:101px; height:19px; text-align:right; ">
  455. <script type="javascript" ev:event="xforms-value-changed">
  456. <![CDATA[
  457. ftotPenPayAmt();
  458. ]]>
  459. </script>
  460. </input>
  461. <caption id="caption10" class="cell_1" style="left:465px; top:462px; width:75px; height:23px; vertical-align:middle; ">고지금액</caption>
  462. <line id="line1" class="line_2" style="x1:0px; y1:462px; x2:460px; y2:462px; "/>
  463. <caption id="cap_rrgstno1" class="cell_1" style="left:0px; top:463px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  464. <caption id="caption309" style="left:211px; top:466px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  465. <caption id="caption15" class="tit_2" style="left:5px; top:572px; width:99px; height:13px; ">검색 리스트</caption>
  466. <input id="ipt_rtnamt" ref="/root/main/disadiffpayitem/rtnamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:541px; top:512px; width:101px; height:19px; text-align:right; ">
  467. <script type="javascript" ev:event="xforms-value-changed">
  468. <![CDATA[
  469. ftotPenPayAmt();
  470. ]]>
  471. </script>
  472. </input>
  473. <caption id="caption38" class="cell_1" style="left:465px; top:510px; width:75px; height:23px; vertical-align:middle; ">환입액</caption>
  474. <input id="ipt_lndchrgamt" ref="/root/main/disadiffpayitem/lndchrgamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:720px; top:512px; width:101px; height:19px; text-align:right; ">
  475. <script type="javascript" ev:event="xforms-value-changed">
  476. <![CDATA[
  477. ftotPenPayAmt();
  478. ]]>
  479. </script>
  480. </input>
  481. <textarea id="tex_spclmentfact" ref="/root/main/disadiffpayitem/spclmentfact" imemode="hangul" maxlength="100" style="left:103px; top:513px; width:356px; height:52px; "/>
  482. <caption id="caption45" class="cell_1" style="left:643px; top:510px; width:75px; height:23px; vertical-align:middle; ">개인징수금</caption>
  483. <button id="btn_update" class="btn2_letter2" navindex="13" style="left:362px; top:413px; width:42px; height:19px; ">
  484. <caption>수정</caption>
  485. <script type="javascript" ev:event="DOMActivate">
  486. <![CDATA[
  487. if(!isRequiredControls("ipt_notiym_i"))return;
  488. /*var endyn=model.getValue("/root/main/disadiffpayitem/endyn");
  489. if(endyn =='Y'){
  490. messageBox(" 마감완료된 자료는 수정 ","E001");
  491. return;
  492. }*/
  493. var cur_row = grd_healthinsucreat.row; // 행 번호 가져오기
  494. if (cur_row > 0) {
  495. /*
  496. // 그리드에 추가
  497. var notiympayamtsum = 0;
  498. notiympayamtsum = parseInt(model.getValue("/root/main/disadiffpayitem/mtrtnotiympayamt")) + parseInt(model.getValue("/root/main/disadiffpayitem/notiympayamt"))
  499. model.copyNode("/root/main/healthinsucreat["+(cur_row-1)+"]","/root/main/disadiffpayitem");
  500. model.copyNode("/root/main/healthinsucreat["+(cur_row-1)+"]/notiympayamtsum", notiympayamtsum);
  501. */
  502. // 그리드에 추가
  503. model.copyNode("/root/main/healthinsucreat["+(cur_row-1)+"]","/root/main/disadiffpayitem");
  504. model.setValue("/root/main/healthinsucreat["+(cur_row-1)+"]/notiympayamtsum", parseInt(ipt_notiympayamt.value)+ parseInt(ipt_mtrtnotiympayamt.value)) ;
  505. model.setValue("/root/main/healthinsucreat["+(cur_row-1)+"]/instcd", cmb_instcd_i.value) ;
  506. model.setValue("/root/main/healthinsucreat["+(cur_row-1)+"]/instnm", cmb_instcd_i.label) ;
  507. grd_healthinsucreat.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  508. model.refresh();
  509. }
  510. var updtdata = getGridUpdateData(grd_healthinsucreat);
  511. if (updtdata == "" ) {
  512. messageBox("변경된 데이터가","I004");
  513. return;
  514. }
  515. var retMes = messageBox("수정 하시겠습니까?", "Q999");
  516. if ( retMes != 6) {
  517. return;
  518. }
  519. misfSave("TXRPA03601");
  520. ]]>
  521. </script>
  522. </button>
  523. <button id="btn_delete" class="btn2_letter3" navindex="14" style="left:407px; top:413px; width:53px; height:19px; ">
  524. <caption>지우기</caption>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. model.resetInstanceNode("/root/main/disadiffpayitem");
  528. btn_update.disabled=true;
  529. ipt_notiym_i.disabled=false;
  530. ipt_rrgstno1_i.disabled=false;
  531. ipt_rrgstno2_i.disabled=false;
  532. ipt_emplnm_i.disabled=false;
  533. cmb_instcd_i.disabled=false;
  534. model.refresh();
  535. var notiym=model.getValue("/root/send/searchlist/notiym");
  536. ipt_notiym_i.value=notiym;
  537. ]]>
  538. </script>
  539. </button>
  540. <button id="btn_rrgstno" class="icon_search" style="left:339px; top:467px; width:16px; height:16px; ">
  541. <caption/>
  542. <script type="javascript" ev:event="DOMActivate">
  543. <![CDATA[
  544. if(ipt_rrgstno1_i.value=="" && ipt_rrgstno2_i.value=="" ){
  545. messageBox("주민등록번호는 ","I003");
  546. return;
  547. }
  548. if(!isRequiredControls("ipt_notiym_i"))return;
  549. model.setValue("/root/main/disadiffpayitem/workgbn","1");
  550. submit("TRRPA01403");
  551. ]]>
  552. </script>
  553. </button>
  554. <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" class="input_search" imemode="hangul" style="left:700px; top:26px; width:70px; height:19px; ">
  555. <script type="javascript" ev:event="onkeyup">
  556. <![CDATA[
  557. inputEnterKey("btn_search", "DOMActivate");
  558. ]]>
  559. </script>
  560. </input>
  561. <caption id="caption32" style="left:545px; top:24px; width:16px; height:19px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  562. <caption id="caption34" class="search_name" style="left:405px; top:27px; width:99px; height:17px; ">주민번호 :</caption>
  563. <caption id="caption37" class="search_name" style="left:631px; top:27px; width:85px; height:17px; ">성 명 :</caption>
  564. <input id="ipt_chldrnresdnrgst1" ref="/root/send/searchlist/rrgstno1" class="input_search" maxlength="6" style="left:486px; top:26px; width:60px; height:19px; ">
  565. <script type="javascript" ev:event="onkeypress">
  566. <![CDATA[
  567. inputEnterKey("btn_search", "DOMActivate");
  568. ]]>
  569. </script>
  570. <script type="javascript" ev:event="onkeyup">
  571. <![CDATA[
  572. inputEnterKey("btn_search", "DOMActivate");
  573. ]]>
  574. </script>
  575. </input>
  576. <input id="ipt_chldrnresdnrgst2" ref="/root/send/searchlist/rrgstno2" class="input_search" maxlength="8" style="left:561px; top:26px; width:60px; height:19px; ">
  577. <script type="javascript" ev:event="onkeypress">
  578. <![CDATA[
  579. inputEnterKey("btn_search", "DOMActivate");
  580. ]]>
  581. </script>
  582. <script type="javascript" ev:event="onkeyup">
  583. <![CDATA[
  584. inputEnterKey("btn_search", "DOMActivate");
  585. ]]>
  586. </script>
  587. </input>
  588. <input id="ipt_notiympayamt" ref="/root/main/disadiffpayitem/notiympayamt" class="input_search" disabled="true" maxlength="2" format="(-)#,###" style="left:720px; top:440px; width:101px; height:19px; text-align:right; "/>
  589. <button id="btn_emplnm" class="icon_search" style="left:441px; top:443px; width:16px; height:16px; ">
  590. <caption/>
  591. <script type="javascript" ev:event="DOMActivate">
  592. <![CDATA[
  593. if(!isRequiredControls("ipt_emplnm_i","ipt_notiym_i"))return;
  594. model.setValue("/root/send/disadiffpayitem/workgbn","1");
  595. submit("TRRPA01403");
  596. ]]>
  597. </script>
  598. </button>
  599. <input id="ipt_emplnm_i" ref="/root/main/disadiffpayitem/emplnm" class="input_search" imemode="hangul" maxlength="30" style="left:333px; top:441px; width:103px; height:19px; ">
  600. <script type="javascript" ev:event="onkeyup">
  601. <![CDATA[
  602. /* Enter Key입력시 이벤트 발생 */
  603. inputEnterKey("btn_emplnm", "DOMActivate");
  604. ]]>
  605. </script>
  606. </input>
  607. <input id="ipt_rrgstno1_i" ref="/root/main/disadiffpayitem/rrgstno1" class="input_search" maxlength="6" style="left:103px; top:465px; width:104px; height:19px; ">
  608. <script type="javascript" ev:event="onkeyup">
  609. <![CDATA[
  610. inputEnterKey("btn_rrgstno", "DOMActivate");
  611. ]]>
  612. </script>
  613. </input>
  614. <input id="ipt_rrgstno2_i" ref="/root/main/disadiffpayitem/rrgstno2" class="input_search" maxlength="8" style="left:231px; top:465px; width:104px; height:19px; ">
  615. <script type="javascript" ev:event="onkeyup">
  616. <![CDATA[
  617. inputEnterKey("btn_rrgstno", "DOMActivate");
  618. ]]>
  619. </script>
  620. </input>
  621. <line id="line2" class="line_2" style="x1:0px; y1:486px; x2:460px; y2:486px; "/>
  622. <caption id="cap_instcd_i" class="cell_1" style="left:0px; top:487px; width:100px; height:23px; vertical-align:middle; ">기 관</caption>
  623. <button id="button1" class="icon_search" style="left:232px; top:490px; width:16px; height:16px; ">
  624. <caption/>
  625. <script type="javascript" ev:event="DOMActivate">
  626. <![CDATA[
  627. if(!isRequiredControls("ipt_notiym_i","cmb_instcd_i"))return;
  628. model.makeValue("/root/main/disadiffpayitem/workgbn","1");
  629. submit("TRRPA01403");
  630. ]]>
  631. </script>
  632. </button>
  633. <input id="ipt_calcamt" ref="/root/main/disadiffpayitem/calcamt" class="input_search" disabled="true" maxlength="9" format="(-)#,###" style="left:541px; top:440px; width:101px; height:19px; text-align:right; ">
  634. <script type="javascript" ev:event="xforms-value-changed">
  635. <![CDATA[
  636. ftotPenPayAmt();
  637. ]]>
  638. </script>
  639. </input>
  640. <button id="btn_beforsearch" class="icon_search" style="left:211px; top:442px; width:16px; height:16px; ">
  641. <caption/>
  642. <script type="javascript" ev:event="DOMActivate">
  643. <![CDATA[
  644. if(!isRequiredControls("ipt_notiym_i","cmb_instcd_i"))return;
  645. model.setValue("/root/main/disadiffpayitem/workgbn","1");
  646. submit("TRRPA01403");
  647. ]]>
  648. </script>
  649. </button>
  650. <datagrid id="grd_healthinsulist" nodeset="/root/main/disadiffpayform/healthinsulist" caption="고지년월^사업장번호^단위사업장^단위기관^성명^주민등록번호^고지차수^회계^일련번호^감면사유^보수월액^산출보험료^산출보험료^산출보험료^정산사유^정산사유^정산사유^정산사유^정산사유^정산사유^정산금액^정산금액^정산금액^고지금액^고지금액^고지금액^연말정산^연말정산^연말정산^증번호^직종코드^등급^변경전^변경후^취득일자^상실일자^상실일자2^단위사업장|고지년월^사업장번호^단위사업장^단위기관^성명^주민등록번호^고지차수^회계^일련번호^감면사유^보수월액^건강^요양^계^건강보험^시작월^종료월^요양보험^시작월^종료월^건강^요양^계^건강^요양^계^건강^요양^계^증번호^직종코드^등급^변경전^변경후^취득일자^상실일자^상실일자2^단위사업장" colwidth="67, 16, 26, 60, 65, 90, 23, 16, 14, 105, 73, 66, 66, 66, 100, 70, 70, 100, 70, 70, 66, 66, 66, 66, 66, 66, 66, 66, 66, 82, 42, 42, 60, 60, 70, 70, 60, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" frozencols="11" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:592px; width:1195px; height:147px; text-align:center; ">
  651. <col ref="notiym" visibility="hidden" format="yyyy-mm"/>
  652. <col ref="bisplceno" visibility="hidden"/>
  653. <col ref="unitbizplcenm" visibility="hidden"/>
  654. <col ref="unitbizplceno" style="text-align:center; "/>
  655. <col ref="emplnm" style="text-align:center; "/>
  656. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  657. <col ref="notidg" visibility="hidden" style="text-align:center; "/>
  658. <col ref="acntcd" visibility="hidden" style="text-align:center; "/>
  659. <col ref="seqno" visibility="hidden"/>
  660. <col ref="reductresnnm" style="text-align:center; "/>
  661. <col ref="remunrmmamt" format="#,##0" style="text-align:right; "/>
  662. <col ref="calcinsuamt" format="#,##0" style="text-align:right; "/>
  663. <col ref="mtrtcalcinsuamt" format="#,##0" style="text-align:right; "/>
  664. <col ref="mtrtcalcinsuamtsum" format="#,##0" style="text-align:right; "/>
  665. <col ref="calcresnnm"/>
  666. <col ref="fromym" format="yyyy-mm"/>
  667. <col ref="toym" format="yyyy-mm"/>
  668. <col ref="mtrtcalcresnnm"/>
  669. <col ref="mtrtfromym" format="yyyy-mm"/>
  670. <col ref="mtrttoym" format="yyyy-mm"/>
  671. <col ref="calcamt" format="(-)#,##0" style="text-align:right; "/>
  672. <col ref="mtrtcalcamt" format="(-)#,##0" style="text-align:right; "/>
  673. <col ref="mtrtcalcamtsum" format="(-)#,##0" style="text-align:right; "/>
  674. <col ref="notiamt" format="(-)#,##0" style="text-align:right; "/>
  675. <col ref="mtrtnotiamt" format="(-)#,##0" style="text-align:right; "/>
  676. <col ref="mtrtnotiamtsum" format="(-)#,##0" style="text-align:right; "/>
  677. <col ref="yyendcalc" format="(-)#,##0" style="text-align:right; "/>
  678. <col ref="mtrtyyendcalc" format="(-)#,##0" style="text-align:right; "/>
  679. <col ref="mtrtyyendcalcsum" format="(-)#,##0" style="text-align:right; "/>
  680. <col ref="certno" style="text-align:center; "/>
  681. <col ref="jobkindcd" visibility="hidden" style="text-align:center; "/>
  682. <col ref="grde" style="text-align:center; "/>
  683. <col ref="calcupdtbf" visibility="hidden" style="text-align:center; "/>
  684. <col ref="calcupdtaft" visibility="hidden" style="text-align:center; "/>
  685. <col ref="acqtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  686. <col ref="lossddnm" format="yyyy-mm-dd" style="text-align:center; "/>
  687. <col ref="lossdd" visibility="hidden"/>
  688. <col ref="reductresn" visibility="hidden"/>
  689. <col ref="calcresn" visibility="hidden"/>
  690. </datagrid>
  691. <input id="input1" ref="/root/main/disadiffpayitem/rrgstno" class="input_search" visibility="hidden" maxlength="7" style="left:157px; top:413px; width:98px; height:19px; ">
  692. <script type="javascript" ev:event="onkeyup">
  693. <![CDATA[
  694. inputEnterKey("btn_rrgstno", "DOMActivate");
  695. ]]>
  696. </script>
  697. </input>
  698. <input id="ipt_workgbn" ref="/root/main/disadiffpayitem/workgbn" class="input_search" visibility="hidden" maxlength="7" style="left:257px; top:413px; width:50px; height:19px; ">
  699. <script type="javascript" ev:event="onkeyup">
  700. <![CDATA[
  701. inputEnterKey("btn_rrgstno", "DOMActivate");
  702. ]]>
  703. </script>
  704. </input>
  705. <input id="ipt_endyn" ref="/root/main/disadiffpayitem/endyn" class="input_search" visibility="hidden" maxlength="7" style="left:309px; top:413px; width:50px; height:19px; ">
  706. <script type="javascript" ev:event="onkeyup">
  707. <![CDATA[
  708. inputEnterKey("btn_rrgstno", "DOMActivate");
  709. ]]>
  710. </script>
  711. </input>
  712. <input id="input2" ref="/root/send/searchlist/endyn" visibility="hidden" style="left:685px; top:60px; width:85px; height:19px; "/>
  713. <button id="btn_exceldetail" class="btn2_letter4" style="left:1130px; top:63px; width:64px; height:19px; ">
  714. <caption>엑셀저장</caption>
  715. <script type="javascript" ev:event="DOMActivate">
  716. <![CDATA[
  717. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  718. if (fileName != "")
  719. {
  720. grd_healthinsucreat.saveExcel(fileName, "sheetname:savetype", true, true, "", "");
  721. }
  722. ]]>
  723. </script>
  724. </button>
  725. <input id="input3" ref="/root/main/disadiffpayitem/grde" class="input_search" visibility="hidden" maxlength="2" style="left:335px; top:491px; width:126px; height:19px; "/>
  726. <caption id="caption9" class="search_name" style="left:775px; top:27px; width:81px; height:17px; ">근무상태:</caption>
  727. <select1 id="cmb_preststatcd" ref="/root/send/searchlist/preststatcd" class="combo_s_essential" appearance="minimal" style="left:858px; top:26px; width:95px; height:19px; ">
  728. <choices>
  729. <itemset>
  730. <label/>
  731. <value/>
  732. </itemset>
  733. </choices>
  734. </select1>
  735. <select id="ckb_spclmentfactyn" ref="/root/send/searchlist/spclmentfactyn" class="checkbox_search" overflow="visible" appearance="full" style="left:965px; top:15px; width:130px; height:15px; ">
  736. <choices>
  737. <itemset nodeset="/root/init/spclmentfactyn">
  738. <label ref="label"/>
  739. <value ref="value"/>
  740. </itemset>
  741. </choices>
  742. </select>
  743. <input id="input4" ref="/root/main/disadiffpayitem/oldinstcd" class="input_search" visibility="hidden" maxlength="7" style="left:115px; top:411px; width:40px; height:19px; ">
  744. <script type="javascript" ev:event="onkeyup">
  745. <![CDATA[
  746. inputEnterKey("btn_rrgstno", "DOMActivate");
  747. ]]>
  748. </script>
  749. </input>
  750. <caption id="caption1" class="tit_2" style="left:470px; top:419px; width:139px; height:13px; ">건강보험 조정내역</caption>
  751. <caption id="caption12" class="cell_1" style="left:465px; top:462px; width:75px; height:23px; vertical-align:middle; ">고지금액</caption>
  752. <caption id="caption13" class="cell_1" style="left:465px; top:438px; width:75px; height:23px; vertical-align:middle; ">정산금액</caption>
  753. <caption id="caption14" class="cell_1" style="left:643px; top:462px; width:75px; height:23px; vertical-align:middle; ">연말정산</caption>
  754. <caption id="caption16" class="cell_1" style="left:465px; top:486px; width:75px; height:23px; vertical-align:middle; ">조정금액</caption>
  755. <caption id="caption18" class="cell_1" style="left:465px; top:510px; width:75px; height:23px; vertical-align:middle; ">환입액</caption>
  756. <line id="line15" class="line_1" style="x1:466px; y1:434px; x2:821px; y2:435px; "/>
  757. <caption id="caption4" class="cell_1" style="left:643px; top:486px; width:75px; height:23px; vertical-align:middle; ">대납금액</caption>
  758. <caption id="caption7" class="cell_1" style="left:643px; top:438px; width:75px; height:23px; vertical-align:middle; ">당월납부액</caption>
  759. <caption id="caption22" class="cell_1" style="left:643px; top:510px; width:75px; height:23px; vertical-align:middle; ">개인징수금</caption>
  760. <line id="line21" class="line_2" style="x1:468px; y1:485px; x2:823px; y2:485px; "/>
  761. <line id="line23" class="line_2" style="x1:465px; y1:461px; x2:820px; y2:461px; "/>
  762. <line id="line24" class="line_2" style="x1:465px; y1:509px; x2:820px; y2:509px; "/>
  763. <line id="line27" class="line_2" style="x1:465px; y1:533px; x2:820px; y2:533px; "/>
  764. <input id="ipt_mtrtrtnamt" ref="/root/main/disadiffpayitem/mtrtrtnamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:902px; top:512px; width:101px; height:19px; text-align:right; ">
  765. <script type="javascript" ev:event="xforms-value-changed">
  766. <![CDATA[
  767. ftotMtrtPenPayAmt();
  768. ]]>
  769. </script>
  770. </input>
  771. <input id="ipt_mtrtyyendcalc" ref="/root/main/disadiffpayitem/mtrtyyendcalc" class="input_search" maxlength="9" format="(-)#,###" style="left:1081px; top:464px; width:101px; height:19px; text-align:right; ">
  772. <script type="javascript" ev:event="xforms-value-changed">
  773. <![CDATA[
  774. // ftotMtrtPenPayAmt();
  775. ]]>
  776. </script>
  777. </input>
  778. <input id="ipt_mtrtpropayamt" ref="/root/main/disadiffpayitem/mtrtpropayamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:1081px; top:488px; width:101px; height:19px; text-align:right; ">
  779. <script type="javascript" ev:event="xforms-value-changed">
  780. <![CDATA[
  781. ftotMtrtPenPayAmt();
  782. ]]>
  783. </script>
  784. </input>
  785. <input id="ipt_mtrtcalcamt" ref="/root/main/disadiffpayitem/mtrtcalcamt" class="input_search" disabled="true" maxlength="9" format="(-)#,###" style="left:902px; top:440px; width:101px; height:19px; text-align:right; ">
  786. <script type="javascript" ev:event="xforms-value-changed">
  787. <![CDATA[
  788. ftotMtrtPenPayAmt();
  789. ]]>
  790. </script>
  791. </input>
  792. <input id="ipt_mtrtnotiympayamt" ref="/root/main/disadiffpayitem/mtrtnotiympayamt" class="input_search" disabled="true" maxlength="2" format="(-)#,###" style="left:1081px; top:440px; width:101px; height:19px; text-align:right; "/>
  793. <line id="line3" class="line_2" style="x1:829px; y1:485px; x2:1184px; y2:485px; "/>
  794. <caption id="caption28" class="cell_1" style="left:1004px; top:486px; width:75px; height:23px; vertical-align:middle; ">대납금액</caption>
  795. <input id="ipt_mtrtnotiamt" ref="/root/main/disadiffpayitem/mtrtnotiamt" class="input_search" disabled="true" maxlength="9" format="(-)#,###" style="left:902px; top:464px; width:101px; height:19px; text-align:right; ">
  796. <script type="javascript" ev:event="xforms-value-changed">
  797. <![CDATA[
  798. ftotMtrtPenPayAmt();
  799. ]]>
  800. </script>
  801. </input>
  802. <caption id="caption29" class="cell_1" style="left:1004px; top:438px; width:75px; height:23px; vertical-align:middle; ">당월납부액</caption>
  803. <line id="line4" class="line_2" style="x1:826px; y1:461px; x2:1181px; y2:461px; "/>
  804. <caption id="caption31" class="cell_1" style="left:826px; top:486px; width:75px; height:23px; vertical-align:middle; ">조정금액</caption>
  805. <input id="ipt_mtrtlndchrgamt" ref="/root/main/disadiffpayitem/mtrtlndchrgamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:1081px; top:512px; width:101px; height:19px; text-align:right; ">
  806. <script type="javascript" ev:event="xforms-value-changed">
  807. <![CDATA[
  808. ftotMtrtPenPayAmt();
  809. ]]>
  810. </script>
  811. </input>
  812. <input id="ipt_mtrtadjtamt" ref="/root/main/disadiffpayitem/mtrtadjtamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:902px; top:488px; width:101px; height:19px; text-align:right; ">
  813. <script type="javascript" ev:event="xforms-value-changed">
  814. <![CDATA[
  815. ftotMtrtPenPayAmt();
  816. ]]>
  817. </script>
  818. </input>
  819. <line id="line5" class="line_2" style="x1:826px; y1:509px; x2:1181px; y2:509px; "/>
  820. <caption id="caption33" class="cell_1" style="left:826px; top:462px; width:75px; height:23px; vertical-align:middle; ">고지금액</caption>
  821. <caption id="caption35" class="tit_2" style="left:831px; top:419px; width:139px; height:13px; ">장기요양조정내역</caption>
  822. <caption id="caption36" class="cell_1" style="left:826px; top:462px; width:75px; height:23px; vertical-align:middle; ">고지금액</caption>
  823. <caption id="caption39" class="cell_1" style="left:1004px; top:510px; width:75px; height:23px; vertical-align:middle; ">개인징수금</caption>
  824. <caption id="caption42" class="cell_1" style="left:826px; top:438px; width:75px; height:23px; vertical-align:middle; ">정산금액</caption>
  825. <caption id="caption43" class="cell_1" style="left:826px; top:486px; width:75px; height:23px; vertical-align:middle; ">조정금액</caption>
  826. <caption id="caption44" class="cell_1" style="left:826px; top:438px; width:75px; height:23px; vertical-align:middle; ">정산금액</caption>
  827. <line id="line6" class="line_1" style="x1:827px; y1:434px; x2:1182px; y2:435px; "/>
  828. <caption id="caption46" class="cell_1" style="left:826px; top:462px; width:75px; height:23px; vertical-align:middle; ">고지금액</caption>
  829. <caption id="caption47" class="cell_1" style="left:1004px; top:510px; width:75px; height:23px; vertical-align:middle; ">개인징수금</caption>
  830. <line id="line7" class="line_2" style="x1:826px; y1:533px; x2:1181px; y2:533px; "/>
  831. <caption id="caption48" class="cell_1" style="left:1004px; top:462px; width:75px; height:23px; vertical-align:middle; ">연말정산</caption>
  832. <caption id="caption49" class="cell_1" style="left:1004px; top:486px; width:75px; height:23px; vertical-align:middle; ">대납금액</caption>
  833. <caption id="caption50" class="cell_1" style="left:826px; top:438px; width:75px; height:23px; vertical-align:middle; ">정산금액</caption>
  834. <caption id="caption51" class="cell_1" style="left:826px; top:486px; width:75px; height:23px; vertical-align:middle; ">조정금액</caption>
  835. <caption id="caption52" class="cell_1" style="left:1004px; top:462px; width:75px; height:23px; vertical-align:middle; ">연말정산</caption>
  836. <caption id="caption53" class="cell_1" style="left:826px; top:510px; width:75px; height:23px; vertical-align:middle; ">환입액</caption>
  837. <caption id="caption54" class="cell_1" style="left:826px; top:510px; width:75px; height:23px; vertical-align:middle; ">환입액</caption>
  838. <caption id="caption55" class="cell_1" style="left:1004px; top:438px; width:75px; height:23px; vertical-align:middle; ">당월납부액</caption>
  839. <caption id="caption56" class="cell_1" style="left:826px; top:486px; width:75px; height:23px; vertical-align:middle; ">조정금액</caption>
  840. <caption id="caption57" class="cell_1" style="left:826px; top:510px; width:75px; height:23px; vertical-align:middle; ">환입액</caption>
  841. <caption id="caption58" class="cell_1" style="left:826px; top:462px; width:75px; height:23px; vertical-align:middle; ">고지금액</caption>
  842. <caption id="caption60" class="cell_1" style="left:826px; top:510px; width:75px; height:23px; vertical-align:middle; ">환입액</caption>
  843. <caption id="caption61" class="cell_1" style="left:826px; top:438px; width:75px; height:23px; vertical-align:middle; ">정산금액</caption>
  844. <line id="line8" class="line_2" style="x1:0px; y1:510px; x2:460px; y2:510px; "/>
  845. <select id="ckb_reductresnyn" ref="/root/send/searchlist/reductresnyn" class="checkbox_search" overflow="visible" appearance="full" style="left:965px; top:35px; width:130px; height:15px; ">
  846. <choices>
  847. <itemset nodeset="/root/init/reductresnyn">
  848. <label ref="label"/>
  849. <value ref="value"/>
  850. </itemset>
  851. </choices>
  852. </select>
  853. </group>
  854. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  855. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  856. <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:900px; top:3px; width:56px; height:22px; ">
  857. <caption>저장</caption>
  858. <script type="javascript" ev:event="DOMActivate">
  859. <![CDATA[
  860. var updtdata = getGridUpdateData(grd_healthinsucreat);
  861. if (updtdata == "" ) {
  862. messageBox("변경된 데이터가","I004");
  863. return;
  864. }
  865. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  866. if ( retMes != 6) {
  867. return;
  868. }
  869. misfSave("TXRPA03601");
  870. ]]>
  871. </script>
  872. </button>
  873. <button id="btn_clear" class="btn4_letter3" style="left:960px; top:3px; width:68px; height:22px; ">
  874. <caption>초기화</caption>
  875. <script type="javascript" ev:event="DOMActivate">
  876. <![CDATA[
  877. var updtdata = getGridUpdateData(grd_healthinsucreat);
  878. if (updtdata != "") {
  879. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  880. if (ret != 6) { // not OK
  881. return;
  882. }
  883. }
  884. fInitialize();
  885. ipt_notiym_i.disabled=false;
  886. ipt_rrgstno1_i.disabled=false;
  887. ipt_rrgstno2_i.disabled=false;
  888. ipt_emplnm_i.disabled=false;
  889. cmb_instcd_i.disabled=false;
  890. ]]>
  891. </script>
  892. </button>
  893. <button id="button3" class="btn4_letter4" style="left:1030px; top:3px; width:80px; height:22px; ">
  894. <caption>자료마감</caption>
  895. <script type="javascript" ev:event="DOMActivate">
  896. <![CDATA[
  897. var updtdata = getGridUpdateData(grd_healthinsucreat);
  898. if (updtdata != "") {
  899. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  900. if (ret != 6) { // not OK
  901. return;
  902. }
  903. }
  904. var retMes = messageBox("자료를 마감하시겠습니까?", "Q999");
  905. if ( retMes != 6) {
  906. return;
  907. }
  908. if(!isRequiredControls("ipt_notiym"))return;
  909. submit("TRRPA01402");
  910. var endyn=model.getValue("/root/temp/endyn");
  911. var creatyn=model.getValue("/root/temp/creatyn");
  912. if(creatyn !='Y'){
  913. messageBox("해당월의 자료가 존재하지 않아 마감할 수 ","I004");
  914. return;
  915. }
  916. if(endyn =='Y'){
  917. messageBox("해당월의 자료가 이미 마감 ","I001");
  918. return;
  919. }
  920. model.setValue("/root/send/searchlist/endyn","Y");
  921. submit("TXRPA03602");
  922. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  923. messageBox("작업이","I001");
  924. model.refresh();
  925. }
  926. ]]>
  927. </script>
  928. </button>
  929. <button id="button4" class="btn4_letter4" style="left:1112px; top:3px; width:80px; height:22px; ">
  930. <caption>마감취소</caption>
  931. <script type="javascript" ev:event="DOMActivate">
  932. <![CDATA[
  933. var updtdata = getGridUpdateData(grd_healthinsucreat);
  934. if (updtdata != "") {
  935. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  936. if (ret != 6) { // not OK
  937. return;
  938. }
  939. }
  940. var retMes = messageBox("자료 마감을 취소하시겠습니까?", "Q999");
  941. if ( retMes != 6) {
  942. return;
  943. }
  944. if(!isRequiredControls("ipt_notiym"))return;
  945. submit("TRRPA01402");
  946. var payrefltyn=model.getValue("/root/temp/payrefltyn");
  947. if(payrefltyn =='Y'){
  948. messageBox("급여반영이 완료된 자료는 취소 할 수 ","I004");
  949. return;
  950. }
  951. model.setValue("/root/send/searchlist/endyn","N");
  952. submit("TXRPA03602");
  953. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  954. messageBox("작업이","I001");
  955. model.refresh();
  956. }
  957. ]]>
  958. </script>
  959. </button>
  960. </group>
  961. </xhtml:body>
  962. </xhtml:html>