修正 【营销计划-立减金】单天预算大于总预算和低于面额没有给出判断。
This commit is contained in:
parent
a55bfe24b7
commit
e80dc74560
|
@ -484,6 +484,11 @@ export default class addKnockGold extends Component {
|
|||
return false
|
||||
}
|
||||
|
||||
if (this.state.model.day_budget - 0 < this.state.model.reduce_amount - 0) {
|
||||
Notify.error('单天预算发放上限必须大于面额')
|
||||
return false
|
||||
}
|
||||
|
||||
if (
|
||||
parseInt(this.state.model.all_budget / this.state.model.reduce_amount) <
|
||||
this.state.model.receive_number - 0
|
||||
|
|
Loading…
Reference in New Issue