bf9a6f86 by 周伟奇

fix bug

1 parent d3de42e6
......@@ -1667,7 +1667,7 @@ HT_COMPARE_LOGIC = {
'见证人签字': ('见证人签字', 'se_have_compare', {}, '合同见证人无'),
'见证人日期': ('见证人日期', 'se_date_contain_compare', {}, '合同见证人签字日期不符合逻辑'),
'还款计划表': ('见证人日期', 'se_schedule_compare', {}, '还款计划表与系统不一致'),
'还款计划表': ('还款计划表', 'se_schedule_compare', {}, '还款计划表与系统不一致'),
}
......
......@@ -1121,19 +1121,21 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list):
(consts.SE_AFC_CON_FIELD[17], schedule_list_str),
]
asp_list = []
for asp_info in cms_info.get('associatedServices', []):
asp_list.append(
(
asp_info.get('associatedServices', ''),
asp_info.get('price', 0.0),
asp_info.get('financed', 0.0)
)
)
# asp_list = []
# for asp_info in cms_info.get('associatedServices', []):
# asp_list.append(
# (
# asp_info.get('associatedServices', ''),
# asp_info.get('price', 0.0),
# asp_info.get('financed', 0.0)
# )
# )
if len(asp_list) == 0:
if str(cms_info.get('financialInformation', {}).get('associatedServicePrincipal', '0.00')) == '0.00':
afc_contract_input.pop(5)
afc_contract_input.pop(6)
afc_contract_input.pop(11)
afc_contract_input.pop(12)
# if len(asp_list) > 0:
# fin_total = 0
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!