修改:推广报告设置价格弹窗提价成本提示修改
This commit is contained in:
@@ -27,7 +27,9 @@
|
|||||||
|
|
||||||
<div>推广收益 = 客户查询价 - 我的成本</div>
|
<div>推广收益 = 客户查询价 - 我的成本</div>
|
||||||
<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">{{
|
<div class="">设定范围:<span class="text-orange-500">{{
|
||||||
productConfig.price_range_min }}</span>元 - <span class="text-orange-500">{{
|
productConfig.price_range_min }}</span>元 - <span class="text-orange-500">{{
|
||||||
productConfig.price_range_max }}</span>元</div>
|
productConfig.price_range_max }}</span>元</div>
|
||||||
@@ -81,7 +83,9 @@ const costPrice = computed(() => {
|
|||||||
|
|
||||||
return safeTruncate(totalCost);
|
return safeTruncate(totalCost);
|
||||||
})
|
})
|
||||||
|
const rateFormat = (rate) => {
|
||||||
|
return rate * 100 + '%';
|
||||||
|
}
|
||||||
const baseCost = computed(() => {
|
const baseCost = computed(() => {
|
||||||
if (!productConfig.value) return "0.00";
|
if (!productConfig.value) return "0.00";
|
||||||
const actualBasePrice = Number(productConfig.value.actual_base_price) || 0;
|
const actualBasePrice = Number(productConfig.value.actual_base_price) || 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user