| 
					
				 | 
			
			
				@@ -767,26 +767,26 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const res = await getRebateOrderList(params) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.listTotal = res.data.total 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let arr = res.data.records 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      arr.forEach(value => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.dataList = res.data.records 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.dataList.forEach(value => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         value.sums1 = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         value.sums2 = ['amount', 'rebateAmount', 'withholdAmount', 'allowanceAmount', 'handledAllowanceAmount'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (this.isCustomer) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let arr2 = arr.filter(v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            (v.examineStatus == 'OK_ONE' || v.examineStatus == 'OK' || v.examineStatus == 'FAIL') && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            v.withholdAmount == 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.dataList = arr2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.listTotal = arr2.length 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.dataList = arr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.listTotal = res.data.total 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // if (this.isCustomer) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   let arr2 = arr.filter(v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     if ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //       (v.examineStatus == 'OK_ONE' || v.examineStatus == 'OK' || v.examineStatus == 'FAIL') && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //       v.withholdAmount == 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //       return v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   this.dataList = arr2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   this.listTotal = arr2.length 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   this.dataList = arr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   this.listTotal = res.data.total 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //确认 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     confirmFn(id, isShow) { 
			 |