SMRWP00800_급여작업.xrw 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807
  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) + "25" );
  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) + "25" );
  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) + "25" );
  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:429px; ">
  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. <button id="button1" class="btn4_letter7" style="left:170px; top:3px; width:116px; height:22px; ">
  262. <caption>공제초과자조회</caption>
  263. <script type="javascript" ev:event="DOMActivate">
  264. <![CDATA[
  265. modal("SMRWP02600","","","","","", "" );
  266. ]]>
  267. </script>
  268. </button>
  269. </group>
  270. <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; ">
  271. <choices>
  272. <item>
  273. <label>직원</label>
  274. <value>1</value>
  275. </item>
  276. <item>
  277. <label>의사</label>
  278. <value>2</value>
  279. </item>
  280. </choices>
  281. </select1>
  282. <caption id="caption33" class="cell_1" visibility="hidden" style="left:5px; top:127px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
  283. </case>
  284. <case id="case2" selected="true">
  285. <caption id="caption4" class="tit_2" style="left:5px; top:10px; width:157px; height:13px; ">급여월차작업</caption>
  286. <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; ">
  287. <choices>
  288. <item>
  289. <label>생성</label>
  290. <value>I</value>
  291. </item>
  292. <item>
  293. <label>삭제</label>
  294. <value>D</value>
  295. </item>
  296. </choices>
  297. </select1>
  298. <select1 id="cmb_instcd1" ref="/root/send/paymonth/instcd" class="combo_default" appearance="minimal" style="left:89px; top:53px; width:175px; height:19px; ">
  299. <choices>
  300. <itemset>
  301. <label/>
  302. <value/>
  303. </itemset>
  304. </choices>
  305. </select1>
  306. <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; ">
  307. <script type="javascript" ev:event="xforms-value-changed">
  308. <![CDATA[
  309. ipt_paydd1.value = ipt_payym1.value + "25";
  310. model.setValue("/root/send/paycalc/payym", model.getValue("/root/send/paymonth/payym"));
  311. model.refresh();
  312. ]]>
  313. </script>
  314. </input>
  315. <output id="opt_message1" style="left:280px; top:159px; width:260px; height:19px; "/>
  316. <caption id="caption5" class="cell_1" style="left:0px; top:30px; width:87px; height:21px; vertical-align:middle; ">지급구분</caption>
  317. <caption id="caption9" class="cell_1" visibility="hidden" style="left:0px; top:121px; width:87px; height:21px; vertical-align:middle; ">작업일자</caption>
  318. <caption id="caption10" class="cell_1" style="left:0px; top:145px; width:87px; height:21px; vertical-align:middle; ">부서</caption>
  319. <caption id="caption12" class="cell_1" style="left:0px; top:52px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  320. <select1 id="cmb_saldfrayflag1" ref="/root/send/paymonth/saldfrayflag" class="combo_default" appearance="minimal" style="left:89px; top:31px; width:175px; height:19px; ">
  321. <choices>
  322. <itemset>
  323. <label/>
  324. <value/>
  325. </itemset>
  326. </choices>
  327. <script type="javascript" ev:event="xforms-value-changed">
  328. <![CDATA[
  329. if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag1.value == "2") {
  330. cmb_instcd1.disabled = false;
  331. }
  332. else {
  333. cmb_instcd1.disabled = true;
  334. }
  335. if ( cmb_saldfrayflag1.value == "A" ) {
  336. caption9.visible = true;
  337. ipt_paydd1.visible = true;
  338. }
  339. else {
  340. caption9.visible = false;
  341. ipt_paydd1.visible = false;
  342. }
  343. /*
  344. if (cmb_saldfrayflag1.value == "2") {
  345. misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag1,cmb_instcd1,cmb_saldfrayflag2,cmb_instcd2");
  346. addComboItem( "cmb_instcd1", "[-- 전체 --]", "%", "above");
  347. model.setValue(cmb_instcd1.attribute("ref"), "%");
  348. }
  349. else {
  350. */
  351. misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
  352. misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
  353. // misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag1,cmb_instcd1,cmb_saldfrayflag2,cmb_instcd2");
  354. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
  355. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
  356. // var curdate = getCurrentDate();
  357. // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  358. model.setValue(cmb_instcd1.attribute("ref") , getUserInfo("dutplceinstcd"));
  359. // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  360. //}
  361. model.setValue("/root/send/paycalc/saldfrayflag", model.getValue("/root/send/paymonth/saldfrayflag"));
  362. model.refresh();
  363. ]]>
  364. </script>
  365. </select1>
  366. <input id="ipt_emplnm1" ref="/root/send/paymonth/emplnm" class="input_default" style="left:165px; top:169px; width:99px; height:19px; ">
  367. <script type="javascript" ev:event="xforms-value-changed">
  368. <![CDATA[
  369. var recv_list = "emplno,emplnm" ;
  370. rpbfValidationCheck("EMPLNM", recv_list);
  371. model.refresh();
  372. ]]>
  373. </script>
  374. </input>
  375. <input id="ipt_deptnm1" ref="/root/send/paymonth/deptnm" class="input_default" style="left:165px; top:145px; width:99px; height:19px; ">
  376. <script type="javascript" ev:event="xforms-value-changed">
  377. <![CDATA[
  378. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  379. model.refresh();
  380. ]]>
  381. </script>
  382. </input>
  383. <input id="ipt_emplno1" ref="/root/send/paymonth/emplno" class="input_default" style="left:89px; top:169px; width:55px; height:19px; ">
  384. <script type="javascript" ev:event="xforms-value-changed">
  385. <![CDATA[
  386. var recv_list = "emplno,emplnm" ;
  387. rpbfValidationCheck("EMPLNO", recv_list);
  388. model.refresh();
  389. ]]>
  390. </script>
  391. </input>
  392. <button id="btn_emplno1" class="icon_search" style="left:146px; top:169px; width:16px; height:16px; ">
  393. <caption/>
  394. <script type="javascript" ev:event="DOMActivate">
  395. <![CDATA[
  396. var recv_list = "emplno,emplnm" ;
  397. rpbfOpenPopUpList("SPRPB00101", ipt_emplno1, recv_list,"","N");
  398. model.refresh();
  399. ]]>
  400. </script>
  401. </button>
  402. <input id="ipt_deptcd1" ref="/root/send/paymonth/dutdeptcd" class="input_default" style="left:89px; top:145px; width:55px; height:19px; ">
  403. <script type="javascript" ev:event="xforms-value-changed">
  404. <![CDATA[
  405. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  406. model.refresh();
  407. ]]>
  408. </script>
  409. </input>
  410. <button id="btn_deptcd1" class="icon_search" style="left:146px; top:145px; width:16px; height:16px; ">
  411. <caption/>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. var recv_list = "dutdeptcd,deptnm";
  415. var instcd = cmb_instcd1.value;
  416. rpbfOpenDeptCdHelp(ipt_deptcd1,recv_list,instcd,"instcd");
  417. model.refresh();
  418. ]]>
  419. </script>
  420. </button>
  421. <caption id="caption13" class="cell_1" style="left:0px; top:98px; width:87px; height:21px; vertical-align:middle; ">작업년월</caption>
  422. <caption id="caption14" class="cell_1" style="left:0px; top:75px; width:87px; height:21px; vertical-align:middle; ">작업구분</caption>
  423. <caption id="caption15" class="cell_1" style="left:0px; top:170px; width:87px; height:21px; vertical-align:middle; ">사번</caption>
  424. <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; "/>
  425. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:264px; y2:25px; "/>
  426. <group id="grp_btn" scroll="auto" style="left:0px; top:200px; width:1180px; height:27px; ">
  427. <button id="btn_save1" class="btn4_letter2" style="left:207px; top:3px; width:56px; height:22px; ">
  428. <caption>작업</caption>
  429. <script type="javascript" ev:event="DOMActivate">
  430. <![CDATA[
  431. submit("TXRWP00201");
  432. var curdate = getCurrentDate()
  433. zsbfOpenBatchLogPopup("paybaseinfomgr.PayMonthCalcBatch", curdate, curdate);
  434. ]]>
  435. </script>
  436. </button>
  437. </group>
  438. <select1 id="cmb_holyordflag" ref="/root/send/paymonth/holyordflag" class="combo_s_essential" navindex="5" visibility="hidden" appearance="minimal" style="left:374px; top:105px; width:175px; height:19px; ">
  439. <choices>
  440. <item>
  441. <label>직원</label>
  442. <value>1</value>
  443. </item>
  444. <item>
  445. <label>의사</label>
  446. <value>2</value>
  447. </item>
  448. </choices>
  449. <script type="javascript" ev:event="xforms-value-changed">
  450. <![CDATA[
  451. model.setValue("/root/send/paycalc/holyordflag", model.getValue("/root/send/paymonth/holyordflag"));
  452. model.refresh();
  453. ]]>
  454. </script>
  455. </select1>
  456. <caption id="caption28" class="cell_1" visibility="hidden" style="left:285px; top:105px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
  457. </case>
  458. <case id="case3">
  459. <caption id="caption16" class="tit_2" style="left:10px; top:10px; width:157px; height:14px; ">근태자료계산</caption>
  460. <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; ">
  461. <choices>
  462. <item>
  463. <label>생성</label>
  464. <value>I</value>
  465. </item>
  466. <item>
  467. <label>삭제</label>
  468. <value>D</value>
  469. </item>
  470. </choices>
  471. </select1>
  472. <select1 id="cmb_instcd2" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:99px; top:55px; width:185px; height:19px; ">
  473. <choices>
  474. <itemset>
  475. <label/>
  476. <value/>
  477. </itemset>
  478. </choices>
  479. </select1>
  480. <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; ">
  481. <script type="javascript" ev:event="xforms-value-changed">
  482. <![CDATA[
  483. ipt_paydd2.value = ipt_payym2.value + "25";
  484. ]]>
  485. </script>
  486. </input>
  487. <output id="output1" style="left:320px; top:100px; width:310px; height:19px; "/>
  488. <caption id="caption18" class="cell_1" style="left:10px; top:30px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
  489. <caption id="caption19" class="cell_1" visibility="hidden" style="left:320px; top:152px; width:87px; height:26px; vertical-align:middle; ">지급일자</caption>
  490. <caption id="caption20" class="cell_1" style="left:10px; top:151px; width:87px; height:23px; vertical-align:middle; ">부서</caption>
  491. <caption id="caption21" class="cell_1" style="left:10px; top:55px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  492. <select1 id="cmb_saldfrayflag2" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:100px; top:32px; width:185px; height:19px; ">
  493. <choices>
  494. <itemset>
  495. <label/>
  496. <value/>
  497. </itemset>
  498. </choices>
  499. <script type="javascript" ev:event="xforms-value-changed">
  500. <![CDATA[
  501. if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag2.value == "2") {
  502. cmb_instcd2.disabled = false;
  503. }
  504. else {
  505. cmb_instcd2.disabled = true;
  506. }
  507. if (cmb_saldfrayflag2.value == "2") {
  508. misfComboComCdListMulti("R0112,Z0007,R0112,Z0007","cmb_saldfrayflag2,cmb_instcd2,cmb_saldfrayflag1,cmb_instcd1");
  509. addComboItem( "cmb_instcd2", "[-- 전체 --]", "%", "above");
  510. model.setValue(cmb_instcd2.attribute("ref"), "%");
  511. }
  512. else {
  513. misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
  514. misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
  515. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
  516. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
  517. // var curdate = getCurrentDate();
  518. // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  519. model.setValue(cmb_instcd2.attribute("ref") , getUserInfo("dutplceinstcd"));
  520. // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  521. }
  522. model.refresh();
  523. ]]>
  524. </script>
  525. </select1>
  526. <input id="ipt_emplnm2" ref="/root/send/paycalc/emplnm" class="input_default" style="left:179px; top:176px; width:106px; height:19px; ">
  527. <script type="javascript" ev:event="xforms-value-changed">
  528. <![CDATA[
  529. var recv_list = "emplno,emplnm" ;
  530. rpbfValidationCheck("EMPLNM", recv_list);
  531. model.refresh();
  532. ]]>
  533. </script>
  534. </input>
  535. <input id="ipt_deptnm2" ref="/root/send/paycalc/deptnm" class="input_default" style="left:179px; top:151px; width:106px; height:19px; ">
  536. <script type="javascript" ev:event="xforms-value-changed">
  537. <![CDATA[
  538. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  539. model.refresh();
  540. ]]>
  541. </script>
  542. </input>
  543. <line id="line2" class="line_3" style="x1:10px; y1:201px; x2:290px; y2:201px; "/>
  544. <input id="ipt_emplno2" ref="/root/send/paycalc/emplno" class="input_default" style="left:99px; top:176px; width:55px; height:19px; ">
  545. <script type="javascript" ev:event="xforms-value-changed">
  546. <![CDATA[
  547. var recv_list = "emplno,emplnm" ;
  548. rpbfValidationCheck("EMPLNO", recv_list);
  549. model.refresh();
  550. ]]>
  551. </script>
  552. </input>
  553. <button id="btn_emplno2" class="icon_search" style="left:158px; top:177px; width:16px; height:16px; ">
  554. <caption/>
  555. <script type="javascript" ev:event="DOMActivate">
  556. <![CDATA[
  557. var recv_list = "emplno,emplnm" ;
  558. rpbfOpenPopUpList("SPRPB00101", ipt_emplno2, recv_list,"","N");
  559. model.refresh();
  560. ]]>
  561. </script>
  562. </button>
  563. <input id="ipt_deptcd2" ref="/root/send/paycalc/dutdeptcd" class="input_default" style="left:99px; top:151px; width:55px; height:19px; ">
  564. <script type="javascript" ev:event="xforms-value-changed">
  565. <![CDATA[
  566. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  567. model.refresh();
  568. ]]>
  569. </script>
  570. </input>
  571. <button id="btn_deptcd2" class="icon_search" style="left:158px; top:152px; width:16px; height:16px; ">
  572. <caption/>
  573. <script type="javascript" ev:event="DOMActivate">
  574. <![CDATA[
  575. var recv_list = "dutdeptcd,deptnm";
  576. rpbfOpenDeptCdHelp(ipt_deptcd2,recv_list);
  577. model.refresh();
  578. ]]>
  579. </script>
  580. </button>
  581. <caption id="caption22" class="cell_1" style="left:10px; top:101px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
  582. <caption id="caption23" class="cell_1" style="left:10px; top:77px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
  583. <caption id="caption24" class="cell_1" style="left:10px; top:175px; width:87px; height:23px; vertical-align:middle; ">사번</caption>
  584. <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; "/>
  585. <line id="line3" class="line_1" style="x1:10px; y1:25px; x2:290px; y2:25px; "/>
  586. <group id="group4" scroll="auto" style="left:0px; top:220px; width:1180px; height:27px; ">
  587. <button id="button2" class="btn4_letter2" style="left:233px; top:3px; width:56px; height:22px; ">
  588. <caption>작업</caption>
  589. <script type="javascript" ev:event="DOMActivate">
  590. <![CDATA[
  591. submit("TXRWP00701");
  592. var curdate = getCurrentDate();
  593. zsbfOpenBatchLogPopup("paybnusmgr.PayDutCalcBatch", curdate, curdate);
  594. ]]>
  595. </script>
  596. </button>
  597. </group>
  598. <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; ">
  599. <choices>
  600. <item>
  601. <label>직원</label>
  602. <value>1</value>
  603. </item>
  604. <item>
  605. <label>의사</label>
  606. <value>2</value>
  607. </item>
  608. </choices>
  609. </select1>
  610. <caption id="caption31" class="cell_1" visibility="hidden" style="left:10px; top:128px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
  611. </case>
  612. <case id="case4">
  613. <caption id="caption25" class="tit_2" style="left:5px; top:9px; width:157px; height:14px; ">급여마감</caption>
  614. <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; ">
  615. <choices>
  616. <item>
  617. <label>생성</label>
  618. <value>I</value>
  619. </item>
  620. <item>
  621. <label>삭제</label>
  622. <value>D</value>
  623. </item>
  624. </choices>
  625. </select1>
  626. <select1 id="cmb_instcd3" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:95px; top:55px; width:185px; height:19px; ">
  627. <choices>
  628. <itemset>
  629. <label/>
  630. <value/>
  631. </itemset>
  632. </choices>
  633. </select1>
  634. <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; ">
  635. <script type="javascript" ev:event="xforms-value-changed">
  636. <![CDATA[
  637. ipt_paydd.value = ipt_payym.value + "25";
  638. ]]>
  639. </script>
  640. </input>
  641. <output id="output2" style="left:290px; top:150px; width:284px; height:19px; "/>
  642. <caption id="caption26" class="cell_1" style="left:5px; top:29px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
  643. <group id="group5" scroll="auto" style="left:0px; top:195px; width:1175px; height:27px; ">
  644. <button id="btn_save3" class="btn4_letter2" style="left:225px; top:3px; width:56px; height:22px; ">
  645. <caption>마감</caption>
  646. <script type="javascript" ev:event="DOMActivate">
  647. <![CDATA[
  648. model.setValue("/root/send/endsave/saldfrayflag", cmb_saldfrayflag3.value);
  649. model.setValue("/root/send/endsave/instcd", cmb_instcd3.value);
  650. model.setValue("/root/send/endsave/payym", ipt_payym3.value);
  651. model.setValue("/root/send/endsave/paydd", ipt_paydd3.value);
  652. model.setValue("/root/send/endsave/holyordflag", combo3.value);
  653. if (rdo_idflag3.value == "I") {
  654. model.setValue("/root/send/endsave/endyn", "Y");
  655. }
  656. else {
  657. model.setValue("/root/send/endsave/endyn", "N");
  658. }
  659. submit("TXRWP00801");
  660. ]]>
  661. </script>
  662. </button>
  663. <button id="btn_appacnt" class="btn4_letter2" style="left:165px; top:3px; width:56px; height:22px; ">
  664. <caption>분개</caption>
  665. <script type="javascript" ev:event="DOMActivate">
  666. <![CDATA[
  667. model.setValue("/root/send/endsave/saldfrayflag", cmb_saldfrayflag3.value);
  668. model.setValue("/root/send/endsave/instcd", cmb_instcd3.value);
  669. model.setValue("/root/send/endsave/payym", ipt_payym3.value);
  670. model.setValue("/root/send/endsave/paydd", ipt_paydd3.value);
  671. model.setValue("/root/send/endsave/holyordflag", model.getValue("/root/send/paycalc/holyordflag"));
  672. if (rdo_idflag3.value == "I") {
  673. model.setValue("/root/send/endsave/endyn", "Y");
  674. }
  675. else {
  676. model.setValue("/root/send/endsave/endyn", "N");
  677. }
  678. submit("TXRWP00802");
  679. ]]>
  680. </script>
  681. </button>
  682. </group>
  683. <caption id="caption27" class="cell_1" visibility="visible" style="left:5px; top:149px; width:87px; height:26px; vertical-align:middle; ">발의일자</caption>
  684. <select1 id="cmb_saldfrayflag3" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:95px; top:30px; width:185px; height:19px; ">
  685. <choices>
  686. <itemset>
  687. <label/>
  688. <value/>
  689. </itemset>
  690. </choices>
  691. <script type="javascript" ev:event="xforms-value-changed">
  692. <![CDATA[
  693. if (DUTY_PAY_YN == "Y" || cmb_saldfrayflag3.value == "2") {
  694. cmb_instcd3.disabled = false;
  695. }
  696. else {
  697. cmb_instcd3.disabled = true;
  698. }
  699. if (cmb_saldfrayflag3.value == "2") {
  700. misfComboComCdListMulti("R0112,Z0007","cmb_saldfrayflag3,cmb_instcd3");
  701. addComboItem( "cmb_instcd3", "[-- 전체 --]", "%", "above");
  702. model.setValue(cmb_instcd3.attribute("ref"), "%");
  703. }
  704. else {
  705. misfComboInstCdListMulti("cmb_instcd,cmb_instcd1,cmb_instcd2,cmb_instcd3",getCurrentDate(),"","N");
  706. misfComboComCdListMulti("R0112,R0112,R0112,R0112","cmb_saldfrayflag,cmb_saldfrayflag1,cmb_saldfrayflag2,cmb_saldfrayflag3");
  707. model.setValue(cmb_instcd3.attribute("ref") , getUserInfo("dutplceinstcd"));
  708. }
  709. model.refresh();
  710. ]]>
  711. </script>
  712. </select1>
  713. <caption id="caption29" class="cell_1" style="left:5px; top:54px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  714. <caption id="caption30" class="cell_1" style="left:5px; top:100px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
  715. <caption id="caption32" class="cell_1" style="left:5px; top:76px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
  716. <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; "/>
  717. <line id="line4" class="line_1" style="x1:5px; y1:24px; x2:285px; y2:24px; "/>
  718. <caption id="caption34" class="cell_1" visibility="hidden" style="left:5px; top:127px; width:87px; height:21px; vertical-align:middle; ">직원구분</caption>
  719. <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; ">
  720. <choices>
  721. <item>
  722. <label>직원</label>
  723. <value>1</value>
  724. </item>
  725. <item>
  726. <label>의사</label>
  727. <value>2</value>
  728. </item>
  729. </choices>
  730. </select1>
  731. </case>
  732. </switch>
  733. <button id="button5" class="btn_sw" group="tab" selected="false" style="left:250px; top:20px; width:123px; height:22px; ">
  734. <caption>급여계산</caption>
  735. <toggle case="case1" ev:event="onclick"/>
  736. </button>
  737. <button id="button3" class="btn_sw" group="tab" selected="true" style="left:0px; top:20px; width:123px; height:22px; ">
  738. <caption>급여월차작업</caption>
  739. <toggle case="case2" ev:event="onclick"/>
  740. </button>
  741. <button id="button4" class="btn_sw" group="tab" selected="false" style="left:125px; top:20px; width:123px; height:22px; ">
  742. <caption>근태자료계산</caption>
  743. <toggle case="case3" ev:event="onclick"/>
  744. </button>
  745. <button id="btn_end" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:375px; top:20px; width:123px; height:22px; ">
  746. <caption>급여마감</caption>
  747. <toggle case="case4" ev:event="onclick"/>
  748. </button>
  749. </group>
  750. </xhtml:body>
  751. </xhtml:html>