|
|
|
@ -23,7 +23,10 @@ namespace BWP.Web.Pages.B3SubstituteKill.Bills.StatPay_ |
|
|
|
protected override void BuildBasePropertiesEditor(TitlePanel titlePanel, CustomPageLayout.PageLayoutSection pageLayoutSection) |
|
|
|
{ |
|
|
|
var layoutManager = new LayoutManager("", mDFInfo, mDFContainer); |
|
|
|
|
|
|
|
if (MinDmo.SourceBillID.HasValue) |
|
|
|
layoutManager.Add("SourceBillID", new DFEntityLink(DmoTypeIDAttribute.ResolveID(MinDmo.SourceBillType.Value))); |
|
|
|
else |
|
|
|
layoutManager.Add("SourceBillID", new DFValueLabel()); |
|
|
|
var config = new AutoLayoutConfig(); |
|
|
|
config.Add("AccountingUnit_ID"); |
|
|
|
config.Add("Department_ID"); |
|
|
|
@ -37,6 +40,8 @@ namespace BWP.Web.Pages.B3SubstituteKill.Bills.StatPay_ |
|
|
|
config.Add("Weight"); |
|
|
|
config.Add("PriceBill_ID"); |
|
|
|
config.Add("ReceiveMoney"); |
|
|
|
config.Add("SourceBillType"); |
|
|
|
config.Add("SourceBillID"); |
|
|
|
config.Add("Remark"); |
|
|
|
layoutManager.Config = config; |
|
|
|
pageLayoutSection.ApplyLayout(layoutManager, config, mPageLayoutManager, mDFInfo); |
|
|
|
|