|
|
@ -1602,11 +1602,15 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
|
CrmCustomerTempVo crmCustomerTempVo = crmResultBean.getData(); |
|
|
|
String idNo = crmCustomerTempVo.getIDNumber(); |
|
|
|
//身份证号
|
|
|
|
if("1".equals(crmCustomerTempVo.getCustomerTypeKey())){ |
|
|
|
if (StringUtils.isBlank(idNo)) { |
|
|
|
return rb.setMessage(sid).setMsg("请先在客户洽谈的基础信息中补全客户的身份证号").setCode("515"); |
|
|
|
//生成合同时如果为个人时,证件证号全款不是必须的、贷款必须。企业的证件号码不必须。
|
|
|
|
if("2".equals(appOrderDetailsVo.getPayTypeKey())){ |
|
|
|
if("1".equals(crmCustomerTempVo.getCustomerTypeKey())){ |
|
|
|
if (StringUtils.isBlank(idNo)) { |
|
|
|
return rb.setMessage(sid).setMsg("请先在客户洽谈的基础信息中补全客户的身份证号").setCode("515"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//查询销售订单的车型信息
|
|
|
|
AppOrderModelInfoVo appOrderModelInfoVo = appOrderDetailsVo.getModelInfo(); |
|
|
|
//根据车型sid查询车型的全称
|
|
|
|