Foxtable(狐表)用户栏目专家坐堂 → 排除条件


  共有1427人关注过本帖树形打印复制链接

主题:排除条件

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107783 积分:548260 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2016/9/27 8:57:00 [显示全部帖子]

if  e.Row("订单状态")="未审核" orelse e.Row("订单状态")="已入库" orelse ...补上其它状态... then
return
end if

If e.Col.Name = "交货日期" AndAlso e.Row.Isnull("交货日期") = False Then
    If  e.Row("交货日期") < Date.today Then
        e.Style = "a"
    ElseIf e.Row("交货日期") < Date.today.adddays(7)  Then
        e.style = "b"
    End If
End If

 回到顶部
帅哥哟,离线,有人找我吗?
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107783 积分:548260 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2016/9/27 9:33:00 [显示全部帖子]

if  e.Row("订单状态")="未审核" orelse e.Row("订单状态")="已入库" orelse ...补上其它状态... then
return
else
     If e.Col.Name = "交货日期" AndAlso e.Row.Isnull("交货日期") = False Then
             If  e.Row("交货日期") < Date.today Then
                    e.Style = "a"
             ElseIf e.Row("交货日期") < Date.today.adddays(7)  Then
                     e.style = "b"
             End If
      End If
end if

 回到顶部