|
|
|
@ -43,8 +43,7 @@ namespace Aucma.Core.ProductOffLine.ViewModels
|
|
|
|
|
{
|
|
|
|
|
MaterialDataGrid.Clear();
|
|
|
|
|
// 处理查询按钮点击事件
|
|
|
|
|
// 1.先查出BASE_MATERIALINFO中存在但BASE_SPACEINFO不存在的成品类型(说明该类型未分配货道)
|
|
|
|
|
List<BaseMaterialInfo> materialInfoList = await _baseMaterialInfoServices.query();
|
|
|
|
|
List<BaseMaterialInfo> materialInfoList = await _baseMaterialInfoServices.queryAsync(Search);
|
|
|
|
|
int count = 0;
|
|
|
|
|
Application.Current.Dispatcher.Invoke(() =>
|
|
|
|
|
{
|
|
|
|
@ -85,8 +84,17 @@ namespace Aucma.Core.ProductOffLine.ViewModels
|
|
|
|
|
MessageBox.Show("保存失败");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#region 参数定义
|
|
|
|
|
private string _search = string.Empty;
|
|
|
|
|
public string Search
|
|
|
|
|
{
|
|
|
|
|
get { return _search; }
|
|
|
|
|
set {
|
|
|
|
|
_search = value;
|
|
|
|
|
OnPropertyChanged(nameof(Search));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 初始化datagrid
|
|
|
|
|
private ObservableCollection<DirectionEditModel> materialDataGrid = new ObservableCollection<DirectionEditModel>();
|
|
|
|
|
public ObservableCollection<DirectionEditModel> MaterialDataGrid
|
|
|
|
@ -100,6 +108,6 @@ namespace Aucma.Core.ProductOffLine.ViewModels
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|