运营报表优化

This commit is contained in:
liu
2026-09-07 23:09:44 +08:00
parent a85da7a5d1
commit 8f9b54ce76
+7 -3
View File
@@ -173,9 +173,13 @@ export default function ReportPage() {
</View>
<View className='report-item__row'>
<Text className='report-item__spec'>
{item.product_spec ? `${item.product_spec} · ` : ''}
{item.quantity}{item.unit}
{parseFloat(item.weight) > 0 ? ` · 称重 ${item.weight}` : ''}
{item.product_spec ? `${item.product_spec}` : ''}{item.unit}
</Text>
</View>
<View className='report-item__row'>
<Text className='report-item__spec'>
{item.quantity}
{parseFloat(item.weight) > 0 ? ` · 重量 ${item.weight}` : ''}
</Text>
<Text className='report-item__percent'>{item.percent}%</Text>
</View>