|  |  |  | @ -189,6 +189,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                 erpName: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 keys: [], | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             ids:[], | 
			
		
	
		
			
				
					|  |  |  |  |             radioCheck: null, | 
			
		
	
		
			
				
					|  |  |  |  |             dataList: [], | 
			
		
	
		
			
				
					|  |  |  |  |             pageTotal: 1, | 
			
		
	
	
		
			
				
					|  |  |  | @ -317,6 +318,16 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error('未选择产品'); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             | 
			
		
	
		
			
				
					|  |  |  |  |             if(this.ids.length>0){ | 
			
		
	
		
			
				
					|  |  |  |  |                 for(var i=0;i<this.ids.length;i++){ | 
			
		
	
		
			
				
					|  |  |  |  |                    if(this.ids[i]==this.multipleSelection.rlId){ | 
			
		
	
		
			
				
					|  |  |  |  |                     this.$message.error("该产品已录入!"); | 
			
		
	
		
			
				
					|  |  |  |  |                     return | 
			
		
	
		
			
				
					|  |  |  |  |                    } | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             let str = this.multipleSelection.zczbhhzbapzbh; | 
			
		
	
		
			
				
					|  |  |  |  |             if (str.search(",") != -1) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.currentCert = null; | 
			
		
	
	
		
			
				
					|  |  |  | @ -328,6 +339,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         combine() { | 
			
		
	
		
			
				
					|  |  |  |  |            | 
			
		
	
		
			
				
					|  |  |  |  |             let ids = []; | 
			
		
	
		
			
				
					|  |  |  |  |             let data = { | 
			
		
	
		
			
				
					|  |  |  |  |                 relId: this.multipleSelection.rlId, | 
			
		
	
	
		
			
				
					|  |  |  | @ -362,26 +374,35 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         selectCert() { | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.currentCert == null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("请先选择对应的注册证!"); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             }else{ | 
			
		
	
		
			
				
					|  |  |  |  |             this.multipleSelection.zczbhhzbapzbh = this.currentCert; | 
			
		
	
		
			
				
					|  |  |  |  |             this.combine(); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     components: {udiRlDetailDialog}, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     created() { | 
			
		
	
		
			
				
					|  |  |  |  |         if (this.$isNotBlank(this.data)) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.listQuery.nameCode = this.data.udi; | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.data.billType != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.listQuery.billType = this.data.billType; | 
			
		
	
		
			
				
					|  |  |  |  |             } else | 
			
		
	
		
			
				
					|  |  |  |  |                 this.listQuery.billType = this.data.formData.billType; | 
			
		
	
		
			
				
					|  |  |  |  |             | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.data.formData != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.listQuery.corpId = this.data.formData.corpId; | 
			
		
	
		
			
				
					|  |  |  |  |             // this.listQuery.nameCode = this.data.udi; | 
			
		
	
		
			
				
					|  |  |  |  |             // if (this.data.billType != null) { | 
			
		
	
		
			
				
					|  |  |  |  |             //     this.listQuery.billType = this.data.billType; | 
			
		
	
		
			
				
					|  |  |  |  |             // } else | 
			
		
	
		
			
				
					|  |  |  |  |             //     this.listQuery.billType = this.data.formData.billType; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             // if (this.data.formData != null) { | 
			
		
	
		
			
				
					|  |  |  |  |             //     this.listQuery.corpId = this.data.formData.corpId; | 
			
		
	
		
			
				
					|  |  |  |  |             // } | 
			
		
	
		
			
				
					|  |  |  |  |             // this.orderEditor = this.data.orderEditor; | 
			
		
	
		
			
				
					|  |  |  |  |             // this.orderId = this.data.orderId; | 
			
		
	
		
			
				
					|  |  |  |  |             this.ids=[]; | 
			
		
	
		
			
				
					|  |  |  |  |             if(this.data.stockOrderLists.length>0){ | 
			
		
	
		
			
				
					|  |  |  |  |                 for(var i=0;i<this.data.stockOrderLists.length;i++){ | 
			
		
	
		
			
				
					|  |  |  |  |                     this.ids.push(this.data.stockOrderLists[i].productId); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             this.orderEditor = this.data.orderEditor; | 
			
		
	
		
			
				
					|  |  |  |  |             this.orderId = this.data.orderId; | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  |  | 
 |