No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

112 líneas
7.3 KiB

  1. /* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
  2. * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
  3. * 创建人:超级管理员
  4. * 日 期:2021-04-21 15:42
  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. type: 'multiple',
  23. url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
  24. value: 'value',
  25. text: 'text'
  26. });
  27. $('#IssueMonth').lrDataItemSelect({ code: 'MPMonth', type: 'multiple' });
  28. $('#Department').lrselect({
  29. type: 'tree',
  30. // 展开最大高度
  31. maxHeight: 200,
  32. // 是否允许搜索
  33. allowSearch: true,
  34. // 访问数据接口地址
  35. url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree',
  36. });
  37. // 刷新
  38. $('#lr_refresh').on('click', function () {
  39. location.reload();
  40. });
  41. },
  42. // 初始化列表
  43. initGird: function () {
  44. $('#gridtable').jfGrid({
  45. url: top.$.rootUrl + '/PersonnelManagement/Emp_Payroll/GetStatisticList',
  46. headData: [
  47. { label: "发放年份", name: "IssueYear", width: 100, align: "left" },
  48. { label: "发放月份", name: "IssueMonth", width: 100, align: "left" },
  49. { label: "岗位工资", name: "PostSalary", width: 100, align: "left", statistics: true },
  50. { label: "薪级工资", name: "PayWages", width: 100, align: "left", statistics: true },
  51. { label: "提高百分之十", name: "UpTenpercent", width: 100, align: "left", statistics: true },
  52. { label: "校内补贴", name: "SchoolSub", width: 100, align: "left", statistics: true },
  53. { label: "临时性补贴", name: "TemporarySub", width: 100, align: "left", statistics: true },
  54. { label: "职级工资", name: "RankWage", width: 100, align: "left", statistics: true },
  55. { label: "级差补贴", name: "DifferentialSub", width: 100, align: "left", statistics: true },
  56. { label: "绩效工资", name: "MeritPay", width: 100, align: "left", statistics: true },
  57. { label: "绩效工资减少额", name: "MeritPayLess", width: 100, align: "left", statistics: true },
  58. { label: "月发一次性绩效", name: "MonthlyoneMerit", width: 100, align: "left", statistics: true },
  59. { label: "倾斜", name: "Tilt", width: 100, align: "left", statistics: true },
  60. { label: "课时费", name: "Classfees", width: 100, align: "left", statistics: true },
  61. { label: "超课时", name: "SuperClass", width: 100, align: "left", statistics: true },
  62. { label: "培训课酬", name: "TrainingDollars", width: 100, align: "left", statistics: true },
  63. { label: "奖金", name: "Bonus", width: 100, align: "left", statistics: true },
  64. { label: "婴补", name: "BabySubsidies", width: 100, align: "left", statistics: true },
  65. { label: "班主任", name: "ClassTeacher", width: 100, align: "left", statistics: true },
  66. { label: "骨干津贴", name: "KeyBenefits", width: 100, align: "left", statistics: true },
  67. { label: "职务补", name: "PositionFill", width: 100, align: "left", statistics: true },
  68. { label: "加班费", name: "OvertimePay", width: 100, align: "left", statistics: true },
  69. { label: "值班费", name: "OnDutyfee", width: 100, align: "left", statistics: true },
  70. { label: "考务费", name: "ExaminationFee", width: 100, align: "left", statistics: true },
  71. { label: "安全绩效", name: "SecurityPay", width: 100, align: "left", statistics: true },
  72. { label: "医药费", name: "MedicalBills", width: 100, align: "left", statistics: true },
  73. { label: "防暑降温", name: "CoolingPurposes", width: 100, align: "left", statistics: true },
  74. { label: "房补", name: "HousSub", width: 100, align: "left", statistics: true },
  75. { label: "物业补贴", name: "PropertySub", width: 100, align: "left", statistics: true },
  76. { label: "采暖补贴", name: "HeatingSub", width: 100, align: "left", statistics: true },
  77. { label: "综合补助", name: "ComprehensiveSub", width: 100, align: "left", statistics: true },
  78. { label: "综治奖", name: "ControlSub", width: 100, align: "left", statistics: true },
  79. { label: "补发", name: "Replacement", width: 100, align: "left", statistics: true },
  80. { label: "应发合计", name: "SendSum", width: 100, align: "left", statistics: true },
  81. { label: "失保", name: "LossInsurance", width: 100, align: "left", statistics: true },
  82. { label: "养保", name: "Bartender", width: 100, align: "left", statistics: true },
  83. { label: "职业年金", name: "OcPension", width: 100, align: "left", statistics: true },
  84. { label: "房积金", name: "HousFund", width: 100, align: "left", statistics: true },
  85. { label: "医保", name: "HealthCare", width: 100, align: "left", statistics: true },
  86. { label: "房租", name: "TheRent", width: 100, align: "left", statistics: true },
  87. { label: "网费", name: "InternetFee", width: 100, align: "left", statistics: true },
  88. { label: "考核扣款", name: "AssDeductions", width: 100, align: "left", statistics: true },
  89. { label: "其他扣款", name: "OtherDeductions", width: 100, align: "left", statistics: true },
  90. { label: "代扣个税", name: "WithBuckletax", width: 100, align: "left", statistics: true },
  91. { label: "扣款合计", name: "DeductionsSum", width: 100, align: "left", statistics: true },
  92. { label: "纳税收入", name: "TaxRevenue", width: 100, align: "left", statistics: true },
  93. { label: "免税收入", name: "TaxIncome", width: 100, align: "left", statistics: true },
  94. { label: "应发合计", name: "NetCombined", width: 100, align: "left", statistics: true },
  95. ],
  96. mainId: 'SalaryID',
  97. isPage: false
  98. });
  99. page.search();
  100. },
  101. search: function (param) {
  102. param = param || {};
  103. $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
  104. }
  105. };
  106. refreshGirdData = function () {
  107. $('#gridtable').jfGridSet('reload');
  108. };
  109. page.init();
  110. }