|
@@ -91,6 +91,7 @@ const getRation = async () => {
|
|
|
getRation()
|
|
|
|
|
|
export const commissionCalculation = (count, type) => {
|
|
|
+ if (count && type === 'realPay') return ((count - 0)/100) // 众聘发布需要支付金额(需要统一除以100)
|
|
|
if (!data || !Object.keys(data).length) return
|
|
|
const ratio = parseFloat(data[list[type]]) / 100
|
|
|
const value = (count * ratio)/100 // 后端需要除100
|