whj 1 rok pred
rodič
commit
a262796fd5

+ 18 - 0
src/views/preparation/report/PreparationReport.vue

@@ -186,6 +186,24 @@ export default {
                 }
               }
             }
+          },
+          {
+            name: '实际费用',
+            type: 'line',
+            data: this.chartsData1.map(item => item.totalActualFee),
+            yAxisIndex: 1,
+            itemStyle: {
+              normal: {
+                label: {
+                  show: true, // 开启显示
+                  position: 'top', // 在上方显示
+                  textStyle: { // 数值样式
+                    color: 'black',
+                    fontSize: 16
+                  }
+                }
+              }
+            }
           }
         ]
       }

+ 23 - 0
src/views/preparation/report/PreparationsPosition.vue

@@ -88,6 +88,11 @@ export default {
           width: 120,
           dataIndex: 'totalFee'
         },
+        {
+          title: '实际费用(元)',
+          width: 120,
+          dataIndex: 'totalActualFee'
+        },
         {
           title: '操作',
           key: 'action',
@@ -178,6 +183,24 @@ export default {
                 }
               }
             }
+          },
+          {
+            name: '实际费用',
+            type: 'line',
+            data: this.chartsData1.map(item => item.totalActualFee),
+            yAxisIndex: 1,
+            itemStyle: {
+              normal: {
+                label: {
+                  show: true, // 开启显示
+                  position: 'top', // 在上方显示
+                  textStyle: { // 数值样式
+                    color: 'black',
+                    fontSize: 16
+                  }
+                }
+              }
+            }
           }
         ]
       }