diff --git a/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj b/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj
index 0f578a2..3840429 100644
--- a/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj
+++ b/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj
@@ -96,11 +96,13 @@
+
+ ASPXCodeBehind
+
-
diff --git a/B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayEdit_Ext.cs b/B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayEdit_Ext.cs
new file mode 100644
index 0000000..9616f01
--- /dev/null
+++ b/B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayEdit_Ext.cs
@@ -0,0 +1,19 @@
+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 StatPayEdit_Ext : StatPayEdit
+ {
+ protected override void CustomerConfig(Layout.AutoLayoutConfig config)
+ {
+ var tag = config.Items.FirstOrDefault(x => x.Key == "WeightSumRate");
+ if (tag != null)
+ tag.Key = "WeightSumRate2";
+ }
+ }
+}
diff --git a/B3QingDaoWanFu.Web/PluginClass.cs b/B3QingDaoWanFu.Web/PluginClass.cs
index 26ec6d9..864c3d2 100644
--- a/B3QingDaoWanFu.Web/PluginClass.cs
+++ b/B3QingDaoWanFu.Web/PluginClass.cs
@@ -1,9 +1,12 @@
-using System;
+using BWP.Web.Pages.B3ButcherManage.Bills.StatPay_;
+using BWP.Web.Pages.B3QingDaoWanFu.Overlays;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TSingSoft.WebPluginFramework;
+using TSingSoft.WebPluginFramework.Pages;
namespace BWP.B3QingDaoWanFu
{
@@ -11,6 +14,7 @@ namespace BWP.B3QingDaoWanFu
{
public void OnInit()
{
+ WpfPageFactory.RegisterPageOverlay(typeof(StatPayEdit).FullName, typeof(StatPayEdit_Ext).FullName);
}
}
}