| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_DTO.Outbound; |
| | |
| | | return await Service.ReturnRemaining(dto.OrderNo, dto.PalletCode, ""); |
| | | } |
| | | |
| | | [HttpPost("remove-empty-pallet")] |
| | | public async Task<WebResponseContent> RemoveEmptyPallet ([FromBody] ConfirmPickingDto dto) |
| | | { |
| | | return await Service.RemoveEmptyPallet(dto.OrderNo, dto.PalletCode); |
| | | } |
| | | |
| | | |
| | | //[HttpPost("direct-outbound")] |
| | | //public async Task<WebResponseContent> DirectOutbound([FromBody] DirectOutboundRequest dto) |
| | | //{ |
| | | // return await Service.DirectOutbound(dto); |
| | | |
| | | |
| | | //} |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¤éæ£é |
| | | /// </summary> |
| | |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("NoStockOutSubmit"), AllowAnonymous] |
| | | public WebResponseContent NoStockOutSubmit([FromBody] NoStockOutSubmit noStockOutSubmit) |
| | | public async Task<WebResponseContent> NoStockOutSubmit([FromBody] NoStockOutSubmit noStockOutSubmit) |
| | | { |
| | | return Service.NoStockOutSubmit(noStockOutSubmit); |
| | | return await Service.NoStockOutSubmit(noStockOutSubmit); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("GetPurchaseOrderByBarcode"), AllowAnonymous] |
| | | public WebResponseContent GetPurchaseOrderByBarcode(string barcode) |
| | | { |
| | | return Service.GetPurchaseOrderByBarcode(barcode); |
| | | } |
| | | } |
| | | } |