Explorar o código

报表导出日期格式

zhuth %!s(int64=7) %!d(string=hai) anos
pai
achega
41447bd12b
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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, {