|
|
|
@ -50,7 +50,7 @@ namespace BWP.Web.Pages.B3YunKen.Reports |
|
|
|
protected override void AddQueryControls(VLayoutPanel vPanel) |
|
|
|
{ |
|
|
|
var layout = new LayoutManager("Main", mDFInfo, mQueryContainer); |
|
|
|
layout.Add("LoadTime", new SimpleLabel("到货时间"), QueryCreator.DateRange(mDFInfo.Fields["ID"], mQueryContainer, "MinLoadTime", "MaxLoadTime")); |
|
|
|
layout.Add("LoadTime", new SimpleLabel("发货时间"), QueryCreator.DateRange(mDFInfo.Fields["ID"], mQueryContainer, "MinLoadTime", "MaxLoadTime")); |
|
|
|
layout["LoadTime"].NotAutoAddToContainer = true; |
|
|
|
layout.Add("AccountingUnit_ID", new SimpleLabel("会计单位"), QueryCreator.DFChoiceBoxEnableMultiSelection(mDFInfo.Fields["AccountingUnit_ID"], mQueryContainer, "AccountingUnit_ID", B3FrameworksConsts.DataSources.授权会计单位全部)); |
|
|
|
layout["AccountingUnit_ID"].NotAutoAddToContainer = true; |
|
|
|
@ -227,6 +227,7 @@ namespace BWP.Web.Pages.B3YunKen.Reports |
|
|
|
query.RegisterQueryTable(typeof(GatheringTimeData), new string[] { "GatheringTime", "BillID" }, GetGatheringTime()); |
|
|
|
query.From.AddJoin(JoinType.Left, new DQDmoSource(gatheringTimeData), DQCondition.EQ(main, "ID", gatheringTimeData, "BillID")); |
|
|
|
query.From.AddJoin(JoinType.Left, new DQDmoSource(cus), DQCondition.EQ(main, "Customer_ID", cus, "ID")); |
|
|
|
query.Where.Conditions.Add(DQCondition.EQ("BillType",DmoTypeIDAttribute.GetID(typeof(SaleOutStore)))); |
|
|
|
//query.Columns.Add(DQSelectColumn.Field("Money",main));
|
|
|
|
//query.Columns.Add(DQSelectColumn.Field("LoadTime", main));
|
|
|
|
//query.GroupBy.Expressions.Add(DQExpression.Field(main,"LoadTime"));
|
|
|
|
|