页面 微操作备份

//列表 
  <t:dgCol title="操作备注"  field="rmk"  queryMode="single"  width="180" formatterjs="jsmouseover" ></t:dgCol>


//js

  function jsmouseover(value, row, index) { 
       return "<a href='#' style='color:#000000' onmouseover='saveData1(" + index+ ")'>" + value+ "</a>";
   }
   function saveData1(index) {
        $("#ldcOrderTaxList").datagrid('selectRow', index);
        var row = $('#ldcOrderTaxList').datagrid('getSelected');
        tip(row.rmk)
    }

 

posted @ 2020-09-15 10:55  薛柏梁  阅读(195)  评论(0编辑  收藏  举报