| 
					
				 | 
			
			
				@@ -122,7 +122,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import feeOption from "./config/feeInfo.json"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import option from "./config/feeList.json"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getDeptLazyTree, customerList } from "@/api/basicData/basicFeesDesc"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { delItem } from "@/api/feeInfo/fee-info"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { delItem,delItem2 } from "@/api/feeInfo/fee-info"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { isPercentage, micrometerFormat, IntegerFormat } from "@/util/validate"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import cropDialog from "@/components/crop-dialog/main"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import _ from "lodash"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -251,6 +251,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       type: String, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       default: 'first' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // 1.贸易 2.泽兴 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    delType: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      type: Number, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      default: 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   filters: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     isPercentage(val) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -417,13 +422,29 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //费用判断是否需要调用删除接口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (row.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          delItem(row.id, this.feeUrl).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              message: "删除成功!" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (this.delType == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delItem(row.id, this.feeUrl).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                message: "删除成功!" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.feeData.splice(index, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.feeData.splice(index, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let data={ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              srcParentId:row.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              billType:this.itemType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              tradeType:this.optionType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delItem2(data, this.feeUrl).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                message: "删除成功!" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.feeData.splice(index, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type: "success", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -507,7 +528,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             params.exchangeRate = data.receivableParities; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$refs.feeCrud.rowCellAdd(params); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }else if(this.optionType == "JK") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else if (this.optionType == "JK") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           getParities({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             currency: "USD", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             businesDate: dateFormat(new Date(), "yyyy-MM-dd") + " 00:00:00" 
			 |