If e.DataCol.name = "工资类型" Or e.DataCol.name = "加班费" Or e.DataCol.name = "日薪月薪_基本工资" Or e.DataCol.name = "日薪月薪_岗级工资" Or e.DataCol.name = "日薪月薪_计件工资" Or e.DataCol.name = "绩效_固定" Or e.DataCol.name = "绩效_浮动" Then If e.DataRow("工资类型") ="行政线" Or e.DataRow("工资类型") ="日薪" Then e.DataRow("月工资") = e.DataRow("日薪月薪_基本工资") + e.DataRow("日薪月薪_岗级工资") + e.DataRow("绩效_固定") + e.DataRow("绩效_浮动") + e.DataRow("加班费") ElseIf e.DataRow("工资类型") ="计时计件" Or e.DataRow("工资类型") ="计件" Then e.DataRow("月工资") = e.DataRow("日薪月薪_基本工资") + e.DataRow("日薪月薪_岗级工资") + e.DataRow("绩效_固定") + e.DataRow("绩效_浮动") + e.DataRow("加班费") + e.DataRow("日薪月薪_计件工资") End If End If
|