SMRWP00801_급여작업.xrw 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822
  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. <paycalc/>
  11. </main>
  12. <send>
  13. <paycalc>
  14. <saldfrayflag/>
  15. <idflag>I</idflag>
  16. <payym/>
  17. <paydd/>
  18. <dutdeptcd/>
  19. <deptnm/>
  20. <emplno/>
  21. <emplnm/>
  22. <instcd/>
  23. <holyordflag/>
  24. </paycalc>
  25. <paymonth>
  26. <saldfrayflag/>
  27. <idflag>I</idflag>
  28. <payym/>
  29. <paydd/>
  30. <dutdeptcd/>
  31. <deptnm/>
  32. <emplno/>
  33. <emplnm/>
  34. <instcd/>
  35. <holyordflag/>
  36. </paymonth>
  37. <endsave>
  38. <instcd/>
  39. <saldfrayflag/>
  40. <payym/>
  41. <paydd/>
  42. <endyn/>
  43. <holyordflag/>
  44. </endsave>
  45. </send>
  46. <init/>
  47. <hidden/>
  48. </root>
  49. </instance>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. var curdate = getCurrentDate();
  53. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  54. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  55. model.setValue(ipt_paydd.attribute("ref") , curdate.substr(0,6) + "17" );
  56. model.setValue(ipt_payym1.attribute("ref") , curdate.substr(0,6));
  57. model.setValue(cmb_instcd1.attribute("ref") , getUserInfo("dutplceinstcd"));
  58. model.setValue(ipt_paydd1.attribute("ref") , curdate.substr(0,6) + "17" );
  59. model.setValue(ipt_payym2.attribute("ref") , curdate.substr(0,6));
  60. model.setValue(cmb_instcd2.attribute("ref") , getUserInfo("dutplceinstcd"));
  61. model.setValue(ipt_paydd2.attribute("ref") , curdate.substr(0,6) + "17" );
  62. var dutdeptcd = getUserInfo("dutplcecd");
  63. var userid = getUserInfo("userid");
  64. model.setValue("/root/send/paymonth/holyordflag", "1");
  65. model.setValue("/root/send/paycalc/holyordflag", "1");
  66. model.toggle("case2");
  67. if (dutdeptcd == "4020334000" || dutdeptcd == "4020300000" || dutdeptcd == "4030100000" || userid == "MIS" || userid == "mis") {
  68. btn_end.visible = true;
  69. }
  70. else {
  71. btn_end.visible = false;
  72. }
  73. misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
  74. misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
  75. //opt_message.text = "작업 왕료여부는 결과보기를 클릭해서 조회 하십시요.";
  76. cmb_saldfrayflag.value = "1";
  77. cmb_saldfrayflag1.value = "1";
  78. cmb_saldfrayflag2.value = "1";
  79. model.refresh();
  80. misfGetUserAuth();
  81. if (DUTY_PAY_YN == "Y" ) {
  82. cmb_instcd.disabled = false;
  83. cmb_instcd1.disabled = false;
  84. cmb_instcd2.disabled = false;
  85. cmb_instcd3.disabled = false;
  86. }
  87. else {
  88. cmb_instcd.disabled = true;
  89. cmb_instcd1.disabled = true;
  90. cmb_instcd2.disabled = true;
  91. cmb_instcd3.disabled = true;
  92. }
  93. model.setFocus("cmb_saldfrayflag");
  94. ]]>
  95. </script>
  96. <submission id="TXRWP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paycalc" resultref="/root/hidden/temp"/>
  97. <submission id="TXRWP00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paymonth" resultref="/root/hidden/temp"/>
  98. <submission id="TXRWP00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paycalc" resultref="/root/hidden/temp"/>
  99. <submission id="TXRWP00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/endsave" resultref="/root/hidden/temp"/>
  100. <submission id="TXRWP00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/endsave" resultref="/root/hidden/temp"/>
  101. </model>
  102. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  105. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  106. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  107. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  108. </xhtml:head>
  109. <xhtml:body guideline="2,10;">
  110. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  111. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">급여작업</caption>
  112. </group>
  113. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:694px; ">
  114. <switch id="switch1" style="left:0px; top:45px; width:1195px; height:327px; ">
  115. <case id="case1">
  116. <caption id="caption278" class="tit_2" style="left:5px; top:9px; width:157px; height:13px; ">급여계산</caption>
  117. <select1 id="rdo_idflag" ref="/root/send/paycalc/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:95px; top:77px; width:95px; height:20px; border-style:none; ">
  118. <choices>
  119. <item>
  120. <label>생성</label>
  121. <value>I</value>
  122. </item>
  123. <item>
  124. <label>삭제</label>
  125. <value>D</value>
  126. </item>
  127. </choices>
  128. </select1>
  129. <select1 id="cmb_instcd" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:95px; top:55px; width:185px; height:19px; ">
  130. <choices>
  131. <itemset>
  132. <label/>
  133. <value/>
  134. </itemset>
  135. </choices>
  136. </select1>
  137. <input id="ipt_payym" ref="/root/send/paycalc/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:95px; top:102px; width:185px; height:19px; ">
  138. <script type="javascript" ev:event="xforms-value-changed">
  139. <![CDATA[
  140. ipt_paydd.value = ipt_payym.value + "25";
  141. ]]>
  142. </script>
  143. </input>
  144. <output id="opt_message" style="left:290px; top:151px; width:284px; height:19px; "/>
  145. <caption id="caption1" class="cell_1" style="left:5px; top:29px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
  146. <caption id="caption2" class="cell_1" visibility="hidden" style="left:5px; top:172px; width:87px; height:26px; vertical-align:middle; ">명절일자</caption>
  147. <caption id="caption11" class="cell_1" style="left:5px; top:150px; width:87px; height:23px; vertical-align:middle; ">부서</caption>
  148. <caption id="caption3" class="cell_1" style="left:5px; top:54px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  149. <select1 id="cmb_saldfrayflag" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:95px; top:30px; width:185px; height:19px; ">
  150. <choices>
  151. <itemset>
  152. <label/>
  153. <value/>
  154. </itemset>
  155. </choices>
  156. <script type="javascript" ev:event="xforms-value-changed">
  157. <![CDATA[
  158. if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag.value == "2") {
  159. cmb_instcd.disabled = false;
  160. }
  161. else {
  162. cmb_instcd.disabled = true;
  163. }
  164. if ( cmb_saldfrayflag.value == "5" ) {
  165. caption2.visible = true;
  166. ipt_paydd.visible = true;
  167. }
  168. else {
  169. caption2.visible = false;
  170. ipt_paydd.visible = false;
  171. }
  172. if (cmb_saldfrayflag.value == "2") {
  173. misfComboComCdListMulti("R0112,Z0007","cmb_saldfrayflag,cmb_instcd");
  174. addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
  175. model.setValue(cmb_instcd.attribute("ref"), "%");
  176. }
  177. else {
  178. misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
  179. misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
  180. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
  181. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
  182. // var curdate = getCurrentDate();
  183. // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  184. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  185. // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  186. }
  187. model.refresh();
  188. ]]>
  189. </script>
  190. </select1>
  191. <input id="ipt_emplnm" ref="/root/send/paycalc/emplnm" class="input_default" style="left:174px; top:175px; width:106px; height:19px; ">
  192. <script type="javascript" ev:event="xforms-value-changed">
  193. <![CDATA[
  194. var recv_list = "emplno,emplnm" ;
  195. rpbfValidationCheck("EMPLNM", recv_list);
  196. model.refresh();
  197. ]]>
  198. </script>
  199. </input>
  200. <input id="ipt_deptnm" ref="/root/send/paycalc/deptnm" class="input_default" style="left:174px; top:150px; width:106px; height:19px; ">
  201. <script type="javascript" ev:event="xforms-value-changed">
  202. <![CDATA[
  203. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  204. model.refresh();
  205. ]]>
  206. </script>
  207. </input>
  208. <input id="ipt_emplno" ref="/root/send/paycalc/emplno" class="input_default" style="left:94px; top:175px; width:55px; height:19px; ">
  209. <script type="javascript" ev:event="xforms-value-changed">
  210. <![CDATA[
  211. var recv_list = "emplno,emplnm" ;
  212. rpbfValidationCheck("EMPLNO", recv_list);
  213. model.refresh();
  214. ]]>
  215. </script>
  216. </input>
  217. <button id="btn_emplno" class="icon_search" style="left:153px; top:176px; width:16px; height:16px; ">
  218. <caption/>
  219. <script type="javascript" ev:event="DOMActivate">
  220. <![CDATA[
  221. var recv_list = "emplno,emplnm" ;
  222. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  223. model.refresh();
  224. ]]>
  225. </script>
  226. </button>
  227. <input id="ipt_deptcd" ref="/root/send/paycalc/dutdeptcd" class="input_default" style="left:94px; top:150px; width:55px; height:19px; ">
  228. <script type="javascript" ev:event="xforms-value-changed">
  229. <![CDATA[
  230. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  231. model.refresh();
  232. ]]>
  233. </script>
  234. </input>
  235. <button id="btn_deptcd" class="icon_search" style="left:153px; top:151px; width:16px; height:16px; ">
  236. <caption/>
  237. <script type="javascript" ev:event="DOMActivate">
  238. <![CDATA[
  239. var recv_list = "dutdeptcd,deptnm";
  240. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
  241. model.refresh();
  242. ]]>
  243. </script>
  244. </button>
  245. <caption id="caption7" class="cell_1" style="left:5px; top:100px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
  246. <caption id="caption8" class="cell_1" style="left:5px; top:76px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
  247. <caption id="caption17" class="cell_1" style="left:5px; top:174px; width:87px; height:23px; vertical-align:middle; ">사번</caption>
  248. <input id="ipt_paydd" ref="/root/send/paycalc/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:175px; width:185px; height:19px; "/>
  249. <line id="line203" class="line_1" style="x1:5px; y1:24px; x2:285px; y2:24px; "/>
  250. <group id="group3" scroll="auto" style="left:0px; top:220px; width:1175px; height:27px; ">
  251. <button id="btn_save" class="btn4_letter2" style="left:110px; top:3px; width:56px; height:22px; ">
  252. <caption>작업</caption>
  253. <script type="javascript" ev:event="DOMActivate">
  254. <![CDATA[
  255. submit("TXRWP00601");
  256. var curdate = getCurrentDate()
  257. zsbfOpenBatchLogPopup("paybnusmgr.PayCalcBatch", curdate, curdate);
  258. ]]>
  259. </script>
  260. </button>
  261. </group>
  262. <select1 id="combo2" ref="/root/send/paycalc/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:95px; top:127px; width:185px; height:19px; ">
  263. <choices>
  264. <item>
  265. <label>직원</label>
  266. <value>1</value>
  267. </item>
  268. <item>
  269. <label>의사</label>
  270. <value>2</value>
  271. </item>
  272. </choices>
  273. </select1>
  274. <caption id="caption33" class="cell_1" visibility="hidden" style="left:5px; top:127px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
  275. </case>
  276. <case id="case2" selected="true">
  277. <caption id="caption4" class="tit_2" style="left:5px; top:10px; width:157px; height:13px; ">급여월차작업</caption>
  278. <select1 id="rdo_idflag1" ref="/root/send/paymonth/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:89px; top:76px; width:95px; height:20px; border-style:none; ">
  279. <choices>
  280. <item>
  281. <label>생성</label>
  282. <value>I</value>
  283. </item>
  284. <item>
  285. <label>삭제</label>
  286. <value>D</value>
  287. </item>
  288. </choices>
  289. </select1>
  290. <select1 id="cmb_instcd1" ref="/root/send/paymonth/instcd" class="combo_default" appearance="minimal" style="left:89px; top:53px; width:175px; height:19px; ">
  291. <choices>
  292. <itemset>
  293. <label/>
  294. <value/>
  295. </itemset>
  296. </choices>
  297. </select1>
  298. <input id="ipt_payym1" ref="/root/send/paymonth/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:89px; top:99px; width:175px; height:19px; ">
  299. <script type="javascript" ev:event="xforms-value-changed">
  300. <![CDATA[
  301. ipt_paydd1.value = ipt_payym1.value + "25";
  302. model.setValue("/root/send/paycalc/payym", model.getValue("/root/send/paymonth/payym"));
  303. model.refresh();
  304. ]]>
  305. </script>
  306. </input>
  307. <output id="opt_message1" style="left:280px; top:159px; width:260px; height:19px; "/>
  308. <caption id="caption5" class="cell_1" style="left:0px; top:30px; width:87px; height:21px; vertical-align:middle; ">지급구분</caption>
  309. <caption id="caption9" class="cell_1" visibility="hidden" style="left:0px; top:168px; width:87px; height:21px; vertical-align:middle; ">명절일자</caption>
  310. <caption id="caption10" class="cell_1" style="left:0px; top:145px; width:87px; height:21px; vertical-align:middle; ">부서</caption>
  311. <caption id="caption12" class="cell_1" style="left:0px; top:52px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  312. <select1 id="cmb_saldfrayflag1" ref="/root/send/paymonth/saldfrayflag" class="combo_default" appearance="minimal" style="left:89px; top:31px; width:175px; height:19px; ">
  313. <choices>
  314. <itemset>
  315. <label/>
  316. <value/>
  317. </itemset>
  318. </choices>
  319. <script type="javascript" ev:event="xforms-value-changed">
  320. <![CDATA[
  321. if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag1.value == "2") {
  322. cmb_instcd1.disabled = false;
  323. }
  324. else {
  325. cmb_instcd1.disabled = true;
  326. }
  327. if ( cmb_saldfrayflag1.value == "1" ) {
  328. caption9.visible = false;
  329. ipt_paydd1.visible = false;
  330. }
  331. else {
  332. caption9.visible = true;
  333. ipt_paydd1.visible = true;
  334. }
  335. /*
  336. if (cmb_saldfrayflag1.value == "2") {
  337. misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag1,cmb_instcd1,cmb_saldfrayflag2,cmb_instcd2");
  338. addComboItem( "cmb_instcd1", "[-- 전체 --]", "%", "above");
  339. model.setValue(cmb_instcd1.attribute("ref"), "%");
  340. }
  341. else {
  342. */
  343. misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
  344. misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
  345. // misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag1,cmb_instcd1,cmb_saldfrayflag2,cmb_instcd2");
  346. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
  347. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
  348. // var curdate = getCurrentDate();
  349. // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  350. model.setValue(cmb_instcd1.attribute("ref") , getUserInfo("dutplceinstcd"));
  351. // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  352. //}
  353. model.setValue("/root/send/paycalc/saldfrayflag", model.getValue("/root/send/paymonth/saldfrayflag"));
  354. model.refresh();
  355. ]]>
  356. </script>
  357. </select1>
  358. <input id="ipt_emplnm1" ref="/root/send/paymonth/emplnm" class="input_default" style="left:165px; top:169px; width:99px; height:19px; ">
  359. <script type="javascript" ev:event="xforms-value-changed">
  360. <![CDATA[
  361. var recv_list = "emplno,emplnm" ;
  362. rpbfValidationCheck("EMPLNM", recv_list);
  363. model.refresh();
  364. ]]>
  365. </script>
  366. </input>
  367. <input id="ipt_deptnm1" ref="/root/send/paymonth/deptnm" class="input_default" style="left:165px; top:145px; width:99px; height:19px; ">
  368. <script type="javascript" ev:event="xforms-value-changed">
  369. <![CDATA[
  370. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  371. model.refresh();
  372. ]]>
  373. </script>
  374. </input>
  375. <input id="ipt_emplno1" ref="/root/send/paymonth/emplno" class="input_default" style="left:89px; top:169px; width:55px; height:19px; ">
  376. <script type="javascript" ev:event="onkeyup">
  377. <![CDATA[
  378. if (ipt_emplno1.currentText != null && ipt_emplno1.currentText != "" ) {
  379. inputEnterKey("ipt_emplno1", "xforms-value-changed");
  380. }
  381. ]]>
  382. </script>
  383. <script type="javascript" ev:event="xforms-value-changed">
  384. <![CDATA[
  385. var recv_list = "emplno,emplnm" ;
  386. rpbfValidationCheck("EMPLNO", recv_list);
  387. model.refresh();
  388. ]]>
  389. </script>
  390. </input>
  391. <button id="btn_emplno1" class="icon_search" style="left:146px; top:169px; width:16px; height:16px; ">
  392. <caption/>
  393. <script type="javascript" ev:event="DOMActivate">
  394. <![CDATA[
  395. var recv_list = "emplno,emplnm" ;
  396. rpbfOpenPopUpList("SPRPB00101", ipt_emplno1, recv_list,"","N");
  397. model.refresh();
  398. ]]>
  399. </script>
  400. </button>
  401. <input id="ipt_deptcd1" ref="/root/send/paymonth/dutdeptcd" class="input_default" style="left:89px; top:145px; width:55px; height:19px; ">
  402. <script type="javascript" ev:event="xforms-value-changed">
  403. <![CDATA[
  404. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  405. model.refresh();
  406. ]]>
  407. </script>
  408. </input>
  409. <button id="btn_deptcd1" class="icon_search" style="left:146px; top:145px; width:16px; height:16px; ">
  410. <caption/>
  411. <script type="javascript" ev:event="DOMActivate">
  412. <![CDATA[
  413. var recv_list = "dutdeptcd,deptnm";
  414. var instcd = cmb_instcd1.value;
  415. rpbfOpenDeptCdHelp(ipt_deptcd1,recv_list,instcd,"instcd");
  416. model.refresh();
  417. ]]>
  418. </script>
  419. </button>
  420. <caption id="caption13" class="cell_1" style="left:0px; top:98px; width:87px; height:21px; vertical-align:middle; ">작업년월</caption>
  421. <caption id="caption14" class="cell_1" style="left:0px; top:75px; width:87px; height:21px; vertical-align:middle; ">작업구분</caption>
  422. <caption id="caption15" class="cell_1" style="left:0px; top:168px; width:87px; height:21px; vertical-align:middle; ">사번</caption>
  423. <input id="ipt_paydd1" ref="/root/send/paymonth/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:90px; top:122px; width:175px; height:19px; "/>
  424. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:264px; y2:25px; "/>
  425. <group id="grp_btn" scroll="auto" style="left:0px; top:200px; width:1180px; height:27px; ">
  426. <button id="btn_save1" class="btn4_letter2" style="left:207px; top:3px; width:56px; height:22px; ">
  427. <caption>작업</caption>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. if (submit("TXRWP00201")){
  431. if (model.getValue("/root/send/paymonth/emplno") != ""){
  432. messageBox("정상적으로 처리되었습니다.", "E999", "");
  433. }else{
  434. var curdate = getCurrentDate()
  435. zsbfOpenBatchLogPopup("paybaseinfomgr.PayMonthCalcBatch", curdate, curdate);
  436. }
  437. }
  438. //var curdate = getCurrentDate()
  439. //zsbfOpenBatchLogPopup("paybaseinfomgr.PayMonthCalcBatch", curdate, curdate);
  440. ]]>
  441. </script>
  442. </button>
  443. </group>
  444. <select1 id="cmb_holyordflag" ref="/root/send/paymonth/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:514px; top:75px; width:175px; height:19px; ">
  445. <choices>
  446. <item>
  447. <label>직원</label>
  448. <value>1</value>
  449. </item>
  450. <item>
  451. <label>의사</label>
  452. <value>2</value>
  453. </item>
  454. </choices>
  455. <script type="javascript" ev:event="xforms-value-changed">
  456. <![CDATA[
  457. model.setValue("/root/send/paycalc/holyordflag", model.getValue("/root/send/paymonth/holyordflag"));
  458. model.refresh();
  459. ]]>
  460. </script>
  461. </select1>
  462. <caption id="caption28" class="cell_1" visibility="hidden" style="left:425px; top:75px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
  463. <button id="button1" class="btn4_letter7" style="left:270px; top:203px; width:116px; height:22px; ">
  464. <caption>공제초과자조회</caption>
  465. <script type="javascript" ev:event="DOMActivate">
  466. <![CDATA[
  467. //modal("SMRWP02600","","","","","", "" );
  468. open("SMRWP02600","","","","","", "" );
  469. ]]>
  470. </script>
  471. </button>
  472. </case>
  473. <case id="case3">
  474. <caption id="caption16" class="tit_2" style="left:10px; top:10px; width:157px; height:14px; ">근태자료계산</caption>
  475. <select1 id="rdo_idflag2" ref="/root/send/paycalc/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:100px; top:78px; width:95px; height:20px; border-style:none; ">
  476. <choices>
  477. <item>
  478. <label>생성</label>
  479. <value>I</value>
  480. </item>
  481. <item>
  482. <label>삭제</label>
  483. <value>D</value>
  484. </item>
  485. </choices>
  486. </select1>
  487. <select1 id="cmb_instcd2" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:99px; top:55px; width:185px; height:19px; ">
  488. <choices>
  489. <itemset>
  490. <label/>
  491. <value/>
  492. </itemset>
  493. </choices>
  494. </select1>
  495. <input id="ipt_payym2" ref="/root/send/paycalc/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:100px; top:103px; width:185px; height:19px; ">
  496. <script type="javascript" ev:event="xforms-value-changed">
  497. <![CDATA[
  498. ipt_paydd2.value = ipt_payym2.value + "25";
  499. ]]>
  500. </script>
  501. </input>
  502. <output id="output1" style="left:320px; top:100px; width:310px; height:19px; "/>
  503. <caption id="caption18" class="cell_1" style="left:10px; top:30px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
  504. <caption id="caption19" class="cell_1" visibility="hidden" style="left:320px; top:152px; width:87px; height:26px; vertical-align:middle; ">지급일자</caption>
  505. <caption id="caption20" class="cell_1" style="left:10px; top:151px; width:87px; height:23px; vertical-align:middle; ">부서</caption>
  506. <caption id="caption21" class="cell_1" style="left:10px; top:55px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  507. <select1 id="cmb_saldfrayflag2" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:100px; top:32px; width:185px; height:19px; ">
  508. <choices>
  509. <itemset>
  510. <label/>
  511. <value/>
  512. </itemset>
  513. </choices>
  514. <script type="javascript" ev:event="xforms-value-changed">
  515. <![CDATA[
  516. if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag2.value == "2") {
  517. cmb_instcd2.disabled = false;
  518. }
  519. else {
  520. cmb_instcd2.disabled = true;
  521. }
  522. if (cmb_saldfrayflag2.value == "2") {
  523. misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag2,cmb_instcd2,cmb_saldfrayflag1,cmb_instcd1");
  524. addComboItem( "cmb_instcd2", "[-- 전체 --]", "%", "above");
  525. model.setValue(cmb_instcd2.attribute("ref"), "%");
  526. }
  527. else {
  528. misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
  529. misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
  530. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
  531. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
  532. // var curdate = getCurrentDate();
  533. // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  534. model.setValue(cmb_instcd2.attribute("ref") , getUserInfo("dutplceinstcd"));
  535. // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  536. }
  537. model.refresh();
  538. ]]>
  539. </script>
  540. </select1>
  541. <input id="ipt_emplnm2" ref="/root/send/paycalc/emplnm" class="input_default" style="left:179px; top:176px; width:106px; height:19px; ">
  542. <script type="javascript" ev:event="xforms-value-changed">
  543. <![CDATA[
  544. var recv_list = "emplno,emplnm" ;
  545. rpbfValidationCheck("EMPLNM", recv_list);
  546. model.refresh();
  547. ]]>
  548. </script>
  549. </input>
  550. <input id="ipt_deptnm2" ref="/root/send/paycalc/deptnm" class="input_default" style="left:179px; top:151px; width:106px; height:19px; ">
  551. <script type="javascript" ev:event="xforms-value-changed">
  552. <![CDATA[
  553. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  554. model.refresh();
  555. ]]>
  556. </script>
  557. </input>
  558. <line id="line2" class="line_3" style="x1:10px; y1:201px; x2:290px; y2:201px; "/>
  559. <input id="ipt_emplno2" ref="/root/send/paycalc/emplno" class="input_default" style="left:99px; top:176px; width:55px; height:19px; ">
  560. <script type="javascript" ev:event="xforms-value-changed">
  561. <![CDATA[
  562. var recv_list = "emplno,emplnm" ;
  563. rpbfValidationCheck("EMPLNO", recv_list);
  564. model.refresh();
  565. ]]>
  566. </script>
  567. </input>
  568. <button id="btn_emplno2" class="icon_search" style="left:158px; top:177px; width:16px; height:16px; ">
  569. <caption/>
  570. <script type="javascript" ev:event="DOMActivate">
  571. <![CDATA[
  572. var recv_list = "emplno,emplnm" ;
  573. rpbfOpenPopUpList("SPRPB00101", ipt_emplno2, recv_list,"","N");
  574. model.refresh();
  575. ]]>
  576. </script>
  577. </button>
  578. <input id="ipt_deptcd2" ref="/root/send/paycalc/dutdeptcd" class="input_default" style="left:99px; top:151px; width:55px; height:19px; ">
  579. <script type="javascript" ev:event="xforms-value-changed">
  580. <![CDATA[
  581. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  582. model.refresh();
  583. ]]>
  584. </script>
  585. </input>
  586. <button id="btn_deptcd2" class="icon_search" style="left:158px; top:152px; width:16px; height:16px; ">
  587. <caption/>
  588. <script type="javascript" ev:event="DOMActivate">
  589. <![CDATA[
  590. var recv_list = "dutdeptcd,deptnm";
  591. rpbfOpenDeptCdHelp(ipt_deptcd2,recv_list);
  592. model.refresh();
  593. ]]>
  594. </script>
  595. </button>
  596. <caption id="caption22" class="cell_1" style="left:10px; top:101px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
  597. <caption id="caption23" class="cell_1" style="left:10px; top:77px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
  598. <caption id="caption24" class="cell_1" style="left:10px; top:175px; width:87px; height:23px; vertical-align:middle; ">사번</caption>
  599. <input id="ipt_paydd2" ref="/root/send/paycalc/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:410px; top:154px; width:185px; height:19px; "/>
  600. <line id="line3" class="line_1" style="x1:10px; y1:25px; x2:290px; y2:25px; "/>
  601. <group id="group4" scroll="auto" style="left:0px; top:220px; width:1180px; height:27px; ">
  602. <button id="button2" class="btn4_letter2" style="left:233px; top:3px; width:56px; height:22px; ">
  603. <caption>작업</caption>
  604. <script type="javascript" ev:event="DOMActivate">
  605. <![CDATA[
  606. submit("TXRWP00701");
  607. var curdate = getCurrentDate();
  608. zsbfOpenBatchLogPopup("paybnusmgr.PayDutCalcBatch", curdate, curdate);
  609. ]]>
  610. </script>
  611. </button>
  612. </group>
  613. <select1 id="combo1" ref="/root/send/paycalc/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:99px; top:128px; width:185px; height:19px; ">
  614. <choices>
  615. <item>
  616. <label>직원</label>
  617. <value>1</value>
  618. </item>
  619. <item>
  620. <label>의사</label>
  621. <value>2</value>
  622. </item>
  623. </choices>
  624. </select1>
  625. <caption id="caption31" class="cell_1" visibility="hidden" style="left:10px; top:128px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
  626. </case>
  627. <case id="case4">
  628. <caption id="caption25" class="tit_2" style="left:5px; top:9px; width:157px; height:14px; ">급여마감</caption>
  629. <select1 id="rdo_idflag3" ref="/root/send/paycalc/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:95px; top:77px; width:95px; height:20px; border-style:none; ">
  630. <choices>
  631. <item>
  632. <label>생성</label>
  633. <value>I</value>
  634. </item>
  635. <item>
  636. <label>삭제</label>
  637. <value>D</value>
  638. </item>
  639. </choices>
  640. </select1>
  641. <select1 id="cmb_instcd3" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:95px; top:55px; width:185px; height:19px; ">
  642. <choices>
  643. <itemset>
  644. <label/>
  645. <value/>
  646. </itemset>
  647. </choices>
  648. </select1>
  649. <input id="ipt_payym3" ref="/root/send/paycalc/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:95px; top:102px; width:185px; height:19px; ">
  650. <script type="javascript" ev:event="xforms-value-changed">
  651. <![CDATA[
  652. ipt_paydd.value = ipt_payym.value + "25";
  653. ]]>
  654. </script>
  655. </input>
  656. <output id="output2" style="left:290px; top:150px; width:284px; height:19px; "/>
  657. <caption id="caption26" class="cell_1" style="left:5px; top:29px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
  658. <group id="group5" scroll="auto" style="left:0px; top:195px; width:1175px; height:27px; ">
  659. <button id="btn_save3" class="btn4_letter2" style="left:225px; top:3px; width:56px; height:22px; ">
  660. <caption>마감</caption>
  661. <script type="javascript" ev:event="DOMActivate">
  662. <![CDATA[
  663. model.setValue("/root/send/endsave/saldfrayflag", cmb_saldfrayflag3.value);
  664. model.setValue("/root/send/endsave/instcd", cmb_instcd3.value);
  665. model.setValue("/root/send/endsave/payym", ipt_payym3.value);
  666. model.setValue("/root/send/endsave/paydd", ipt_paydd3.value);
  667. model.setValue("/root/send/endsave/holyordflag", combo3.value);
  668. if (rdo_idflag3.value == "I") {
  669. model.setValue("/root/send/endsave/endyn", "Y");
  670. }
  671. else {
  672. model.setValue("/root/send/endsave/endyn", "N");
  673. }
  674. submit("TXRWP00801");
  675. ]]>
  676. </script>
  677. </button>
  678. <button id="btn_appacnt" class="btn4_letter2" visibility="hidden" style="left:165px; top:3px; width:56px; height:22px; ">
  679. <caption>분개</caption>
  680. <script type="javascript" ev:event="DOMActivate">
  681. <![CDATA[
  682. model.setValue("/root/send/endsave/saldfrayflag", cmb_saldfrayflag3.value);
  683. model.setValue("/root/send/endsave/instcd", cmb_instcd3.value);
  684. model.setValue("/root/send/endsave/payym", ipt_payym3.value);
  685. model.setValue("/root/send/endsave/paydd", ipt_paydd3.value);
  686. model.setValue("/root/send/endsave/holyordflag", model.getValue("/root/send/paycalc/holyordflag"));
  687. if (rdo_idflag3.value == "I") {
  688. model.setValue("/root/send/endsave/endyn", "Y");
  689. }
  690. else {
  691. model.setValue("/root/send/endsave/endyn", "N");
  692. }
  693. submit("TXRWP00802");
  694. ]]>
  695. </script>
  696. </button>
  697. </group>
  698. <caption id="caption27" class="cell_1" visibility="visible" style="left:5px; top:149px; width:87px; height:26px; vertical-align:middle; ">지급일자</caption>
  699. <select1 id="cmb_saldfrayflag3" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:95px; top:30px; width:185px; height:19px; ">
  700. <choices>
  701. <itemset>
  702. <label/>
  703. <value/>
  704. </itemset>
  705. </choices>
  706. <script type="javascript" ev:event="xforms-value-changed">
  707. <![CDATA[
  708. if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag3.value == "2") {
  709. cmb_instcd3.disabled = false;
  710. }
  711. else {
  712. cmb_instcd3.disabled = true;
  713. }
  714. if (cmb_saldfrayflag3.value == "2") {
  715. misfComboComCdListMulti("R0112,Z0007","cmb_saldfrayflag3,cmb_instcd3");
  716. addComboItem( "cmb_instcd3", "[-- 전체 --]", "%", "above");
  717. model.setValue(cmb_instcd3.attribute("ref"), "%");
  718. }
  719. else {
  720. misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
  721. misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
  722. model.setValue(cmb_instcd3.attribute("ref") , getUserInfo("dutplceinstcd"));
  723. }
  724. model.refresh();
  725. ]]>
  726. </script>
  727. </select1>
  728. <caption id="caption29" class="cell_1" style="left:5px; top:54px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  729. <caption id="caption30" class="cell_1" style="left:5px; top:100px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
  730. <caption id="caption32" class="cell_1" style="left:5px; top:76px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
  731. <input id="ipt_paydd3" ref="/root/send/paycalc/paydd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:152px; width:185px; height:19px; "/>
  732. <line id="line4" class="line_1" style="x1:5px; y1:24px; x2:285px; y2:24px; "/>
  733. <caption id="caption34" class="cell_1" visibility="hidden" style="left:5px; top:127px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
  734. <select1 id="combo3" ref="/root/send/paycalc/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:95px; top:127px; width:185px; height:19px; ">
  735. <choices>
  736. <item>
  737. <label>직원</label>
  738. <value>1</value>
  739. </item>
  740. <item>
  741. <label>의사</label>
  742. <value>2</value>
  743. </item>
  744. </choices>
  745. </select1>
  746. </case>
  747. </switch>
  748. <button id="button5" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:645px; top:10px; width:123px; height:22px; ">
  749. <caption>급여계산</caption>
  750. <toggle case="case1" ev:event="onclick"/>
  751. </button>
  752. <button id="button3" class="btn_sw" group="tab" selected="true" style="left:0px; top:20px; width:123px; height:22px; ">
  753. <caption>급여작업</caption>
  754. <toggle case="case2" ev:event="onclick"/>
  755. </button>
  756. <button id="button4" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:515px; top:15px; width:123px; height:22px; ">
  757. <caption>근태자료계산</caption>
  758. <toggle case="case3" ev:event="onclick"/>
  759. </button>
  760. <button id="btn_end" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:125px; top:20px; width:123px; height:22px; ">
  761. <caption>급여마감</caption>
  762. <toggle case="case4" ev:event="onclick"/>
  763. </button>
  764. </group>
  765. </xhtml:body>
  766. </xhtml:html>