| @ -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"); | |||||
| } | |||||
| } | |||||
| } | |||||
| @ -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"); | |||||
| } | |||||
| } | |||||
| } | |||||
| @ -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; | |||||
| } | |||||
| } | |||||
| } | |||||
| @ -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; | |||||
| // } | |||||
| //} | |||||
| } | |||||