| 
					
				 | 
			
			
				@@ -141,9 +141,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         label-width="68px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item prop="carNumber"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          开班时间:{{ opo.classStartDate }} 班结时间:{{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            opo.classStructureDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }}班结人:{{ opo.classStructureMan }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          开班时间:{{ opo.startDate }} 班结时间:{{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            opo.endDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }}班结人:{{ opo.classesMan }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <!--按员工汇总--> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -189,7 +189,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <af-table-column label="微信金额" align="center" prop="wxAmt" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <af-table-column label="支付宝金额" align="center" prop="zfbAmt" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <af-table-column label="现金金额" align="center" prop="xjAmt" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <af-table-column label="会员卡支付" align="center" prop="memberAmt" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <af-table-column label="会员卡支付" align="center" prop="dzkAmt" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <af-table-column label="退款金额" align="center" prop="refundAmt" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -228,6 +229,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         classesNo: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         startDate: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         endDate: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 查询参数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       queryParam: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -268,7 +272,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         dzkAmt: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         score: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         memberNo: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        memberAmt: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        dzkAmt: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         carNo: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         customerPhone: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         customerGrade: null, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -359,9 +363,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //this.$router.push({path:'/station/structure',query:{classesNo:row.classesNo,stationId:row.stationId,name:row.classesMan}}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.open = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.title = "查看班结明细"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.queryParams.classStructureMan = row.classesMan; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.queryParams.classStructureNo = row.classesNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.queryParams.classesMan = row.classesMan; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.queryParams.classesNo = row.classesNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.queryParams.stationId = row.stationId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.queryParams.startDate=row.startDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.queryParams.endDate=row.endDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       listClass(this.queryParams).then((response) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.opo = response.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.getStructureList(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -570,7 +576,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           sums[index] = sums[index].toFixed(2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else if (column.property === "memberAmt") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else if (column.property === "dzkAmt") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           sums[index] = values.reduce((prev, curr) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const value = Number(curr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!isNaN(value)) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -580,7 +586,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           sums[index] = sums[index].toFixed(2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         else if (column.property === "refundAmt") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          sums[index] = values.reduce((prev, curr) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const value = Number(curr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!isNaN(value)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              return prev + curr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              return prev; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          sums[index] = sums[index].toFixed(2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           sums[index] = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 |