|
|
@@ -217,12 +217,12 @@ export default defineComponent({
|
|
|
if (marginType === 1) {
|
|
|
if (getMoney()) {
|
|
|
// 履约保证金=挂牌金额*保证金比例
|
|
|
- result = (getMoney() * marginValue).toFixed(2);
|
|
|
+ result = (Math.round(getMoney() * marginValue * 100) / 100).toString();
|
|
|
}
|
|
|
} else {
|
|
|
if (formState.OrderQty) {
|
|
|
// 履约保证金=挂牌数量*保证金固定值
|
|
|
- result = (formState.OrderQty * marginValue).toFixed(2);
|
|
|
+ result = (Math.round(formState.OrderQty * marginValue * 100) / 100).toString();
|
|
|
}
|
|
|
}
|
|
|
}
|