|
楼主 |
发表于 2018-10-24 12:31:57
|
显示全部楼层
首先我先判断一行中数据状态,然后HTML输出我想要的效果
if ((Row.val("fBizState") === 'bsFinished' || Row.val("fBizState") === 'bsClose')){
if (event.colName == 'RelationDisplay') {
var fID = event.rowID;
if (!!DisLoan) {
html = html + "<a href='#' style='color:rgb(51, 122, 183);' onclick='justep.Util.getModel(this).openDetail(\"JKSQ\",\"" + fID + "\")'>AA</a>";
}
if (!!DisReim) {
html = html + "<a href='#' style='color:rgb(51, 122, 183);' onclick='justep.Util.getModel(this).openDetail(\"BXSQ\",\"" + fID + "\")'>BB</a>";
}
if (!!DisLoan && !!DisLoan) {
html = "<a href='#' style='color:rgb(51, 122, 183);' onclick='justep.Util.getModel(this).openDetail(\"JKSQ\",\"" + fID + "\")'>AA</a>"
+ "<span> </span><a href='#' style='color:rgb(51, 122, 183);' onclick='justep.Util.getModel(this).openDetail(\"BXSQ\",\"" + fID + "\")'>BB</a>";
}
event.html = "" + html + "";}
只要grid开启footer整个页面就出不来了,如果关了usefooter,一切正常。烦请大家给个意见,这是怎么回事?
|
|