|
|
@@ -899,7 +899,7 @@
|
|
|
<el-table-column label="险种" prop="kindName" align="center"></el-table-column>
|
|
|
<el-table-column label="保额" align="center">
|
|
|
<template #default="props">
|
|
|
- <el-select v-model="props.row.amount">
|
|
|
+ <el-select v-model="props.row.amount" :disabled="scope.row.projectList?.[productIndex]?.schemeType == '1'">
|
|
|
<el-option v-for="item in props.row.options" :label="item.label" :value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
@@ -1082,7 +1082,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="报价协议" prop="" align="center" width="260">
|
|
|
<template #default="scope">
|
|
|
- <el-select v-model="scope.row.agreement" :disabled="scope.row.isDispatch" v-if="currentRow.some(a => a.id === scope.row.id)" :placeholder="scope.row.isDispatch?'默认':'请选择'">
|
|
|
+ <el-select v-model="scope.row.agreement" :disabled="scope.row.isDispatch || scope.row.agreements.length == 1" v-if="currentRow.some(a => a.id === scope.row.id)" :placeholder="scope.row.isDispatch?'默认':'请选择'">
|
|
|
<el-option v-for="item in scope.row.agreements" :value="item.id" :label="item.agreementName"></el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
@@ -2796,7 +2796,7 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
|
|
|
}
|
|
|
await InsurancePolicyRefs.validate((valid) => {
|
|
|
if(valid) {
|
|
|
- loading.value = true
|
|
|
+ // loading.value = true
|
|
|
quoteData.value[scope.$index].loading = true
|
|
|
let arr = [], brr = [], crr = []
|
|
|
if(quoteData.value.length>0) {
|
|
|
@@ -2956,14 +2956,14 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
|
|
|
riskCode: '0507',
|
|
|
startDate: insurancePolicyForm.value.JQStartDate,
|
|
|
endDate: insurancePolicyForm.value.JQEndDate,
|
|
|
- instantFlag: false
|
|
|
+ instantFlag: insurancePolicyForm.value.JQInstantFlag
|
|
|
}: null,
|
|
|
|
|
|
biRiskInfoVo: insurancePolicyForm.value.productId === '034001' || insurancePolicyForm.value.productId === '034002' || insurancePolicyForm.value.productId === '0330034002' || insurancePolicyForm.value.productId === '0330034001'&&insurancePolicyForm.value.SYStartDate&&insurancePolicyForm.value.SYEndDate?{
|
|
|
riskCode: '0510',
|
|
|
startDate: insurancePolicyForm.value.SYStartDate,
|
|
|
endDate: insurancePolicyForm.value.SYEndDate,
|
|
|
- instantFlag: false
|
|
|
+ instantFlag: insurancePolicyForm.value.SYInstantFlag
|
|
|
}: null,
|
|
|
|
|
|
vehicleAndVesselTaxVo: {
|
|
|
@@ -3205,6 +3205,11 @@ const ruleFilterCompany = (item) => {
|
|
|
a.loading = false
|
|
|
})
|
|
|
quoteData.value = res.data
|
|
|
+ quoteData.value.forEach(item => {
|
|
|
+ if(item.agreements && item.agreements.length == 1) {
|
|
|
+ item.agreement = item.agreements[0].id
|
|
|
+ }
|
|
|
+ })
|
|
|
} else {
|
|
|
quoteData.value = []
|
|
|
ElMessage({
|