Browse Source

报表导出日期格式

zhuth 7 years ago
parent
commit
41447bd12b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      frontend/saas-web/app/view/core/report/ReportPanel.js

+ 4 - 1
frontend/saas-web/app/view/core/report/ReportPanel.js

@@ -245,7 +245,10 @@ Ext.define('saas.view.core.report.ReportPanel', {
 
             if(c.xtype == 'datecolumn') {
                 Ext.applyIf(c, {
-                    format: 'Y-m-d'
+                    format: 'Y-m-d',
+                    exportStyle: {
+                        format: 'Short Date'
+                    }
                 })
             }else if(c.xtype == 'numbercolumn') {
                 Ext.applyIf(c, {