/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 * 创建人:超级管理员 * 日 期:2022-11-07 11:54 * 描 述:工资条 */ var refreshGirdData; var bootstrap = function ($, learun) { "use strict"; var page = { init: function () { page.initGird(); page.bind(); }, bind: function () { $('#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' }); // 刷新 $('#lr_refresh').on('click', function () { location.reload(); }); //// 打印 //$('#lr_print').on('click', function () { // $('#gridtable').jqprintTable(); //}); }, initGird: function () { $('#gridtable').jfGrid({ url: top.$.rootUrl + '/EducationalAdministration/WageSchedule/GetPageList', headData: [ { label: '序号', name: 'No', width: 70, align: "left" }, { label: '姓名', name: 'EmpName', width: 70, align: "left" }, { label: '工资卡号', name: 'WageCardNo', width: 130, align: "left" }, { label: '人员类别', name: 'PeopleType', width: 70, align: "left" }, { label: '岗位等级', name: 'PostType', width: 70, align: "left" }, { label: '薪级', name: 'PayGrade', width: 50, align: "left" }, { label: '应发合计', name: 'TotalGrossPay', width: 70, align: "left", statistics: true }, { label: '基本工资', name: '基本工资', width: 130, align: "center", statistics: true, children: [ { label: '岗位工资', name: 'PostWage', width: 70, align: "left", statistics: true }, { label: '薪级工资', name: 'PayGradeWage', width: 70, align: "left", statistics: true }, { label: '百分之十', name: 'TenPercent', width: 70, align: "left", statistics: true }, ] }, { label: '绩效工资', name: '绩效工资', width: 70, align: "center", statistics: true, children: [ { label: '基础绩效', name: 'BasicsPerformance', width: 70, align: "left", statistics: true }, { label: '奖励绩效', name: 'AwardPerformance', width: 70, align: "left", statistics: true }, ] }, { label: '单列绩效', name: '单列绩效', width: 70, align: "center", statistics: true, children: [ { label: '基础绩效', name: 'SeparateBasicsPerformance', width: 70, align: "left", statistics: true }, { label: '奖励绩效', name: 'SeparateAwardPerformance', width: 90, align: "left", statistics: true }, ] }, { label: '津贴补贴', name: '津贴补贴', width: 130, align: "center", statistics: true, children: [ { label: '艰边津贴', name: 'RoughEdgeAllowance', width: 70, align: "left", statistics: true }, { label: '民族津贴', name: 'NationAllowance', width: 70, align: "left", statistics: true }, { label: '教龄补贴', name: 'TeachAllowance', width: 70, align: "left", statistics: true }, { label: '特级教师津贴', name: 'SuperfineTeacherResearch', width: 100, align: "left", statistics: true }, ] }, { label: '改革性补贴', name: '改革性补贴', width: 70, align: "center", statistics: true, children: [ { label: '交通补贴', name: 'Transportation', width: 70, align: "left", statistics: true }, { label: '物业补贴', name: 'RealeState', width: 70, align: "left", statistics: true }, { label: '工改保留补贴', name: 'WorkKeep', width: 90, align: "left", statistics: true }, ] }, { label: '女职工卫生费', name: 'GirlStaffSanitation', width: 90, align: "left", statistics: true }, { label: '乡镇补贴', name: 'TownshipSubsidy', width: 130, align: "center", statistics: true }, { label: '住房补贴', name: 'HousingAllowance', width: 80, align: "left", statistics: true }, { label: '住房公积金', name: 'HousingFundAllowance', width: 80, align: "left", statistics: true }, { label: '其他', name: 'OtherOne', width: 70, align: "left", statistics: true }, { label: '代扣合计', name: 'DeductionsSubtotal', width: 70, align: "left", statistics: true }, { label: '代扣代缴', name: '代扣代缴', width: 130, align: "center", statistics: true, children: [ { label: '公积金', name: 'AccumulationFund', width: 70, align: "left", statistics: true }, { label: '养老保险', name: 'EndowmentInsurance', width: 70, align: "left", statistics: true }, { label: '职业年金', name: 'OccupationalAnnuities', width: 70, align: "left", statistics: true }, { label: '医疗保险', name: 'MedicalInsurance', width: 70, align: "left", statistics: true }, { label: '失业保险', name: 'UnemploymentInsurance', width: 70, align: "left", statistics: true }, { label: '工会工费', name: 'LaborUnionWage', width: 70, align: "left", statistics: true }, { label: '个人所得税', name: 'PersonalIncomeTax', width: 70, align: "left", statistics: true }, { label: '其他', name: 'Other', width: 70, align: "left", statistics: true } ] }, { label: '实发合计', name: 'NetCombined', width: 70, align: "left", statistics: true }, { label: '发放月份', name: 'IssueMonth', width: 70, align: "left" }, { label: '发放年份', name: 'IssueYear', width: 70, align: "left" }, ], mainId: 'Id', isPage: true, rows: 300, sidx: 'CreateTime', }); page.search(); }, search: function (param) { param = param || {}; param.Sqlparam = "1"; $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); } }; refreshGirdData = function () { $('#gridtable').jfGridSet('reload'); }; page.init(); }