提交代码

This commit is contained in:
hehaibing-1996
2024-04-19 08:47:45 +08:00
parent e89b64ea3a
commit d40c3f253a
46 changed files with 2500 additions and 57 deletions

View File

@ -300,7 +300,6 @@ namespace 货架标准上位机.ViewModel
}
}
/// <summary>
/// 物料修改操作
/// </summary>
@ -389,20 +388,27 @@ namespace 货架标准上位机.ViewModel
}
public ICommand BtnPrintCommand { get => new DelegateCommand(BtnPrint); }
public async void BtnPrint()
{
PrintTender.PrintTag(new PrintClass()
var matBaseInfo = DataGridItemSource?.Where(t => t.IsSelected == true).FirstOrDefault();
if (matBaseInfo == null)
{
MatQty = "123",
MatCode = "123",
MatBatch = "123",
MatName = "123",
MatSn = "123",
MatSpec = "123",
Growl.Warning("请勾选数据!");
}
var generateWindow = new MatBaseInoGenarateMatInfoView(matBaseInfo);
var result = generateWindow.ShowDialog();
});
//PrintTender.PrintTag(new PrintClass()
//{
// MatQty = "123",
// MatCode = "123",
// MatBatch = "123",
// MatName = "123",
// MatSn = "123",
// MatSpec = "123",
//});
}
#endregion