|
@@ -77,7 +77,14 @@ export function handleNumAndPrice(enumName: EnumRouterName, selectedRow: WrOrder
|
|
|
result = Math.round(canUseMoney / margin)
|
|
result = Math.round(canUseMoney / margin)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- return +result.toFixed(0)
|
|
|
|
|
|
|
+
|
|
|
|
|
+ if (buymarginvalue !== 0) {
|
|
|
|
|
+ return +result.toFixed(0)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // 当市场设置的买保证金为0时,不做数量限制
|
|
|
|
|
+ return 10000
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
// 摘牌金额
|
|
// 摘牌金额
|
|
|
function getMoney() {
|
|
function getMoney() {
|