fyf 2 lat temu
rodzic
commit
4e52c385d5
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      BPASmartClient/Control/DataVView.xaml.cs

+ 4
- 1
BPASmartClient/Control/DataVView.xaml.cs Wyświetl plik

@@ -60,7 +60,10 @@ namespace BPASmartClient.Control
{
case "Add":
istrue = DataVViewModel.GetInstance().Add();
if (istrue) NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, MainViewModel.GetInstance().window, "提示", $"增加成功!");
if (istrue) {
NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, MainViewModel.GetInstance().window, "提示", $"增加成功!");
DataVClient.GetInstance().RefreshTheListOfStores();
}
else NoticeDemoViewModel.OpenMsg(EnumPromptType.Error, MainViewModel.GetInstance().window, "提示", $"增加失败!");
break;
case "Update":


Ładowanie…
Anuluj
Zapisz