1
0

fix: 修复指标显示错位

This commit is contained in:
2025-09-16 18:21:49 +08:00
parent a9621a10ac
commit 10a0e14024

View File

@@ -280,8 +280,8 @@ function StockDetail() {
content: '${balanceSheet.currentAssets}', content: '${balanceSheet.currentAssets}',
}, },
{ {
label: financePropertyLabel(id, '流动资产占比', 'PERCENTAGE', 'fixedAssetsToTotalAssetsRatio'), label: financePropertyLabel(id, '流动资产占比', 'PERCENTAGE', 'currentAssetsToTotalAssetsRatio'),
content: '${balanceSheet.fixedAssetsRatio}', content: '${balanceSheet.currentAssetsRatio}',
}, },
{ {
label: financePropertyLabel(id, '流动负债', 'FINANCE', 'currentLiabilities'), label: financePropertyLabel(id, '流动负债', 'FINANCE', 'currentLiabilities'),
@@ -291,14 +291,14 @@ function StockDetail() {
label: financePropertyLabel(id, '流动负债占比', 'PERCENTAGE', 'currentLiabilitiesToTotalAssetsRatio'), label: financePropertyLabel(id, '流动负债占比', 'PERCENTAGE', 'currentLiabilitiesToTotalAssetsRatio'),
content: '${balanceSheet.currentLiabilitiesRatio}', content: '${balanceSheet.currentLiabilitiesRatio}',
}, },
{
label: financePropertyLabel(id, '流动资产占比', 'PERCENTAGE', 'currentAssetsToTotalAssetsRatio'),
content: '${balanceSheet.currentAssetsRatio}',
},
{ {
label: financePropertyLabel(id, '非流动资产', 'FINANCE', 'fixedAssets'), label: financePropertyLabel(id, '非流动资产', 'FINANCE', 'fixedAssets'),
content: '${balanceSheet.fixedAssets}', content: '${balanceSheet.fixedAssets}',
}, },
{
label: financePropertyLabel(id, '非流动资产占比', 'PERCENTAGE', 'fixedAssetsToTotalAssetsRatio'),
content: '${balanceSheet.fixedAssetsRatio}',
},
{ {
label: financePropertyLabel(id, '非流动负债', 'FINANCE', 'longTermLiabilities'), label: financePropertyLabel(id, '非流动负债', 'FINANCE', 'longTermLiabilities'),
content: '${balanceSheet.longTermLiabilities}', content: '${balanceSheet.longTermLiabilities}',
@@ -409,10 +409,10 @@ function StockDetail() {
], ],
}, },
{type: 'divider'}, {type: 'divider'},
"100日线数据", "100日线数据",
{ {
type: 'chart', type: 'chart',
height: 800, height: 500,
api: `get:${commonInfo.baseUrl}/stock/daily/${id}`, api: `get:${commonInfo.baseUrl}/stock/daily/${id}`,
config: { config: {
backgroundColor: '#fff', backgroundColor: '#fff',
@@ -538,6 +538,7 @@ function StockDetail() {
], ],
}, },
}, },
"12月线数据"
], ],
}, },
], ],