Browse Source

销售利润表毛利润保存两位

rainco 7 years ago
parent
commit
0c966f458b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/saas-web/app/view/sale/report/SaleProfit.js

+ 1 - 1
frontend/saas-web/app/view/sale/report/SaleProfit.js

@@ -131,7 +131,7 @@ Ext.define('saas.view.sale.report.SaleProfit', {
         xtype: 'numbercolumn',
         renderer: function(v) {
             var arr = (v + '.').split('.');
-            var xr = (new Array(arr[1].length > 8 ? 8 : arr[1].length)).fill('0');
+            var xr = (new Array(arr[1].length > 2 ? 2 : arr[1].length)).fill('0');
             var format = '0,000.' + xr.join();
             return Ext.util.Format.number(v, format);
         }