feat(goods): 商品配置 复购专区默认比率 且当分红方式为比率时,区域分红不可编辑
This commit is contained in:
parent
2f225fbeac
commit
b1aef14cab
|
@ -134,7 +134,7 @@
|
|||
style="width: 100%"
|
||||
:controls="false"
|
||||
clearable
|
||||
:disabled="methods == 0"
|
||||
:disabled="methods == 0 || form.areaIncomeType == 1"
|
||||
:placeholder="'请输入'"
|
||||
>
|
||||
<template v-if="form.areaIncomeType == 1" slot="append">
|
||||
|
@ -1152,6 +1152,8 @@ export default {
|
|||
handleAreaIncomeTypeChange(val) {
|
||||
if (val == 1) {
|
||||
this.form.areaIncome = 0.5
|
||||
} else {
|
||||
this.form.areaIncome = ''
|
||||
}
|
||||
},
|
||||
// getWaresSort() {
|
||||
|
@ -1447,7 +1449,8 @@ export default {
|
|||
},
|
||||
selSpecial(e) {
|
||||
if (e == 43) {
|
||||
this.$set(this.form, 'areaIncomeType', 2)
|
||||
this.$set(this.form, 'areaIncomeType', 1)
|
||||
this.$set(this.form, 'areaIncome', 0.5)
|
||||
}
|
||||
this.get_hierarchy_list(e)
|
||||
console.log(
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
style="width: 100%"
|
||||
:controls="false"
|
||||
clearable
|
||||
:disabled="methods == 0"
|
||||
:disabled="methods == 0 || form.areaIncomeType == 1"
|
||||
:placeholder="'请输入'"
|
||||
>
|
||||
<template v-if="form.areaIncomeType == 1" slot="append">
|
||||
|
@ -1049,6 +1049,8 @@ export default {
|
|||
handleAreaIncomeTypeChange(val) {
|
||||
if (val == 1) {
|
||||
this.form.areaIncome = 0.5
|
||||
} else {
|
||||
this.form.areaIncome = ''
|
||||
}
|
||||
},
|
||||
// getWaresSort() {
|
||||
|
@ -1241,7 +1243,8 @@ export default {
|
|||
},
|
||||
selSpecial(e) {
|
||||
if (e == 43) {
|
||||
this.$set(this.form, 'areaIncomeType', 2)
|
||||
this.$set(this.form, 'areaIncomeType', 1)
|
||||
this.$set(this.form, 'areaIncome', 0.5)
|
||||
}
|
||||
this.get_hierarchy_list(e)
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue