|
@@ -17,7 +17,7 @@
|
|
|
$('.insuranceName').text(res.data.insuranceName);
|
|
|
$('.startTime').text(res.data.insureInfo.StartDate);
|
|
|
$('.endTime').text(res.data.insureInfo.EndDate);
|
|
|
- if(res.data.insuranceDetailInfo != null){
|
|
|
+ if(res.data.insuranceDetailInfo){
|
|
|
for (var i = 0; i < res.data.insuranceDetailInfo.length; i++) {
|
|
|
str += ' <div class="lr-list-item"><div style="font-weight: bold;">险种'+ (i+1) + '</div></div><div class="lr-list-item"><div>险种名称</div><span class="weChat">' + res.data.insuranceDetailInfo[i].InsuranceTypeName + '</span></div><div class="lr-list-item"><div>保单编号</div><span class="oICQ">'
|
|
|
+ res.data.insuranceDetailInfo[i].InsuranceTypeNo + '</span></div>';
|