|
|
|
@ -15,6 +15,7 @@ using System.Web.UI.WebControls; |
|
|
|
using TSingSoft.WebControls2; |
|
|
|
using Forks.Utils.Collections; |
|
|
|
using BWP.B3SubstituteKill.Utils; |
|
|
|
using TSingSoft.WebPluginFramework; |
|
|
|
|
|
|
|
namespace BWP.Web.Pages.B3SubstituteKill.Bills.SubKillWeightBill_ |
|
|
|
{ |
|
|
|
@ -200,6 +201,8 @@ __DFContainer.setValue('PriceBill_ID',''); |
|
|
|
return CheckDefaultRole("编辑头数"); |
|
|
|
if (field.Name == "MaoWeight" || field.Name == "PiWeight") |
|
|
|
return CheckDefaultRole("编辑重量"); |
|
|
|
if (field.Name == "Weight") |
|
|
|
return GlobalFlags.get(B3SubstituteKillConsts.Flags.SubKillWeightBill_Detail_WeightIsEdit); |
|
|
|
return true; |
|
|
|
}; |
|
|
|
_detailGrid = titlePanel.EAdd(new DFEditGrid(editor) { Width = Unit.Percentage(100) }); |
|
|
|
@ -217,7 +220,7 @@ __DFContainer.setValue('PriceBill_ID',''); |
|
|
|
}; |
|
|
|
_detailGrid.Columns.Add(new DFEditGridColumn<DFTextBox>("MaoWeight")); |
|
|
|
_detailGrid.Columns.Add(new DFEditGridColumn<DFTextBox>("PiWeight")); |
|
|
|
_detailGrid.Columns.Add(new DFEditGridColumn<DFValueLabel>("Weight")); |
|
|
|
_detailGrid.Columns.Add(new DFEditGridColumn<DFTextBox>("Weight")); |
|
|
|
_detailGrid.Columns.EAdd(new DFEditGridColumn<DFChoiceBox>("LiveColonyHouse_ID")).InitEditControl += (sender, e) => |
|
|
|
{ |
|
|
|
e.Control.DataKind = B3ProduceUnitedInfosDataSources.活体圈舍; |
|
|
|
|