11.7 资格审查货物标修改

This commit is contained in:
zy123 2024-11-07 17:01:51 +08:00
parent 0c6ac7009d
commit 4c00af7c3e

View File

@ -232,7 +232,7 @@ def extract_sections(data, target_values):
# Check if the sub_key starts with the section_key_prefix and is not the section_key itself # Check if the sub_key starts with the section_key_prefix and is not the section_key itself
if sub_key.startswith(section_key_prefix) and sub_key != section_key_prefix: if sub_key.startswith(section_key_prefix) and sub_key != section_key_prefix:
sub_value = data[sub_key] sub_value = data[sub_key]
subitems.append(f"{sub_key} {sub_value}") subitems.append(f"{sub_key} {sub_value}")
# Check for "定标" and "中标" to merge them # Check for "定标" and "中标" to merge them
if section_name in ["定标", "中标"]: if section_name in ["定标", "中标"]: