补充提交

master
孙亮 4 months ago
parent 6397bd05a1
commit 3a8ae68770

@ -3205,10 +3205,12 @@ trgaph108\trleft5\trbrdrl\brdrs\brdrw10 \trbrdrt\brdrs\brdrw10 \trbrdrr\brdrs\br
{
SysEnums enums = new SysEnums(attr.UIBindKey);
string strs = "";
string[] valArr = val.Split(',');
foreach (SysEnum en in enums)
{
if ((val + ",").Contains(en.IntKey + ",") == true)
if (Array.IndexOf(valArr, en.IntKey.ToString()) > -1)
strs += en.Lab + ",";
}
if (strs != "") strs = strs.Substring(0, strs.Length - 1);
rowData = rowData.Replace("<" + shortName + "." + attr.Key + ".Checkboxs>", GetCode(strs));

Loading…
Cancel
Save