Browse Source

首页报错修正

rainco 7 years ago
parent
commit
e677cc77b7

+ 4 - 1
frontend/saas-web/app/view/document/vendor/BasePanel.js

@@ -77,7 +77,10 @@ Ext.define('saas.view.document.vendor.BasePanel', {
             xtype: 'numbercolumn',
             dataIndex : "ve_promisedays", 
             width : 120.0, 
-            align:'end'
+            align:'end', 
+            renderer : function(v) {
+                return Ext.util.Format.number(v, '0');
+            }
         }, {
             text : "纳税人识别号", 
             dataIndex : "ve_nsrzh", 

+ 0 - 1
frontend/saas-web/app/view/main/Main.js

@@ -114,7 +114,6 @@ Ext.define('saas.view.main.Main', {
                 },
                 {
                     ui: 'header',
-                    xtype:'tbtext',
                     bind: {
                         tooltip: '{account.realname}',
                         text: '{account.realname}'