instocktype
This commit is contained in:
@@ -101,6 +101,9 @@ namespace WMS.Web.Core.Dto.InStockTask
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
|
||||
public string InstockType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料对应的仓位有哪些
|
||||
/// </summary>
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user