<th field="SJPFLF" editor="text" width="auto" align="center" formatter="sjpflf">
实际排放量(方)
</th>
function sjpflf(value,rowData,index){
if(value !=null){
return value.toFixed(2);
}
}
<th field="SJPFLF" editor="text" width="auto" align="center" formatter="sjpflf">
实际排放量(方)
</th>
function sjpflf(value,rowData,index){
if(value !=null){
return value.toFixed(2);
}
}
转载于:https://www.cnblogs.com/0914lx/p/7093365.html