Commit bc9ab911 by zhanghaozhe

Merge branch 'deposit-migrate' into dev

parents 735bb7d4 2bc4b1e6
......@@ -360,7 +360,7 @@ class FinalDepositOrder extends Component {
if (useBalance) {
totalPrice -= parseFloat(this.state.user_account)
}
return totalPrice.toFixed(2)
return totalPrice < 0 ? 0 : totalPrice.toFixed(2)
}
moneyOff = (totalPrice, moneyOffRules = this.state.moneyOffRules) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment