{% set return_state = { 'q': search_term, 'side': side, 'invite_status': invite_status, 'attendance_status': attendance_status, 'tag_option_id': tag_option_id, 'sort_by': sort_by, 'sort_order': sort_order, 'page': page, 'per_page': per_page, } %}
当前结果:{{ filtered_count }} 户(总户数 {{ stats.total_households }})
当前按“{{ sort_field_labels[sort_by] }}”{{ '降序' if sort_order == 'desc' else '升序' }}展示
到场 {{ filtered_stats.total_attending_households }} 户 预计 {{ filtered_stats.total_expected_attendees }} 儿童 {{ filtered_stats.total_children }} 礼金 ¥{{ '%.2f'|format(filtered_stats.total_gift_amount) }}
{% for household in households %}

{{ household.head_name }}

{{ household.household_code }}

{{ household_value_label('side', household.side) }}
电话
{{ household.phone or '未登记' }}
礼金
¥{{ '%.2f'|format(household.total_gift_amount) }}
预计 / 实际
{{ household.expected_attendee_count }} / {{ household.actual_attendee_count }}
儿童
{{ household.child_count }}(红包 {{ household.red_packet_child_count }})
备注
{{ household.note or '-' }}
{% if household.tag_option_ids_json %}
{% for tag_id in household.tag_option_ids_json %} {% for option in tag_options if option.id == tag_id %} {{ option.option_label }} {% endfor %} {% endfor %}
{% endif %}
{{ household_value_label('invite_status', household.invite_status) }} {{ household_value_label('attendance_status', household.attendance_status) }}
打开编辑
{% for key, value in return_state.items() %} {% endfor %}
{% else %}
当前没有匹配的户数据。
{% endfor %}
{% if filtered_count %} 显示第 {{ page_start }} - {{ page_end }} 户,共 {{ filtered_count }} 户 {% else %} 当前没有可分页的数据 {% endif %}
第 {{ page }} / {{ total_pages }} 页