修复进销存报表的统计bug

This commit is contained in:
季圣华
2017-08-13 10:30:35 +08:00
parent b14aa19f75
commit 966c9c1258

View File

@@ -364,7 +364,9 @@
{ {
if(data && data.totalCount) { if(data && data.totalCount) {
var count = data.totalCount.toString(); var count = data.totalCount.toString();
count = count.substring(0,count.lastIndexOf('.')+3); if(count.lastIndexOf('.')>-1) {
count = count.substring(0, count.lastIndexOf('.') + 3);
}
$("#searchPanel .total-count").text("本月合计金额:" + count + "元");//本月合计金额 $("#searchPanel .total-count").text("本月合计金额:" + count + "元");//本月合计金额
} }
}, },