|
|
@@ -1118,6 +1118,13 @@
|
|
|
<span class="item-header flex a-c ">交强折扣</span>
|
|
|
<span>{{ scope.row.quoteResult?.scoreVo?.jqAdjustRate || '--' }}</span>
|
|
|
</div>
|
|
|
+ <div class="Factor-item flex a-c f-c ">
|
|
|
+ <span class="item-header flex a-c ">整单折扣</span>
|
|
|
+ <span>
|
|
|
+ <el-input-number v-model="scope.row.totalAdjustRate" controls-position="right"
|
|
|
+ :precision="3" :step="0.01" :max="1" :min="0" />
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
<!-- 各保司定制评分 -->
|
|
|
<div class="Factor-item flex a-c f-c "
|
|
|
v-for="(item, index) in scope.row.quoteResult?.scoreVo?.scoreJson" :key="index">
|
|
|
@@ -1969,6 +1976,7 @@ let insurancePolicyForm = ref({
|
|
|
transfer: false, // 转移标记
|
|
|
transferBi: false, // 商业险转移标记
|
|
|
secondHandCar: false, // 二手车标记
|
|
|
+ totalAdjustRate: undefined, // 整单折扣
|
|
|
|
|
|
imageVoList: [] // 影像资料列表
|
|
|
})
|
|
|
@@ -3686,6 +3694,11 @@ const quoteInsurance = async (companyId: any, companyIndex: any, val: any) => {
|
|
|
taxpayerIdentifier: insurancePolicyForm.value.taxpayerIdentifier,
|
|
|
identifyNumber: insurancePolicyForm.value.identifyNumber,
|
|
|
},
|
|
|
+
|
|
|
+ otherInfo:{
|
|
|
+ totalAdjustRate:company?.totalAdjustRate, // 整单折扣
|
|
|
+ },
|
|
|
+
|
|
|
kindInfoVo: company?.insurancePlanInfo?.kinds || [],
|
|
|
accidentalDrivings: product?.drivings || company.insurancePlanInfo.drivings || [],
|
|
|
specialInfoVo: company?.specialSelectedList || []
|
|
|
@@ -3899,6 +3912,7 @@ const ruleFilterCompany = (item: any, obj: any) => {
|
|
|
obj.insCompanyVo?.map((a: any) => {
|
|
|
if (item.id == a.id) {
|
|
|
item.quoteResult = { ...a, ...obj };
|
|
|
+ item.totalAdjustRate=obj?.scoreVo?.totalAdjustRate
|
|
|
item.insurancePlanInfo = {}
|
|
|
item.insurancePlanInfo.drivings = obj.accidentalDrivings;
|
|
|
item.insurancePlanInfo.kinds = obj.kindInfoVo.filter(v => v.id);
|