祁鹏飞 hace 1 semana
padre
commit
04eae705d1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/quoteConfig/project/modules/projectAdd.vue

+ 1 - 1
src/views/quoteConfig/project/modules/projectAdd.vue

@@ -881,9 +881,9 @@ const save = async (ProjectAddRef: FormInstance | undefined) => {
           }
           item.drivingIntentionList.push(obj)
         })
-        const arr = Array.isArray(ins.moneyId) ? ins.moneyId : [ins.moneyId]
         // 处理险种数据
         item.tableData.forEach(ins => {
+          const arr = Array.isArray(ins.moneyId) ? ins.moneyId : [ins.moneyId]
           let obj = {
             id: ins.id,
             insuranceId: ins.insuranceId,