| | |
| | | public InboundOrderController(IInboundOrderService service) : base(service) |
| | | { |
| | | } |
| | | |
| | | [HttpPost, Route("AddInboundOrder"), AllowAnonymous] |
| | | public WebResponseContent AddInboundOrder([FromBody] InboundOrderAddDTO orderAddDTO) |
| | | { |
| | | return Service.AddInboundOrder(orderAddDTO); |
| | | } |
| | | /// <summary> |
| | | /// WMS下发入库单据 |
| | | /// </summary> |
| | | /// <param name="orderAddDTO"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("AddInboundOrders"), AllowAnonymous] |
| | | public WebResponseContent AddInboundOrders([FromBody] HouseInbound orderAddDTO) |
| | | { |
| | | return Service.AddInboundOrders(orderAddDTO); |
| | | } |
| | | /// <summary> |
| | | /// 盘点完成入库 |
| | | /// </summary> |
| | | /// <param name="name"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("InventoryIn"), AllowAnonymous] |
| | | public WebResponseContent InventoryIn([FromBody] string name) |
| | | { |
| | | return Service.InventoryIn(name); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 入库单据取消 |
| | | /// </summary> |
| | | /// <param name="houseCancelIn"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CancelIn"), AllowAnonymous] |
| | | public WebResponseContent CancelIn([FromBody] HouseCancelIn houseCancelIn) |
| | | { |