merge: 将 fea-mat 合并到 master
合入材料炉批号开关、项目设置精简及任务单条件提示,保留 master 的材料数量编辑、单位工程排序和材料匹配优先顺序。
This commit is contained in:
@@ -46,6 +46,23 @@ namespace FineUIPro.Web
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 不使用炉批号时,统一隐藏材料表格中的炉号、批号列。
|
||||
/// </summary>
|
||||
protected void ConfigureMaterialBatchColumns(params Grid[] grids)
|
||||
{
|
||||
if (Project_SysSetService.UsesMaterialBatchNumber(CurrUser.LoginProjectId))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var grid in grids)
|
||||
{
|
||||
grid.FindColumn("HeatNo").Hidden = true;
|
||||
grid.FindColumn("BatchNo").Hidden = true;
|
||||
}
|
||||
}
|
||||
|
||||
#region OnInit
|
||||
|
||||
protected override void OnInit(EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user