|
|
|
@ -8,6 +8,7 @@ using BWP.Web.Layout; |
|
|
|
using BWP.Web.WebControls; |
|
|
|
using Forks.EnterpriseServices.DataForm; |
|
|
|
using TSingSoft.WebControls2; |
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
namespace BWP.Web.Pages.B3_DongFangWanQi.BaseInfos { |
|
|
|
class OutputConfigureEdit : DomainBaseInfoEditPage<OutputConfigure, IOutputConfigureBL> { |
|
|
|
@ -60,12 +61,18 @@ namespace BWP.Web.Pages.B3_DongFangWanQi.BaseInfos { |
|
|
|
detailEditor.CanDeleteFunc = detail => CanSave; |
|
|
|
detailEditor.IsEditableFunc = (field, detail) => CanSave; |
|
|
|
_grid = titlePanel.EAdd(new DFEditGrid(detailEditor) { Width = Unit.Percentage(100), ShowLineNo = true }); |
|
|
|
_grid.Columns.Add(new DFEditGridColumn<DFTextBox>("OrderByProperty")); |
|
|
|
_grid.Columns.Add(new DFEditGridColumn<DFValueLabel>("GoodsProperty_Name")); |
|
|
|
_grid.Columns.Add(new DFEditGridColumn<DFTextBox>("StoreNum")); |
|
|
|
_grid.Columns.Add(new DFEditGridColumn<DFTextBox>("Number")); |
|
|
|
_grid.Columns.Add(new DFEditGridColumn<DFTextBox>("Rate")); |
|
|
|
_grid.Columns.Add(new DFEditGridColumn<DFTextBox>("StoreNum")); |
|
|
|
|
|
|
|
_grid.Columns.Add(new DFEditGridColumn<DFTextBox>("OrderByProperty")); |
|
|
|
var dic = new Dictionary<string, Unit>(); |
|
|
|
dic.Add("存货属性名称", Unit.Percentage(30)); |
|
|
|
dic.Add("库存", Unit.Percentage(15)); |
|
|
|
dic.Add("产量", Unit.Percentage(15)); |
|
|
|
dic.Add("比例", Unit.Percentage(15)); |
|
|
|
dic.Add("排序", Unit.Percentage(15)); |
|
|
|
_grid.PreferWidthGridSet = dic; |
|
|
|
} |
|
|
|
|
|
|
|
public override void GetFromUI() { |
|
|
|
|