if (window.lineboxes) {
var cells = [];
for (var i = 0; i < lineboxes.length; i++) {
if (lineboxes[i].selected() == true) {
var cr = FR.cellStr2ColumnRow(window.lineboxes[i].options.location);
//获取勾选复选框所在行列
var code = "'" + contentPane.getCellValue(28, cr.row) + "'";
if (code.indexOf(user) != -1
|| user == "admin"
)
{
var a = "" + contentPane.getCellValue(2, cr.row) + "";
cells.push(a);
} else {
alert("你没有此权限");
}
contentPane.setCellValue(28,7,cells[0].substring(1,cells[0].length-1));
}
}
}
有没有大神不让他提示这个错误啊?