|
|
|
@ -41,7 +41,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 批量费用审核
|
|
|
|
|
/// 按费用审核
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
@ -54,6 +54,20 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
|
return await _auditService.AuditAsync(request.Result, request.Remark, request.Ids);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 按业务审核
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost, Route("AuditByBiz")]
|
|
|
|
|
public async Task<DataResult> AuditAsync(FeeBizAuditRequest request)
|
|
|
|
|
{
|
|
|
|
|
if (request == null || (request.Result != 1 && request.Result != 2) || request.Items == null || request.Items.Count == 0)
|
|
|
|
|
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
|
|
|
|
|
|
|
|
|
|
return await _auditService.AuditAsync(request);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本票审核(一键审核当前登录用户的所有待审核项)
|
|
|
|
|
/// </summary>
|
|
|
|
@ -70,11 +84,11 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 整单费用状态审核
|
|
|
|
|
/// 整票审核
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost, Route("AuditBusiness")]
|
|
|
|
|
[HttpPost, Route("BusinessAudit")]
|
|
|
|
|
public async Task<DataResult> AuditBusinessAsync(FeeBizAuditRequest request)
|
|
|
|
|
{
|
|
|
|
|
if (request == null || (request.Result != 1 && request.Result != 2) || request.Items == null || request.Items.Count == 0)
|
|
|
|
|