Browse Source

在主模块实现。

master
yibo 8 years ago
parent
commit
03190717c3
6 changed files with 4 additions and 88 deletions
  1. +1
    -2
      B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj
  2. +0
    -21
      B3QingDaoWanFu.Web/Pages/TypeIOCs/StatPayEditTypeIoc.cs
  3. +0
    -21
      B3QingDaoWanFu.Web/Pages/TypeIOCs/WeighBillEditTypeIoc.cs
  4. +3
    -2
      B3QingDaoWanFu/B3QingDaoWanFu.csproj
  5. +0
    -21
      B3QingDaoWanFu/TypeIOCs/StatPayBLTypeIOCs.cs
  6. +0
    -21
      B3QingDaoWanFu/TypeIOCs/WeightBillBLTypeIOCs.cs

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

@ -96,13 +96,12 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Pages\TypeIOCs\StatPayEditTypeIoc.cs" />
<Compile Include="Pages\TypeIOCs\WeighBillEditTypeIoc.cs" />
<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" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.


+ 0
- 21
B3QingDaoWanFu.Web/Pages/TypeIOCs/StatPayEditTypeIoc.cs View File

@ -1,21 +0,0 @@
using BWP.B3Frameworks;
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.TypeIOCs
{
[TypeIOC(typeof(StatPayEdit), typeof(StatPayEdit.BaseDmoEditPageIOCs.BeforeBasePropertiesApplyLayout))]
class StatPayEditTypeIoc : StatPayEdit.BaseDmoEditPageIOCs.BeforeBasePropertiesApplyLayout
{
public void Invoke(System.Web.UI.Page page, Layout.LayoutManager manager, Layout.AutoLayoutConfig config, CustomPageLayout.PageLayoutSection section)
{
config.Add("PurchaseType");
config.Add("ShackWeight");
config.Add("ShackMoney");
}
}
}

+ 0
- 21
B3QingDaoWanFu.Web/Pages/TypeIOCs/WeighBillEditTypeIoc.cs View File

@ -1,21 +0,0 @@
using BWP.B3Frameworks;
using BWP.Web.Pages.B3ButcherManage.Bills.WeighBill_;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BWP.Web.Pages.TypeIOCs
{
[TypeIOC(typeof(WeighBillEdit), typeof(WeighBillEdit.BaseDmoEditPageIOCs.BeforeBasePropertiesApplyLayout))]
class WeighBillEditTypeIoc : WeighBillEdit.BaseDmoEditPageIOCs.BeforeBasePropertiesApplyLayout
{
public void Invoke(System.Web.UI.Page page, Layout.LayoutManager manager, Layout.AutoLayoutConfig config, CustomPageLayout.PageLayoutSection section)
{
config.Add("PurchaseType");
config.Add("ShackWeight");
config.Add("ShackMoney");
}
}
}

+ 3
- 2
B3QingDaoWanFu/B3QingDaoWanFu.csproj View File

@ -92,10 +92,11 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TypeIOCs\StatPayBLTypeIOCs.cs" />
<Compile Include="TypeIOCs\WeightBillBLTypeIOCs.cs" />
<Compile Include="Utils\WanFuOnlineConfig.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="TypeIOCs\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.


+ 0
- 21
B3QingDaoWanFu/TypeIOCs/StatPayBLTypeIOCs.cs View File

@ -1,21 +0,0 @@
using BWP.B3ButcherManage.BL;
using BWP.B3ButcherManage.NamedValueTemplate;
using BWP.B3Frameworks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BWP.B3QingDaoWanFu.TypeIOCs
{
[TypeIOC(typeof(StatPayBL), typeof(StatPayBL.BaseBLIOCs.AfterSave))]
class StatPayBLTypeIOCs : StatPayBL.BaseBLIOCs.AfterSave
{
public void Invoke(Forks.EnterpriseServices.BusinessInterfaces.IDmoContext context, B3ButcherManage.BO.StatPay dmo)
{
if (dmo.PurchaseType == .)
dmo.Money = dmo.ShackMoney;
}
}
}

+ 0
- 21
B3QingDaoWanFu/TypeIOCs/WeightBillBLTypeIOCs.cs View File

@ -1,21 +0,0 @@
using BWP.B3ButcherManage.BL;
using BWP.B3ButcherManage.NamedValueTemplate;
using BWP.B3Frameworks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BWP.B3QingDaoWanFu.TypeIOCs
{
//[TypeIOC(typeof(WeightBillBL), typeof(WeightBillBL.BaseBLIOCs.AfterSave))]
//class WeigthBillBLTypeIOCs : WeightBillBL.BaseBLIOCs.AfterSave
//{
// public void Invoke(Forks.EnterpriseServices.BusinessInterfaces.IDmoContext context, B3ButcherManage.BO.WeighBill dmo)
// {
// //if (dmo.PurchaseType == 收购类型.社会)
// // dmo.mo = dmo.ShackMoney;
// }
//}
}

Loading…
Cancel
Save