Browse Source

【修复】商城系统:管理后台的商城订单统计数据有问题

YunaiV 9 months ago
parent
commit
e2fe04749b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/mall/home/index.vue

+ 3 - 3
src/views/mall/home/index.vue

@@ -9,7 +9,7 @@
           tag="今日"
           title="销售额"
           prefix="¥"
-          ::decimals="2"
+          :decimals="2"
           :value="fenToYuan(orderComparison?.value?.orderPayPrice || 0)"
           :reference="fenToYuan(orderComparison?.reference?.orderPayPrice || 0)"
         />
@@ -26,8 +26,8 @@
         <ComparisonCard
           tag="今日"
           title="订单量"
-          :value="fenToYuan(orderComparison?.value?.orderPayCount || 0)"
-          :reference="fenToYuan(orderComparison?.reference?.orderPayCount || 0)"
+          :value="orderComparison?.value?.orderPayCount || 0"
+          :reference="orderComparison?.reference?.orderPayCount || 0"
         />
       </el-col>
       <el-col :md="6" :sm="12" :xs="24" :loading="loading">