diff --git a/BWP.B3_YunKen.Web/BWP.B3_YunKen.Web.csproj b/BWP.B3_YunKen.Web/BWP.B3_YunKen.Web.csproj index 88f50bc..34827b4 100644 --- a/BWP.B3_YunKen.Web/BWP.B3_YunKen.Web.csproj +++ b/BWP.B3_YunKen.Web/BWP.B3_YunKen.Web.csproj @@ -104,6 +104,9 @@ ASPXCodeBehind + + ASPXCodeBehind + ASPXCodeBehind diff --git a/BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/CustomerApplyList_Ext.cs b/BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/CustomerApplyList_Ext.cs new file mode 100644 index 0000000..2024b54 --- /dev/null +++ b/BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/CustomerApplyList_Ext.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BWP.B3Frameworks; +using BWP.Web.Pages.B3Sale.Bills.CustomerApply_; +using BWP.Web.Utils; +using TSingSoft.WebControls2; + +namespace BWP.Web.Pages.B3YunKen.Overlays +{ + public class CustomerApplyList_Ext : CustomerApplyList + { + protected override void AddConfig(Layout.LayoutManager manager, Layout.AutoLayoutConfig config) + { + base.AddConfig(manager, config); + config.Remvoe("Employee_ID"); + manager.Remove("Employee_ID"); + manager.Add("Employee_ID",new SimpleLabel("销售人员"), QueryCreator.DFChoiceBox(mDFInfo.Fields["Employee_ID"],B3FrameworksConsts.DataSources.授权员工全部)); + config.AddAfter("Employee_ID", "Department_ID"); + } + } +} diff --git a/BWP.B3_YunKen.Web/PluginClass.cs b/BWP.B3_YunKen.Web/PluginClass.cs index 249c191..8529805 100644 --- a/BWP.B3_YunKen.Web/PluginClass.cs +++ b/BWP.B3_YunKen.Web/PluginClass.cs @@ -45,6 +45,7 @@ namespace BWP.B3_YunKen.Web WpfPageFactory.RegisterPageOverlay(typeof(ProductInStoreEdit).FullName, typeof(ProduceFinishBtnExt).FullName); WpfPageFactory.RegisterPageOverlay(typeof(CustomerApplyEdit).FullName, typeof(CustomerApplyEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(SelectProductNoticeDialog).FullName, typeof(SelectProductNoticeDialog_Ext).FullName); + WpfPageFactory.RegisterPageOverlay(typeof(CustomerApplyList).FullName, typeof(CustomerApplyList_Ext).FullName); WeChatDataTemplateNameAttribute.SetCustomName(typeof(Order), "耘垦销售订单"); WeChatDataTemplateNameAttribute.SetCustomName(typeof(SaleOutStore), "耘垦销售出库单"); WeChatDataTemplateNameAttribute.SetCustomName(typeof(SaleForecast), "耘垦销售预报");