| | |
| | | using WIDESEA_DTO.Stock; |
| | | using WIDESEA_ITaskInfoService; |
| | | using WIDESEA_Model.Models; |
| | | using static WIDESEA_ITaskInfoService.ITaskService; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.TaskInfo |
| | | { |
| | |
| | | return Service.IsRelocations(TaskNum, SourceAddress); |
| | | } |
| | | |
| | | [HttpGet, Route("GenerateInventoryInformation"), AllowAnonymous] |
| | | public WebResponseContent GenerateInventoryInformation(string SourceAddress, string PalletCode) |
| | | [HttpPost, Route("GenerateInventoryInformation"), AllowAnonymous] |
| | | public WebResponseContent GenerateInventoryInformation([FromBody] GenerateInv generate) |
| | | { |
| | | return Service.GenerateInventoryInformation(SourceAddress, PalletCode); |
| | | return Service.GenerateInventoryInformation(generate); |
| | | } |
| | | |
| | | [HttpPost, Route("ManualOutbound"), AllowAnonymous] |
| | | [HttpPost, Route("ManualOutbound"), AllowAnonymous] |
| | | public WebResponseContent ManualOutbound([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.ManualOutbound(saveModel); |
| | | } |
| | | |
| | | [HttpPost, Route("Empty_outbound"), AllowAnonymous] |
| | | public WebResponseContent Empty_outbound(string SourceAddress) |
| | | [HttpPost, Route("ManualOutbound2"), AllowAnonymous] |
| | | public WebResponseContent ManualOutbound2([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.Empty_outbound(SourceAddress); |
| | | return Service.ManualOutbound2(saveModel); |
| | | } |
| | | [HttpPost, Route("ManualOutboundDeleteinventory"), AllowAnonymous] |
| | | public WebResponseContent ManualOutboundDeleteinventory([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.ManualOutboundDeleteinventory(saveModel); |
| | | } |
| | | [HttpPost, Route("Empty_outbound"), AllowAnonymous] |
| | | public WebResponseContent Empty_outbound([FromBody] GenerateInv generate) |
| | | { |
| | | return Service.Empty_outbound(generate); |
| | | } |
| | | [HttpPost, Route("Queryinventory"), AllowAnonymous] |
| | | public WebResponseContent Queryinventory(string palletCode) |
| | | public WebResponseContent Queryinventory([FromBody] GenerateInv generate) |
| | | { |
| | | return Service.Queryinventory(palletCode); |
| | | return Service.Queryinventory(generate); |
| | | } |
| | | [HttpGet, Route("RelocationTaskCompleted"), AllowAnonymous] |
| | | public WebResponseContent RelocationTaskCompleted(string PalletCode, string SourceAddress, string TargetAddress) |
| | | [HttpGet, Route("PalletQueryinventory"), AllowAnonymous] |
| | | public WebResponseContent PalletQueryinventory() |
| | | { |
| | | return Service.RelocationTaskCompleted(PalletCode, SourceAddress, TargetAddress); |
| | | return Service.PalletQueryinventory(); |
| | | } |
| | | [HttpPost, Route("RelocationTaskCompleted"), AllowAnonymous] |
| | | public WebResponseContent RelocationTaskCompleted([FromBody] GenerateInv2 generate) |
| | | { |
| | | return Service.RelocationTaskCompleted(generate); |
| | | } |
| | | |
| | | [HttpPost, Route("Rawmaterialout"), AllowAnonymous] |
| | | public WebResponseContent Rawmaterialout([FromBody]GenerateInv3 generate) |
| | | { |
| | | return Service.Rawmaterialout(generate); |
| | | } |
| | | |
| | | [HttpGet, Route("Cancelinventory"), AllowAnonymous] |
| | | public WebResponseContent Cancelinventory(int taskNum) |
| | | { |
| | | return Service.Cancelinventory(taskNum); |
| | | } |
| | | } |
| | | } |