Commit 06be2936 by wyc

费用类别及系数配置(粘贴数据空列头修复)

parent 1cb1c2b6
......@@ -1229,7 +1229,23 @@ public HandsonTableBase GetDrugtypeFactorConfig(int hospitalId, int allotId)
}
#endregion
if (data.Count <= 0)
{
Dictionary<string, object> dict = new Dictionary<string, object>
{
{ "Charge", "" },
{ "ChargeType", "" }
};
foreach (var model in models)
{
foreach (var column in defaultColumns)
{
dict.Add(column.Value + $"_{model.Id}", null);
}
}
data.Add(dict);
}
table.Columns = columns;
table.NestedHeadersArray = new object[] { mergeCells, cells };
table.ColHeaders = cells;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment