修复bug
This commit is contained in:
@@ -1291,26 +1291,11 @@
|
||||
仓位ID
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Core.Dto.Erp.TakeStock.ErpTakeStockDetailsSaveDto.BeforeQty">
|
||||
<summary>
|
||||
盘点前数量(wms系统数量)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Core.Dto.Erp.TakeStock.ErpTakeStockDetailsSaveDto.AfterQty">
|
||||
<summary>
|
||||
盘点实际数量(实际仓库数量)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Core.Dto.Erp.TakeStock.ErpTakeStockDetailsSaveDto.FinalQty">
|
||||
<summary>
|
||||
盘盈数量
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Core.Dto.Erp.TakeStock.ErpTakeStockDetailsSaveDto.LossQty">
|
||||
<summary>
|
||||
盘亏数量
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Core.Dto.Erp.TakeStock.ErpTakeStockDetailsSaveDto.Fnote">
|
||||
<summary>
|
||||
备注
|
||||
|
||||
@@ -109,26 +109,26 @@ namespace WMS.Web.Core.Dto.Erp.TakeStock
|
||||
/// </summary>
|
||||
[JsonProperty("FStockLocId")]
|
||||
public ErpSubStockDto SubStockId { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点前数量(wms系统数量)
|
||||
/// </summary>
|
||||
[JsonProperty("FAcctQty")]
|
||||
public decimal BeforeQty { get; set; }
|
||||
///// <summary>
|
||||
///// 盘点前数量(wms系统数量)
|
||||
///// </summary>
|
||||
//[JsonProperty("FAcctQty")]
|
||||
//public decimal BeforeQty { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点实际数量(实际仓库数量)
|
||||
/// </summary>
|
||||
[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("FGainQty")]
|
||||
//public decimal FinalQty { get; set; }
|
||||
///// <summary>
|
||||
///// 盘亏数量
|
||||
///// </summary>
|
||||
//[JsonProperty("FLossQty")]
|
||||
//public decimal LossQty { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
|
||||
@@ -218,10 +218,10 @@ namespace WMS.Web.Domain.Services
|
||||
UnitId = new ErpNumberDto(unitNumber), //物料带出来
|
||||
StockId = new ErpNumberDto(d.StockCode),
|
||||
SubStockId = new ErpSubStockDto(d.StockCode, d.Erp_SubStockCode),
|
||||
BeforeQty = d.BeforeQty,
|
||||
//BeforeQty = d.BeforeQty,
|
||||
AfterQty = d.AfterQty,
|
||||
FinalQty = entity.ResultType == TakeStockType.Profit ? d.FinalQty : 0,
|
||||
LossQty = entity.ResultType == TakeStockType.Loss ? d.FinalQty : 0,
|
||||
//FinalQty = entity.ResultType == TakeStockType.Profit ? d.FinalQty : 0,
|
||||
//LossQty = entity.ResultType == TakeStockType.Loss ? d.FinalQty : 0,
|
||||
Fnote = d.Remark
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user