From e80dc7456020583c39a2e9aaec17dc97dcda61a9 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 13 Jun 2022 16:45:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20=E3=80=90=E8=90=A5?= =?UTF-8?q?=E9=94=80=E8=AE=A1=E5=88=92-=E7=AB=8B=E5=87=8F=E9=87=91?= =?UTF-8?q?=E3=80=91=E5=8D=95=E5=A4=A9=E9=A2=84=E7=AE=97=E5=A4=A7=E4=BA=8E?= =?UTF-8?q?=E6=80=BB=E9=A2=84=E7=AE=97=E5=92=8C=E4=BD=8E=E4=BA=8E=E9=9D=A2?= =?UTF-8?q?=E9=A2=9D=E6=B2=A1=E6=9C=89=E7=BB=99=E5=87=BA=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/index.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index 212fe9f8..9113fd7e 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -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