| 
					
				 | 
			
			
				@@ -27,6 +27,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div v-show="businessType === 'supplier_review_flow'"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <supplier-detail ref="supplierDetail" @approveFinished="approveFinished" @onChose="onChose"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div v-show="businessType === 'pur_commission_flow'"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <outsource-detail ref="outsourceDetail" @approveFinished="approveFinished" @onChose="onChose"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -40,6 +43,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import craftDetail from '../tech/crafts-detail' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import InventoryDetail from '../warehouse/inventory-detail' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import SupplierDetail from '../sale/supplier-detail' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  import OutsourceDetail from '../sale/outsource-detail' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     name: 'approve-add-or-update', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     components: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -51,7 +55,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       templateOutDetail, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       productDetail, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       craftDetail, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      SupplierDetail 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      SupplierDetail, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      OutsourceDetail 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     data () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -86,6 +91,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.display ? this.$refs.inventoryDetail.init(this.businessId) : this.$refs.inventoryDetail.init(this.businessId, businessType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else if (this.businessType === 'supplier_review_flow') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.display ? this.$refs.supplierDetail.init(this.businessId) : this.$refs.supplierDetail.init(this.businessId, businessType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else if (this.businessType === 'pur_commission_flow') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.display ? this.$refs.outsourceDetail.init(this.businessId) : this.$refs.outsourceDetail.init(this.businessId, businessType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$message.error('流程类别不支持,请联系管理员!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 |