| | |
| | | public class MesInvItemStocksController : ControllerBase |
| | | { |
| | | private readonly MesInvItemStocksManager m = new(); |
| | | |
| | | /// <summary> |
| | | /// 获取可退货物料库存(旧版本,保留兼容) |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("GetReturnableStocks")] |
| | | public ResponseResult GetReturnableStocks() |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.GetReturnableStocks(); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取可退货物料库存(带分页和搜索) |
| | | /// </summary> |