username@email.com
2021-09-10 83c4efe25b7b5ee027a34987f8ee508a379c1d47
zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml
@@ -55,13 +55,13 @@
        dataCol = [
            { label: '序号', name: 'Id', labtype: 'txt', hidden: true },
            { label: '序号', name: 'Islock', labtype: 'txt', hidden: true },
            { label: '工号', name: 'Usernumber', labtype: 'txt', hidden: false, width: 100},
            { label: '工号', name: 'Usernumber', labtype: 'txt', hidden: false, width: 80},
            {
                label: '姓名', name: 'UserName', labtype: 'txt', hidden: false, width: 100,
                label: '姓名', name: 'UserName', labtype: 'txt', hidden: false, width: 60,
            },
            { label: '工资月份', name: 'YearMonth', labtype: 'txt', hidden: false, width: 100 },
            { label: '工资月份', name: 'YearMonth', labtype: 'txt', hidden: false, width: 80 },
            {
                label: '状态', name: 'IslockChs', labtype: 'txt', hidden: false, width: 100, formatter: function (cellvalue, options, rowObject) {
                label: '状态', name: 'IslockChs', labtype: 'txt', hidden: false, width: 60, formatter: function (cellvalue, options, rowObject) {
                    if (rowObject.Islock == 'S') {
                        return '<b style="color: red">' + cellvalue + '</b>';
                    } else {
@@ -69,32 +69,32 @@
                    }
                }
            },
            { label: '工作部门', name: 'DeptName', labtype: 'txt', hidden: false, width: 120 },
            { label: '基本工资', name: 'Jibengongzi', labtype: 'txt', hidden: false, width: 100 },
            { label: '保密费', name: 'Baomifei', labtype: 'txt', hidden: false, width: 100 },
            { label: '工作补贴', name: 'Gongzuobutie', labtype: 'txt', hidden: false, width: 100 },
            { label: '加班工资', name: 'Jiabangongzi', labtype: 'txt', hidden: false, width: 100 },
            { label: '社保', name: 'Shebao', labtype: 'txt', hidden: false, width: 100 },
            { label: '电话补贴', name: 'Dianhuabutie', labtype: 'txt', hidden: false, width: 100 },
            { label: '全勤奖', name: 'Quanqinjiang', labtype: 'txt', hidden: false, width: 100 },
            { label: '交通补贴', name: 'Jiaotngbutie', labtype: 'txt', hidden: false, width: 100 },
            { label: '绩效提成', name: 'Jixiaoticheng', labtype: 'txt', hidden: false, width: 100 },
            { label: '奖金', name: 'Jiangjin', labtype: 'txt', hidden: false, width: 100 },
            { label: '补发工资', name: 'Bufagongzi', labtype: 'txt', hidden: false, width: 100 },
            { label: '合计', name: 'sum_fgz', labtype: 'txt', hidden: false, width: 100 },
            { label: '工作部门', name: 'DeptName', labtype: 'txt', hidden: false, width: 80 },
            { label: '基本工资', name: 'Jibengongzi', labtype: 'txt', hidden: false, width: 60 },
            { label: '保密费', name: 'Baomifei', labtype: 'txt', hidden: false, width: 60 },
            { label: '工作补贴', name: 'Gongzuobutie', labtype: 'txt', hidden: false, width: 60 },
            { label: '加班工资', name: 'Jiabangongzi', labtype: 'txt', hidden: false, width: 60 },
            { label: '社保', name: 'Shebao', labtype: 'txt', hidden: false, width: 60 },
            { label: '电话补贴', name: 'Dianhuabutie', labtype: 'txt', hidden: false, width: 60 },
            { label: '全勤奖', name: 'Quanqinjiang', labtype: 'txt', hidden: false, width: 60 },
            { label: '交通补贴', name: 'Jiaotngbutie', labtype: 'txt', hidden: false, width: 60 },
            { label: '绩效提成', name: 'Jixiaoticheng', labtype: 'txt', hidden: false, width: 60 },
            { label: '奖金', name: 'Jiangjin', labtype: 'txt', hidden: false, width: 60 },
            { label: '补发工资', name: 'Bufagongzi', labtype: 'txt', hidden: false, width: 60 },
            { label: '合计', name: 'sum_fgz', labtype: 'txt', hidden: false, width: 60 },
            { label: '个人社保', name: 'Shebaokou', labtype: 'txt', hidden: false, width: 100 },
            { label: '个税', name: 'Geshui', labtype: 'txt', hidden: false, width: 100 },
            { label: '电话费', name: 'Dianhuafei', labtype: 'txt', hidden: false, width: 100 },
            { label: '缺勤', name: 'Queqin', labtype: 'txt', hidden: false, width: 100 },
            { label: '罚款', name: 'Fakuan', labtype: 'txt', hidden: false, width: 100 },
            { label: '赔偿', name: 'Peichang', labtype: 'txt', hidden: false, width: 100 },
            { label: '纠错', name: 'Jiucuo', labtype: 'txt', hidden: false, width: 100 },
            { label: '合计', name: 'sum_kgz', labtype: 'txt', hidden: false, width: 100 },
            { label: '个人社保', name: 'Shebaokou', labtype: 'txt', hidden: false, width: 60 },
            { label: '个税', name: 'Geshui', labtype: 'txt', hidden: false, width: 60 },
            { label: '电话费', name: 'Dianhuafei', labtype: 'txt', hidden: false, width: 60 },
            { label: '缺勤', name: 'Queqin', labtype: 'txt', hidden: false, width: 60 },
            { label: '罚款', name: 'Fakuan', labtype: 'txt', hidden: false, width: 60 },
            { label: '赔偿', name: 'Peichang', labtype: 'txt', hidden: false, width: 60 },
            { label: '纠错', name: 'Jiucuo', labtype: 'txt', hidden: false, width: 60 },
            { label: '合计', name: 'sum_kgz', labtype: 'txt', hidden: false, width: 60 },
            { label: '到账工资', name: 'Daozhanggongzi', labtype: 'txt', hidden: false, width: 100 },
            { label: '预发工资', name: 'Yufagongzi', labtype: 'txt', hidden: false, width: 100 },
            { label: '预发工资合计', name: 'Yufagongziheji', labtype: 'txt', hidden: false, width: 100 },
            { label: '到账工资', name: 'Daozhanggongzi', labtype: 'txt', hidden: false, width: 60 },
            { label: '预发工资', name: 'Yufagongzi', labtype: 'txt', hidden: false, width: 60 },
            { label: '预发工资合计', name: 'Yufagongziheji', labtype: 'txt', hidden: false, width: 60 },
            
        ];
        dataUrl = "/SalaryCheck/EmployeeSalary?month=" + getNowFormatDate();
@@ -128,7 +128,7 @@
            var date = new Date();
            var seperator1 = "-";
            var year = date.getFullYear();
            var month = date.getMonth() + 1;
            var month = date.getMonth();
            var strDate = date.getDate();
            if (month >= 1 && month <= 9) {
                month = "0" + month;