| | |
| | | using Autofac.Core; |
| | | 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> |
| | |
| | | { |
| | | return await Service.CancelPicking(dto.OrderNo,dto.PalletCode,dto.Barcode); |
| | | } |
| | | |
| | | [HttpPost,HttpGet, Route("GetAvailablePurchaseOrders"),AllowAnonymous] |
| | | public WebResponseContent GetAvailablePurchaseOrders() |
| | | { |
| | | return Service.GetAvailablePurchaseOrders(); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("GetAvailablePickingOrders"),AllowAnonymous] |
| | | public WebResponseContent GetAvailablePickingOrders() |
| | | { |
| | | return Service.GetAvailablePickingOrders(); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("BarcodeValidate"), AllowAnonymous] |
| | | public WebResponseContent BarcodeValidate([FromBody] NoStockOutModel noStockOut) |
| | | { |
| | | return Service.BarcodeValidate(noStockOut); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("DeleteBarcode"), AllowAnonymous] |
| | | public WebResponseContent DeleteBarcode([FromBody] NoStockOutModel noStockOut) |
| | | { |
| | | return Service.DeleteBarcode(noStockOut); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("NoStockOutSubmit"), AllowAnonymous] |
| | | public async Task<WebResponseContent> NoStockOutSubmit([FromBody] NoStockOutSubmit noStockOutSubmit) |
| | | { |
| | | return await Service.NoStockOutSubmit(noStockOutSubmit); |
| | | } |
| | | } |
| | | } |