|
|
@@ -192,13 +192,13 @@ const usedMargin = computed(() => {
|
|
|
const serivcefee = computed(() => {
|
|
|
const { buyOrSell } = props.selectedRow.tHDetailEx
|
|
|
const { tradefees = [], agreeunit = 0 } = quote.value ?? {}
|
|
|
- const { FeeAlgorithm = 1, ExchangeValue = 0.0 } = tradefees.find((e) => e.FeeID === (buyOrSell === BuyOrSell.Buy ? 101 : 102)) ?? {}
|
|
|
+ const { FeeAlgorithm = 1, ExchangeValue = 0.0, MemberDefaultValue = 0.0 } = tradefees.find((e) => e.FeeID === (buyOrSell === BuyOrSell.Buy ? 101 : 102)) ?? {}
|
|
|
// 比例
|
|
|
if (FeeAlgorithm === 1) {
|
|
|
- return enableqty.value * agreeunit * ExchangeValue
|
|
|
+ return enableqty.value * agreeunit * (ExchangeValue+MemberDefaultValue)
|
|
|
}
|
|
|
// 固定
|
|
|
- return props.selectedRow.tHDetailEx.holderAmount * ExchangeValue
|
|
|
+ return props.selectedRow.tHDetailEx.holderAmount * (ExchangeValue+MemberDefaultValue)
|
|
|
})
|
|
|
|
|
|
// 选择联系信息
|