-- 作者:kemengyue
-- 发布时间:2012/6/21 12:16:00
--
逻辑改成付款后,报错了
表A_DrawCell
If e.col.name = "完成时间" Then
If e.text >"" Then
Dim dt As Date = e.Text
Dim ts As Integer = (Date.today - dt).totalDays
If ts > 7 Then
e.Style= "二周"
Else
e.Style= "一周"
End If
End If
ElseIf e.col.name = "付款否" Then
If e.Row("付款否") = "" Then
e.Style= "完成"
Else
e.Style= "未完"
End If
End If
<!--EndFragment-->
|