| | |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.ERP |
| | | { |
| | | /// <summary> |
| | | /// ERP鎺ュ彛 |
| | | /// </summary> |
| | | [Route("api/Erp")] |
| | | [ApiController] |
| | | public class ErpController : ControllerBase |
| | |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("ReceivePurchaseOrderSingle"), AllowAnonymous, MethodParamsValidate] |
| | | [HttpPost, Route("ReceivePurchaseOrder"), AllowAnonymous, MethodParamsValidate] |
| | | public ErpResponseContent ReceivePurchaseOrder([FromBody] Root<PurchaseOrderModel> model) |
| | | { |
| | | WebResponseContent content = _purchaseOrderService.ReceivePurchaseOrder(model.Content); |