修复bug
This commit is contained in:
@@ -8,10 +8,11 @@ namespace WMS.Web.Core.Dto.Erp
|
||||
/// <summary>
|
||||
/// 编码
|
||||
/// </summary>
|
||||
public class ErpNumberDto
|
||||
public class ErpNumberDto
|
||||
{
|
||||
public ErpNumberDto() { }
|
||||
public ErpNumberDto(string number) {
|
||||
public ErpNumberDto(string number)
|
||||
{
|
||||
this.Number = number;
|
||||
}
|
||||
/// <summary>
|
||||
@@ -27,12 +28,12 @@ namespace WMS.Web.Core.Dto.Erp
|
||||
public class ErpSubStockDto
|
||||
{
|
||||
public ErpSubStockDto() { }
|
||||
public ErpSubStockDto(string code)
|
||||
public ErpSubStockDto(string stockCode, string subCode)
|
||||
{
|
||||
if (code.Equals("GD"))
|
||||
this.GD = new ErpNumberDto(code);
|
||||
if (code.Equals("HD"))
|
||||
this.HD = new ErpNumberDto(code);
|
||||
if (stockCode != null && stockCode.Equals("GD"))
|
||||
this.GD = new ErpNumberDto(subCode ?? "");
|
||||
if (stockCode != null && stockCode.Equals("HD"))
|
||||
this.HD = new ErpNumberDto(subCode ?? "");
|
||||
}
|
||||
/// <summary>
|
||||
/// GD仓
|
||||
|
||||
@@ -120,11 +120,16 @@ namespace WMS.Web.Core.Dto.Erp.TakeStock
|
||||
[JsonProperty("FCountQty")]
|
||||
public decimal AfterQty { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点后数量
|
||||
/// 盘盈数量
|
||||
/// </summary>
|
||||
[JsonProperty("FGainQty")]
|
||||
public decimal FinalQty { get; set; }
|
||||
/// <summary>
|
||||
/// 盘亏数量
|
||||
/// </summary>
|
||||
[JsonProperty("FLossQty")]
|
||||
public decimal LossQty { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[JsonProperty("Fnote")]
|
||||
|
||||
Reference in New Issue
Block a user