|
|
@ -198,6 +198,35 @@ into temp1 |
|
|
|
|
|
|
|
return true; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 任务明细标记已确认
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost] |
|
|
|
[Route("WmsSharePartOutPutModify")] |
|
|
|
[DisableRequestSizeLimit] |
|
|
|
|
|
|
|
public async Task<bool> WmsSharePartUpdate(WmsHQHSharePartOutPutDetial detial) |
|
|
|
{ |
|
|
|
var _entityList= _wmsRepository.Where(p => p.Id == detial.Id).ToList(); |
|
|
|
if (_entityList.Count() > 0) |
|
|
|
{ |
|
|
|
foreach (var itm in _entityList) |
|
|
|
{ |
|
|
|
itm.OutPutQty = detial.OutPutQty; |
|
|
|
await _wmsRepository.UpdateAsync(itm); |
|
|
|
} |
|
|
|
} |
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 选择任务,生成出库单,只包含已确认的单据
|
|
|
|
/// </summary>
|
|
|
@ -321,7 +350,6 @@ into temp1 |
|
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
|
await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync( |
|
|
|
string.Format(sql, input.BillNum,input.AccountDate.ToShortDateString())); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return true; |
|
|
|