首页 > 代码库 > 数据列的取到的值浮动变色
数据列的取到的值浮动变色
{field:‘productcode‘,sortable:true,title:‘<span style="width:100%;text-align:center">出厂编号</span>‘,width:100,align:‘left‘,
formatter:function(value,row){
if(value=http://www.mamicode.com/=undefined){
}else{
var content = ‘<a href="javascript:void(0)" onclick="xyfzscq(\‘‘+value+‘\‘)">‘ + value + ‘</a>‘;
return content;
}
}
},
function xyfzscq(value){
<%-- window.open("<%=rootPath%>/icis/sup/sess/shebecanshuiInfoQuery.jsp?code=‘+value","_blank","top=100,left=100,width=700,height=500,menubar=yes,scrollbars=no,toolbar=yes,status=yes"); --%>
var html="<%=rootPath%>/icis/sup/sess/shebecanshuiInfoQuery.jsp?code="+value+"&sjcc="+Math.random();
window.open(html,"","height=400px,width=980px,status=yes,toolbar=no,menubar=no,location=no,top=90px,left=300px,scrollbars=yes");
}
数据列的取到的值浮动变色