系统的仓库标识,统一使用编码

This commit is contained in:
tongfei
2023-11-08 15:16:07 +08:00
parent c66741b561
commit a5775e6d95
16 changed files with 41 additions and 51 deletions

View File

@@ -42,9 +42,9 @@ namespace WMS.Web.Domain.Entitys
/// </summary>
public int MaterialId { get; set; }
/// <summary>
/// 仓库ID
/// 仓库编码
/// </summary>
public int StockId { get; set; }
public string StockCode { get; set; }
/// <summary>
/// 数量
/// </summary>

View File

@@ -34,10 +34,6 @@ namespace WMS.Web.Domain.Entitys
/// </summary>
public int MaterialId { get; set; }
/// <summary>
/// 收货仓库
/// </summary>
public int StockId { get; set; }
/// <summary>
/// 收货仓库编码(对应金蝶和单点)
/// </summary>
public string StockCode { get; set; }

View File

@@ -21,9 +21,9 @@ namespace WMS.Web.Domain.Entitys
/// </summary>
public int MaterialId { get; set; }
/// <summary>
/// 仓库ID
/// 仓库编码
/// </summary>
public int StockId { get; set; }
public string StockCode { get; set; }
/// <summary>
/// 仓位ID
/// </summary>

View File

@@ -27,9 +27,9 @@ namespace WMS.Web.Domain.Entitys
public InventoryInOutType Type { get; set; }
/// <summary>
/// 仓库ID
/// 仓库编码
/// </summary>
public int StockId { get; set; }
public string StockCode { get; set; }
/// <summary>
/// 单据类型

View File

@@ -53,7 +53,6 @@ namespace WMS.Web.Domain.Mappers
.ForMember(x => x.SupplierId, ops => ops.MapFrom(x => x.FSupplierId))
.ForMember(x => x.OrgId, ops => ops.MapFrom(x => x.FPurchaseOrgId))
.ForMember(x => x.MaterialId, ops => ops.MapFrom(x => x.FMaterialId))
.ForMember(x => x.StockId, ops => ops.MapFrom(x => x.FSOSTOCKID))
.ForMember(x => x.StockCode, ops => ops.MapFrom(x => x.StockFNumber))
.ForMember(x => x.DeliveredQty, ops => ops.MapFrom(x => x.FStockInQty))
.ForMember(x => x.FactoryPrice, ops => ops.MapFrom(x => x.FCHUCHANGPRICE))