|
|
@ -337,7 +337,7 @@ export default { |
|
|
// console.info(this.form.lever_rate) |
|
|
// console.info(this.form.lever_rate) |
|
|
// console.info(this.margin) |
|
|
// console.info(this.margin) |
|
|
if (!this.form.lever_rate || !this.margin) return 0; |
|
|
if (!this.form.lever_rate || !this.margin) return 0; |
|
|
let p=this.margin*this.form.lever_rate; |
|
|
let p = Math.round(this.margin*this.form.lever_rate); |
|
|
|
|
|
|
|
|
this.form.amount=p; |
|
|
this.form.amount=p; |
|
|
return p |
|
|
return p |
|
|
|