//通过节点对象层层找出每一行的车牌号码值进行比对
var listTable =$('.datagrid-btable')[1];
var tbodys = listTable.childNodes;
var trs = tbodys[0].childNodes;
for(var i=0,len=trs.length;i<len;i++){
var tds = trs[i].childNodes;
var carnum = tds[0].innerText;
//处理文本最后的Enter字符
var carNumNew = carnum.substring(0, carnum.length-1);
if(carNumNew == carNum){
$(trs[i]).css('background','#f5f5f5').css('color','#ff6a6a');
}else{
//删除去他行的样式
$(trs[i]).css({'color':'#555555','background':'#ffffff'});
}
}