diff --git a/B3_DongFangWanQi.Web/B3_DongFangWanQi.Web.csproj b/B3_DongFangWanQi.Web/B3_DongFangWanQi.Web.csproj
index 6488d40..8cad3f1 100644
--- a/B3_DongFangWanQi.Web/B3_DongFangWanQi.Web.csproj
+++ b/B3_DongFangWanQi.Web/B3_DongFangWanQi.Web.csproj
@@ -34,43 +34,83 @@
AllRules.ruleset
-
-
+
+ False
+ False
+
+
+ False
+ False
+
False
..\..\..\tsref\Debug\B3Sale.dll
+ False
False
..\..\..\tsref\Debug\B3Sale.Web.dll
+ False
+
+
+ False
+ False
+
+
+ False
+ False
+
+
+ False
+ False
-
-
-
False
..\..\..\TsingSoft2\TSREF\Forks.Utils.dll
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
-
-
-
-
-
False
..\..\..\TsingSoft2\TSREF\TSingSoft.WebControls2.dll
+ False
+
+
+ False
+ False
-
False
..\..\..\tsref\Debug\Wpf.System.dll
+ False
False
..\..\..\tsref\Debug\Wpf.System.Web.dll
+ False
+
+ Customer_version.cs
+
+
+ ASPXCodeBehind
+
ASPXCodeBehind
@@ -97,6 +137,7 @@
{87cf591a-d1d7-4c3c-a890-38cf99b36ff2}
B3_DongFangWanQi
+ False
diff --git a/B3_DongFangWanQi.Web/Overlays/SaleOutStoreAnalyse_Ext.cs b/B3_DongFangWanQi.Web/Overlays/SaleOutStoreAnalyse_Ext.cs
new file mode 100644
index 0000000..20119f9
--- /dev/null
+++ b/B3_DongFangWanQi.Web/Overlays/SaleOutStoreAnalyse_Ext.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Web.UI.WebControls;
+using BWP.Web.Pages.B3Sale.Reports;
+using Forks.EnterpriseServices.DataForm;
+using Forks.EnterpriseServices.DomainObjects2;
+using Forks.EnterpriseServices.DomainObjects2.DQuery;
+
+namespace BWP.Web.Overlays
+{
+ class SaleOutStoreAnalyse_Ext: SaleOutStoreAnalyse
+ {
+ protected override bool AddCustomerSelfColumns(JoinAlias alias, DQueryDom dom, ListItem field)
+ {
+// return base.AddCustomerSelfColumns(alias, dom, field);
+ if (field.Text == "FreightPrice")
+ {
+ dom.Columns.Add(DQSelectColumn.Field("FreightPrice", alias));
+ dom.GroupBy.Expressions.Add(DQExpression.Field(alias, field.Value));
+ ColumnNames.Add(field.Value);
+ return true;
+ }
+
+ return false;
+ }
+
+ protected override void AddCustomerShowFields(Dictionary fileInfo, DFInfo mainInfo, DFInfo detailInfo, List spec)
+ {
+ _fileInfo.Add("FreightPrice", mainInfo);
+ }
+ }
+}
diff --git a/B3_DongFangWanQi.Web/PluginClass.cs b/B3_DongFangWanQi.Web/PluginClass.cs
index 120a63d..72bcbab 100644
--- a/B3_DongFangWanQi.Web/PluginClass.cs
+++ b/B3_DongFangWanQi.Web/PluginClass.cs
@@ -1,5 +1,8 @@
-using TSingSoft.WebPluginFramework;
-
+using BWP.Web.Overlays;
+using BWP.Web.Pages.B3Sale.Reports;
+using TSingSoft.WebPluginFramework;
+using TSingSoft.WebPluginFramework.Pages;
+
namespace B3_DongFangWanQi.Web
{
public class PluginClass : IPluginClass
@@ -9,6 +12,7 @@ namespace B3_DongFangWanQi.Web
public void OnInit()
{
+ WpfPageFactory.RegisterPageOverlay(typeof(SaleOutStoreAnalyse).FullName, typeof(SaleOutStoreAnalyse_Ext).FullName);
}
public void OnUnitInit()
diff --git a/B3_DongFangWanQi/B3_DongFangWanQi.csproj b/B3_DongFangWanQi/B3_DongFangWanQi.csproj
index 280a834..3aa682a 100644
--- a/B3_DongFangWanQi/B3_DongFangWanQi.csproj
+++ b/B3_DongFangWanQi/B3_DongFangWanQi.csproj
@@ -37,41 +37,41 @@
False
..\..\..\tsref\Debug\B3Frameworks.dll
-
+ False
False
..\..\..\tsref\Debug\B3Frameworks.Web.dll
-
-
-
-
+ False
+ FalseFalse
+ FalseFalse
+ FalseFalse
False
..\..\..\TsingSoft2\TSREF\Forks.Utils.dll
-
-
-
-
-
+ False
+ False
+ False
+ False
+ False
False
..\..\..\TsingSoft2\TSREF\TSingSoft.WebControls2.dll
-
+ False
False
..\..\..\tsref\Debug\Wpf.dll
-
+ False
False
..\..\..\tsref\Debug\Wpf.System.dll
-
+ False
False
..\..\..\..\tsref\Debug\Wpf.System.Web.dll
-
+ False
-
+ Customer_version.cs