Ver Fonte

报价单详情显示驾意险完善

祁鹏飞 há 1 mês atrás
pai
commit
556e2b484d
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      src/views/insurancePolicy/modules/quotation.vue

+ 1 - 2
src/views/insurancePolicy/modules/quotation.vue

@@ -130,8 +130,7 @@ const tableData = computed(() => {
   if (quoteResult?.costs?.biPremium) arr.push({ total: true, title: '商业险合计保费', premium: quoteResult.costs.biPremium })
   if (quoteResult?.costs?.ciPremium) arr.push({ total: true, title: '机动车交通事故责任强制保险', premium: quoteResult.costs.ciPremium })
   if (quoteResult?.costs?.vvTax) arr.push({ total: true, title: '车船税', premium: quoteResult.costs.vvTax })
-  let product = props.quotationObj.projectList?.find((v, i) => props.quotationObj.productIndex === i)
-  const drivings = product?.drivings ?? props.quotationObj.insurancePlanInfo?.drivings ?? []
+  const drivings = props.quotationObj.quoteResult?.accidentalDrivings ?? []
   if (drivings.length > 0) {
     for (let i = 0; i < drivings.length; i++) {
       const element = drivings[i];