d62f4b3c by chenyao

添加限制被保险人位置的条件

1 parent 1e6d9aa7
...@@ -2080,7 +2080,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -2080,7 +2080,7 @@ class Command(BaseCommand, LoggerMixin):
2080 if isinstance(license_dict_tmp, dict): 2080 if isinstance(license_dict_tmp, dict):
2081 if "被保险人姓名" in license_dict_tmp.keys(): 2081 if "被保险人姓名" in license_dict_tmp.keys():
2082 if license_dict_tmp.get("被保险人姓名") is not None: 2082 if license_dict_tmp.get("被保险人姓名") is not None:
2083 if isinstance(license_dict_tmp.get("被保险人姓名"), str) and license_dict_tmp.get("被保险人姓名") != "": 2083 if isinstance(license_dict_tmp.get("被保险人姓名"), str) and license_dict_tmp.get("被保险人姓名") != "" and "保险" not in license_dict_tmp.get("被保险人姓名"):
2084 license_first_page_list[license_list_tmp_idx] = 1 2084 license_first_page_list[license_list_tmp_idx] = 1
2085 break 2085 break
2086 # 获取 license_first_page_list 中为 1 的索引 2086 # 获取 license_first_page_list 中为 1 的索引
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!