{{ portfolioData.logicModel?.charAt(0) || 'S' }}
{{ portfolioData.logicModel || '未设置策略' }}
{{ portfolioData.logicModelDescription }}
{{ portfolioData.logicModelStatus || '监控中' }}
{{ item.stockName?.charAt(0) || item.stockCode?.charAt(0) || 'S' }}
{{ item.stockName || item.stockCode }}
{{ getCurrencySymbol(portfolioData.currency) }}{{ (item.totalValue || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }}
{{ item.stockCode }} · {{ item.amount }}份
{{ getCurrencySymbol(portfolioData.currency) }}{{ (item.currentPrice || 0).toLocaleString('zh-CN', { minimumFractionDigits: 3, maximumFractionDigits: 3 }) }}
比例 {{ (item.ratio || 0).toFixed(1) }}%
{{ getCurrencySymbol(portfolioData.currency) }}{{ (item.averagePrice || 0).toLocaleString('zh-CN', { minimumFractionDigits: 3, maximumFractionDigits: 3 }) }}
当日 {{ (item.changeAmount || 0) >= 0 ? '+' : '' }}{{ getCurrencySymbol(portfolioData.currency) }}{{ (item.changeAmount || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }}
持仓 {{ (item.profit || 0) >= 0 ? '+' : '' }}{{ getCurrencySymbol(portfolioData.currency) }}{{ (item.profit || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }}
({{ (item.profitRate || 0) >= 0 ? '+' : '' }}{{ (item.profitRate || 0).toFixed(2) }}%)
{{ log.date }}
{{ log.time }}
{{ log.title }} {{ log.stockCode || '' }}
{{ log.type === 'buy' ? '+' : '-' }}{{ getCurrencySymbol(portfolioData.currency) }}{{ (log.amount || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }}
{{ log.type === 'buy' ? '买入' : '卖出' }} 操作
{{ transactionType === 'sell' ? '选择持仓' : '股票代码' }}
{}"
@click="transactionType === 'sell' ? (searchResults = (positions.value || []).map(pos => ({
ticker: pos.stockCode,
stockName: pos.stockName,
assetType: pos.assetType || 'Stock',
currency: pos.currency,
amount: pos.amount,
exchange: ''
}))) : () => {}"
>
{{ result.assetType }}
{{ result.exchange || '' }}
数量{{ transactionType === 'sell' && maxSellAmount > 0 ? `(最多可卖 ${maxSellAmount} 份)` : '' }}
价格
交易时间
{{ transactionForm.transactionDate }}
备注