...
|
...
|
@@ -129,7 +129,8 @@ |
|
|
h('Button', {
|
|
|
props: {
|
|
|
type: 'error',
|
|
|
size: 'small'
|
|
|
size: 'small',
|
|
|
disabled: !!row.id
|
|
|
},
|
|
|
style: {
|
|
|
margin: '2px'
|
...
|
...
|
@@ -182,7 +183,7 @@ |
|
|
{required: true}
|
|
|
],
|
|
|
value: [
|
|
|
{required: false, message: '红包和优惠券值不能为空', trigger: 'blur'}
|
|
|
{required: false, message: '红包和优惠券值不能为空'}
|
|
|
],
|
|
|
total: [
|
|
|
{required: true, message: '奖品总数不能为空'},
|
...
|
...
|
@@ -470,6 +471,7 @@ |
|
|
},
|
|
|
formReset(name) {
|
|
|
this.$refs[name].resetFields();
|
|
|
this.prizeRules['value'][0].required = false;
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
...
|
...
|
|