diff --git a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx index 935b788c..7ae0a73d 100644 --- a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx +++ b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx @@ -139,11 +139,11 @@ function onGridAfterEdit(event, value, params) { var me = this, columnId = params.columnId, rowId = params.rowId; - var str = F(hdIdClientID).ooIl1; - if (str == undefined) { + var str = F(hdIdClientID).getValue(); + if (str == undefined || str == '') { str = rowId; } - else { + else if(str.indexOf(rowId) == -1){ str = str + "," + rowId; } F(hdIdClientID).setValue(str);