| | |
| | | } |
| | | } |
| | | |
| | | [HttpPost, Route("CompleteOutboundWithPallet"), AllowAnonymous] |
| | | public WebResponseContent CompleteOutboundWithPallet([FromBody] OutboundCompletePalletRequestDTO request) |
| | | { |
| | | try |
| | | { |
| | | lock (lockObj) |
| | | { |
| | | if (!ModelState.IsValid) |
| | | return WebResponseContent.Instance.Error(string.Join("; ", ModelState.Values |
| | | .SelectMany(v => v.Errors) |
| | | .Select(e => e.ErrorMessage))); |
| | | |
| | | return _outboundService.CompleteOutboundWithPallet(request); |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return WebResponseContent.Instance.Error($"鏁寸鍑哄簱鎿嶄綔澶辫触: {ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | [HttpPost, Route("QueryPickingTasks"), AllowAnonymous] |
| | | public WebResponseContent QueryPickingTasks(string palletCode, string orderNo) |
| | | { |