|
|
@ -199,12 +199,12 @@ use common\models\PriceT; |
|
|
|
<div class="ibox-title"> |
|
|
|
<div class="ibox-title"> |
|
|
|
<h5>保费信息</h5> |
|
|
|
<h5>保费信息</h5> |
|
|
|
<div class="ibox-tools"> |
|
|
|
<div class="ibox-tools"> |
|
|
|
<a class="btn btn-primary btn-xs" data-id="0" href="javascript:void(0);" onclick="getYingXiao();"> |
|
|
|
<button class="btn btn-primary btn-xs" onclick="getYingXiao();"> |
|
|
|
<i class="fa fa-gift"></i> 获取策略 |
|
|
|
<i class="fa fa-gift"></i> 获取策略 |
|
|
|
</a> |
|
|
|
</button> |
|
|
|
<a class="btn btn-success btn-xs" data-id="0" href="javascript:void(0);" onclick="calInsurance();"> |
|
|
|
<button class="btn btn-danger btn-xs" onclick="calInsurance();"> |
|
|
|
<i class="fa fa-gift"></i> 获取算费结果 |
|
|
|
<i class="fa fa-calculator"></i> 获取算费结果 |
|
|
|
</a> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ibox-content"> |
|
|
|
<div class="ibox-content"> |
|
|
@ -498,7 +498,15 @@ use common\models\PriceT; |
|
|
|
$.post('/car/get-precise-price', params, function(obj) { |
|
|
|
$.post('/car/get-precise-price', params, function(obj) { |
|
|
|
parent.layer.close(index); |
|
|
|
parent.layer.close(index); |
|
|
|
if(obj.code == 200) { |
|
|
|
if(obj.code == 200) { |
|
|
|
|
|
|
|
if(obj.data.QuoteStatus > 0) { |
|
|
|
parent.layer.msg('获取成功'); |
|
|
|
parent.layer.msg('获取成功'); |
|
|
|
|
|
|
|
$('#total1').val(obj.data.BizTotal); |
|
|
|
|
|
|
|
$('#total2').val(obj.data.ForceTotal); |
|
|
|
|
|
|
|
$('#total3').val(obj.data.TaxTotal); |
|
|
|
|
|
|
|
$('#total_rate').val(obj.data.TotalRate); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
parent.layer.msg(obj.data.QuoteResult); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
parent.layer.msg(obj.msg); |
|
|
|
parent.layer.msg(obj.msg); |
|
|
|
} |
|
|
|
} |
|
|
|