统计:修复错误

(cherry picked from commit e3a0cfe5e9)
This commit is contained in:
owen 2023-10-16 22:18:51 +08:00 committed by shizhong
parent 1dba566d1d
commit aaead6c2b9
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ const getProductData = async () => {
/** 查询钱包充值数据 */
const getWalletRechargeData = async () => {
const paySummary = await PayStatisticsApi.getWalletRechargePrice();
const paySummary = await PayStatisticsApi.getWalletRechargePrice()
data.rechargePrice.value = paySummary.rechargePrice
}

View File

@ -186,7 +186,7 @@ const getOrderCountTrendComparison = async (
dates.push(item.value.date)
if (series.length === 2) {
series[0].data.push(fenToYuan(item?.value?.orderPayPrice || 0)) //
series[1].data.push(fenToYuan(item?.value?.orderPayCount || 0)) //
series[1].data.push(fenToYuan(item?.value?.orderPayCount || 0)) //
} else {
series[0].data.push(fenToYuan(item?.reference?.orderPayPrice || 0)) //
series[1].data.push(fenToYuan(item?.value?.orderPayPrice || 0)) //