diff --git a/DM_Weight/App.config b/DM_Weight/App.config index c83a765..fd51ad6 100644 --- a/DM_Weight/App.config +++ b/DM_Weight/App.config @@ -42,7 +42,7 @@ - + - + diff --git a/DM_Weight/ViewModels/SelfTakeDialogViewModel.cs b/DM_Weight/ViewModels/SelfTakeDialogViewModel.cs index ebbd631..2bc1d84 100644 --- a/DM_Weight/ViewModels/SelfTakeDialogViewModel.cs +++ b/DM_Weight/ViewModels/SelfTakeDialogViewModel.cs @@ -391,7 +391,7 @@ namespace DM_Weight.ViewModels _portUtil.ShowContent(csList[0].DrawerNo, csList[0].ColNo); Thread.Sleep(200); //将库位多批次的总库存数更新标签 - _portUtil.WriteQuantity(csList[i].DrawerNo, csList[i].ColNo, totalQuantity); + _portUtil.WriteQuantity(csList[0].DrawerNo, csList[0].ColNo, totalQuantity); Thread.Sleep(200); } else