修复bug

This commit is contained in:
18942506660
2023-12-01 17:08:38 +08:00
parent 4e3926ff89
commit 165db0ead4
4 changed files with 37 additions and 8 deletions

View File

@@ -20,4 +20,30 @@ namespace WMS.Web.Core.Dto.Erp
[JsonProperty("FNumber")]
public string Number { get; set; }
}
/// <summary>
/// 盘点子仓库
/// </summary>
public class ErpSubStockDto
{
public ErpSubStockDto() { }
public ErpSubStockDto(string code)
{
if (code.Equals("GD"))
this.GD = new ErpNumberDto(code);
if (code.Equals("HD"))
this.HD = new ErpNumberDto(code);
}
/// <summary>
/// GD仓
/// </summary>
[JsonProperty("FSTOCKLOCID__FF100005")]
public ErpNumberDto GD { get; set; } = new ErpNumberDto("");
/// <summary>
/// HD仓
/// </summary>
[JsonProperty("FSTOCKLOCID__FF100007")]
public ErpNumberDto HD { get; set; } = new ErpNumberDto("");
}
}

View File

@@ -108,7 +108,7 @@ namespace WMS.Web.Core.Dto.Erp.TakeStock
/// 仓位ID
/// </summary>
[JsonProperty("FStockLocId")]
public string SubStockId { get; set; }
public ErpSubStockDto SubStockId { get; set; }
/// <summary>
/// 盘点前数量wms系统数量
/// </summary>