祁鹏飞 1 неделя назад
Родитель
Сommit
04eae705d1
1 измененных файлов с 1 добавлено и 1 удалено
  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,