2021-10-12

layui 合计行,百分数方法

//var EV = this.elem.next().find('.layui-table-total td[data-field="CompletedWork"] .layui-table-cell').text();
//var AC = this.elem.next().find('.layui-table-total td[data-field="ConsumeWork"] .layui-table-cell').text();
 //var CPI = (AC / EV * 100).toFixed(2).toString().concat('%');
 //this.elem.next().find('.layui-table-total td[data-field="OverdueRate"] .layui-table-cell').text(CPI);

方法来源:LayUI数据表格操作合计数值

上一篇:Layui数据表格文字居中


下一篇:java解决hash算法冲突