private void Init() { 个税起征点 = PsHelper.GetPersonTaxPoint(期间_开始); 标准职级工资表 = StepPayRate.GetEffectives(期间_开始); 个人职级工资表 = PersonPayRate.GetEffectives(期间_开始); 表工资表 = SalaryResult.GetSalaryResults(薪资组, 日历组); 其它奖扣项 = OtherMoney.GetOtherMoneyList(年, 月); 工资系数表 = EmpPayRate.GetEmpPayRateList(年, 月); }
protected void LoadData() { currRows = OtherMoney.GetOtherMoneyList(Convert.ToInt32(year.Value), Convert.ToInt32(month.Text)); currRows = currRows.FindAll(a => a.类型 == type); //根据权限过滤 currRows = currRows.FindAll(a => a.员工信息 != null && AccessController.CheckPayGroup(a.员工信息.薪资组)); currRows = currRows.OrderBy(a => a.员工信息.创建时间).ToList(); gridControl1.DataSource = currRows; gridControl1.RefreshDataSource(); }