老师,我发现这个代码和汇总样式的代码冲突了:
修改标记开始
If e.Row(e.Col.Name) <> e.Row.DataRow.OriginalValue(e.Col.Name) Then
e.Style = "a"
End If
If e.Row.IsGroup = False Then
If e.Row.Isnull ("操作性") = False Then
If e.Row("操作性") = ("签单") Then
e.style = "签单"
Else If e.Row("操作性") = ("跑单") Then
e.style = "跑单"
End If
End If
If e. Col.name = "操作日期" Then
If e.Row.Isnull("操作日期") = False Then
If e.Row("操作日期") < = Date.Today Then
e.style = "逾期"
Else
If e.Row("操作日期") < Date.Today.addDays(3) Then
e.style = "近期"
End If
End If
End If
End If
If e.Row.Isnull ("市场部") = False Then
If e.Row("市场部") = ("未分派") Then
e.style = "未分派"
End If
End If
If e.Row.Isnull ("操作性") = False Then
If e.Row("操作性") = ("预签") Then
e.style = "预签"
End If
End If
If e.Row.Isnull ("操作性") = False Then
If e.Row("操作性") = ("预收设计") Then
e.style = "预收设计"
End If
End If
If e.Row.Isnull ("跟单状态") = False Then
If e.Row("跟单状态") = ("转跟") Then
e.style = "转跟"
End If
End If
Else
If e.Row.Level = 0 Then
e.Style = "样式1"
Else If e.Row.Level = 1 Then
e.Style = "样式2"
End If
End If
求老师帮看看那里出错了?