Browse Source

错误提交单No.45617 、错误提交单No.45629、错误提交单No.45620

master
wugang 8 years ago
parent
commit
36d2dd0170
3 changed files with 10 additions and 3 deletions
  1. +2
    -0
      BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/SaleOutStoreEdit_Ext.cs
  2. +7
    -3
      BWP.B3_YunKen.Web/Pages/B3YunKen/Reports/ProduceFinishDiffReport.cs
  3. +1
    -0
      BWP.B3_YunKen.Web/PluginClass.cs

+ 2
- 0
BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/SaleOutStoreEdit_Ext.cs View File

@ -33,6 +33,8 @@ namespace BWP.Web.Pages.B3YunKen.Overlays
//需求单No.137672 【销售出库】‘基本属性’增加字段{承运方} //需求单No.137672 【销售出库】‘基本属性’增加字段{承运方}
config.Add("Carrier_ID"); config.Add("Carrier_ID");
layoutManager.Add("Code", new DFValueLabel());
config.Add("Code");
} }
public override void AppToUI() public override void AppToUI()


+ 7
- 3
BWP.B3_YunKen.Web/Pages/B3YunKen/Reports/ProduceFinishDiffReport.cs View File

@ -73,6 +73,9 @@ namespace BWP.Web.Pages.B3YunKen.Reports
query.Columns.Add(DQSelectColumn.Field("GoodsBatch_ID", detail)); query.Columns.Add(DQSelectColumn.Field("GoodsBatch_ID", detail));
query.Where.Conditions.Add(DQCondition.Or(DQCondition.EQ("BillState", .), DQCondition.EQ("BillState", .))); query.Where.Conditions.Add(DQCondition.Or(DQCondition.EQ("BillState", .), DQCondition.EQ("BillState", .)));
query.Where.Conditions.Add(DQCondition.EQ("Domain_ID",DomainContext.Current.ID)); query.Where.Conditions.Add(DQCondition.EQ("Domain_ID",DomainContext.Current.ID));
if (!_productionUnit.IsEmpty) {
query.Where.Conditions.Add(DQCondition.InList(DQExpression.Field(inStore, "ProductionUnit_ID"), _productionUnit.GetValues().Select(x => DQExpression.Value(x)).ToArray()));
}
query.GroupBy.Expressions.Add(DQExpression.Snippet("convert(varchar(100),InStoreDate,23)")); query.GroupBy.Expressions.Add(DQExpression.Snippet("convert(varchar(100),InStoreDate,23)"));
query.GroupBy.Expressions.Add(DQExpression.Field(detail, "Goods_ID")); query.GroupBy.Expressions.Add(DQExpression.Field(detail, "Goods_ID"));
query.GroupBy.Expressions.Add(DQExpression.Field(detail, "BrandItem_ID")); query.GroupBy.Expressions.Add(DQExpression.Field(detail, "BrandItem_ID"));
@ -109,6 +112,9 @@ namespace BWP.Web.Pages.B3YunKen.Reports
dom.Columns.Add(DQSelectColumn.Field("GoodsBatch_ID", detail)); dom.Columns.Add(DQSelectColumn.Field("GoodsBatch_ID", detail));
dom.Where.Conditions.Add(DQCondition.Or(DQCondition.EQ("BillState", .), DQCondition.EQ("BillState", .))); dom.Where.Conditions.Add(DQCondition.Or(DQCondition.EQ("BillState", .), DQCondition.EQ("BillState", .)));
dom.Where.Conditions.Add(DQCondition.EQ("Domain_ID", DomainContext.Current.ID)); dom.Where.Conditions.Add(DQCondition.EQ("Domain_ID", DomainContext.Current.ID));
if (!_productionUnit.IsEmpty) {
dom.Where.Conditions.Add(DQCondition.InList(DQExpression.Field(bill, "ProductionUnit_ID"), _productionUnit.GetValues().Select(x => DQExpression.Value(x)).ToArray()));
}
dom.GroupBy.Expressions.Add(DQExpression.Snippet("convert(varchar(100),Date,23)")); dom.GroupBy.Expressions.Add(DQExpression.Snippet("convert(varchar(100),Date,23)"));
dom.GroupBy.Expressions.Add(DQExpression.Field(detail, "Goods_ID")); dom.GroupBy.Expressions.Add(DQExpression.Field(detail, "Goods_ID"));
dom.GroupBy.Expressions.Add(DQExpression.Field(detail, "BrandItem_ID")); dom.GroupBy.Expressions.Add(DQExpression.Field(detail, "BrandItem_ID"));
@ -244,9 +250,7 @@ namespace BWP.Web.Pages.B3YunKen.Reports
if (!_productLine.IsEmpty) { if (!_productLine.IsEmpty) {
query.Where.Conditions.Add(DQCondition.InList(DQExpression.Field(goods1, "ProductLine_ID"), _productLine.GetValues().Select(x => DQExpression.Value(x)).ToArray())); query.Where.Conditions.Add(DQCondition.InList(DQExpression.Field(goods1, "ProductLine_ID"), _productLine.GetValues().Select(x => DQExpression.Value(x)).ToArray()));
} }
if (!_productionUnit.IsEmpty) {
query.Where.Conditions.Add(DQCondition.InList(DQExpression.Field(finishData, "ProductionUnit_ID"), _productionUnit.GetValues().Select(x => DQExpression.Value(x)).ToArray()));
}
return query; return query;
} }


+ 1
- 0
BWP.B3_YunKen.Web/PluginClass.cs View File

@ -38,6 +38,7 @@ namespace BWP.B3_YunKen.Web
GlobalFlags.On(B3SaleConsts.Flags.PriceBillNotCodeRemark); GlobalFlags.On(B3SaleConsts.Flags.PriceBillNotCodeRemark);
GlobalFlags.On(B3SaleConsts.Flags.OpenReturnInStoreSelectOutStore); GlobalFlags.On(B3SaleConsts.Flags.OpenReturnInStoreSelectOutStore);
GlobalFlags.On(B3SaleConsts.Flags.OpenReturnInStoreUnCheckNotDeleteAccpet); GlobalFlags.On(B3SaleConsts.Flags.OpenReturnInStoreUnCheckNotDeleteAccpet);
GlobalFlags.On(B3SaleConsts.Flags.UseCustomerAcceptDate);
WpfPageFactory.RegisterPageOverlay(typeof(OrderEdit).FullName, typeof(OrderEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(OrderEdit).FullName, typeof(OrderEdit_Ext).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(SaleOutStoreEdit).FullName, typeof(SaleOutStoreEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(SaleOutStoreEdit).FullName, typeof(SaleOutStoreEdit_Ext).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(SaleForecastEdit).FullName, typeof(SaleForecastEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(SaleForecastEdit).FullName, typeof(SaleForecastEdit_Ext).FullName);


Loading…
Cancel
Save