添加报警窗口
出库流程调试、优化
This commit is contained in:
@ -266,6 +266,7 @@ namespace 货架标准上位机.ViewModels
|
||||
if (DataGridItemSource == null)
|
||||
{
|
||||
Growl.Warning("未勾选数据!");
|
||||
return;
|
||||
}
|
||||
//判断是否勾选数据
|
||||
var selectedOutOrder = DataGridItemSource.Where(t => t.IsSelected)
|
||||
@ -273,6 +274,7 @@ namespace 货架标准上位机.ViewModels
|
||||
if (selectedOutOrder == null)
|
||||
{
|
||||
Growl.Warning("未勾选数据!");
|
||||
return;
|
||||
}
|
||||
|
||||
#region 调用接口开始出库
|
||||
@ -288,6 +290,9 @@ namespace 货架标准上位机.ViewModels
|
||||
{
|
||||
//成功后直接跳转
|
||||
MainWindow1.viewModel.GoToOutVentoryView = true;
|
||||
//刷新出库单列表
|
||||
OutVentoryView.viewModel.RefreshOutOrderList(selectedOutOrder.OrderNumber);
|
||||
|
||||
Growl.Success("已跳转到物料出库页面!");
|
||||
}
|
||||
else if (Result != null)
|
||||
|
Reference in New Issue
Block a user