抽屉取药中打开抽屉时ColNos为添加数量的库位号

This commit is contained in:
maqiao 2024-08-23 09:39:07 +08:00
parent f144b21a09
commit efd7e78152
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ namespace DM_Weight.ViewModels
_portUtil.WindowName = "DrawerTakeDrugWindow";
_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;
Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, () => _portUtil.Start())
;