|
@@ -213,8 +213,9 @@ export default {
|
|
|
return true
|
|
return true
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- this.data.splice(index, 1)
|
|
|
|
|
-
|
|
|
|
|
|
|
+ if (index != -1) {
|
|
|
|
|
+ this.data.splice(index, 1)
|
|
|
|
|
+ }
|
|
|
this.data.push(item)
|
|
this.data.push(item)
|
|
|
//重新计算合计
|
|
//重新计算合计
|
|
|
this.allPlanInvestment = 0
|
|
this.allPlanInvestment = 0
|