修改:推广报告设置价格弹窗提价成本提示修改

This commit is contained in:
2025-12-16 19:33:21 +08:00
parent db4f287bf5
commit 0e210505f5

View File

@@ -27,7 +27,9 @@
<div>推广收益 = 客户查询价 - 我的成本</div>
<div>我的成本 = 实际底价 + 提价成本</div>
<div class="mt-1">提价成本超过提价阈值部分平台会按比例收取费用</div>
<div class="mt-1">提价成本设置{{ productConfig.price_threshold }}元以上的部分收取{{
rateFormat(productConfig.price_fee_rate)
}}的提价成本</div>
<div class="">设定范围<span class="text-orange-500">{{
productConfig.price_range_min }}</span> - <span class="text-orange-500">{{
productConfig.price_range_max }}</span></div>
@@ -81,7 +83,9 @@ const costPrice = computed(() => {
return safeTruncate(totalCost);
})
const rateFormat = (rate) => {
return rate * 100 + '%';
}
const baseCost = computed(() => {
if (!productConfig.value) return "0.00";
const actualBasePrice = Number(productConfig.value.actual_base_price) || 0;