盘盈盘亏

This commit is contained in:
18942506660
2023-11-02 15:27:13 +08:00
parent a26e6b89f9
commit cd7694be2e
2 changed files with 5 additions and 4 deletions

View File

@@ -214,7 +214,7 @@ namespace WMS.Web.Domain.Services.Public
} }
} }
/// <summary> /// <summary>
/// 获取使用组织 /// 获取仓库
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public async Task<ResultList<ErpStockDto>> BillQueryForStock() public async Task<ResultList<ErpStockDto>> BillQueryForStock()

View File

@@ -15,6 +15,7 @@ using WMS.Web.Domain.Infrastructure;
using WMS.Web.Domain.IService; using WMS.Web.Domain.IService;
using WMS.Web.Domain.IService.Public; using WMS.Web.Domain.IService.Public;
using WMS.Web.Domain.Values; using WMS.Web.Domain.Values;
using WMS.Web.Domain.Values.Erp;
using WMS.Web.Domain.Values.Single; using WMS.Web.Domain.Values.Single;
namespace WMS.Web.Domain.Services namespace WMS.Web.Domain.Services
@@ -53,7 +54,7 @@ namespace WMS.Web.Domain.Services
public async Task<Result> Save(List<SaveTakeStockRequest> dto, LoginInDto loginInfo) public async Task<Result> Save(List<SaveTakeStockRequest> dto, LoginInDto loginInfo)
{ {
TakeStock entity = new TakeStock(); TakeStock entity = new TakeStock();
//entity.Details = _mapper.Map<List<TakeStockDetails>>(dto); //entity.Details = _mapper.Map<List<TakeStockDetails>>(dto);
entity.Create(loginInfo.UserInfo.StaffId); entity.Create(loginInfo.UserInfo.StaffId);
//需要填写序列号 //需要填写序列号
@@ -123,7 +124,7 @@ namespace WMS.Web.Domain.Services
}; };
#endregion #endregion
return Result.ReSuccess(); return await _erpService.Sync<ErpTakeStockSaveDto>(dto, FormIdParam.STK_StockCountGain.ToString());
} }
/// <summary> /// <summary>
/// 盘亏 /// 盘亏
@@ -166,7 +167,7 @@ namespace WMS.Web.Domain.Services
}; };
#endregion #endregion
return Result.ReSuccess(); return await _erpService.Sync<ErpTakeStockSaveDto>(dto, FormIdParam.STK_StockCountLoss.ToString());
} }
} }
} }