|  |  | @ -130,7 +130,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             v-if="countType != 2" |  |  |  |             v-if="countType != 2" | 
			
		
	
		
		
			
				
					
					|  |  |  |             type="primary" |  |  |  |             type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |             size="mini" |  |  |  |             size="mini" | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |             :disabled="startCountVisible" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             @click.native="startCount(1)" |  |  |  |             @click.native="startCount(1)" | 
			
		
	
		
		
			
				
					
					|  |  |  |           >录入产品 |  |  |  |           >录入产品 | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  |           </el-button> | 
			
		
	
	
		
		
			
				
					|  |  | @ -431,6 +431,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       selectedIndex: null, |  |  |  |       selectedIndex: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       isCodeAlive: true, |  |  |  |       isCodeAlive: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |       saveLoading: false, |  |  |  |       saveLoading: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       startCountVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       submitLoading: false, |  |  |  |       submitLoading: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -711,6 +712,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     startCount(val) { |  |  |  |     startCount(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       // this.countProductList = []; |  |  |  |       // this.countProductList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.countType === 0 && val === 1) { |  |  |  |       if (this.countType === 0 && val === 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (isBlank(this.formData.invStorageCode)) { |  |  |  |         if (isBlank(this.formData.invStorageCode)) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -724,6 +726,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  |         getCountInvProductProduct(params).then((res) => { |  |  |  |         getCountInvProductProduct(params).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (res.data.total !== 0) { |  |  |  |           if (res.data.total !== 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.startCountVisible = true | 
			
		
	
		
		
			
				
					
					|  |  |  |             let invProductList = res.data.list; |  |  |  |             let invProductList = res.data.list; | 
			
		
	
		
		
			
				
					
					|  |  |  |             for (let product of invProductList) { |  |  |  |             for (let product of invProductList) { | 
			
		
	
		
		
			
				
					
					|  |  |  |               let product2 = { |  |  |  |               let product2 = { | 
			
		
	
	
		
		
			
				
					|  |  | @ -820,6 +823,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.getInvList(); |  |  |  |     this.getInvList(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (!isBlank(this.countOrder.orderId)) { |  |  |  |     if (!isBlank(this.countOrder.orderId)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if (!isBlank(this.countOrder.countType)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (this.countOrder.countType == 0){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.startCountVisible = true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       //拉取单据详情信息 |  |  |  |       //拉取单据详情信息 | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formData = this.countOrder; |  |  |  |       this.formData = this.countOrder; | 
			
		
	
		
		
			
				
					
					|  |  |  |       let params = {orderIdFk: this.countOrder.orderId}; |  |  |  |       let params = {orderIdFk: this.countOrder.orderId}; | 
			
		
	
	
		
		
			
				
					|  |  | @ -830,6 +838,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  | }; |  |  |  | }; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |