Commit e0d8dbee authored by liudong1993's avatar liudong1993

1

parent fae4495a
......@@ -3303,6 +3303,10 @@ namespace Edu.Module.Course
header2.ExcelRows.Add(new ExcelColumn(value: "人头奖励") { CellWidth = 15, HAlignmentEnum = HAlignmentEnum.CENTER, VAlignmentEnum = VAlignmentEnum.CENTER });
header2.ExcelRows.Add(new ExcelColumn(value: "合计") { CellWidth = 15, HAlignmentEnum = HAlignmentEnum.CENTER, VAlignmentEnum = VAlignmentEnum.CENTER });
}
header2.ExcelRows.Add(new ExcelColumn(value: "提成合计") { CellWidth = 15, HAlignmentEnum = HAlignmentEnum.CENTER, VAlignmentEnum = VAlignmentEnum.CENTER, Rowspan = 2 });
header2.ExcelRows.Add(new ExcelColumn(value: "佣金合计") { CellWidth = 15, HAlignmentEnum = HAlignmentEnum.CENTER, VAlignmentEnum = VAlignmentEnum.CENTER, Rowspan = 2 });
header2.ExcelRows.Add(new ExcelColumn(value: "奖励合计") { CellWidth = 15, HAlignmentEnum = HAlignmentEnum.CENTER, VAlignmentEnum = VAlignmentEnum.CENTER, Rowspan = 2 });
header2.ExcelRows.Add(new ExcelColumn(value: "累计") { CellWidth = 15, HAlignmentEnum = HAlignmentEnum.CENTER, VAlignmentEnum = VAlignmentEnum.CENTER, Rowspan = 2 });
RList.Add(header2);
#endregion
......@@ -3430,15 +3434,15 @@ namespace Edu.Module.Course
datarow.ExcelRows.Add(new ExcelColumn(value: (mModel?.Rate ?? 0).ToString("#0.00") + "%") { });
datarow.ExcelRows.Add(new ExcelColumn(value: (mModel?.CommissionMoney ?? 0).ToString("#0.00")) { });
datarow.ExcelRows.Add(new ExcelColumn(value: (mModel?.PushMoney ?? 0).ToString("#0.00")) { });
datarow.ExcelRows.Add(new ExcelColumn(value: "") { });
datarow.ExcelRows.Add(new ExcelColumn(value: "") { });
datarow.ExcelRows.Add(new ExcelColumn(value: "-") { });
datarow.ExcelRows.Add(new ExcelColumn(value: "-") { });
datarow.ExcelRows.Add(new ExcelColumn(value: (mModel?.PushMoney ?? 0).ToString("#0.00")) { });
TotalCommission += (mModel?.PushMoney ?? 0);
}
datarow.ExcelRows.Add(new ExcelColumn(value: TotalCommission.ToString("#0.00")) { });
datarow.ExcelRows.Add(new ExcelColumn(value: "") { });
datarow.ExcelRows.Add(new ExcelColumn(value: "") { });
datarow.ExcelRows.Add(new ExcelColumn(value: "-") { });
datarow.ExcelRows.Add(new ExcelColumn(value: "-") { });
datarow.ExcelRows.Add(new ExcelColumn(value: TotalCommission.ToString("#0.00")) { });
RList.Add(datarow);
......@@ -3463,14 +3467,14 @@ namespace Edu.Module.Course
datarowC.ExcelRows.Add(new ExcelColumn(value: "") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: clist.Sum(x => x.CommissionMoney).ToString("#0.00")) { });
datarowC.ExcelRows.Add(new ExcelColumn(value: clist.Sum(x => x.PushMoney).ToString("#0.00")) { });
datarowC.ExcelRows.Add(new ExcelColumn(value: "") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: "") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: "-") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: "-") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: clist.Sum(x => x.PushMoney).ToString("#0.00")) { });
}
datarowC.ExcelRows.Add(new ExcelColumn(value: TTotalCommission.ToString("#0.00")) { });
datarowC.ExcelRows.Add(new ExcelColumn(value: "") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: "") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: "-") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: "-") { });
datarowC.ExcelRows.Add(new ExcelColumn(value: TTotalCommission.ToString("#0.00")) { });
//增加汇总数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment