提交代码
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user