instocktype

This commit is contained in:
2025-07-04 09:26:29 +08:00
parent b93988c894
commit 0189deea95
3 changed files with 6 additions and 1 deletions

View File

@@ -101,6 +101,9 @@ namespace WMS.Web.Core.Dto.InStockTask
/// </summary>
public string Remark { get; set; }
public string InstockType { get; set; }
/// <summary>
/// 物料对应的仓位有哪些
/// </summary>

View File

@@ -178,6 +178,7 @@ namespace WMS.Web.Domain.Services
bool isRollback = false;
bool isTransaction = false;
//1.添加入库单同步金蝶在save方法里面进行
// var save_result = await this.ShelfSave(instock, InstockType.Purchase, loginInfo, isTransaction);
var save_result = await this.ShelfSave(instock, InstockType.Purchase, loginInfo, isTransaction);
if (!save_result.IsSuccess) isRollback = true;

View File

@@ -398,7 +398,8 @@ namespace WMS.Web.Repositories
AvailableQty = s.detail.AccruedQty - s.detail.ReceiveQty - (s.detail.DeliveredQty > s.detail.RealityQty ? s.detail.DeliveredQty : s.detail.RealityQty),
WaitSlefQty = s.detail.ReceiveQty - s.detail.RealityQty,
Remark = s.detail.Remark,
ErpDetailId = s.detail.ErpDetailId
ErpDetailId = s.detail.ErpDetailId,
InstockType=s.order.Type.ToString()
}).ToListAsync();