diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index 99ed0de3..cae8d98a 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -502,6 +502,14 @@ export default class addKnockGold extends Component { return false } + if ( + this.state.model.recharge_amount - 0 < + this.state.model.reduce_amount - 0 + ) { + Notify.error('面额不允许大于批次充值金额') + return false + } + if ( Math.trunc(this.state.model.all_budget / this.state.model.reduce_amount) < this.state.model.receive_number - 0