You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

46 lines
2.3 KiB

using BWP.B3Sale;
using TSingSoft.WebPluginFramework;
using BWP.B3UnitedInfos;
using BWP.Web.Pages.B3Butchery.Bills.ProduceFinish_;
using TSingSoft.WebPluginFramework.Pages;
using BWP.Web.Pages.B3Sale.Bills.Order_;
using BWP.Web.Pages.B3YunKen.Overlays;
using BWP.Web.Pages.B3Sale.Bills.SaleOutStore_;
using BWP.Web.Pages.B3Sale.Bills.SaleForecast_;
using BWP.Web.Pages.B3Butchery.Bills.ProductNotice_;
using BWP.Web.Pages.B3Butchery.Reports.ProductNoticeReport_;
using BWP.Web.Pages.B3Butchery.Bills.ProductInStore_;
using BWP.Web.Pages.B3Sale.Bills.CustomerApply_;
namespace BWP.B3_YunKen.Web
{
public class PluginClass : IPluginClass
{
public void OnInit() {
GlobalFlags.On(B3SaleConsts.Flags.EnableStandardGoods);
GlobalFlags.On(B3SaleConsts.Flags.RecordLastSaleOutStoreDate);
GlobalFlags.On(B3SaleConsts.Flags.IsDealers);
GlobalFlags.On(B3SaleConsts.Flags.DriverNameAllowSame);
GlobalFlags.On(B3UnitedInfosConsts.GlobalFlags.);
//GlobalFlags.On(B3UnitedInfosConsts.GlobalFlags.产品线增加字段上级产品线);
GlobalFlags.On(B3SaleConsts.Flags.IsDisplayCustomerAcceptSourceBillInfo);
GlobalFlags.On(B3SaleConsts.Flags.IsWrappageDisplayNo);
GlobalFlags.On(B3SaleConsts.Flags.GatheringEditGatheringTime);
WpfPageFactory.RegisterPageOverlay(typeof(OrderEdit).FullName, typeof(OrderEdit_Ext).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(SaleOutStoreEdit).FullName, typeof(SaleOutStoreEdit_Ext).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(SaleForecastEdit).FullName, typeof(SaleForecastEdit_Ext).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(ProductNoticeEdit).FullName, typeof(ProductNoticeEdit_Ext).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(ProductNoticeReport).FullName, typeof(ProductNoticeReport_Ext).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(ProduceFinishEdit).FullName, typeof(ProduceFinishEdit_Ext).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(ProductInStoreEdit).FullName, typeof(ProduceFinishBtnExt).FullName);
WpfPageFactory.RegisterPageOverlay(typeof(CustomerApplyEdit).FullName, typeof(CustomerApplyEdit_Ext).FullName);
}
public void OnUnitInit()
{
}
}
}