修复bug
This commit is contained in:
@@ -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("");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user