完善算费功能

dev
曾超新 5 years ago
parent e9199c0351
commit 46d87200d7
  1. 8
      frontend/views/car/order-add.php

@ -133,9 +133,9 @@ use common\models\PriceT;
<div class="ibox-title">
<h5>险种</h5>
<div class="ibox-tools">
<a class="btn btn-primary btn-xs" data-id="0" href="javascript:void(0);" onclick="getCarInfo();">
<button class="btn btn-primary btn-xs" data-id="0" onclick="getCarInfo();">
<i class="fa fa-gift"></i> 获取去年险种信息
</a>
</button>
</div>
</div>
<div class="ibox-content">
@ -198,6 +198,7 @@ use common\models\PriceT;
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>保费信息</h5>
<p id="total_rate" class="text-danger"></p>
<div class="ibox-tools">
<button class="btn btn-primary btn-xs" onclick="getYingXiao();">
<i class="fa fa-gift"></i> 获取策略
@ -205,7 +206,6 @@ use common\models\PriceT;
<button class="btn btn-danger btn-xs" onclick="calInsurance();">
<i class="fa fa-calculator"></i> 获取算费结果
</button>
<label>折扣率:15</label>
</div>
</div>
<div class="ibox-content">
@ -504,7 +504,7 @@ use common\models\PriceT;
$('#total1').val(obj.data.BizTotal);
$('#total2').val(obj.data.ForceTotal);
$('#total3').val(obj.data.TaxTotal);
$('#total_rate').val(obj.data.TotalRate);
$('#total_rate').html('折扣系数:' + obj.data.TotalRate);
} else {
parent.layer.msg(obj.data.QuoteResult);
}

Loading…
Cancel
Save