| | |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¤éæ£éæ¡ç æ¥å£ï¼åååæ»æ£éæä½ï¼ |
| | | /// </summary> |
| | | /// <param name="request">æ¤éæ£é请æ±åæ°</param> |
| | | /// <returns>æ¥å£ååºç»æ</returns> |
| | | [HttpPost, Route("ReversePickingWithBarcode"), AllowAnonymous] |
| | | public WebResponseContent ReversePickingWithBarcode([FromBody] ReversePickingRequestDTO request) |
| | | { |
| | | try |
| | | { |
| | | lock (lockObj) |
| | | { |
| | | if (!ModelState.IsValid) |
| | | { |
| | | string errorMsg = string.Join("; ", ModelState.Values |
| | | .SelectMany(v => v.Errors) |
| | | .Select(e => e.ErrorMessage)); |
| | | return WebResponseContent.Instance.Error(errorMsg); |
| | | } |
| | | |
| | | return _outboundService.ReversePicking(request); |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return WebResponseContent.Instance.Error($"æ¤éæ£éæä½å¤±è´¥: {ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost, Route("CompleteOutboundWithPallet"), AllowAnonymous] |
| | | public WebResponseContent CompleteOutboundWithPallet([FromBody] OutboundCompletePalletRequestDTO request) |
| | | { |