| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_Core.CodeConfigEnum; |
| | | using WIDESEA_DTO.Inbound; |
| | | using WIDESEA_DTO.Outbound; |
| | | using WIDESEA_IOutboundService; |
| | |
| | | { |
| | | |
| | | } |
| | | [HttpPost,Route("TestOutUpload"),AllowAnonymous] |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="id"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("TestOutUpload"), AllowAnonymous] |
| | | public WebResponseContent TestOutUpload(int id) |
| | | { |
| | | return Service.TestOutUpload(id); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·ååºåºå |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("GetOutboundOrders"), AllowAnonymous] |
| | | public WebResponseContent GetOutboundOrders([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.GetOutboundOrders(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// åºå¹³åºåºå |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("outpinku"), AllowAnonymous] |
| | | public WebResponseContent outpinku([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.outpinku(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// åæåå·çæ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CreateCodeByRule"), AllowAnonymous] |
| | | public string CreateCodeByRule(string ruleCode) |
| | | { |
| | | return Service.CreateCodeByRule(nameof(RuleCodeEnum.FLCodeRule)); |
| | | } |
| | | /// <summary> |
| | | /// 使ç¨åºåºå宿ERPåºåºæ¨é |
| | | /// </summary> |
| | | /// <param name="outId">åºåºåID</param> |
| | | /// <param name="WarehouseCode">ä»åºä»£å·</param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("PushERPOutBound"), AllowAnonymous] |
| | | public WebResponseContent PushERPOutBound(int outId, string WarehouseCode) |
| | | { |
| | | return Service.PushERPOutBound(outId, WarehouseCode); |
| | | } |
| | | /// <summary> |
| | | /// ä½¿ç¨æ ¹æ®ä¸æ¸¸é¢æåºåºåå·è·åæ¥å¿åæåå· |
| | | /// </summary> |
| | | [HttpPost, Route("OutUpOrderGetFLOrder"), AllowAnonymous] |
| | | public WebResponseContent OutUpOrderGetFLOrder() |
| | | { |
| | | return Service.OutUpOrderGetFLOrder(); |
| | | } |
| | | } |
| | | } |