SMRWS00200_임금시뮬레이션작업.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  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. <simulitem>
  11. <simulitemlist/>
  12. </simulitem>
  13. <paysimulationamt>
  14. <paysimulationamtlist/>
  15. <incretpayratelist/>
  16. </paysimulationamt>
  17. <excelsimulitem>
  18. <excelsimulitemlist/>
  19. <excelsimulitem>
  20. <excelsimulitemlist/>
  21. </excelsimulitem>
  22. </excelsimulitem>
  23. <promotnsimulation>
  24. <promotnsimulationlist/>
  25. </promotnsimulation>
  26. <payclsupsimulation>
  27. <payclsupsimulationlist/>
  28. </payclsupsimulation>
  29. </main>
  30. <send>
  31. <simulitem>
  32. <instcd/>
  33. <saldfrayflag/>
  34. <workym/>
  35. <appdd/>
  36. <fromym/>
  37. <toym/>
  38. <workflag/>
  39. <prfshipflag/>
  40. <scrngvaluym>200903</scrngvaluym>
  41. <promotnflag>10</promotnflag>
  42. <workflag2>A</workflag2>
  43. </simulitem>
  44. <save>
  45. <simulitemlist/>
  46. </save>
  47. <simulcalc>
  48. <instcd/>
  49. <saldfrayflag/>
  50. <payym/>
  51. <fromym/>
  52. <toym/>
  53. <workflag/>
  54. <prfshipflag/>
  55. </simulcalc>
  56. <paysimulationamt>
  57. <payinst/>
  58. <fromym/>
  59. <toym/>
  60. <workflag/>
  61. <prfshipflag/>
  62. <workym/>
  63. </paysimulationamt>
  64. </send>
  65. <init>
  66. <temp/>
  67. </init>
  68. <hidden/>
  69. </root>
  70. </instance>
  71. <script type="javascript" ev:event="xforms-ready">
  72. <![CDATA[
  73. misfGridInit(grd_simulitemlist);
  74. misfGridInit(grd_payamtsimulist);
  75. misfGridInit(grd_promotnsimulationlist);
  76. misfGridInit(grd_payclsupsimulationlist);
  77. misfMsterDetailSet(grd_simulitemlist, null, "TRRWS00201", "Y");
  78. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  79. misfComboComCdListMulti("R0323,R0324,R0058","cmb_saldfrayflag,grd_simulitemlist.rateamtflag,cmb_prfshipflag");
  80. //misfComboComCdListMulti("Z0007,R0112,R0324","cmb_instcd,cmb_saldfrayflag,grd_simulitemlist.rateamtflag");
  81. addComboItem( "cmb_prfshipflag", "[-- 전체 --]", "%", "above");
  82. model.setValue(cmb_prfshipflag.attribute("ref"), "%");
  83. ipt_workym.value = getCurrentDate().toDate("YYYYMM").getDateFormat("YYYYMM");
  84. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  85. model.setValue(cmb_workflag.attribute("ref"), "A");
  86. misfGetUserAuth();
  87. if (DUTY_PAY_YN == "Y" ) {
  88. cmb_instcd.disabled = false;
  89. }
  90. else {
  91. cmb_instcd.disabled = true;
  92. }
  93. model.refresh();
  94. model.setFocus("cmb_instcd");
  95. ]]>
  96. </script>
  97. <submission id="TRRWS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/simulitem" resultref="/root/main/simulitem"/>
  98. <submission id="TXRWS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  99. <submission id="TXRWS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/simulitem" resultref="/root/hidden/temp"/>
  100. <submission id="TXRWS00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  101. <submission id="TXRWS00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/simulcalc" resultref="/root/hidden/temp"/>
  102. <submission id="TRRWS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paysimulationamt" resultref="/root/main/paysimulationamt"/>
  103. <submission id="TRRWS00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/simulitem" resultref="/root/main/excelsimulitem"/>
  104. <submission id="TRRWS00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/simulitem" resultref="/root/main/promotnsimulation"/>
  105. <bind id="promotamt" ref="/root/main/promotnsimulation/promotnsimulationlist/promotamt" calculate="../payitemminus * ../promotcnt" type="xsd:double"/>
  106. <submission id="TRRWS00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/simulitem" resultref="/root/main/payclsupsimulation"/>
  107. </model>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  112. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  113. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  114. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  115. <script type="javascript">
  116. <![CDATA[
  117. function fControlVisibleSet(pWorkflag) {
  118. if (pWorkflag == "A") {
  119. caption34.visible = true;
  120. btn_grdaddsimulitemlist.visible = true;
  121. btn_grddelsimulitemlist.visible = true;
  122. cap_appdd.visible = true;
  123. ipt_appdd.visible = true;
  124. btn_makepayitem.visible = true;
  125. btn_baseapp.visible = true;
  126. line9.visible = true;
  127. grd_simulitemlist.visible = true;
  128. caption1.visible = true;
  129. btn_amtsearch.visible = true;
  130. //btn_saveexcel.visible = true;
  131. line1.visible = true;
  132. grd_payamtsimulist.visible = true;
  133. grd_incretpayratelist.visible = true;
  134. line2.visible = false;
  135. grd_promotnsimulationlist.visible = false;
  136. caption2.visible = false;
  137. grd_payclsupsimulationlist.visible = false;
  138. caption4.visible = false;
  139. }
  140. else if (pWorkflag == "C") {
  141. caption34.visible = false;
  142. btn_grdaddsimulitemlist.visible = false;
  143. btn_grddelsimulitemlist.visible = false;
  144. cap_appdd.visible = false;
  145. ipt_appdd.visible = false;
  146. btn_makepayitem.visible = false;
  147. btn_baseapp.visible = false;
  148. line9.visible = false;
  149. grd_simulitemlist.visible = false;
  150. caption1.visible = false;
  151. btn_amtsearch.visible = false;
  152. //btn_saveexcel.visible = false;
  153. line1.visible = false;
  154. grd_payamtsimulist.visible = false;
  155. grd_incretpayratelist.visible = false;
  156. line2.visible = true;
  157. grd_promotnsimulationlist.visible = true;
  158. caption2.visible = true;
  159. grd_payclsupsimulationlist.visible = false;
  160. caption4.visible = false;
  161. }
  162. else if (pWorkflag == "B") {
  163. caption34.visible = false;
  164. btn_grdaddsimulitemlist.visible = false;
  165. btn_grddelsimulitemlist.visible = false;
  166. cap_appdd.visible = false;
  167. ipt_appdd.visible = false;
  168. btn_makepayitem.visible = false;
  169. btn_baseapp.visible = false;
  170. line9.visible = false;
  171. grd_simulitemlist.visible = false;
  172. caption1.visible = false;
  173. btn_amtsearch.visible = false;
  174. //btn_saveexcel.visible = false;
  175. line1.visible = false;
  176. grd_payamtsimulist.visible = false;
  177. grd_incretpayratelist.visible = false;
  178. grd_promotnsimulationlist.visible = false;
  179. caption2.visible = false;
  180. line2.visible = true;
  181. grd_payclsupsimulationlist.visible = true;
  182. caption4.visible = true;
  183. }
  184. }
  185. ]]>
  186. </script>
  187. </xhtml:head>
  188. <xhtml:body guideline="2,785;2,792;" style="margin-left:8; margin-right:8; ">
  189. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  190. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">임금 시뮬레이션 작업</caption>
  191. </group>
  192. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  193. <datagrid id="grd_payclsupsimulationlist" nodeset="/root/main/payclsupsimulation/payclsupsimulationlist" visibility="hidden" caption="기관^부서^직위^성명^사번^직급^호봉^급여총액^인상총액^인상액|기관^부서^직위^성명^사번^직급^호봉^급여총액^인상총액^인상액" colsep="^" colwidth="155, 158, 98, 97, 86, 111, 100, 115, 118, 116" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:655px; ">
  194. <col ref="instnm"/>
  195. <col ref="deptnm"/>
  196. <col ref="jobposnm"/>
  197. <col ref="emplnm"/>
  198. <col ref="emplno"/>
  199. <col ref="jobgradnm"/>
  200. <col ref="payclsnm"/>
  201. <col ref="payitemamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  202. <col ref="incrtotamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  203. <col ref="incrpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  204. </datagrid>
  205. <datagrid id="grd_promotnsimulationlist" nodeset="/root/main/promotnsimulation/promotnsimulationlist" visibility="hidden" caption="직급^금액^연급여차액^대상자인원^승진인원^인상분|직급^금액^연급여차액^대상자인원^승진인원^인상분" colsep="^" colwidth="155, 135, 131, 105, 114, 141" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:655px; ">
  206. <col ref="jobgradnm"/>
  207. <col ref="payitemamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  208. <col ref="payitemminus" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  209. <col ref="promottrgtcnt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  210. <col ref="promotcnt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  211. <col ref="promotamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  212. </datagrid>
  213. <datagrid id="grd_incretpayratelist" nodeset="/root/main/paysimulationamt/incretpayratelist" visibility="visible" caption="인상금액^지급금액^차액^인상율|인상금액^지급금액^차액^인상율" colsep="^" colwidth="175, 161, 149, 92" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:580px; top:660px; width:615px; height:70px; ">
  214. <col ref="simtotamt" format="(-)#,###" style="font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; background-color:#ffff99; "/>
  215. <col ref="paytotamt" format="(-)#,###" style="font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; background-color:#ffff99; "/>
  216. <col ref="incretotamt" format="(-)#,###" style="font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; background-color:#ffff99; "/>
  217. <col ref="increrate" format="(-)#,###" style="font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; background-color:#ffff99; "/>
  218. </datagrid>
  219. <datagrid id="grd_payamtsimulist" nodeset="/root/main/paysimulationamt/paysimulationamtlist" visibility="visible" caption="사원번호^성명^부서^호봉^교직구분^호봉교직구분^직위^직급^성직구분^급여^상여^수당^연구보조비^정근수당^선택진료수당^명절수당|사원번호^성명^부서^호봉^교직구분^호봉교직구분^직위^직급^성직구분^급여^상여^수당^연구보조비^정근수당^선택진료수당^명절수당" colsep="^" colwidth="66, 72, 85, 67, 96, 89, 96, 80, 59, 113, 88, 96, 92, 86, 93, 100" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:580px; top:75px; width:615px; height:580px; ">
  220. <col ref="emplno"/>
  221. <col ref="emplnm"/>
  222. <col ref="deptnm"/>
  223. <col ref="payclsnm"/>
  224. <col ref="prfshipnm"/>
  225. <col ref="payclsprfnm"/>
  226. <col ref="jobposnm"/>
  227. <col ref="jobgradnm"/>
  228. <col ref="holyordnm"/>
  229. <col ref="payamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  230. <col ref="bnusamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  231. <col ref="dutamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  232. <col ref="stdyamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  233. <col ref="dutyearamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  234. <col ref="spclamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  235. <col ref="festamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  236. <script type="javascript" ev:event="ondblclick">
  237. <![CDATA[
  238. if (grd_payamtsimulist.attribute("width") == "615px") {
  239. grd_payamtsimulist.attribute("left") = "0px";
  240. grd_payamtsimulist.attribute("width") = "1195px";
  241. grd_simulitemlist.visible = false;
  242. }
  243. else {
  244. grd_payamtsimulist.attribute("left") = "580px";
  245. grd_payamtsimulist.attribute("width") = "615px";
  246. grd_simulitemlist.visible = true;
  247. }
  248. ]]>
  249. </script>
  250. </datagrid>
  251. <datagrid id="grd_simulitemlist" nodeset="/root/main/simulitem/simulitemlist" visibility="visible" caption="선택^급여항목^급여항목명^적용구분^적용구분^율/금액^적용일자^소급여부^기관^급여종류^작업년월^급여항목OLD^계산방법|선택^급여항목^급여항목명^적용구분^적용구분^율/금액^적용일자^소급여부^기관^급여종류^작업년월^급여항목OLD^계산방법" colsep="^" colwidth="25, 73, 123, 95, 17, 78, 92, 36, 24, 18, 22, 35, 31" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:578px; height:655px; ">
  252. <col checkvalue="Y,N" ref="selyn" type="checkbox"/>
  253. <col ref="payitemcd" type="inputbutton"/>
  254. <col ref="payitemnm"/>
  255. <col ref="rateamtflag" type="combo">
  256. <choices>
  257. <itemset>
  258. <label/>
  259. <value/>
  260. </itemset>
  261. </choices>
  262. </col>
  263. <col ref="popup" type="inputbutton"/>
  264. <col ref="rateamt" type="input" format="(-)#,###.#" style="text-align:right; vertical-align:middle; "/>
  265. <col ref="appdd" type="inputdate"/>
  266. <col checkvalue="Y,N" ref="retcyn" type="checkbox"/>
  267. <col ref="instcd" visibility="hidden"/>
  268. <col ref="saldfrayflag" visibility="hidden"/>
  269. <col ref="workym" visibility="hidden"/>
  270. <col ref="oldpayitemcd" visibility="hidden"/>
  271. <col ref="calcmthd" visibility="hidden"/>
  272. <script type="javascript" ev:event="onbuttonclick">
  273. <![CDATA[
  274. if (grd_simulitemlist.colAttribute(grd_simulitemlist.col,"ref") == "payitemcd" ) { //급여항목코드
  275. var recv_list = "payitemcd,payitemnm";
  276. misfOpenPopUpList("13", grd_simulitemlist,"", recv_list,"cmb_saldfrayflag") ;
  277. model.refresh();
  278. }
  279. else if (grd_simulitemlist.colAttribute(grd_simulitemlist.col,"ref") == "popup" ) {
  280. var gridrow = grd_simulitemlist.row;
  281. if (grd_simulitemlist.valueMatrix(gridrow, grd_simulitemlist.colRef("rateamtflag")) == "3") {
  282. var calcmthd = grd_simulitemlist.valueMatrix(grd_simulitemlist.row, grd_simulitemlist.colRef("calcmthd"));
  283. model.removenode("/root/temp/source");
  284. model.makeNode("/root/temp/source");
  285. model.makeValue("/root/temp/source/instcd", grd_simulitemlist.valueMatrix(gridrow,grd_simulitemlist.colRef("instcd")));
  286. model.makeValue("/root/temp/source/saldfrayflag", grd_simulitemlist.valueMatrix(gridrow,grd_simulitemlist.colRef("saldfrayflag")));
  287. model.makeValue("/root/temp/source/payitemcd", grd_simulitemlist.valueMatrix(gridrow,grd_simulitemlist.colRef("payitemcd")));
  288. model.makeValue("/root/temp/source/appdd", grd_simulitemlist.valueMatrix(gridrow,grd_simulitemlist.colRef("appdd")));
  289. var windowname = "";
  290. if (calcmthd == "001") { //단일기준
  291. windowname = "SMRWC00500";
  292. }
  293. else if (calcmthd == "002") { //복합기준
  294. windowname = "SMRWC01100";
  295. }
  296. else if (calcmthd == "003") { //호봉테이블
  297. windowname = "SMRWC00700";
  298. }
  299. else if (calcmthd == "004") { //계산식기준
  300. windowname = "SMRWC01200";
  301. }
  302. else if (calcmthd == "005") { //근속년수기준
  303. windowname = "SMRWC01000";
  304. }
  305. else if (calcmthd == "006") { //상여
  306. windowname = "SMRWC00400";
  307. }
  308. modal(windowname,"","","","","/root/temp/source", "/root/temp/target" );
  309. }
  310. }
  311. ]]>
  312. </script>
  313. <script type="javascript" ev:event="xforms-value-changed">
  314. <![CDATA[
  315. if (grd_simulitemlist.colAttribute(grd_simulitemlist.col,"ref") == "payitemcd" ) { //급여항목코드
  316. var recv_list = "payitemcd,payitemnm";
  317. var saldfrayflag = cmb_saldfrayflag.value;
  318. var paydeduflag = "1";
  319. rwcfValidationCheck("PAYITEM",saldfrayflag, paydeduflag, recv_list)
  320. model.refresh();
  321. }
  322. ]]>
  323. </script>
  324. </datagrid>
  325. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  326. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  327. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  328. <caption>조회</caption>
  329. <script type="javascript" ev:event="DOMActivate">
  330. <![CDATA[
  331. if ( !isRequiredControls("cmb_instcd","cmb_saldfrayflag","ipt_workym") ) {
  332. return false;
  333. }
  334. if (cmb_workflag.value == "A") {
  335. misfMsterDetailRetrieve();
  336. }
  337. else if (cmb_workflag.value == "C") {
  338. var workym = ipt_workym.value;
  339. var workyy = workym.substr(0,4);
  340. //alert(workym.substr(4,2));
  341. if (parseInt(workym.substr(4,2) ) > 3 ) {
  342. workyy = parseInt(workyy) + 1;
  343. workym = workyy + "03";
  344. //alert(workym);
  345. model.setValue("/root/send/simulitem/scrngvaluym", workym);
  346. }
  347. else {
  348. workym = workyy + "03";
  349. model.setValue("/root/send/simulitem/scrngvaluym", workym);
  350. }
  351. submit("TRRWS00204");
  352. }
  353. else {
  354. submit("TRRWS00205");
  355. }
  356. ]]>
  357. </script>
  358. </button>
  359. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
  360. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:578px; y2:69px; "/>
  361. <caption id="caption34" class="tit_2" style="left:3px; top:54px; width:95px; height:13px; ">급여항목List</caption>
  362. <button id="btn_saveexcel" class="btn5_letter4" style="left:1126px; top:49px; width:64px; height:19px; ">
  363. <caption>엑셀저장</caption>
  364. <script type="javascript" ev:event="DOMActivate">
  365. <![CDATA[
  366. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  367. if (fileName != "")
  368. {
  369. //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
  370. if (cmb_workflag.value == "A") {
  371. var param = "&instcd=" + model.getValue("/root/send/simulitem/instcd");
  372. param += "&saldfrayflag=" + model.getValue("/root/send/simulitem/saldfrayflag");
  373. param += "&fromym=" + model.getValue("/root/send/simulitem/fromym");
  374. param += "&toym=" + model.getValue("/root/send/simulitem/toym");
  375. param += "&prfshipflag=" + model.getValue("/root/send/simulitem/prfshipflag");
  376. param += "&workflag=" + model.getValue("/root/send/simulitem/workflag");
  377. param += "&workym=" + model.getValue("/root/send/simulitem/workym");
  378. model.download(getActionURL("TRRWS00203") + param, fileName, true);
  379. window.exec(fileName);
  380. }
  381. else if (cmb_workflag.value == "C"){
  382. grd_promotnsimulationlist.saveExcel(fileName);
  383. }
  384. else if (cmb_workflag.value == "B"){
  385. grd_payclsupsimulationlist.saveExcel(fileName);
  386. }
  387. }
  388. ]]>
  389. </script>
  390. </button>
  391. <select1 id="cmb_instcd" ref="/root/send/simulitem/instcd" class="combo_s_essential" navindex="10" appearance="minimal" style="left:69px; top:17px; width:131px; height:19px; ">
  392. <choices>
  393. <itemset>
  394. <label/>
  395. <value/>
  396. </itemset>
  397. </choices>
  398. </select1>
  399. <caption id="cap_instcd" class="search_name" style="left:5px; top:18px; width:61px; height:17px; ">기관 :</caption>
  400. <caption id="cap_workym" class="search_name" style="left:401px; top:17px; width:69px; height:17px; ">기준월:</caption>
  401. <input id="ipt_workym" ref="/root/send/simulitem/workym" class="input_default" disabled="false" navindex="20" inputtype="date" format="yyyy-mm" style="left:470px; top:17px; width:75px; height:19px; text-align:center; vertical-align:middle; "/>
  402. <select1 id="cmb_saldfrayflag" ref="/root/send/simulitem/saldfrayflag" class="combo_s_essential" navindex="10" appearance="minimal" style="left:290px; top:17px; width:100px; height:19px; ">
  403. <choices>
  404. <itemset>
  405. <label/>
  406. <value/>
  407. </itemset>
  408. </choices>
  409. </select1>
  410. <caption id="cap_saldfrayflag" class="search_name" style="left:209px; top:18px; width:81px; height:17px; ">급여종류:</caption>
  411. <caption id="cap_appdd" class="search_name" style="left:229px; top:48px; width:98px; height:17px; ">적용일자:</caption>
  412. <input id="ipt_appdd" ref="/root/send/simulitem/appdd" class="input_default" navindex="20" inputtype="date" format="yyyy-mm-dd" style="left:310px; top:48px; width:105px; height:19px; text-align:center; vertical-align:middle; "/>
  413. <button id="btn_makepayitem" class="btn5_letter4" style="left:420px; top:48px; width:64px; height:19px; ">
  414. <caption>항목생성</caption>
  415. <script type="javascript" ev:event="DOMActivate">
  416. <![CDATA[
  417. if ( !isRequiredControls("ipt_appdd") ) {
  418. return false;
  419. }
  420. submit("TXRWS00202");
  421. btn_search.dispatch("DOMActivate");
  422. ]]>
  423. </script>
  424. </button>
  425. <button id="btn_grdaddsimulitemlist" class="btn2_letter3" style="left:100px; top:48px; width:53px; height:19px; ">
  426. <caption>행추가</caption>
  427. <script type="javascript" ev:event="DOMActivate">
  428. <![CDATA[
  429. misfGridIUD(grd_simulitemlist, "A");
  430. ]]>
  431. </script>
  432. </button>
  433. <button id="btn_grddelsimulitemlist" class="btn2_letter3" style="left:156px; top:48px; width:53px; height:19px; ">
  434. <caption>행삭제</caption>
  435. <script type="javascript" ev:event="DOMActivate">
  436. <![CDATA[
  437. misfGridIUD(grd_simulitemlist, "D");
  438. ]]>
  439. </script>
  440. </button>
  441. <button id="btn_baseapp" class="btn5_letter6" style="left:487px; top:48px; width:64px; height:19px; ">
  442. <caption>기초정보반영</caption>
  443. <script type="javascript" ev:event="DOMActivate">
  444. <![CDATA[
  445. misfSave("TXRWS00203");
  446. ]]>
  447. </script>
  448. </button>
  449. <line id="line1" class="line_1" style="x1:580px; y1:69px; x2:1195px; y2:69px; "/>
  450. <caption id="caption1" class="tit_2" style="left:590px; top:54px; width:95px; height:14px; ">급여 List</caption>
  451. <caption id="cap_toym" class="search_name" style="left:735px; top:17px; width:81px; height:17px; ">계산기간:</caption>
  452. <input id="ipt_fromym" ref="/root/send/simulitem/fromym" class="input_default" navindex="20" inputtype="date" format="yyyy-mm" style="left:818px; top:17px; width:65px; height:19px; text-align:center; vertical-align:middle; "/>
  453. <caption id="caption3" style="left:885px; top:18px; width:10px; height:20px; ">-</caption>
  454. <input id="ipt_toym" ref="/root/send/simulitem/toym" class="input_default" navindex="20" inputtype="date" format="yyyy-mm" style="left:896px; top:17px; width:65px; height:19px; text-align:center; vertical-align:middle; "/>
  455. <caption id="cap_workflag" class="search_name" style="left:969px; top:17px; width:81px; height:17px; ">작업구분:</caption>
  456. <select1 id="cmb_workflag" ref="/root/send/simulitem/workflag" class="combo_s_essential" navindex="10" appearance="minimal" style="left:1050px; top:17px; width:65px; height:19px; ">
  457. <choices>
  458. <item>
  459. <label>인상</label>
  460. <value>A</value>
  461. </item>
  462. <item>
  463. <label>승급</label>
  464. <value>B</value>
  465. </item>
  466. <item>
  467. <label>승진</label>
  468. <value>C</value>
  469. </item>
  470. </choices>
  471. <script type="javascript" ev:event="xforms-value-changed">
  472. <![CDATA[
  473. fControlVisibleSet(cmb_workflag.value);
  474. ]]>
  475. </script>
  476. </select1>
  477. <button id="btn_amtsearch" class="btn5_letter4" style="left:1055px; top:49px; width:64px; height:19px; ">
  478. <caption>결과조회</caption>
  479. <script type="javascript" ev:event="DOMActivate">
  480. <![CDATA[
  481. if ( !isRequiredControls("cmb_instcd","cmb_saldfrayflag","ipt_fromym","ipt_toym","cmb_prfshipflag","cmb_workflag") ) {
  482. return false;
  483. }
  484. model.setValue("/root/send/paysimulationamt/payinst", cmb_instcd.value);
  485. model.setValue("/root/send/paysimulationamt/fromym", ipt_fromym.value);
  486. model.setValue("/root/send/paysimulationamt/toym", ipt_toym.value);
  487. model.setValue("/root/send/paysimulationamt/workflag", cmb_workflag.value);
  488. model.setValue("/root/send/paysimulationamt/prfshipflag", cmb_prfshipflag.value);
  489. model.setValue("/root/send/paysimulationamt/workym", ipt_workym.value);
  490. submit("TRRWS00202");
  491. ]]>
  492. </script>
  493. </button>
  494. <caption id="cap_prfshipflag" class="search_name" style="left:554px; top:17px; width:81px; height:17px; ">교직구분:</caption>
  495. <select1 id="cmb_prfshipflag" ref="/root/send/simulitem/prfshipflag" class="combo_s_essential" navindex="10" appearance="minimal" style="left:635px; top:17px; width:90px; height:19px; ">
  496. <choices>
  497. <itemset>
  498. <label/>
  499. <value/>
  500. </itemset>
  501. </choices>
  502. </select1>
  503. <line id="line2" class="line_1" visibility="hidden" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  504. <caption id="caption2" class="tit_2" visibility="hidden" style="left:0px; top:55px; width:116px; height:13px; ">직급별 금액 List</caption>
  505. <caption id="caption4" class="tit_2" visibility="hidden" style="left:0px; top:55px; width:175px; height:13px; ">승급 시뮬레이션 금액 List</caption>
  506. </group>
  507. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; ">
  508. <button id="btn_retccalc1" class="btn4_letter8" style="left:969px; top:2px; width:128px; height:22px; ">
  509. <caption>Simulation작업</caption>
  510. <script type="javascript" ev:event="DOMActivate">
  511. <![CDATA[
  512. if ( !isRequiredControls("cmb_instcd","cmb_saldfrayflag","ipt_workym","ipt_fromym","ipt_toym","cmb_prfshipflag","cmb_workflag") ) {
  513. return false;
  514. }
  515. model.setValue("/root/send/simulcalc/instcd", cmb_instcd.value);
  516. model.setValue("/root/send/simulcalc/saldfrayflag", cmb_saldfrayflag.value);
  517. model.setValue("/root/send/simulcalc/payym", ipt_workym.value);
  518. model.setValue("/root/send/simulcalc/fromym", ipt_fromym.value);
  519. model.setValue("/root/send/simulcalc/toym", ipt_toym.value);
  520. model.setValue("/root/send/simulcalc/workflag", cmb_workflag.value);
  521. model.setValue("/root/send/simulcalc/prfshipflag", cmb_prfshipflag.value);
  522. submit("TXRWS00204");
  523. var curdate = getCurrentDate();
  524. zsbfOpenBatchLogPopup("incrsretcmgr.PaySimulBatch", curdate, curdate);
  525. ]]>
  526. </script>
  527. </button>
  528. <button id="btn_save" class="btn4_letter2" style="left:1134px; top:2px; width:56px; height:22px; ">
  529. <caption>저장</caption>
  530. <script type="javascript" ev:event="DOMActivate">
  531. <![CDATA[
  532. misfSave("TXRWS00201");
  533. ]]>
  534. </script>
  535. </button>
  536. </group>
  537. </xhtml:body>
  538. </xhtml:html>