| 
					
				 | 
			
			
				@@ -600,7 +600,19 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           formItemAttributes: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             label: '内机条码', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             prop: 'insideCode', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            rules: [...required] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            rules: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              ...required, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                validator: (rule, value, callback) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  if (`${value}`.length == 13) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    callback(new Error('请输入13位条码')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    callback() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                trigger: 'blur' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -627,7 +639,21 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           formItemAttributes: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             label: '外机条码', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             prop: 'outCode', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            rules: [101, 103, '101', '103'].includes(this.formData.mainId) ? [...required] : [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            rules: [101, 103, '101', '103'].includes(this.formData.mainId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              ? [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ...required, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    validator: (rule, value, callback) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      if (`${value}`.length == 13) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        callback(new Error('请输入13位条码')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        callback() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    trigger: 'blur' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              : [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 |