|  | @@ -1011,10 +1011,21 @@ export default {
 | 
	
		
			
				|  |  |                              sonTable=formData1[r]
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      })
 | 
	
		
			
				|  |  | -                    var all = 0
 | 
	
		
			
				|  |  | +                    var all = 0,
 | 
	
		
			
				|  |  | +                    PlanNum=[]
 | 
	
		
			
				|  |  |                      sonTable.map(item=>{
 | 
	
		
			
				|  |  | -                        item.accident_sum = item.accident_sum?item.accident_sum:0
 | 
	
		
			
				|  |  | +                        item.accident_sum = item.accident_sum?item.accident_sum:''
 | 
	
		
			
				|  |  |                          all+= Number(item.accident_sum)
 | 
	
		
			
				|  |  | +                        PlanNum.push(item.plan_number)
 | 
	
		
			
				|  |  | +                    })
 | 
	
		
			
				|  |  | +                    formData.planNumber = PlanNum.toString()
 | 
	
		
			
				|  |  | +                    sonTable.every(item=>{
 | 
	
		
			
				|  |  | +                        if(item.accident_type=='不涉及金额' && item.accident_sum!=='0'){
 | 
	
		
			
				|  |  | +                          this.$message.error('事故类型为不涉及金额时事故金额应为0!')
 | 
	
		
			
				|  |  | +                           addForm = 'yes' 
 | 
	
		
			
				|  |  | +                           return false
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  | +                        return true
 | 
	
		
			
				|  |  |                      })
 | 
	
		
			
				|  |  |                      formData.total_money = all
 | 
	
		
			
				|  |  |                      var supplier = this.$refs.KFB.form.getFieldValue('responsibility_company')
 |