|
@@ -3657,7 +3657,7 @@ const NewService = Form.create()(
|
|
|
message.warning("首付款金额不能为空!");
|
|
|
return false;
|
|
|
}
|
|
|
- if (this.state.totalAmount < this.state.firstAmount) {
|
|
|
+ if (Number(this.state.totalAmount) < Number(this.state.firstAmount)) {
|
|
|
message.warning("首付款不能大于合同额!");
|
|
|
return;
|
|
|
}
|
|
@@ -3666,7 +3666,7 @@ const NewService = Form.create()(
|
|
|
this.state.typeChange == 1 ||
|
|
|
this.state.typeChange == 3
|
|
|
) {
|
|
|
- if (this.state.settlementAmount < this.state.changeAmount) {
|
|
|
+ if (Number(this.state.settlementAmount) < Number(this.state.changeAmount)) {
|
|
|
message.warning("退款金额大于已收款金额");
|
|
|
return;
|
|
|
}
|
|
@@ -4333,7 +4333,7 @@ const NewService = Form.create()(
|
|
|
message.warning("首付款金额不能为空!");
|
|
|
return false;
|
|
|
}
|
|
|
- if (this.state.totalAmount < this.state.firstAmount) {
|
|
|
+ if (Number(this.state.totalAmount) < Number(this.state.firstAmount)) {
|
|
|
message.warning("首付款不能大于合同额!");
|
|
|
return;
|
|
|
}
|
|
@@ -4342,7 +4342,7 @@ const NewService = Form.create()(
|
|
|
this.state.typeChange == 1 ||
|
|
|
this.state.typeChange == 3
|
|
|
) {
|
|
|
- if (this.state.settlementAmount < this.state.changeAmount) {
|
|
|
+ if (Number(this.state.settlementAmount) < Number(this.state.changeAmount)) {
|
|
|
message.warning("退款金额大于已收款金额");
|
|
|
return;
|
|
|
}
|