|
|
@@ -2,7 +2,7 @@ |
|
|
|
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 |
|
|
|
* 创建人:超级管理员 |
|
|
|
* 日 期:2021-04-21 15:42 |
|
|
|
* 描 述:考勤记录 |
|
|
|
* 描 述:工资条 |
|
|
|
*/ |
|
|
|
var refreshGirdData; |
|
|
|
var bootstrap = function ($, learun) { |
|
|
@@ -14,39 +14,27 @@ var bootstrap = function ($, learun) { |
|
|
|
page.bind(); |
|
|
|
}, |
|
|
|
bind: function () { |
|
|
|
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { |
|
|
|
page.search(queryJson); |
|
|
|
}, 220, 400); |
|
|
|
//学年 |
|
|
|
$('#IuuseYears').lrselect({ |
|
|
|
placeholder: "请选择年度", |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/PersonnelManagement/Emp_Payroll/IuuseYears', |
|
|
|
value: 'value', |
|
|
|
text: 'text' |
|
|
|
}); |
|
|
|
//学期 |
|
|
|
//$('#MPSemester').lrselect({ |
|
|
|
// placeholder: "请选择学期", |
|
|
|
// allowSearch: true, |
|
|
|
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo', |
|
|
|
// value: 'value', |
|
|
|
// text: 'text' |
|
|
|
//}); |
|
|
|
$('#IssueMonth').lrDataItemSelect({ code: 'IssueMonth' }); |
|
|
|
|
|
|
|
//$('#MPDepartment').lrselect({ |
|
|
|
// type: 'tree', |
|
|
|
// // 展开最大高度 |
|
|
|
// maxHeight: 200, |
|
|
|
// // 是否允许搜索 |
|
|
|
// allowSearch: true, |
|
|
|
// // 访问数据接口地址 |
|
|
|
// url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree', |
|
|
|
$('#SalaryName') |
|
|
|
.lrselect({ type: 'default', allowSearch: true, value: 'SalaryID', text: 'SalaryName' }) |
|
|
|
|
|
|
|
// 刷新 |
|
|
|
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { |
|
|
|
page.search(queryJson); |
|
|
|
}, 220, 400); |
|
|
|
//年份 |
|
|
|
$('#IssueYear').lrselect({ |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear', |
|
|
|
value: 'value', |
|
|
|
text: 'text' |
|
|
|
}); |
|
|
|
$('#IssueMonth').lrDataItemSelect({ code: 'MPMonth' }); |
|
|
|
$('#Department').lrselect({ |
|
|
|
type: 'tree', |
|
|
|
// 展开最大高度 |
|
|
|
maxHeight: 200, |
|
|
|
// 是否允许搜索 |
|
|
|
allowSearch: true, |
|
|
|
// 访问数据接口地址 |
|
|
|
url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree', |
|
|
|
}); |
|
|
|
// 刷新 |
|
|
|
$('#lr_refresh').on('click', function () { |
|
|
|
location.reload(); |
|
|
|
}); |
|
|
@@ -85,7 +73,7 @@ var bootstrap = function ($, learun) { |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
learun.layerConfirm('是否确认删除该项!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/Emp_Payroll/DeleteForm', { keyValue: keyValue}, function () { |
|
|
|
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/Emp_Payroll/DeleteForm', { keyValue: keyValue }, function () { |
|
|
|
refreshGirdData(); |
|
|
|
}); |
|
|
|
} |
|
|
@@ -102,64 +90,64 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#gridtable').jfGrid({ |
|
|
|
url: top.$.rootUrl + '/PersonnelManagement/Emp_Payroll/GetPageList', |
|
|
|
headData: [ |
|
|
|
{ label: "姓名", name: "SalaryName", width: 100, align: "left"}, |
|
|
|
{ label: "岗位工资", name: "PostSalary", width: 100, align: "left"}, |
|
|
|
{ label: "薪级工资", name: "PayWages", width: 100, align: "left"}, |
|
|
|
{ label: "提高百分之十", name: "UpTenpercent", width: 100, align: "left"}, |
|
|
|
{ label: "校内补贴", name: "SchoolSub", width: 100, align: "left"}, |
|
|
|
{ label: "临时性补贴", name: "TemporarySub", width: 100, align: "left"}, |
|
|
|
{ label: "职级工资", name: "RankWage", width: 100, align: "left"}, |
|
|
|
{ label: "级差补贴", name: "DifferentialSub", width: 100, align: "left"}, |
|
|
|
{ label: "绩效工资", name: "MeritPay", width: 100, align: "left"}, |
|
|
|
{ label: "绩效工资减少额", name: "MeritPayLess", width: 100, align: "left"}, |
|
|
|
{ label: "月发一次性绩效", name: "MonthlyoneMerit", width: 100, align: "left"}, |
|
|
|
{ label: "倾斜", name: "Tilt", width: 100, align: "left"}, |
|
|
|
{ label: "课时费", name: "Classfees", width: 100, align: "left"}, |
|
|
|
{ label: "超课时", name: "SuperClass", width: 100, align: "left"}, |
|
|
|
{ label: "培训课酬", name: "TrainingDollars", width: 100, align: "left"}, |
|
|
|
{ label: "奖金", name: "Bonus", width: 100, align: "left"}, |
|
|
|
{ label: "婴补", name: "BabySubsidies", width: 100, align: "left"}, |
|
|
|
{ label: "班主任", name: "ClassTeacher", width: 100, align: "left"}, |
|
|
|
{ label: "骨干津贴", name: "KeyBenefits", width: 100, align: "left"}, |
|
|
|
{ label: "职务补", name: "PositionFill", width: 100, align: "left"}, |
|
|
|
{ label: "加班费", name: "OvertimePay", width: 100, align: "left"}, |
|
|
|
{ label: "值班费", name: "OnDutyfee", width: 100, align: "left"}, |
|
|
|
{ label: "考务费", name: "ExaminationFee", width: 100, align: "left"}, |
|
|
|
{ label: "安全绩效", name: "SecurityPay", width: 100, align: "left"}, |
|
|
|
{ label: "医药费", name: "MedicalBills", width: 100, align: "left"}, |
|
|
|
{ label: "防暑降温", name: "CoolingPurposes", width: 100, align: "left"}, |
|
|
|
{ label: "房补", name: "HousSub", width: 100, align: "left"}, |
|
|
|
{ label: "物业补贴", name: "PropertySub", width: 100, align: "left"}, |
|
|
|
{ label: "采暖补贴", name: "HeatingSub", width: 100, align: "left"}, |
|
|
|
{ label: "综合补助", name: "ComprehensiveSub", width: 100, align: "left"}, |
|
|
|
{ label: "综治奖", name: "ControlSub", width: 100, align: "left"}, |
|
|
|
{ label: "补发", name: "Replacement", width: 100, align: "left"}, |
|
|
|
{ label: "应发合计", name: "SendSum", width: 100, align: "left"}, |
|
|
|
{ label: "失保", name: "LossInsurance", width: 100, align: "left"}, |
|
|
|
{ label: "养保", name: "Bartender", width: 100, align: "left"}, |
|
|
|
{ label: "职业年金", name: "OcPension", width: 100, align: "left"}, |
|
|
|
{ label: "房积金", name: "HousFund", width: 100, align: "left"}, |
|
|
|
{ label: "医保", name: "HealthCare", width: 100, align: "left"}, |
|
|
|
{ label: "房租", name: "TheRent", width: 100, align: "left"}, |
|
|
|
{ label: "网费", name: "InternetFee", width: 100, align: "left"}, |
|
|
|
{ label: "考核扣款", name: "AssDeductions", width: 100, align: "left"}, |
|
|
|
{ label: "其他扣款", name: "OtherDeductions", width: 100, align: "left"}, |
|
|
|
{ label: "代扣个税", name: "WithBuckletax", width: 100, align: "left"}, |
|
|
|
{ label: "扣款合计", name: "DeductionsSum", width: 100, align: "left"}, |
|
|
|
{ label: "纳税收入", name: "TaxRevenue", width: 100, align: "left"}, |
|
|
|
{ label: "免税收入", name: "TaxIncome", width: 100, align: "left"}, |
|
|
|
{ label: "应发合计", name: "NetCombined", width: 100, align: "left"}, |
|
|
|
{ label: "姓名", name: "SalaryName", width: 100, align: "left" }, |
|
|
|
{ label: "岗位工资", name: "PostSalary", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "薪级工资", name: "PayWages", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "提高百分之十", name: "UpTenpercent", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "校内补贴", name: "SchoolSub", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "临时性补贴", name: "TemporarySub", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "职级工资", name: "RankWage", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "级差补贴", name: "DifferentialSub", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "绩效工资", name: "MeritPay", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "绩效工资减少额", name: "MeritPayLess", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "月发一次性绩效", name: "MonthlyoneMerit", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "倾斜", name: "Tilt", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "课时费", name: "Classfees", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "超课时", name: "SuperClass", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "培训课酬", name: "TrainingDollars", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "奖金", name: "Bonus", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "婴补", name: "BabySubsidies", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "班主任", name: "ClassTeacher", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "骨干津贴", name: "KeyBenefits", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "职务补", name: "PositionFill", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "加班费", name: "OvertimePay", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "值班费", name: "OnDutyfee", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "考务费", name: "ExaminationFee", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "安全绩效", name: "SecurityPay", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "医药费", name: "MedicalBills", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "防暑降温", name: "CoolingPurposes", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "房补", name: "HousSub", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "物业补贴", name: "PropertySub", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "采暖补贴", name: "HeatingSub", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "综合补助", name: "ComprehensiveSub", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "综治奖", name: "ControlSub", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "补发", name: "Replacement", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "应发合计", name: "SendSum", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "失保", name: "LossInsurance", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "养保", name: "Bartender", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "职业年金", name: "OcPension", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "房积金", name: "HousFund", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "医保", name: "HealthCare", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "房租", name: "TheRent", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "网费", name: "InternetFee", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "考核扣款", name: "AssDeductions", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "其他扣款", name: "OtherDeductions", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "代扣个税", name: "WithBuckletax", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "扣款合计", name: "DeductionsSum", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "纳税收入", name: "TaxRevenue", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "免税收入", name: "TaxIncome", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "应发合计", name: "NetCombined", width: 100, align: "left", statistics: true }, |
|
|
|
{ label: "发放月份", name: "IssueMonth", width: 100, align: "left" }, |
|
|
|
{ label: "发放年份", name: "IssueYears", width: 100, align: "left" }, |
|
|
|
{ label: "发放年份", name: "IssueYear", width: 100, align: "left" }, |
|
|
|
], |
|
|
|
mainId:'SalaryID', |
|
|
|
mainId: 'SalaryID', |
|
|
|
isPage: true |
|
|
|
}); |
|
|
|
page.search(); |
|
|
|
}, |
|
|
|
search: function (param) { |
|
|
|
param = param || {}; |
|
|
|
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); |
|
|
|
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); |
|
|
|
} |
|
|
|
}; |
|
|
|
refreshGirdData = function () { |
|
|
|