| | |
| | | } |
| | | |
| | | [HttpPost, Route("GenerateOutboundTask"), AllowAnonymous] |
| | | public WebResponseContent GenerateOutboundTask(int id, [FromBody] List<StockSelectViewDTO> stockSelectViews) |
| | | public WebResponseContent GenerateOutboundTask(int orderDetailId, [FromBody] List<StockSelectViewDTO> stockSelectViews) |
| | | { |
| | | return Service.GenerateOutboundTask(id, stockSelectViews); |
| | | return Service.GenerateOutboundTask(orderDetailId, stockSelectViews); |
| | | } |
| | | |
| | | [HttpPost, Route("WMSGenerateOutboundTask"), AllowAnonymous] |
| | | public WebResponseContent WMSGenerateOutboundTask([FromBody] int[] keys) |
| | | { |
| | | return Service.WMSGenerateOutboundTask(keys); |
| | | } |
| | | /// <summary> |
| | | /// WCS申请入库任务 |
| | |
| | | /// <param name="palletCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("DeviceRequestInboundTaskSimple"), AllowAnonymous] |
| | | public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode) |
| | | public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode, int heightType) |
| | | { |
| | | return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode); |
| | | return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode, heightType); |
| | | } |
| | | /// <summary> |
| | | /// 判断巷道内移库 |
| | |
| | | { |
| | | return Service.UpdateTaskInfo(task); |
| | | } |
| | | |
| | | [HttpPost, Route("FeedBackInboundERP"), AllowAnonymous] |
| | | public WebResponseContent FeedBackInboundERP(string upperOrderNo,string linId) |
| | | { |
| | | return Service.FeedBackInboundERP(upperOrderNo , linId); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 单据明细出库完成回调erp |
| | | /// </summary> |
| | | /// <param name="orderNO"></param> |
| | | /// <param name="linId"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("FeedBackOutERP"), AllowAnonymous] |
| | | public WebResponseContent FeedBackOutERP(string orderNO, string linId) |
| | | { |
| | | return Service.FeedBackOutERP(orderNO, linId); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 选定库存生成盘点单出库 |
| | | /// </summary> |
| | | [HttpPost, Route("TakeOutbound"), AllowAnonymous] |
| | | public WebResponseContent TakeOutbound([FromBody] List<StockViewDTO> stockViews) |
| | | { |
| | | return Service.TakeOutbound(stockViews); |
| | | } |
| | | } |
| | | } |