Browse Source

错误提交单No.46567

master
wugang 7 years ago
parent
commit
dcd1f13df5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      BWP.B3_YunKen.Web/Pages/B3YunKen/Reports/ToFreightNetPriceReport2.cs

+ 5
- 0
BWP.B3_YunKen.Web/Pages/B3YunKen/Reports/ToFreightNetPriceReport2.cs View File

@ -389,6 +389,11 @@ B3SaleDataSources.经销商), s => long.Parse(s)), "CustomerDealer_ID"));
query.Columns.Add(DQSelectColumn.Field("AccountingUnit_ID")); query.Columns.Add(DQSelectColumn.Field("AccountingUnit_ID"));
query.GroupBy.Expressions.Add(DQExpression.Field("Goods_ID")); query.GroupBy.Expressions.Add(DQExpression.Field("Goods_ID"));
query.GroupBy.Expressions.Add(DQExpression.Field("AccountingUnit_ID")); query.GroupBy.Expressions.Add(DQExpression.Field("AccountingUnit_ID"));
var accountingUnit_ID = mQueryContainer.GetControl<DFChoiceBox>("AccountingUnit_ID");
if (!accountingUnit_ID.IsEmpty)
{
query.Where.Conditions.Add(DQCondition.InList(DQExpression.Field("AccountingUnit_ID"), accountingUnit_ID.GetValues().Select(x => DQExpression.Value(x)).ToArray()));
}
return query; return query;
} }


Loading…
Cancel
Save