| 
					
				 | 
			
			
				@@ -1095,11 +1095,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.pass.fAmtcr = Number(this.pass.fAmtcr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.pass.fAmtdr = Number(this.pass.fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.pass.fAmtcr += Number(this.selection[item].fAmt.toFixed(2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.pass.fAmtcr += Number(this.selection[item].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.pass.fAmtdr += Number(this.selection[item].fAmtdr.toFixed(2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.pass.fAmtcr.toFixed(2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log(this.pass.fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log(this.pass.fAmtcr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if(this.state_s == true) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1450,29 +1451,43 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (!this.queryParams.fId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.queryParams.fBillstatus = '1' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            let formDate = new window.FormData() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formDate.append('tFee',JSON.stringify(this.queryParams)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formDate.append("tFeeDo", JSON.stringify(this.DzfeeList)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let formData = new window.FormData() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formData.append('tFee',JSON.stringify(this.queryParams)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formData.append("tFeeDo", JSON.stringify(this.DzfeeList)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            updateFee(formDate).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            updateFee(formData).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.queryParams = response.data.tFee 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.msgSuccess("新增成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               // this.DzfeeList = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               // this.open = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.pass.fAmtcr = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.pass.fAmtdr = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (let item in this.DzfeeList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.pass.fAmtcr += Number(this.DzfeeList[item].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.pass.fAmtdr += Number(this.DzfeeList[item].fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.queryParams.fAmtcr = Number(this.pass.fAmtcr.toFixed(2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.queryParams.fAmtdr = Number(this.pass.fAmtdr.toFixed(2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(this.pass.fAmtcr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(this.pass.fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.pass.fAmtcr.toFixed(2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.queryParams.fBillstatus = '1' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            let formDate = new window.FormData() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formDate.append('tFee',JSON.stringify(this.queryParams)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formDate.append("tFeeDo", JSON.stringify(this.DzfeeList)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            addFee(formDate).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let formData = new window.FormData() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formData.append('tFee',JSON.stringify(this.queryParams)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formData.append("tFeeDo", JSON.stringify(this.DzfeeList)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(this.queryParams) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(this.DzfeeList) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(formData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            addFee(formData).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              console.log(formData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.msgSuccess("修改成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               // this.DzfeeList = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               // this.open = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 |