You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IndexMy.js 7.5 KiB

2 years ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
  2. * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
  3. * 创建人:超级管理员
  4. * 日 期:2022-11-07 11:54
  5. * 描 述:工资条
  6. */
  7. var refreshGirdData;
  8. var bootstrap = function ($, learun) {
  9. "use strict";
  10. var page = {
  11. init: function () {
  12. page.initGird();
  13. page.bind();
  14. },
  15. bind: function () {
  16. $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
  17. page.search(queryJson);
  18. }, 220, 400);
  19. //年份
  20. $('#IssueYear').lrselect({
  21. allowSearch: true,
  22. url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
  23. value: 'value',
  24. text: 'text'
  25. });
  26. $('#IssueMonth').lrDataItemSelect({ code: 'MPMonth' });
  27. // 刷新
  28. $('#lr_refresh').on('click', function () {
  29. location.reload();
  30. });
  31. //// 打印
  32. //$('#lr_print').on('click', function () {
  33. // $('#gridtable').jqprintTable();
  34. //});
  35. },
  36. initGird: function () {
  37. $('#gridtable').jfGrid({
  38. url: top.$.rootUrl + '/EducationalAdministration/WageSchedule/GetPageList',
  39. headData: [
  40. { label: '发放年份', name: 'IssueYear', width: 70, align: "left" },
  41. { label: '发放月份', name: 'IssueMonth', width: 70, align: "left" },
  42. { label: '序号', name: 'No', width: 70, align: "left" },
  43. { label: '姓名', name: 'EmpName', width: 70, align: "left" },
  44. { label: '工资卡号', name: 'WageCardNo', width: 130, align: "left" },
  45. { label: '人员类别', name: 'PeopleType', width: 70, align: "left" },
  46. { label: '岗位等级', name: 'PostType', width: 70, align: "left" },
  47. { label: '薪级', name: 'PayGrade', width: 50, align: "left" },
  48. { label: '应发合计', name: 'TotalGrossPay', width: 70, align: "left", statistics: true },
  49. {
  50. label: '基本工资', name: '基本工资', width: 130, align: "center", statistics: true,
  51. children: [
  52. { label: '岗位工资', name: 'PostWage', width: 70, align: "left", statistics: true },
  53. { label: '薪级工资', name: 'PayGradeWage', width: 70, align: "left", statistics: true },
  54. { label: '百分之十', name: 'TenPercent', width: 70, align: "left", statistics: true },
  55. ]
  56. },
  57. {
  58. label: '绩效工资', name: '绩效工资', width: 70, align: "center", statistics: true,
  59. children: [
  60. { label: '基础绩效', name: 'BasicsPerformance', width: 70, align: "left", statistics: true },
  61. { label: '奖励绩效', name: 'AwardPerformance', width: 70, align: "left", statistics: true },
  62. ]
  63. },
  64. {
  65. label: '单列绩效', name: '单列绩效', width: 70, align: "center", statistics: true,
  66. children: [
  67. { label: '基础绩效', name: 'SeparateBasicsPerformance', width: 70, align: "left", statistics: true },
  68. { label: '奖励绩效', name: 'SeparateAwardPerformance', width: 90, align: "left", statistics: true },
  69. ]
  70. },
  71. {
  72. label: '津贴补贴', name: '津贴补贴', width: 130, align: "center", statistics: true,
  73. children: [
  74. { label: '艰边津贴', name: 'RoughEdgeAllowance', width: 70, align: "left", statistics: true },
  75. { label: '民族津贴', name: 'NationAllowance', width: 70, align: "left", statistics: true },
  76. { label: '教龄补贴', name: 'TeachAllowance', width: 70, align: "left", statistics: true },
  77. { label: '特级教师津贴', name: 'SuperfineTeacherResearch', width: 100, align: "left", statistics: true },
  78. ]
  79. },
  80. {
  81. label: '改革性补贴', name: '改革性补贴', width: 70, align: "center", statistics: true,
  82. children: [
  83. { label: '交通补贴', name: 'Transportation', width: 70, align: "left", statistics: true },
  84. { label: '物业补贴', name: 'RealeState', width: 70, align: "left", statistics: true },
  85. { label: '工改保留补贴', name: 'WorkKeep', width: 90, align: "left", statistics: true },
  86. ]
  87. },
  88. { label: '女职工卫生费', name: 'GirlStaffSanitation', width: 90, align: "left", statistics: true },
  89. { label: '乡镇补贴', name: 'TownshipSubsidy', width: 130, align: "center", statistics: true },
  90. { label: '住房补贴', name: 'HousingAllowance', width: 80, align: "left", statistics: true },
  91. { label: '住房公积金', name: 'HousingFundAllowance', width: 80, align: "left", statistics: true },
  92. { label: '其他', name: 'OtherOne', width: 70, align: "left", statistics: true },
  93. { label: '代扣合计', name: 'DeductionsSubtotal', width: 70, align: "left", statistics: true },
  94. {
  95. label: '代扣代缴', name: '代扣代缴', width: 130, align: "center", statistics: true,
  96. children: [
  97. { label: '公积金', name: 'AccumulationFund', width: 70, align: "left", statistics: true },
  98. { label: '养老保险', name: 'EndowmentInsurance', width: 70, align: "left", statistics: true },
  99. { label: '职业年金', name: 'OccupationalAnnuities', width: 70, align: "left", statistics: true },
  100. { label: '医疗保险', name: 'MedicalInsurance', width: 70, align: "left", statistics: true },
  101. { label: '失业保险', name: 'UnemploymentInsurance', width: 70, align: "left", statistics: true },
  102. { label: '工会工费', name: 'LaborUnionWage', width: 70, align: "left", statistics: true },
  103. { label: '个人所得税', name: 'PersonalIncomeTax', width: 70, align: "left", statistics: true },
  104. { label: '其他', name: 'Other', width: 70, align: "left", statistics: true }
  105. ]
  106. },
  107. { label: '实发合计', name: 'NetCombined', width: 70, align: "left", statistics: true },
  108. ],
  109. mainId: 'Id',
  110. isPage: true,
  111. rows: 300,
  112. sidx: 'CreateTime',
  113. });
  114. page.search();
  115. },
  116. search: function (param) {
  117. param = param || {};
  118. param.Sqlparam = "1";
  119. $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
  120. }
  121. };
  122. refreshGirdData = function () {
  123. $('#gridtable').jfGridSet('reload');
  124. };
  125. page.init();
  126. }