盘点单删除单位Id
This commit is contained in:
@@ -570,6 +570,11 @@
|
||||
名称
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:WMS.Web.Core.Dto.Erp.OutStock.ErpOutStockSaveDto">
|
||||
<summary>
|
||||
出库单同步金蝶
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:WMS.Web.Core.Dto.Erp.Purchase.ErpPurchaseInStockResultDto">
|
||||
<summary>
|
||||
erp-采购入库-返回数据源
|
||||
@@ -2500,11 +2505,6 @@
|
||||
物料ID
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Core.Dto.TakeStock.SaveTakeStockRequest.UnitId">
|
||||
<summary>
|
||||
单位ID
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Core.Dto.TakeStock.SaveTakeStockRequest.StockId">
|
||||
<summary>
|
||||
仓库ID
|
||||
|
||||
@@ -1001,11 +1001,6 @@
|
||||
物料ID
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Domain.Entitys.TakeStockDetails.UnitId">
|
||||
<summary>
|
||||
单位ID
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Domain.Entitys.TakeStockDetails.StockId">
|
||||
<summary>
|
||||
仓库ID
|
||||
|
||||
13
src/WMS.Web.Core/Dto/Erp/OutStock/ErpOutStockSaveDto.cs
Normal file
13
src/WMS.Web.Core/Dto/Erp/OutStock/ErpOutStockSaveDto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.Erp.OutStock
|
||||
{
|
||||
/// <summary>
|
||||
/// 出库单同步金蝶
|
||||
/// </summary>
|
||||
public class ErpOutStockSaveDto
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -21,11 +21,6 @@ namespace WMS.Web.Core.Dto.TakeStock
|
||||
[Required(ErrorMessage = "物料不能为空")]
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 单位ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "单位不能为空")]
|
||||
public int UnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "仓库不能为空")]
|
||||
|
||||
@@ -51,11 +51,6 @@ namespace WMS.Web.Domain.Entitys
|
||||
[Column("MaterialId")]
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 单位ID
|
||||
/// </summary>
|
||||
[Column("UnitId")]
|
||||
public int UnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库ID
|
||||
/// </summary>
|
||||
[Column("StockId")]
|
||||
|
||||
@@ -36,11 +36,6 @@ namespace WMS.Web.Domain.Entitys
|
||||
[Column("MaterialId")]
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 单位ID
|
||||
/// </summary>
|
||||
[Column("UnitId")]
|
||||
public int UnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库ID
|
||||
/// </summary>
|
||||
[Column("StockId")]
|
||||
|
||||
@@ -106,14 +106,14 @@ namespace WMS.Web.Domain.Services
|
||||
FOwnerid = stock.OrgId.ToString(),
|
||||
FKeeperId = stock.OrgId.ToString(),
|
||||
MaterialId = entity.MaterialId.ToString(),
|
||||
UnitId = entity.UnitId.ToString(),
|
||||
UnitId = "",//物料带出来
|
||||
StockId = stock.Id.ToString(),
|
||||
SubStockId = subStock.Id.ToString(),
|
||||
BeforeQty = entity.BeforeQty,
|
||||
AfterQty = entity.AfterQty,
|
||||
FinalQty = entity.FinalQty,
|
||||
Fnote = ""
|
||||
});
|
||||
}) ;
|
||||
ErpTakeStockSaveDto dto = new ErpTakeStockSaveDto()
|
||||
{
|
||||
BillNo = entity.BillNo,
|
||||
@@ -149,14 +149,14 @@ namespace WMS.Web.Domain.Services
|
||||
FOwnerid = stock.OrgId.ToString(),
|
||||
FKeeperId = stock.OrgId.ToString(),
|
||||
MaterialId = entity.MaterialId.ToString(),
|
||||
UnitId = entity.UnitId.ToString(),
|
||||
UnitId = "", //物料带出来
|
||||
StockId = stock.Id.ToString(),
|
||||
SubStockId = subStock.Id.ToString(),
|
||||
BeforeQty = entity.BeforeQty,
|
||||
AfterQty = entity.AfterQty,
|
||||
FinalQty = entity.FinalQty,
|
||||
Fnote = ""
|
||||
});
|
||||
}) ;
|
||||
ErpTakeStockSaveDto dto = new ErpTakeStockSaveDto()
|
||||
{
|
||||
BillNo = entity.BillNo,
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace WMS.Web.Repositories
|
||||
#region dto组装
|
||||
Id = s.Id,
|
||||
BillNo = s.BillNo,
|
||||
Unit = _singleDataService.GetSingleData(SingleAction.Units, _loginRepositories.CompanyId, s.UnitId),
|
||||
Unit = "",//物料带出来
|
||||
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.StockId),
|
||||
SubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.SubStockId),
|
||||
BeforeQty = s.BeforeQty,
|
||||
|
||||
Reference in New Issue
Block a user