From 115f882353afeb1a90bc267ff25986c239b09979 Mon Sep 17 00:00:00 2001 From: zhougf Date: Sun, 22 Mar 2026 14:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E9=A1=B5=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BF=AE=E6=94=B9=20=E6=8E=A5=E5=8F=A3=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Inventory/ViewModels/InventoryVMs/InventoryApiListVM.cs | 6 ++++++ .../Inventory/ViewModels/InventoryVMs/InventoryListVM.cs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) =>