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(); }