|
@@ -108,8 +108,8 @@ export default {
|
|
|
const _this = this
|
|
|
this.$refs.ruleForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
- if (_this.form.ruleValue1 <= 0) {
|
|
|
- _this.$message.warning('请输入正数')
|
|
|
+ if (_this.form.ruleValue1 < 0) {
|
|
|
+ _this.$message.warning('请输入大于等于0的返利基数')
|
|
|
return
|
|
|
}
|
|
|
_this.form.ruleType = _this.pageType
|
|
@@ -206,6 +206,7 @@ export default {
|
|
|
this.resetFormData()
|
|
|
} else {
|
|
|
if (!this.itemSn) {
|
|
|
+ this.form.ruleValue1 = undefined
|
|
|
this.getHistoryData({ defaultFlag: 1, subsidyQueryStatus: 'NOT_FINISH', ruleType: this.pageType })
|
|
|
}
|
|
|
}
|