|  |  |  | @ -1149,7 +1149,7 @@ import { | 
			
		
	
		
			
				
					|  |  |  |  |   removeDiRl, | 
			
		
	
		
			
				
					|  |  |  |  |   removeRl, | 
			
		
	
		
			
				
					|  |  |  |  |   thirdSysDetail, | 
			
		
	
		
			
				
					|  |  |  |  |   updatetSingleUdiInfo, updatetUdiInfos | 
			
		
	
		
			
				
					|  |  |  |  |   updatetSingleUdiInfo, updatetUdiInfos,getCodeRelDetail | 
			
		
	
		
			
				
					|  |  |  |  | } from "@/api/basic/product/udiRelevance"; | 
			
		
	
		
			
				
					|  |  |  |  | import {isBlank} from "@/utils/strUtil"; | 
			
		
	
		
			
				
					|  |  |  |  | import {filterByUuid, levelByUuid} from "@/api/basic/product/udiInfo"; | 
			
		
	
	
		
			
				
					|  |  |  | @ -1251,6 +1251,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         measname: null, | 
			
		
	
		
			
				
					|  |  |  |  |         manufactory: null, | 
			
		
	
		
			
				
					|  |  |  |  |         ybbm: null, | 
			
		
	
		
			
				
					|  |  |  |  |         sptm: null, | 
			
		
	
		
			
				
					|  |  |  |  |         cpms: null, | 
			
		
	
		
			
				
					|  |  |  |  |         productsType: 2, | 
			
		
	
		
			
				
					|  |  |  |  |         //高级设置默认开启扫码 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1746,6 +1747,22 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |           this.selectedIndex = null | 
			
		
	
		
			
				
					|  |  |  |  |           this.getDetailList() | 
			
		
	
		
			
				
					|  |  |  |  |           this.getDiLevel(); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           //如果都为空 进行补充 | 
			
		
	
		
			
				
					|  |  |  |  |           if (!this.$isNotBlank(this.editQuery.sptm) && !this.$isNotBlank(this.editQuery.ybbm)) { | 
			
		
	
		
			
				
					|  |  |  |  |             getCodeRelDetail({dinamecode:row.nameCode}).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |               if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                 if (this.response.data != null && this.response.data.length > 0) { | 
			
		
	
		
			
				
					|  |  |  |  |                   this.editQuery.sptm = this.response.data[0].sptm; | 
			
		
	
		
			
				
					|  |  |  |  |                   this.editQuery.ybbm = this.response.data[0].ybbm; | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             }).catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  |           this.isSave = true | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.error(res.message) | 
			
		
	
	
		
			
				
					|  |  |  | 
 |