|
|
@@ -973,7 +973,7 @@
|
|
|
:value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
<span v-if="props.row.kindName == '乘客责任险'">*{{ insurancePolicyForm.seatCount - 1
|
|
|
- }}/座</span>
|
|
|
+ }}/座</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -1045,7 +1045,7 @@
|
|
|
<el-table-column label="产品名称" prop="productName" align="center">
|
|
|
<template #default="props">
|
|
|
<el-button link type="primary" @click="getJYXDetail(props.row)">{{ props.row.productName
|
|
|
- }}</el-button>
|
|
|
+ }}</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="数量" align="center">
|
|
|
@@ -1098,12 +1098,12 @@
|
|
|
<div class="Factor-item flex a-c f-c ">
|
|
|
<span class="item-header flex a-c ">交强续保</span>
|
|
|
<span>{{ ['', '新保', '续保', '转保'][Number(scope.row.quoteResult?.scoreVo?.jqRenewal)] || '--'
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
<div class="Factor-item flex a-c f-c ">
|
|
|
<span class="item-header flex a-c ">商业续保</span>
|
|
|
<span>{{ ['', '新保', '续保', '转保'][Number(scope.row.quoteResult?.scoreVo?.syRenewal)] || '--'
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
<div class="Factor-item flex a-c f-c ">
|
|
|
<span class="item-header flex a-c ">总折扣率</span>
|
|
|
@@ -3425,11 +3425,13 @@ const validate = async (quoteList) => {
|
|
|
const element = quoteList[i];
|
|
|
const product = element.projectList?.find((v, index) => element.productIndex === index)
|
|
|
const noMatchObj = product.drivings.find(v => v.minQuantity && Number(v.quantity ?? 0) < Number(v.minQuantity))
|
|
|
- ElMessage({
|
|
|
- message: `${noMatchObj.productName}最低需要买${noMatchObj.minQuantity}份`,
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- return false;
|
|
|
+ if (noMatchObj) {
|
|
|
+ ElMessage({
|
|
|
+ message: `${noMatchObj.productName}最低需要买${noMatchObj.minQuantity}份`,
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ return false;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return true
|