Browse Source

需求单 140407 -3 -5

master
wushukun 7 years ago
parent
commit
2468ae8cbe
3 changed files with 26 additions and 1 deletions
  1. +7
    -0
      BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/OrderEdit_Ext.cs
  2. +13
    -0
      BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/ReturnInStoreEdit_Ext.cs
  3. +6
    -1
      BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/SaleForecastEdit_Ext.cs

+ 7
- 0
BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/OrderEdit_Ext.cs View File

@ -12,6 +12,13 @@ namespace BWP.Web.Pages.B3YunKen.Overlays
{
public class OrderEdit_Ext:OrderEdit
{
public override void AppToUI()
{
base.AppToUI();
if (MinDmo.ID != 0)
mDFContainer.MakeReadonly("AccountingUnit_ID");
}
protected override void AddCarDriverInfoConfig(LayoutManager layOutManager, AutoLayoutConfig config)
{
layOutManager.Add("Driver_Name", new DFValueLabel());


+ 13
- 0
BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/ReturnInStoreEdit_Ext.cs View File

@ -13,6 +13,19 @@ namespace BWP.Web.Pages.B3YunKen.Overlays
class ReturnInStoreEdit_Ext: ReturnInStoreEdit
{
protected override void InitReferToDmo(ReturnInStore dmo)
{
base.InitReferToDmo(dmo);
dmo.Code = null;
}
public override void AppToUI()
{
base.AppToUI();
if (MinDmo.ID != 0)
mDFContainer.MakeReadonly("AccountingUnit_ID");
}
protected override void BeforeDetailGridApplyLayout(DFEditGrid dFEditGrid)
{


+ 6
- 1
BWP.B3_YunKen.Web/Pages/B3YunKen/Overlays/SaleForecastEdit_Ext.cs View File

@ -24,7 +24,12 @@ namespace BWP.Web.Pages.B3YunKen.Overlays
{
config.AddAfter("FreightBear", "DeliverAddress");
}
public override void AppToUI()
{
base.AppToUI();
if (MinDmo.ID != 0)
mDFContainer.MakeReadonly("AccountingUnit_ID");
}
protected override void AddCustomerToolBar(HLayoutPanel toobar)
{
var btn=new TSButton("载入存货");


Loading…
Cancel
Save