Commit dea354c9 by liang ce

图表充值内外充值反了修改

parent 9eb47e07
......@@ -111,8 +111,8 @@ export default {
let data2 = []
this.RechargeDataList.map(item => {
xAxisData.push(parseInt(item.abscissaKey))
data1.push(item.internalRechargeAmount ? item.internalRechargeAmount : 0)
data2.push(item.externalRechargeAmount ? item.externalRechargeAmount : 0)
data1.push(item.externalRechargeAmount ? item.externalRechargeAmount : 0)
data2.push(item.internalRechargeAmount ? item.internalRechargeAmount : 0)
})
myChart.setOption({
title: { text: '充值金额' },
......@@ -160,7 +160,6 @@ export default {
// internalConsumeRealityAmount 员工现金
// internalConsumeSubsidyAmount 津贴
// externalConsumeRealityAmount 访客消费
myChart.setOption({
title: { text: '消费金额' },
tooltip: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment