金川 未选择物料报错bug

This commit is contained in:
hehaibing-1996
2024-09-27 17:38:47 +08:00
parent d7622ee5bb
commit e1c558a627
2 changed files with 6 additions and 2 deletions

View File

@ -18,7 +18,7 @@ namespace 货架标准上位机.ViewModels
public class OutInventoryAddMatViewModel : BindableBase
{
#region Property
private ObservableCollection<MatInventorySummaryModel> dataGridItemSource;
private ObservableCollection<MatInventorySummaryModel> dataGridItemSource = new ObservableCollection<MatInventorySummaryModel>();
public ObservableCollection<MatInventorySummaryModel> DataGridItemSource
{
get { return dataGridItemSource; }