From 4768ff39f3186fa8159f5d14c60bfb985ad8f9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E5=B7=A7?= <625215135@qq.com> Date: Wed, 2 Jul 2025 17:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=A5=E8=AF=8A=E6=B7=BB=E5=8A=A0=E4=B8=AD?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E7=A7=91=E5=AE=A4=E5=92=8C=E6=95=88=E6=9C=9F?= =?UTF-8?q?=E4=B8=8D=E9=9C=80=E8=A6=81=EF=BC=8C=E8=8D=AF=E5=93=81=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AA=E7=AE=80=E6=8B=BC?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DM_Weight/ReportTemp/account_book_temp_new.grf | 6 ++++-- DM_Weight/ViewModels/AccountWindowViewModel.cs | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DM_Weight/ReportTemp/account_book_temp_new.grf b/DM_Weight/ReportTemp/account_book_temp_new.grf index e2f3886..496ee4a 100644 --- a/DM_Weight/ReportTemp/account_book_temp_new.grf +++ b/DM_Weight/ReportTemp/account_book_temp_new.grf @@ -127,10 +127,12 @@ }, { "Name":"效期", - "Width":1.61396 + "Width":1.61396, + "Visible":false }, { - "Name":"科室" + "Name":"科室", + "Visible":false }, { "Name":"患者姓名", diff --git a/DM_Weight/ViewModels/AccountWindowViewModel.cs b/DM_Weight/ViewModels/AccountWindowViewModel.cs index 2e03810..753f30e 100644 --- a/DM_Weight/ViewModels/AccountWindowViewModel.cs +++ b/DM_Weight/ViewModels/AccountWindowViewModel.cs @@ -273,7 +273,7 @@ namespace DM_Weight.ViewModels DrugInfos.Clear(); } - //DrugInfos = SqlSugarHelper.Db.SqlQueryable(str).Where(di => di.DrugName.Contains(text) || di.PyCode.Contains(text) || di.DrugId.Contains(text)).OrderBy(di => di.DrugName).OrderBy(di => di.DrugId).ToList(); + DrugInfos = SqlSugarHelper.Db.SqlQueryable(str).Where(di => di.DrugName.Contains(text) || di.PyCode.Contains(text) || di.DrugId.Contains(text)).OrderBy(di => di.DrugName).OrderBy(di => di.DrugId).ToList(); }