dim str As String = nv.SelectedPage.Name
Dim Byc As Double = DataTables("订单明细").Compute("Sum(产值)", str & "日期 = #" & Date.today.AddDays(-1) & " # And " & str & "检验 = 1 And " & str & " <> 'TG'")