var cell = contentPane.curLGP.getTDCell(1,1);contentPane.curLGP.selectTDCell(cell);var location = this.options.location; //获取当前控件的位置var cr = FR.cellStr2ColumnRow(location);//获取当前控件的行列var col = cr.col+3; //公式单元格的列号var ro = cr.row; //当前行号//var a=this.getValue();//拿到当前单元格的值var b = contentPane.getCellValue(col,ro)//拿到公式单元格的值var y = FR.columnRow2CellStr({col: col, row: ro});//转换公式单元格位置if(b<=30){$("td").css("color","#000000");};if(b>30&&b<=60){$("td").css("color","#bf8f00");};if(b>60){$("td").css("color","#FF0000");};