@@ -94,7 +94,7 @@ shr.defineClass("shr.compensation.TimepieceSchemeBillEx", shr.compensation.Timep
}
// 确保checkField存在且rowData中有该字段 锁定的字段绿色
- if (checkField && rowData[checkField] !== undefined && boolVal.indexOf(checkField)!== -1 ) {
+ if (checkField && rowData[checkField] !== undefined && boolVal && boolVal.indexOf(checkField)!== -1 ) {
$entry.jqGrid('setCell', rowId, checkField, rowData[checkField], {
'background-color': cellColor
});