|
|
@@ -132,10 +132,10 @@ const totalAmount = computed(() => {
|
|
|
|
|
|
// 提货费 = 取交易费用配置 105
|
|
|
// 固定: 可用量*合约单位*配置值
|
|
|
-// 比率:订单金额*配置值
|
|
|
+// 比率:订单金额*配置值 (props.orderType === 2 ? 101 : 102)(买卖都是建仓 老邓说的)
|
|
|
const serivcefee = computed(() => {
|
|
|
const { tradefees = [], agreeunit = 0 } = quote.value ?? {}
|
|
|
- const { FeeAlgorithm = 1, ExchangeValue = 0.0, MemberDefaultValue = 0.0 } = tradefees.find((e) => e.FeeID === (props.orderType === 2 ? 101 : 102)) ?? {}
|
|
|
+ const { FeeAlgorithm = 1, ExchangeValue = 0.0, MemberDefaultValue = 0.0 } = tradefees.find((e) => e.FeeID === 101) ?? {}
|
|
|
// 固定
|
|
|
if (FeeAlgorithm === 2) {
|
|
|
return props.orderQty * agreeunit * (ExchangeValue+MemberDefaultValue)
|