职工福利-福利选择:修改套餐积分最小值不能为0避免无上限选择福利数量;
This commit is contained in:
@@ -109,7 +109,7 @@
|
|||||||
header-align="center"
|
header-align="center"
|
||||||
v-if="is_integral_mode" label="所需积分" width="150">
|
v-if="is_integral_mode" label="所需积分" width="150">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-input-number v-model="row.integral" style="width: 100%" :min="0"></el-input-number>
|
<el-input-number v-model="row.integral" style="width: 100%" :min="1"></el-input-number>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
optionName:'福利'+(s.options.length+1),
|
optionName:'福利'+(s.options.length+1),
|
||||||
optionSort:s.options.length+1,
|
optionSort:s.options.length+1,
|
||||||
imgUrl:null,
|
imgUrl:null,
|
||||||
integral:0,
|
integral:1,
|
||||||
isDefaultOption:false,
|
isDefaultOption:false,
|
||||||
isSystemDefault:false})">
|
isSystemDefault:false})">
|
||||||
添加福利
|
添加福利
|
||||||
@@ -281,8 +281,8 @@ module.exports = {
|
|||||||
subjectName: '题目' + (this.subject.length + 1),
|
subjectName: '题目' + (this.subject.length + 1),
|
||||||
subjectType: type,
|
subjectType: type,
|
||||||
options: [
|
options: [
|
||||||
{optionName: '选项一', imgUrl: null},
|
{optionName: '选项一', imgUrl: null, integral: 1},
|
||||||
{optionName: '选项一', imgUrl: null}
|
{optionName: '选项一', imgUrl: null, integral: 1}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
this.subject.push(subject)
|
this.subject.push(subject)
|
||||||
|
|||||||
Reference in New Issue
Block a user