修正 立减金验证提示语

This commit is contained in:
wangsongsole 2022-06-14 09:50:47 +08:00
parent f74789c1e7
commit 97384ccfe1
1 changed files with 6 additions and 6 deletions

View File

@ -462,7 +462,7 @@ export default class addKnockGold extends Component {
this.state.model.denomination - 0 <
this.state.model.reduce_amount - 0
) {
Notify.error('面额必须小于满减金额')
Notify.error('面额不允许大于满减金额')
return false
}
@ -470,22 +470,22 @@ export default class addKnockGold extends Component {
this.state.model.recharge_amount - 0 >
this.state.model.all_budget - 0
) {
Notify.error('批次充值金额必须小于总预算')
Notify.error('充值批次金额不允许大于总预算')
return false
}
if (this.state.model.denomination - 0 > this.state.model.all_budget - 0) {
Notify.error('面额必须小于总预算')
Notify.error('面额不允许大于总预算')
return false
}
if (this.state.model.all_budget - 0 < this.state.model.day_budget - 0) {
Notify.error('单天预算发放上限必须小于总预算')
Notify.error('单天预算发放上限不允许大于总预算')
return false
}
if (this.state.model.day_budget - 0 < this.state.model.reduce_amount - 0) {
Notify.error('单天预算发放上限必须大于面额')
Notify.error('单天预算发放上限不允许小于面额')
return false
}
@ -493,7 +493,7 @@ export default class addKnockGold extends Component {
Math.trunc(this.state.model.all_budget / this.state.model.reduce_amount) <
this.state.model.receive_number - 0
) {
Notify.error('用户可领个数必须小于库存(总预算/面额)')
Notify.error('用户可领个数不允许大于库存(总预算/面额)')
return false
}