箱库存优化

This commit is contained in:
tongfei
2023-11-22 10:04:43 +08:00
parent 935963aa18
commit e9d775870b

View File

@@ -108,6 +108,12 @@ namespace WMS.Web.Domain.Services
else
{
var tag_update_entity = tagBox;
//2.2.1这里为了重新上架,改变仓库和仓位的需求
if (!string.IsNullOrEmpty(dto.StockCode) && dto.SubStockId.HasValue)
{
tag_update_entity.StockCode = dto.StockCode;
tag_update_entity.SubStockId = dto.SubStockId.Value;
}
tag_update_entity.Details = tagBox.Details;
//2.2.1遍历改变的明细
foreach (var item in dto.Details)