zhuth 7 years ago
parent
commit
cc30b63953

+ 1 - 1
frontend/saas-web/app/view/home/charts/MonthIO.js

@@ -17,7 +17,7 @@ Ext.define('saas.view.home.charts.MonthIO', {
                 bind: {
                     captions: {
                         title: {
-                            text: '本月收入(万元):{month_in}\n本月支出(万元):{month_out}',
+                            text: '本月收入支出额(万元)\n收入:{month_in}\t支出:{month_out}',
                             style: {
                                 'font-size': '14px',
                                 'color': '#485465',

+ 8 - 2
frontend/saas-web/app/view/home/charts/PurchaseTrend.js

@@ -17,7 +17,7 @@ Ext.define('saas.view.home.charts.PurchaseTrend', {
                 bind: {
                     captions: {
                         title: {
-                            text: '采购金额(万元)',
+                            text: '近六月采购趋势图',
                             style: {
                                 'font-size': '14px',
                                 'color': '#485465',
@@ -72,6 +72,12 @@ Ext.define('saas.view.home.charts.PurchaseTrend', {
                         trackMouse: true,
                         renderer: me.onBarTipRender
                     },
+                    // label: {
+                    //     field: 'y',
+                    //     display: 'insideEnd',
+                    //     fontSize: '12px',
+                    //     strokeStyle: '#fff',
+                    // },
                     style: {
                         lineWidth: 0,
                         strokeStyle: 'transparent',
@@ -85,7 +91,7 @@ Ext.define('saas.view.home.charts.PurchaseTrend', {
     },
 
     onBarTipRender: function (tooltip, record, item) {
-        tooltip.setHtml(record.get('x') + ': ' + record.get('y') + '万元');
+        tooltip.setHtml(record.get('x') + ': ' + record.get('y') + '万元');
     },
 
     categoryRender: function(axis, label, layoutContext, lastLabel) {

+ 1 - 1
frontend/saas-web/app/view/home/charts/StockAmount.js

@@ -17,7 +17,7 @@ Ext.define('saas.view.home.charts.StockAmount', {
                 bind: {
                     captions: {
                         title: {
-                            text: '库存金额(万元)',
+                            text: '近六月库存金额图',
                             style: {
                                 'font-size': '14px',
                                 'color': '#485465',