diff --git a/B3_QiLianMuGe.Web/B3_QiLianMuGe.Web.csproj b/B3_QiLianMuGe.Web/B3_QiLianMuGe.Web.csproj index 8ba230a..1ffd7b5 100644 --- a/B3_QiLianMuGe.Web/B3_QiLianMuGe.Web.csproj +++ b/B3_QiLianMuGe.Web/B3_QiLianMuGe.Web.csproj @@ -145,6 +145,9 @@ ASPXCodeBehind + + ASPXCodeBehind + ASPXCodeBehind diff --git a/B3_QiLianMuGe.Web/Pages/Overlays/CostShareEdit_Ext.cs b/B3_QiLianMuGe.Web/Pages/Overlays/CostShareEdit_Ext.cs new file mode 100644 index 0000000..0d5701f --- /dev/null +++ b/B3_QiLianMuGe.Web/Pages/Overlays/CostShareEdit_Ext.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BWP.Web.Layout; +using BWP.Web.Pages.B3CowButcherManage.Bills.CostShare_; + +namespace BWP.Web.Pages.Overlays +{ + class CostShareEdit_Ext: CostShareEdit + { + protected override void AddCustomerBaseProperties(LayoutManager layoutManager, AutoLayoutConfig config) + { + config.Add("CostCenter_ID"); + } + } +} diff --git a/B3_QiLianMuGe.Web/PluginClass.cs b/B3_QiLianMuGe.Web/PluginClass.cs index f0f62c1..4b0aa48 100644 --- a/B3_QiLianMuGe.Web/PluginClass.cs +++ b/B3_QiLianMuGe.Web/PluginClass.cs @@ -1,5 +1,6 @@ using BWP.B3CowButcherManage; using BWP.B3Sale; +using BWP.Web.Pages.B3CowButcherManage.Bills.CostShare_; using BWP.Web.Pages.B3CowButcherManage.Bills.Output_; using BWP.Web.Pages.B3Sale.Bills.SaleOutStore_; using TSingSoft.WebPluginFramework; @@ -13,8 +14,11 @@ namespace BWP.B3_QiLianMuGe.Web { GlobalFlags.On(B3SaleConsts.Flags.BillDoCheckUnCheckGoodsBatch); GlobalFlags.On(B3CowButcherManageConsts.GlobalFlags.投入产出成品入库按过磅单屠宰批次生成单据); + GlobalFlags.On(B3CowButcherManageConsts.GlobalFlags.费用分摊查询入库数量按成本中心仓库); + GlobalFlags.On(B3CowButcherManageConsts.GlobalFlags.成本核算投入明细计算二分体金额); WpfPageFactory.RegisterPageOverlay(typeof(SaleOutStoreEdit).FullName, typeof(BWP.Web.Pages.Overlays.SaleOutStoreEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(OutputEdit).FullName, typeof(BWP.Web.Pages.Overlays.OutputEdit_Ext).FullName); + WpfPageFactory.RegisterPageOverlay(typeof(CostShareEdit).FullName, typeof(BWP.Web.Pages.Overlays.CostShareEdit_Ext).FullName); } } }