| 
					
				 | 
			
			
				@@ -437,7 +437,7 @@ import check from "@/components/checkL/check"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getCorpType, getList } from "@/api/tirePartsMall/basicData/commodityInformation"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { isProcurement } from "@/api/basicData/configuration"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import commodity from "../../configuration/commodity.json"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { getDetails, submit, itemRemove, auditPlan, revokePlanIn,feeSubmit } from "@/api/storehouse/plan.js"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getDetails, submit, itemRemove, auditPlan, revokePlanIn, feeSubmit } from "@/api/storehouse/plan.js"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import dicSelect from "@/components/dicSelect/main"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import _ from "lodash"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1048,7 +1048,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.form.centerShipCostList.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         parentId: this.form.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        billType:1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        billType: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         goodsNum: this.form.goodsTotalNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $cellEdit: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1057,9 +1057,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (!this.form.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return this.$message.error("请保存数据"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      feeSubmit(this.form.centerShipCostList).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.form.centerShipCostList.length == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return this.$message.error("请录入费用明细"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      feeSubmit(this.form.centerShipCostList).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.getDetail(this.form.id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     inEdit() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.form.status != 1) { 
			 |