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
If e.Col.name = "已发货" Then
If e.Row.Isnull("已发货") = False Then
If e.Row("已发货") = True Then
e.style = "发货"
End If
End If
End If
End If