|
|
@ -849,7 +849,7 @@ export default { |
|
|
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=this.margin*this.form.lever_rate; |
|
|
|
|
|
p = p.toFixed(0) |
|
|
this.form.amount=p; |
|
|
this.form.amount=p; |
|
|
return p |
|
|
return p |
|
|
}, |
|
|
}, |
|
|
|