| | |
| | | _splitPackageService = splitPackageService; |
| | | _outStockLockInfoService = outStockLockInfoService; |
| | | } |
| | | /// <summary> |
| | | /// è·åæççåºåºç¶æ |
| | | /// </summary> |
| | | [HttpPost("GetPalletOutboundStatus")] |
| | | public async Task<WebResponseContent> GetPalletOutboundStatus(string palletCode) |
| | | { |
| | | return await Service.GetPalletOutboundStatus(palletCode); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è·åæççéå®ä¿¡æ¯ |
| | |
| | | return await Service.ReturnRemaining(dto.OrderNo, dto.PalletCode, ""); |
| | | } |
| | | |
| | | [HttpPost("direct-outbound")] |
| | | public async Task<WebResponseContent> DirectOutbound([FromBody] DirectOutboundRequest dto) |
| | | { |
| | | return await Service.DirectOutbound(dto); |
| | | |
| | | } |
| | | |
| | | ///// <summary> |
| | | ///// æ£é确认 |
| | | ///// </summary> |
| | | //[HttpPost("ConfirmPicking")] |
| | | //public async Task<WebResponseContent> ConfirmPicking([FromBody] PickingConfirmRequest request) |
| | | //[HttpPost("direct-outbound")] |
| | | //public async Task<WebResponseContent> DirectOutbound([FromBody] DirectOutboundRequest dto) |
| | | //{ |
| | | // return await Service.ConfirmPicking(request); |
| | | // return await Service.DirectOutbound(dto); |
| | | |
| | | //} |
| | | /// <summary> |
| | | /// éªè¯æ¡ç å¹¶è·åç©æä¿¡æ¯ |
| | | /// </summary> |
| | | [HttpGet("ValidateBarcode")] |
| | | public async Task<WebResponseContent> ValidateBarcode(string barcode) |
| | | { |
| | | return await Service.ValidateBarcode(barcode); |
| | | } |
| | | |
| | | |
| | | ///// <summary> |
| | | ///// ç´æ¥åºåº |
| | | ///// </summary> |
| | | //[HttpPost("DirectOutbound")] |
| | | //public async Task<WebResponseContent> DirectOutbound([FromBody] DirectOutboundRequest request) |
| | | //{ |
| | | // return await Service.DirectOutbound(request); |
| | | //} |
| | | |
| | | /// <summary> |
| | | /// è·åæ£éåå² |
| | | /// </summary> |
| | | [HttpGet("GetPickingHistory")] |
| | | public async Task<WebResponseContent> GetPickingHistory(int orderId) |
| | | { |
| | | var history = await Service.GetPickingHistory(orderId); |
| | | return WebResponseContent.Instance.OK(null, history); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¤éæ£é |