盘点单删除单位Id

This commit is contained in:
18942506660
2023-11-02 17:00:48 +08:00
parent f1cd7f0f5f
commit 0fe1d17de4
8 changed files with 23 additions and 30 deletions

View File

@@ -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

View File

@@ -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

View 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
{
}
}

View File

@@ -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 = "仓库不能为空")]

View File

@@ -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")]

View File

@@ -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")]

View File

@@ -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,

View File

@@ -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,