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.
 

29 lines
998 B

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));
}
}
}