...
|
...
|
@@ -186,13 +186,13 @@ |
|
|
<div class="sex_itemtxt hetongshegnxiao">选择</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="trust_m_item">
|
|
|
<div>保险时间</div>
|
|
|
<div class="trust_iteminput choose_iteminputcell">
|
|
|
<div class="lxmaintxt tip_guanximiantxt baoxianrq"></div>
|
|
|
<div class="sex_itemtxt baozhangrq">选择</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--<div class="trust_m_item">-->
|
|
|
<!--<div>保险时间</div>-->
|
|
|
<!--<div class="trust_iteminput choose_iteminputcell">-->
|
|
|
<!--<div class="lxmaintxt tip_guanximiantxt baoxianrq"></div>-->
|
|
|
<!--<div class="sex_itemtxt baozhangrq">选择</div>-->
|
|
|
<!--</div>-->
|
|
|
<!--</div>-->
|
|
|
<div class="trust_m_item mini_m_item">
|
|
|
<div>投保人豁免</div>
|
|
|
<div class="trust_iteminput choose_iteminputcell">
|
...
|
...
|
@@ -364,7 +364,7 @@ |
|
|
var shengr=$('.beibairsr').html();//被保人生日
|
|
|
var toubaorq=$('.beibaorrq').html();//投保日期
|
|
|
var hetongshengxr=$('.hetongsxr').html();//合同生效日期
|
|
|
var baoxianshijian=$('.baoxianrq').html();//保险时间
|
|
|
//var baoxianshijian=$('.baoxianrq').html();//保险时间
|
|
|
var beibaorhm=$('.huominatxt').html();//投保人豁免
|
|
|
if(gs==''){
|
|
|
toast('请选择保险公司');
|
...
|
...
|
@@ -396,9 +396,11 @@ |
|
|
toast('请选择投保日期');
|
|
|
}else if(hetongshengxr==''){
|
|
|
toast('请选择合同生效日期');
|
|
|
}else if(baoxianshijian==''){
|
|
|
toast('请选择保险时间');
|
|
|
}else if(beibaorhm==''){
|
|
|
}
|
|
|
//else if(baoxianshijian==''){
|
|
|
//toast('请选择保险时间');
|
|
|
//}
|
|
|
else if(beibaorhm==''){
|
|
|
toast('请选择投保人豁免');
|
|
|
}else if(imgs.length == 0){
|
|
|
$('.trust_mold1').show();
|
...
|
...
|
@@ -407,7 +409,7 @@ |
|
|
var subjoin_product_name = $('.subjoin_product_name');//附加险产品名
|
|
|
var subjoin_insurance_type_id = $('.subjoin_insurance_type_id');//保单类型
|
|
|
var subjoin_price = $('.subjoin_price');//保险金额
|
|
|
var subjoin_time = $('.subjoin_time');//保险时间
|
|
|
var subjoin_time = 1;//$('.subjoin_time');//保险时间
|
|
|
var payment_time = $('.payment_time');//缴费期限
|
|
|
var subjoin_pay_method_price = $('.subjoin_pay_method_price');//期缴保费
|
|
|
var subjoin_guarantee_deadline_time = $('.subjoin_guarantee_deadline_time');//保障期限
|
...
|
...
|
@@ -432,10 +434,12 @@ |
|
|
}else if(subjoin_price.eq(i).val() == ''){
|
|
|
toast("附加险"+i+"的保险金额不能为空")
|
|
|
return false;
|
|
|
}else if(subjoin_time.eq(i).text() == ''){
|
|
|
toast("附加险"+i+"的保险时间不能为空")
|
|
|
return false;
|
|
|
}else if(payment_time.eq(i).val() == ''){
|
|
|
}
|
|
|
//else if(subjoin_time.eq(i).text() == ''){
|
|
|
//toast("附加险"+i+"的保险时间不能为空")
|
|
|
//return false;
|
|
|
//}
|
|
|
else if(payment_time.eq(i).val() == ''){
|
|
|
toast("附加险"+i+"的缴费期限不能为空")
|
|
|
return false;
|
|
|
}else if(subjoin_pay_method_price.eq(i).val() == ''){
|
...
|
...
|
@@ -448,7 +452,7 @@ |
|
|
subjoin_product_name_arr.push(subjoin_product_name.eq(i).val());
|
|
|
subjoin_insurance_type_id_arr.push(subjoin_insurance_type_id.eq(i).attr('data-id'));
|
|
|
subjoin_price_arr.push(subjoin_price.eq(i).val());
|
|
|
subjoin_time_arr.push(subjoin_time.eq(i).text());
|
|
|
subjoin_time_arr.push(1);//(subjoin_time.eq(i).text());
|
|
|
payment_time_arr.push(payment_time.eq(i).val());
|
|
|
subjoin_pay_method_price_arr.push(subjoin_pay_method_price.eq(i).val());
|
|
|
subjoin_guarantee_deadline_time_arr.push(subjoin_guarantee_deadline_time.eq(i).val());
|
...
|
...
|
@@ -547,6 +551,9 @@ |
|
|
//缴费期限选择
|
|
|
$('.qx_choose').click(function () {
|
|
|
weui.picker([{
|
|
|
label: '1年',
|
|
|
value: '1'
|
|
|
},{
|
|
|
label: '3年',
|
|
|
value: '3'
|
|
|
}, {
|
...
|
...
|
|