抽屉取药中打开抽屉时ColNos为添加数量的库位号
This commit is contained in:
		
							parent
							
								
									f144b21a09
								
							
						
					
					
						commit
						efd7e78152
					
				| 
						 | 
					@ -143,7 +143,7 @@ namespace DM_Weight.ViewModels
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    _portUtil.WindowName = "DrawerTakeDrugWindow";
 | 
					                    _portUtil.WindowName = "DrawerTakeDrugWindow";
 | 
				
			||||||
                    _portUtil.BoardType = singleChannels.Count > 0 ? singleChannels[0].BoardType : 1;
 | 
					                    _portUtil.BoardType = singleChannels.Count > 0 ? singleChannels[0].BoardType : 1;
 | 
				
			||||||
                    _portUtil.ColNos = singleChannels.Select(it => it.ColNo).ToArray();
 | 
					                    _portUtil.ColNos = singleChannels.Where(it => it.TakeQuantity > 0).Select(it => it.ColNo).ToArray();
 | 
				
			||||||
                    _portUtil.DrawerNo = DrawerNo;
 | 
					                    _portUtil.DrawerNo = DrawerNo;
 | 
				
			||||||
                    Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, () => _portUtil.Start())
 | 
					                    Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, () => _portUtil.Start())
 | 
				
			||||||
                    ;
 | 
					                    ;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue