【修复】商城管理首页统计数据显示问题

(cherry picked from commit 78dd2fa38a2d040c1c97d70cababc4f9265ac705)
This commit is contained in:
JJBoy
2024-05-08 21:12:24 +08:00
parent 6c1798097c
commit 1cf286b057
2 changed files with 2 additions and 2 deletions

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(item?.value?.orderPayCount || 0) // 当前数量
} else {
series[0].data.push(fenToYuan(item?.reference?.orderPayPrice || 0)) // 对照金额
series[1].data.push(fenToYuan(item?.value?.orderPayPrice || 0)) // 当前金额