Commit 966c9c12 authored by 季圣华's avatar 季圣华
Browse files

修复进销存报表的统计bug

parent b14aa19f
...@@ -364,7 +364,9 @@ ...@@ -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 + "");//本月合计金额
} }
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment