修改核销处方页面

This commit is contained in:
maqiao 2024-08-20 14:00:26 +08:00
parent eb7fc78760
commit e48cafb748
1 changed files with 2 additions and 3 deletions

View File

@ -95,8 +95,8 @@ namespace DM_Weight.ViewModels
RequestData();
}
}
private Visibility _isEnableList = Visibility.Collapsed;
public Visibility IsEnableList { get => _isEnableList; set => SetProperty(ref _isEnableList, value); }
private bool _isEnable = true;
public bool IsEnable { get => _isEnable; set => SetProperty(ref _isEnable, value); }
private int _status = 0;
public int Status { get => _status; set { SetProperty(ref _status, value); } }
@ -148,7 +148,6 @@ namespace DM_Weight.ViewModels
int totalCount = 0;
if (DrawerNo >= 0)
{
IsEnableList = Visibility.Visible;
//查询当前药箱归属的药师
string currentDrawerUser = SqlSugarHelper.Db.Queryable<ChannelList>().Where(cl => cl.DrawerNo == DrawerNo + 1 && cl.MachineId == "DM5").Select(cl => cl.BelongUser).First();