盘盈盘亏
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user