Browse Source

1

样式分支
fyf 2 years ago
parent
commit
4e52c385d5
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      BPASmartClient/Control/DataVView.xaml.cs

+ 4
- 1
BPASmartClient/Control/DataVView.xaml.cs View File

@@ -60,7 +60,10 @@ namespace BPASmartClient.Control
{ {
case "Add": case "Add":
istrue = DataVViewModel.GetInstance().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, "提示", $"增加失败!"); else NoticeDemoViewModel.OpenMsg(EnumPromptType.Error, MainViewModel.GetInstance().window, "提示", $"增加失败!");
break; break;
case "Update": case "Update":


Loading…
Cancel
Save