using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_IOutboundService; using WIDESEA_Model.Models; namespace WIDESEA_WMSServer.Controllers.Outbound { /// /// 成品出库单 /// [Route("api/ProOutOrder")] [ApiController] public class ProOutOrderController : ApiBaseController { public ProOutOrderController(IProOutOrderService service) : base(service) { } /// /// 成品出待发货区(平库)+同步ERP出库 /// /// [HttpPost, Route("OutProductPK"), AllowAnonymous] public WebResponseContent OutProductPK([FromBody] string[] OutPKCodes, string ProOutNo) { return Service.OutProductPK(OutPKCodes, ProOutNo); } /// /// 成品出待发货区(平库)+同步ERP出库(未绑定出库单库存) /// /// [HttpPost, Route("OutProductNoPK"), AllowAnonymous] public WebResponseContent OutProductNoPK(string[] OutPKCodes, string ProOutNo) { return Service.OutProductNoPK(OutPKCodes, ProOutNo); } } }