祁鹏飞 hace 3 meses
padre
commit
6adf54326b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/insurancePolicy/index.vue

+ 1 - 1
src/views/insurancePolicy/index.vue

@@ -2698,7 +2698,7 @@ const getSchemeResult = () => {
             if (item2.schemeType === "1") {
             if (item2.schemeType === "1") {
               item2.kinds = item2.kinds.map((v: any) => {
               item2.kinds = item2.kinds.map((v: any) => {
 
 
-                const obj = item.insurancePlanInfo.kinds.find((kind: any) => kind.kindCode === v.kindCode && kind.amount === v.amount)
+                const obj = item.insurancePlanInfo?.kinds?.find((kind: any) => kind.kindCode === v.kindCode && kind.amount === v.amount)
                 return {
                 return {
                   ...v,
                   ...v,
                   premium: obj?.premium
                   premium: obj?.premium