|
|
using BWP.B3Butchery.BO;
|
|
|
using BWP.B3UnitedInfos;
|
|
|
using BWP.Web.Pages.B3Butchery.Bills.ProductNotice_;
|
|
|
using Forks.EnterpriseServices.DataForm;
|
|
|
using System.Linq;
|
|
|
using TSingSoft.WebControls2;
|
|
|
using TSingSoft.WebPluginFramework;
|
|
|
|
|
|
namespace BWP.Web.Pages.B3YunKen.Overlays
|
|
|
{
|
|
|
public class ProductNoticeEdit_Ext: ProductNoticeEdit
|
|
|
{
|
|
|
protected override void AddGridColumnsByBrandItem_ID(DFEditGrid _detailGrid)
|
|
|
{
|
|
|
|
|
|
_detailGrid.Columns.Add(new DFEditGridColumn<DFTextBox>("OrderByID"));
|
|
|
if (GlobalFlags.get(B3UnitedInfosConsts.GlobalFlags.库存支持品牌项))
|
|
|
{
|
|
|
_detailGrid.Columns.Add(new DFEditGridColumn("BrandItem_ID"));
|
|
|
}
|
|
|
_detailGrid.Columns.Add(new DFEditGridColumn("Detail_Customer_ID"));
|
|
|
}
|
|
|
|
|
|
protected override DFCollectionEditor<ProductNotice_Detail> AddGridByOrderByID()
|
|
|
{
|
|
|
return new DFCollectionEditor<ProductNotice_Detail>(() => new DFEditGridPhonyData(Dmo.Details.OrderBy(x => x.OrderByID), Dmo.Details));
|
|
|
}
|
|
|
}
|
|
|
}
|