Forráskód Böngészése

统计:trade_statistics 字段【order_wallet_pay_price】改为【wallet_pay_price】

owen 1 éve
szülő
commit
6204ce6c1b

+ 1 - 1
src/api/mall/statistics/trade.ts

@@ -23,7 +23,7 @@ export interface TradeTrendSummaryRespVO {
   orderPayPrice: number
   rechargePrice: number
   expensePrice: number
-  orderWalletPayPrice: number
+  walletPayPrice: number
   brokerageSettlementPrice: number
   afterSaleRefundPrice: number
 }

+ 3 - 3
src/views/mall/statistics/trade/index.vue

@@ -156,11 +156,11 @@
             icon-bg-color="text-cyan-500"
             prefix="¥"
             :decimals="2"
-            :value="fenToYuan(trendSummary?.value?.orderWalletPayPrice || 0)"
+            :value="fenToYuan(trendSummary?.value?.walletPayPrice || 0)"
             :percent="
               calculateRelativeRate(
-                trendSummary?.value?.orderWalletPayPrice,
-                trendSummary?.reference?.orderWalletPayPrice
+                trendSummary?.value?.walletPayPrice,
+                trendSummary?.reference?.walletPayPrice
               )
             "
           />