Browse Source

出肉率计算公式调整。

master
yibo 8 years ago
parent
commit
85c6c70012
3 changed files with 27 additions and 2 deletions
  1. +3
    -1
      B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj
  2. +19
    -0
      B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayEdit_Ext.cs
  3. +5
    -1
      B3QingDaoWanFu.Web/PluginClass.cs

+ 3
- 1
B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj View File

@ -96,11 +96,13 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Pages\B3QingDaoWanFu\Overlays\StatPayEdit_Ext.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="PluginClass.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Pages\B3QingDaoWanFu\" />
<Folder Include="Pages\TypeIOCs\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />


+ 19
- 0
B3QingDaoWanFu.Web/Pages/B3QingDaoWanFu/Overlays/StatPayEdit_Ext.cs View File

@ -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";
}
}
}

+ 5
- 1
B3QingDaoWanFu.Web/PluginClass.cs View File

@ -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);
}
}
}

Loading…
Cancel
Save