Browse Source

BUG处理

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

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

@@ -118,13 +118,7 @@ Ext.define('saas.view.sale.report.SaleProfit', {
     }, {
         text: '成本单价',
         dataIndex: 'pw_costprice',
-        xtype: 'numbercolumn',
-        renderer: function(v) {
-            var arr = (v + '.').split('.');
-            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);
-        }
+        xtype: 'numbercolumn'
     }, {
         text: '成本金额',
         dataIndex: 'pd_total',