From 3e808f38068395c43aaa95501d5f1cf6be6dceeb Mon Sep 17 00:00:00 2001 From: maqiao <625215135@qq.com> Date: Mon, 27 Nov 2023 13:22:41 +0800 Subject: [PATCH] =?UTF-8?q?1)=E5=9B=9E=E6=94=B6=E7=AE=B1=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=94=80=E6=AF=81=E5=8A=9F=E8=83=BD=202=EF=BC=89=E8=BF=94?= =?UTF-8?q?=E8=BF=98=E8=8D=AF=E5=93=81=E5=8F=8A=E8=BF=94=E8=BF=98=E7=A9=BA?= =?UTF-8?q?=E7=93=B6=E8=AE=B0=E5=BD=95=E9=A1=B5=E9=9D=A2=E6=8C=89=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=80=92=E5=BA=8F=E6=8E=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DM_Weight/App.config | 9 +- DM_Weight/App.xaml.cs | 1 + DM_Weight/Models/ChannelStock.cs | 1 - DM_Weight/Port/PortUtil.cs | 25 +- .../ConfirmMessageDialogViewModel.cs | 51 ++++ .../DrawerTakeDrugWindowViewModel.cs | 3 +- DM_Weight/ViewModels/HomeWindowViewModel.cs | 31 +-- DM_Weight/ViewModels/LoginWindowViewModel.cs | 6 +- .../MachineRecordWindowViewModel.cs | 7 +- .../ViewModels/ReturnDrugWindowViewModel.cs | 3 +- .../ViewModels/ReturnEmptyDialogViewModel.cs | 43 +++- .../ViewModels/ReturnEmptyWindowViewModel.cs | 222 +++++++++++++++++- .../Views/Dialog/ConfirmMessageDialog.xaml | 25 ++ .../Views/Dialog/ConfirmMessageDialog.xaml.cs | 28 +++ DM_Weight/Views/Dialog/ReturnEmptyDialog.xaml | 61 ++--- DM_Weight/Views/ReturnEmptyWindow.xaml | 28 ++- 16 files changed, 453 insertions(+), 91 deletions(-) create mode 100644 DM_Weight/ViewModels/ConfirmMessageDialogViewModel.cs create mode 100644 DM_Weight/Views/Dialog/ConfirmMessageDialog.xaml create mode 100644 DM_Weight/Views/Dialog/ConfirmMessageDialog.xaml.cs diff --git a/DM_Weight/App.config b/DM_Weight/App.config index e5668a5..3bfed60 100644 --- a/DM_Weight/App.config +++ b/DM_Weight/App.config @@ -3,7 +3,8 @@ - + + - + @@ -36,9 +37,9 @@ - + - + + + + + + + +