库存取整

This commit is contained in:
wangsongsole 2022-06-13 16:18:19 +08:00
parent fa5b2de53d
commit 0d84291e1c
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ export default class addKnockGold extends Component {
} }
if ( if (
this.state.model.all_budget / this.state.model.reduce_amount < parseInt(this.state.model.all_budget / this.state.model.reduce_amount) <
this.state.model.receive_number - 0 this.state.model.receive_number - 0
) { ) {
Notify.error('用户可领个数必须小于库存(总预算/面额)') Notify.error('用户可领个数必须小于库存(总预算/面额)')