| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System.Diagnostics.CodeAnalysis; |
| | | using WIDESEA_Common.CommonEnum; |
| | | using WIDESEA_Common.MaterielEnum; |
| | | using WIDESEA_Common.OrderEnum; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_DTO.Outbound; |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æå空æ¡ååº |
| | | /// æå空æååº |
| | | /// </summary> |
| | | /// <param name="barCode"></param> |
| | | /// <param name="startPoint"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("EmptyBackTask"), AllowAnonymous] |
| | | public WebResponseContent EmptyBackTask(string barCode, string startPoint) |
| | | public WebResponseContent EmptyBackTask(string barCode, string startPoint,int target) |
| | | { |
| | | return Service.EmptyBackTask(barCode, startPoint); |
| | | } |
| | |
| | | { |
| | | return Service.InboundFLOrCPTask(barCode, startPoint, matCode, matCount,oneCount); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è¾
æ(æå)éè´/æåå
¥åº |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("InboundOrderInTask"), AllowAnonymous] |
| | | public WebResponseContent InboundOrderInTask([NotNull] string bindCode, [NotNull] string barCode, [NotNull] string startPoint, int orderType = 0) |
| | | { |
| | | return Service.InboundOrderInTask(bindCode, barCode, startPoint, orderType); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 夿æ¯å¦éè¦ç§»åº |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å建ç管æå¨åºåº |
| | | /// </summary> |
| | | /// <param name="ids"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CreateSGManualTasks"), AllowAnonymous] |
| | | public WebResponseContent CreateSGManualTasks([FromBody] List<int> ids) |
| | | { |
| | | return Service.CreateSGManualTasks(ids); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹ä»»å¡ç¶æ |
| | | /// </summary> |
| | | /// <param name="task"></param> |
| | |
| | | /// <param name="palletCode">çº¸å·æ¡ç </param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("PurchaseBoxing"), AllowAnonymous] |
| | | public WebResponseContent PurchaseBoxing(string palletCode) |
| | | public WebResponseContent PurchaseBoxing(string palletCode, int orderType=0) |
| | | { |
| | | return Service.PurchaseBoxing(palletCode); |
| | | return Service.PurchaseBoxing(palletCode, orderType); |
| | | } |
| | | |
| | | /// <summary> |