数据列的取到的值浮动变色

{field:'productcode',sortable:true,title:'<span style="width:100%;text-align:center">出厂编号</span>',width:100,align:'left',
           formatter:function(value,row){
                  if(value==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");
 }

posted on 2017-06-14 09:04  街角的守望者  阅读(101)  评论(0编辑  收藏  举报

导航