From 796b221a9a4779d034806c5c7934c6a2baead25f Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Sun, 19 Nov 2017 12:39:52 +0800 Subject: [PATCH] . --- B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj | 3 +++ .../Overlays/StatPayAnalyse_Ext.cs | 20 +++++++++++++++++++ B3QingDaoWanFu.Web/PluginClass.cs | 1 + 3 files changed, 24 insertions(+) create mode 100644 B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayAnalyse_Ext.cs diff --git a/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj b/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj index 3840429..7fcea1d 100644 --- a/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj +++ b/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj @@ -96,6 +96,9 @@ + + ASPXCodeBehind + ASPXCodeBehind diff --git a/B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayAnalyse_Ext.cs b/B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayAnalyse_Ext.cs new file mode 100644 index 0000000..9bac2f5 --- /dev/null +++ b/B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayAnalyse_Ext.cs @@ -0,0 +1,20 @@ +using BWP.Web.Pages.B3ButcherManage.Bills.StatPay_; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BWP.Web.Pages.B3QingDaoWanFu.Overlays +{ + class StatPayAnalyse_Ext : StatPayAnalyse + { + protected override bool UseWeightSumRate2 + { + get + { + return true; + } + } + } +} diff --git a/B3QingDaoWanFu.Web/PluginClass.cs b/B3QingDaoWanFu.Web/PluginClass.cs index 864c3d2..0f2a52f 100644 --- a/B3QingDaoWanFu.Web/PluginClass.cs +++ b/B3QingDaoWanFu.Web/PluginClass.cs @@ -15,6 +15,7 @@ namespace BWP.B3QingDaoWanFu public void OnInit() { WpfPageFactory.RegisterPageOverlay(typeof(StatPayEdit).FullName, typeof(StatPayEdit_Ext).FullName); + WpfPageFactory.RegisterPageOverlay(typeof(StatPayAnalyse).FullName, typeof(StatPayAnalyse_Ext).FullName); } } }