diff --git a/frontend/mining-admin-web/src/features/users/components/planting-ledger.tsx b/frontend/mining-admin-web/src/features/users/components/planting-ledger.tsx index 382d076c..5097d899 100644 --- a/frontend/mining-admin-web/src/features/users/components/planting-ledger.tsx +++ b/frontend/mining-admin-web/src/features/users/components/planting-ledger.tsx @@ -138,41 +138,35 @@ export function PlantingLedger({ accountSequence }: PlantingLedgerProps) { - 订单号 + 认种ID 认种数量 - 金额 - 省市 + 单棵算力 + 总算力 状态 - 创建时间 - 支付时间 + 认种日期 {data.items.length === 0 ? ( - + 暂无认种记录 ) : ( - data.items.map((item) => ( - - {item.orderNo} + data.items.map((item: any) => ( + + {item.originalAdoptionId || item.orderNo} {formatNumber(item.treeCount)} - {formatDecimal(item.totalAmount, 2)} - - {item.selectedProvince || '-'} / {item.selectedCity || '-'} - + {formatDecimal(item.contributionPerTree || '0', 4)} + {formatDecimal(item.totalContribution || item.totalAmount || '0', 4)} {plantingStatusLabels[item.status] || item.status} - {formatDateTime(item.createdAt)} - - - {item.paidAt ? formatDateTime(item.paidAt) : '-'} + {item.adoptionDate ? formatDateTime(item.adoptionDate) : (item.createdAt ? formatDateTime(item.createdAt) : '-')} ))