|
|
@@ -980,7 +980,11 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="保费" prop="unitAmount" align="center"></el-table-column>
|
|
|
+ <el-table-column label="保费" prop="unitAmount" align="center">
|
|
|
+ <template #default="props">
|
|
|
+ {{ props.row.premium ?? '--' }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
<div class="quoteTitle"
|
|
|
v-if="scope.row.projectList?.[scope.row.productIndex]?.rescue && scope.row.projectList?.[scope.row.productIndex]?.detection && scope.row.projectList?.[scope.row.productIndex]?.driver && scope.row.projectList?.[scope.row.productIndex]?.inspect">
|
|
|
@@ -2689,6 +2693,17 @@ const getSchemeResult = () => {
|
|
|
quoteData.value.forEach((item: any) => {
|
|
|
if (item.id === insurancePolicyForm.value.order.insuranceCompanyCode) {
|
|
|
item.productIndex = 0;
|
|
|
+ if(myRoute.query.orderNo){
|
|
|
+ list.forEach((item2: any) => {
|
|
|
+ item2.kinds=item2.kinds.map((v: any)=>{
|
|
|
+ const obj=item.insurancePlanInfo.kinds.find((kind: any) => kind.kindCode === v.kindCode)
|
|
|
+ return{
|
|
|
+ ...v,
|
|
|
+ premium:obj.premium
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
item.insurancePlanInfo = {
|
|
|
...list[0],
|
|
|
rescue: [],
|
|
|
@@ -3635,6 +3650,10 @@ const quoteInsurance = async (companyId: any, companyIndex: any, val: any) => {
|
|
|
insurancePolicyForm.value.SYStartDate = res.data.biStartDate
|
|
|
insurancePolicyForm.value.SYEndDate = res.data.biEndDate
|
|
|
}
|
|
|
+ if (res.data.kindInfoVo) {
|
|
|
+ const obj = quoteData.value.find(v => v.id === insurancePolicyForm.value.order.insuranceCompanyCode)
|
|
|
+ obj.projectList[obj.productIndex].kinds = res.data.kindInfoVo
|
|
|
+ }
|
|
|
// 设置折扣信息
|
|
|
const feeOrders = res.data?.feeOrders || {};
|
|
|
quoteData.value[companyIndex].discounts = [
|