diff --git a/.gitignore b/.gitignore index fb50189..dddb759 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ -.* -*.user -*.suo -*.tmp -bin -obj +.* +*.user +*.suo +*.tmp +bin +obj _ReSharper.B3QingDaoWanFu \ No newline at end of file diff --git a/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj b/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj index 4b1514f..74b694e 100644 --- a/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj +++ b/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj @@ -1,110 +1,115 @@ - - - - - Debug - AnyCPU - {72E264CD-4D88-471E-A9BE-0CD9DD0180A7} - Library - Properties - BWP.Web - B3QingDaoWanFu.Web - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - False - D:\BwpB3Project\tsref\Debug\B3ButcherManage.dll - - - False - D:\BwpB3Project\tsref\Debug\B3ButcherManage.Web.dll - - - False - D:\BwpB3Project\tsref\Debug\B3Frameworks.dll - - - False - D:\BwpB3Project\tsref\Debug\B3Frameworks.Web.dll - - - False - D:\BwpB3Project\tsref\Debug\B3Procurement.dll - - - False - D:\BwpB3Project\tsref\Debug\B3ProcurementInterface.dll - - - False - D:\BwpB3Project\tsref\Debug\B3ProduceUnitedInfos.dll - - - False - D:\BwpB3Project\tsref\Debug\B3UnitedInfos.dll - - - False - D:\BwpB3Project\tsref\Debug\Forks.EnterpriseServices.dll - - - False - D:\BwpB3Project\tsref\Debug\Forks.Utils.dll - - - - - - - - - - - False - D:\BwpB3Project\tsref\Debug\TSingSoft.WebControls2.dll - - - False - D:\BwpB3Project\tsref\Debug\Wpf.dll - - - False - D:\BwpB3Project\tsref\Debug\Wpf.System.dll - - - False - D:\BwpB3Project\tsref\Debug\Wpf.System.Web.dll - - - - - - - - + + + + + Debug + AnyCPU + {72E264CD-4D88-471E-A9BE-0CD9DD0180A7} + Library + Properties + BWP.Web + B3QingDaoWanFu.Web + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + D:\BwpB3Project\tsref\Debug\B3ButcherManage.dll + + + False + D:\BwpB3Project\tsref\Debug\B3ButcherManage.Web.dll + + + False + D:\BwpB3Project\tsref\Debug\B3Frameworks.dll + + + False + D:\BwpB3Project\tsref\Debug\B3Frameworks.Web.dll + + + False + D:\BwpB3Project\tsref\Debug\B3Procurement.dll + + + False + D:\BwpB3Project\tsref\Debug\B3ProcurementInterface.dll + + + False + D:\BwpB3Project\tsref\Debug\B3ProduceUnitedInfos.dll + + + False + D:\BwpB3Project\tsref\Debug\B3UnitedInfos.dll + + + False + D:\BwpB3Project\tsref\Debug\Forks.EnterpriseServices.dll + + + False + D:\BwpB3Project\tsref\Debug\Forks.Utils.dll + + + + + + + + + + + False + D:\BwpB3Project\tsref\Debug\TSingSoft.WebControls2.dll + + + False + D:\BwpB3Project\tsref\Debug\Wpf.dll + + + False + D:\BwpB3Project\tsref\Debug\Wpf.System.dll + + + False + D:\BwpB3Project\tsref\Debug\Wpf.System.Web.dll + + + + + + + + + + + + + \ No newline at end of file diff --git a/B3QingDaoWanFu.Web/Pages/TypeIOCs/StatPayEditTypeIoc.cs b/B3QingDaoWanFu.Web/Pages/TypeIOCs/StatPayEditTypeIoc.cs new file mode 100644 index 0000000..5a00aa5 --- /dev/null +++ b/B3QingDaoWanFu.Web/Pages/TypeIOCs/StatPayEditTypeIoc.cs @@ -0,0 +1,21 @@ +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"); + } + } +} diff --git a/B3QingDaoWanFu.Web/Pages/TypeIOCs/WeighBillEditTypeIoc.cs b/B3QingDaoWanFu.Web/Pages/TypeIOCs/WeighBillEditTypeIoc.cs new file mode 100644 index 0000000..2a2d0a5 --- /dev/null +++ b/B3QingDaoWanFu.Web/Pages/TypeIOCs/WeighBillEditTypeIoc.cs @@ -0,0 +1,21 @@ +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"); + } + } +} diff --git a/B3QingDaoWanFu.Web/PluginClass.cs b/B3QingDaoWanFu.Web/PluginClass.cs index b4bbbef..26ec6d9 100644 --- a/B3QingDaoWanFu.Web/PluginClass.cs +++ b/B3QingDaoWanFu.Web/PluginClass.cs @@ -1,16 +1,16 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using TSingSoft.WebPluginFramework; - -namespace BWP.B3QingDaoWanFu -{ - public class PluginClass : IPluginClass - { - public void OnInit() - { - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TSingSoft.WebPluginFramework; + +namespace BWP.B3QingDaoWanFu +{ + public class PluginClass : IPluginClass + { + public void OnInit() + { + } + } +} diff --git a/B3QingDaoWanFu.Web/Properties/AssemblyInfo.cs b/B3QingDaoWanFu.Web/Properties/AssemblyInfo.cs index 2ab1115..e28ae79 100644 --- a/B3QingDaoWanFu.Web/Properties/AssemblyInfo.cs +++ b/B3QingDaoWanFu.Web/Properties/AssemblyInfo.cs @@ -1,35 +1,35 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的常规信息通过以下 -// 特性集控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle("B3QingDaoWanFu.Web")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("B3QingDaoWanFu.Web")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 将 ComVisible 设置为 false 使此程序集中的类型 -// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, -// 则将该类型上的 ComVisible 特性设置为 true。 -[assembly: ComVisible(false)] - -// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID -[assembly: Guid("746ea6e5-8275-4f8c-807e-2380ff17fbc3")] - -// 程序集的版本信息由下面四个值组成: -// -// 主版本 -// 次版本 -// 生成号 -// 修订号 -// -// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, -// 方法是按如下所示使用“*”: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("B3QingDaoWanFu.Web")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("B3QingDaoWanFu.Web")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("746ea6e5-8275-4f8c-807e-2380ff17fbc3")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] diff --git a/B3QingDaoWanFu.sln b/B3QingDaoWanFu.sln index 273dfb3..9255c57 100644 --- a/B3QingDaoWanFu.sln +++ b/B3QingDaoWanFu.sln @@ -1,54 +1,54 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.40629.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B3QingDaoWanFu", "B3QingDaoWanFu\B3QingDaoWanFu.csproj", "{B47CE3C3-C269-48B8-84A7-32360E5A9E8E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B3QingDaoWanFu.Web", "B3QingDaoWanFu.Web\B3QingDaoWanFu.Web.csproj", "{72E264CD-4D88-471E-A9BE-0CD9DD0180A7}" -EndProject -Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "WebFolder(9)", "http://localhost:10214", "{CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}" - ProjectSection(WebsiteProperties) = preProject - UseIISExpress = "true" - TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5" - Debug.AspNetCompiler.VirtualPath = "/localhost_10214" - Debug.AspNetCompiler.PhysicalPath = "WebFolder\" - Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_10214\" - Debug.AspNetCompiler.Updateable = "true" - Debug.AspNetCompiler.ForceOverwrite = "true" - Debug.AspNetCompiler.FixedNames = "false" - Debug.AspNetCompiler.Debug = "True" - Release.AspNetCompiler.VirtualPath = "/localhost_10214" - Release.AspNetCompiler.PhysicalPath = "WebFolder\" - Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_10214\" - Release.AspNetCompiler.Updateable = "true" - Release.AspNetCompiler.ForceOverwrite = "true" - Release.AspNetCompiler.FixedNames = "false" - Release.AspNetCompiler.Debug = "False" - SlnRelativePath = "WebFolder\" - DefaultWebSiteLanguage = "Visual C#" - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B47CE3C3-C269-48B8-84A7-32360E5A9E8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B47CE3C3-C269-48B8-84A7-32360E5A9E8E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B47CE3C3-C269-48B8-84A7-32360E5A9E8E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B47CE3C3-C269-48B8-84A7-32360E5A9E8E}.Release|Any CPU.Build.0 = Release|Any CPU - {72E264CD-4D88-471E-A9BE-0CD9DD0180A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {72E264CD-4D88-471E-A9BE-0CD9DD0180A7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {72E264CD-4D88-471E-A9BE-0CD9DD0180A7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {72E264CD-4D88-471E-A9BE-0CD9DD0180A7}.Release|Any CPU.Build.0 = Release|Any CPU - {CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}.Release|Any CPU.ActiveCfg = Debug|Any CPU - {CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}.Release|Any CPU.Build.0 = Debug|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B3QingDaoWanFu", "B3QingDaoWanFu\B3QingDaoWanFu.csproj", "{B47CE3C3-C269-48B8-84A7-32360E5A9E8E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B3QingDaoWanFu.Web", "B3QingDaoWanFu.Web\B3QingDaoWanFu.Web.csproj", "{72E264CD-4D88-471E-A9BE-0CD9DD0180A7}" +EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "WebFolder(9)", "http://localhost:10214", "{CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}" + ProjectSection(WebsiteProperties) = preProject + UseIISExpress = "true" + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5" + Debug.AspNetCompiler.VirtualPath = "/localhost_10214" + Debug.AspNetCompiler.PhysicalPath = "WebFolder\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_10214\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_10214" + Release.AspNetCompiler.PhysicalPath = "WebFolder\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_10214\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + SlnRelativePath = "WebFolder\" + DefaultWebSiteLanguage = "Visual C#" + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B47CE3C3-C269-48B8-84A7-32360E5A9E8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B47CE3C3-C269-48B8-84A7-32360E5A9E8E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B47CE3C3-C269-48B8-84A7-32360E5A9E8E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B47CE3C3-C269-48B8-84A7-32360E5A9E8E}.Release|Any CPU.Build.0 = Release|Any CPU + {72E264CD-4D88-471E-A9BE-0CD9DD0180A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {72E264CD-4D88-471E-A9BE-0CD9DD0180A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {72E264CD-4D88-471E-A9BE-0CD9DD0180A7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {72E264CD-4D88-471E-A9BE-0CD9DD0180A7}.Release|Any CPU.Build.0 = Release|Any CPU + {CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {CC1F8A21-B2B7-4E91-A16F-F2BCB3C5631E}.Release|Any CPU.Build.0 = Debug|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/B3QingDaoWanFu/B3QingDaoWanFu.csproj b/B3QingDaoWanFu/B3QingDaoWanFu.csproj index e7dd5f4..4b586a9 100644 --- a/B3QingDaoWanFu/B3QingDaoWanFu.csproj +++ b/B3QingDaoWanFu/B3QingDaoWanFu.csproj @@ -1,104 +1,107 @@ - - - - - Debug - AnyCPU - {B47CE3C3-C269-48B8-84A7-32360E5A9E8E} - Library - Properties - BWP.B3QingDaoWanFu - B3QingDaoWanFu - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - False - D:\BwpB3Project\tsref\Debug\B3ButcherManage.dll - - - False - D:\BwpB3Project\tsref\Debug\B3ButcherManage.Web.dll - - - False - D:\BwpB3Project\tsref\Debug\B3Frameworks.dll - - - False - D:\BwpB3Project\tsref\Debug\B3Frameworks.Web.dll - - - False - D:\BwpB3Project\tsref\Debug\B3Procurement.dll - - - False - D:\BwpB3Project\tsref\Debug\B3ProcurementInterface.dll - - - False - D:\BwpB3Project\tsref\Debug\B3ProduceUnitedInfos.dll - - - False - D:\BwpB3Project\tsref\Debug\B3UnitedInfos.dll - - - False - D:\BwpB3Project\tsref\Debug\Forks.EnterpriseServices.dll - - - False - D:\BwpB3Project\tsref\Debug\Forks.Utils.dll - - - - - - - - - - False - D:\BwpB3Project\tsref\Debug\TSingSoft.WebControls2.dll - - - False - D:\BwpB3Project\tsref\Debug\Wpf.dll - - - False - D:\BwpB3Project\tsref\Debug\Wpf.System.dll - - - - - - - + + + + + Debug + AnyCPU + {B47CE3C3-C269-48B8-84A7-32360E5A9E8E} + Library + Properties + BWP.B3QingDaoWanFu + B3QingDaoWanFu + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + D:\BwpB3Project\tsref\Debug\B3ButcherManage.dll + + + False + D:\BwpB3Project\tsref\Debug\B3ButcherManage.Web.dll + + + False + D:\BwpB3Project\tsref\Debug\B3Frameworks.dll + + + False + D:\BwpB3Project\tsref\Debug\B3Frameworks.Web.dll + + + False + D:\BwpB3Project\tsref\Debug\B3Procurement.dll + + + False + D:\BwpB3Project\tsref\Debug\B3ProcurementInterface.dll + + + False + D:\BwpB3Project\tsref\Debug\B3ProduceUnitedInfos.dll + + + False + D:\BwpB3Project\tsref\Debug\B3UnitedInfos.dll + + + False + D:\BwpB3Project\tsref\Debug\Forks.EnterpriseServices.dll + + + False + D:\BwpB3Project\tsref\Debug\Forks.Utils.dll + + + + + + + + + + False + D:\BwpB3Project\tsref\Debug\TSingSoft.WebControls2.dll + + + False + D:\BwpB3Project\tsref\Debug\Wpf.dll + + + False + D:\BwpB3Project\tsref\Debug\Wpf.System.dll + + + + + + + + + + \ No newline at end of file diff --git a/B3QingDaoWanFu/Properties/AssemblyInfo.cs b/B3QingDaoWanFu/Properties/AssemblyInfo.cs index 7ecaa4c..96673f7 100644 --- a/B3QingDaoWanFu/Properties/AssemblyInfo.cs +++ b/B3QingDaoWanFu/Properties/AssemblyInfo.cs @@ -1,39 +1,39 @@ -using Forks.EnterpriseServices.DomainObjects2; -using Forks.EnterpriseServices.Ert; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的常规信息通过以下 -// 特性集控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle("B3QingDaoWanFu")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("B3QingDaoWanFu")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 将 ComVisible 设置为 false 使此程序集中的类型 -// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, -// 则将该类型上的 ComVisible 特性设置为 true。 -[assembly: ComVisible(false)] - -// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID -[assembly: Guid("18239330-4a2c-41d4-821a-dc3cd904a990")] - -// 程序集的版本信息由下面四个值组成: -// -// 主版本 -// 次版本 -// 生成号 -// 修订号 -// -// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, -// 方法是按如下所示使用“*”: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyMapToTablePrefix("B3QingDaoWanFu_")] -[assembly: ErtAbbr("B3QingDaoWanFu", "BWP.B3QingDaoWanFu")] +using Forks.EnterpriseServices.DomainObjects2; +using Forks.EnterpriseServices.Ert; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("B3QingDaoWanFu")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("B3QingDaoWanFu")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("18239330-4a2c-41d4-821a-dc3cd904a990")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyMapToTablePrefix("B3QingDaoWanFu_")] +[assembly: ErtAbbr("B3QingDaoWanFu", "BWP.B3QingDaoWanFu")] diff --git a/B3QingDaoWanFu/TypeIOCs/StatPayBLTypeIOCs.cs b/B3QingDaoWanFu/TypeIOCs/StatPayBLTypeIOCs.cs new file mode 100644 index 0000000..c8719ec --- /dev/null +++ b/B3QingDaoWanFu/TypeIOCs/StatPayBLTypeIOCs.cs @@ -0,0 +1,21 @@ +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; + } + } +} diff --git a/B3QingDaoWanFu/TypeIOCs/WeightBillBLTypeIOCs.cs b/B3QingDaoWanFu/TypeIOCs/WeightBillBLTypeIOCs.cs new file mode 100644 index 0000000..7e3e200 --- /dev/null +++ b/B3QingDaoWanFu/TypeIOCs/WeightBillBLTypeIOCs.cs @@ -0,0 +1,21 @@ +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; + // } + //} +} diff --git a/WebFolder/config/plugins/B3QingDaoWanFu.plugin b/WebFolder/config/plugins/B3QingDaoWanFu.plugin index 2120b2b..7bd65e1 100644 --- a/WebFolder/config/plugins/B3QingDaoWanFu.plugin +++ b/WebFolder/config/plugins/B3QingDaoWanFu.plugin @@ -1,29 +1,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +