Browse Source

万福销售出库单分析调整。

master
yibo 7 years ago
parent
commit
742a20526e
2 changed files with 5 additions and 5 deletions
  1. +2
    -2
      B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/SaleOutStore_/SaleOutStoreSimpleAnayse.cs
  2. +3
    -3
      B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/SaleOutStore_/SaleOutStoreSimpleAnaysePrint.cs

+ 2
- 2
B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/SaleOutStore_/SaleOutStoreSimpleAnayse.cs View File

@ -156,7 +156,7 @@ namespace BWP.Web.Pages.B3QingDaoWanFu.SaleOutStore_
vPanel.Add(layout.CreateLayout(), new VLayoutOption(HorizontalAlign.Left));
}
private Dictionary<string, string> fieldInfo = new Dictionary<string, string>() { {"Customer_Name", "购货客户" }, { "DeliverGoodsLine_Name", "送货线路名称" }, { "Goods_Name", "存货名称" },{ "Goods_Spec", "存货规格" }, { "Order_Detail_UnitNum", "订单数量" }, { "SecondNumber", "辅数量" }, { "Goods_SecondUnit", "辅单位" } };
private Dictionary<string, string> fieldInfo = new Dictionary<string, string>() { { "DeliverGoodsLine_Name", "送货线路名称" }, { "Customer_Name", "购货客户" }, { "Goods_Name", "存货名称" }, { "Goods_Spec", "存货规格" }, { "UnitNum", "报价数量" }, { "SecondNumber", "辅数量" }, { "Goods_SecondUnit", "辅单位" } };
protected override void PrepareData()
@ -254,7 +254,7 @@ namespace BWP.Web.Pages.B3QingDaoWanFu.SaleOutStore_
dom.GroupBy.Expressions.Add(DQExpression.Field(detail, item.Key));
break;
case "SecondNumber":
case "Order_Detail_UnitNum":
case "UnitNum":
dom.Columns.Add(DQSelectColumn.Create(DQExpression.Sum(DQExpression.Field(detail, item.Key)), item.Value));
SumColumnIndexs.Add(dom.Columns.Count - 1);
break;


+ 3
- 3
B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/SaleOutStore_/SaleOutStoreSimpleAnaysePrint.cs View File

@ -141,11 +141,11 @@ namespace BWP.Web.Pages.B3QingDaoWanFu.SaleOutStore_
public SaleOutStorePrintInfo info { get; set; }
private string[] fieldInfo = new string[] { "Customer_Name", "DeliverGoodsLine_Name","Goods_Name", "Goods_Spec", "Order_Detail_UnitNum", "SecondNumber", "Goods_SecondUnit" };
private string[] fieldInfo = new string[] { "DeliverGoodsLine_Name", "Customer_Name", "Goods_Name", "Goods_Spec", "UnitNum", "SecondNumber", "Goods_SecondUnit" };
private DQueryDom GetQueryDom()
{
@ -182,7 +182,7 @@ namespace BWP.Web.Pages.B3QingDaoWanFu.SaleOutStore_
dom.GroupBy.Expressions.Add(DQExpression.Field(detail, item));
break;
case "SecondNumber":
case "Order_Detail_UnitNum":
case "UnitNum":
dom.Columns.Add(DQSelectColumn.Sum( detail, item));
break;
default:


Loading…
Cancel
Save