| | |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_ISquareCabinServices; |
| | | using WIDESEA_Model.Models; |
| | | using static WIDESEA_DTO.SquareCabin.OrderDto; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers |
| | | { |
| | |
| | | public DeliveryOrderController(IDeliveryOrderServices service) : base(service) |
| | | { |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 宿åºåºå |
| | | /// </summary> |
| | | /// <param name="keys"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("FinishOutOrder"),AllowAnonymous] |
| | | public WebResponseContent FinishOutOrder(int key) |
| | | { |
| | | return Service.FinishOutOrder(key); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å建çç¹ä»»å¡ |
| | |
| | | /// <param name="keys"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("CreateCheckOrder")] |
| | | public WebResponseContent CreateCheckOrder([FromBody]int[] keys) |
| | | public WebResponseContent CreateCheckOrder([FromBody] int[] keys) |
| | | { |
| | | return Service.CreateCheckOrder(keys); |
| | | } |
| | |
| | | [HttpPost, HttpGet, Route("GetDeliveryOrderDetail")] |
| | | public WebResponseContent GetDeliveryOrderDetail(int pageNo, string orderNo, bool isPick) |
| | | { |
| | | return Service.GetDeliveryOrderDetail(pageNo, orderNo,isPick); |
| | | return Service.GetDeliveryOrderDetail(pageNo, orderNo, isPick); |
| | | } |
| | | /// <summary> |
| | | /// 宿çç¹ä»»å¡ |
| | |
| | | return Service.GetCheckOutTasks(saveModel); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// çç¹åºåºæ¥å£ |
| | | /// åºåºæµè¯ |
| | | /// </summary> |
| | | /// <param name="externalOrderNo"></param> |
| | | /// <param name="outorder"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("InventoryGood"), AllowAnonymous] |
| | | public WebResponseContent InventoryGood(string batchNo, string goodsNo) |
| | | [HttpPost, Route("CreateOutboundOrder"), AllowAnonymous] |
| | | public WebResponseContent CreateOutboundOrder([FromBody]UpstramOutOrderInfo outorder) |
| | | { |
| | | return Service.InventoryGood(batchNo, goodsNo); |
| | | return Service.CreateOutboundOrder(outorder); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |