소스 검색

统计:修复错误

owen 1 년 전
부모
커밋
e3a0cfe5e9
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/mall/home/components/OperationDataCard.vue
  2. 1 1
      src/views/mall/home/components/TradeTrendCard.vue

+ 1 - 1
src/views/mall/home/components/OperationDataCard.vue

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

+ 1 - 1
src/views/mall/home/components/TradeTrendCard.vue

@@ -186,7 +186,7 @@ const getOrderCountTrendComparison = async (
     dates.push(item.value.date)
     dates.push(item.value.date)
     if (series.length === 2) {
     if (series.length === 2) {
       series[0].data.push(fenToYuan(item?.value?.orderPayPrice || 0)) // 当前金额
       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 {
     } else {
       series[0].data.push(fenToYuan(item?.reference?.orderPayPrice || 0)) // 对照金额
       series[0].data.push(fenToYuan(item?.reference?.orderPayPrice || 0)) // 对照金额
       series[1].data.push(fenToYuan(item?.value?.orderPayPrice || 0)) // 当前金额
       series[1].data.push(fenToYuan(item?.value?.orderPayPrice || 0)) // 当前金额