|
|
@@ -986,7 +986,7 @@
|
|
|
:value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
<span v-if="props.row.kindName == '乘客责任险'">*{{ insurancePolicyForm.seatCount - 1
|
|
|
- }}/座</span>
|
|
|
+ }}/座</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -1058,7 +1058,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">
|
|
|
@@ -1111,12 +1111,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>
|
|
|
@@ -1777,6 +1777,8 @@ const initDetail = () => {
|
|
|
// 设置投保信息
|
|
|
insurancePolicyForm.value.productId = obj?.order?.productId
|
|
|
|
|
|
+ insurancePolicyForm.value.order.quoteNo = obj?.order?.quoteNo
|
|
|
+
|
|
|
if (obj?.ciRiskInfoVo) {
|
|
|
jqWork.value[0].checked = obj?.ciRiskInfoVo?.instantFlag
|
|
|
insurancePolicyForm.value.JQInstantFlag = obj?.ciRiskInfoVo?.instantFlag
|
|
|
@@ -1804,10 +1806,10 @@ const initDetail = () => {
|
|
|
insurancePolicyForm.value.SYEndDate = obj?.biRiskInfoVo?.endDate
|
|
|
}
|
|
|
insurancePolicyForm.value.imageVoList = obj?.imageVoList
|
|
|
- images.value = obj?.imageVoList.map(v => ({ imageType: v.imageCode, fileUrl: v.imageBase64List[0]?.imageBase64Str })) || []
|
|
|
+ images.value = obj?.imageVoList.map(v => ({ imageType: v.imageCode, fileUrl: v.imageBase64List ? v.imageBase64List[0]?.imageBase64Str : '' })) || []
|
|
|
|
|
|
// 获取报价号
|
|
|
- getQuoteNumber()
|
|
|
+ // getQuoteNumber()
|
|
|
//获取已报价保险公司
|
|
|
|
|
|
|
|
|
@@ -3563,7 +3565,7 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
|
|
|
order: {
|
|
|
quoteNo: insurancePolicyForm.value.order.quoteNo
|
|
|
},
|
|
|
- imageVoList: insurancePolicyForm.value.imageVoList
|
|
|
+ imageVoList: insurancePolicyForm.value.imageVoList.filter(v => v.imageBase64List && v.imageBase64List[0]?.imageId)
|
|
|
}).then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
|
ElMessage({
|
|
|
@@ -3594,7 +3596,7 @@ const batchQuotes = async (InsurancePolicyRefs: FormInstance | undefined) => {
|
|
|
order: {
|
|
|
quoteNo: insurancePolicyForm.value.order.quoteNo
|
|
|
},
|
|
|
- imageVoList: insurancePolicyForm.value.imageVoList
|
|
|
+ imageVoList: insurancePolicyForm.value.imageVoList.filter(v => v.imageBase64List && v.imageBase64List[0]?.imageId)
|
|
|
}).then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
|
ElMessage({
|
|
|
@@ -3749,7 +3751,7 @@ const paramValidate = () => {
|
|
|
}
|
|
|
// 统一报价
|
|
|
const quoteInsurance = async (companyId: any, companyIndex: any, val: any) => {
|
|
|
- if(!insurancePolicyForm.value.order.quoteNo){
|
|
|
+ if (!insurancePolicyForm.value.order.quoteNo) {
|
|
|
ElMessage.warning('找不到报价单号')
|
|
|
return
|
|
|
}
|