更改分销字段名称
This commit is contained in:
@@ -135,8 +135,8 @@
|
|||||||
<span class="required">*</span>分成比例
|
<span class="required">*</span>分成比例
|
||||||
</div>
|
</div>
|
||||||
<div class="ipt">
|
<div class="ipt">
|
||||||
<el-input v-model="item.levelOneCommission" placeholder="请输入" :maxlength="5"
|
<el-input v-model="item.commission" placeholder="请输入" :maxlength="5" style="width: 200px;"
|
||||||
style="width: 200px;" @input="e => item.levelOneCommission = filterNumberInput(e)">
|
@input="e => item.commission = filterNumberInput(e)">
|
||||||
<template #append>%</template>
|
<template #append>%</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
@@ -204,7 +204,7 @@ const levelConfigListObj = ref({
|
|||||||
name: '', // 名称
|
name: '', // 名称
|
||||||
inviteCount: '', // 有效人数
|
inviteCount: '', // 有效人数
|
||||||
costAmount: '', // 消费金额
|
costAmount: '', // 消费金额
|
||||||
levelOneCommission: '', // 一级分销比例
|
commission: '', // 一级分销比例
|
||||||
levelTwoCommission: '', // 二级分销比例
|
levelTwoCommission: '', // 二级分销比例
|
||||||
})
|
})
|
||||||
const form = ref({
|
const form = ref({
|
||||||
@@ -281,7 +281,7 @@ const rules = ref({
|
|||||||
callback(new Error(tips))
|
callback(new Error(tips))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (item.levelOneCommission === '' || item.levelOneCommission == 0) {
|
if (item.commission === '' || item.commission == 0) {
|
||||||
tips = `请输入${index + 1}级的分成比例`
|
tips = `请输入${index + 1}级的分成比例`
|
||||||
callback(new Error(tips))
|
callback(new Error(tips))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user