diff --git a/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryApiListVM.cs b/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryApiListVM.cs index 9f35532..9f5b97c 100644 --- a/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryApiListVM.cs +++ b/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryApiListVM.cs @@ -46,6 +46,9 @@ namespace HHWMS.Web FigureNo = x.MaterialType, MaterialName = x.MaterialName, MaterialSpec = x.MaterialSpec, + SourceCode = x.SourceCode, + Company = x.CompanyCode, + Batch = x.Batch, BatchCode = x.BatchCode, SuFigureNo = x.SupplierCode, LocationCode = x.LocationCode, @@ -63,6 +66,9 @@ namespace HHWMS.Web public string MaterialSpec { get; set; } public string BatchCode { get; set; } public string SuFigureNo { get; set; } + public string Batch { get; set; } + public string SourceCode { get; set; } + public string Company { get; set; } public string FigureNo { get; set; } public string LocationCode { get; set; } public decimal? Qty { get; set; } diff --git a/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryListVM.cs b/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryListVM.cs index 46e3942..208a8eb 100644 --- a/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryListVM.cs +++ b/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryListVM.cs @@ -115,7 +115,7 @@ namespace HHWMS.Web .SetShowTotal(true), this.MakeGridHeader(x => x.CompanyCode).SetWidth(150), this.MakeGridHeader(x => x.SourceCode).SetWidth(150), - this.MakeGridHeader(x => x.Batch).SetWidth(100).SetHide(), + this.MakeGridHeader(x => x.Batch).SetWidth(100).SetHeader("部件"), this.MakeGridHeader(x => x.Lot).SetWidth(100).SetHide(), this.MakeGridHeader(x => x.TaskStatus).SetWidth(100) .SetBackGroundFunc((a) =>