| | |
| | | /// </summary> |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
| | | public class MesItemQtController : ControllerBase |
| | | public class MesItemQtController : BaseController |
| | | { |
| | | private readonly MesItemQtManager _manager = new(); |
| | | |
| | |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = _manager.GetPendingQtList(); |
| | | resultInfos.tbBillList = _manager.GetPendingQtList(RequestInfo); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | |
| | | /// <returns>待处理的退料单明细列表</returns> |
| | | /// <remarks> |
| | | /// 请求示例: |
| | | /// POST /api/MesItemQt/GetPendingQtList |
| | | /// POST /api/MesItemQt/GetPendingQtDetailList |
| | | /// { |
| | | /// "userName": "admin", // 用户名(必填) |
| | | /// "billNo": "QT20240101001" // 退料单号(必填) |
| | |
| | | /// <response code="200">成功获取退料单明细</response> |
| | | /// <response code="400">获取失败,返回具体错误信息</response> |
| | | [HttpPost("GetPendingQtDetailList")] |
| | | public ResponseResult GetPendingQtDetailList( |
| | | [FromBody] WarehouseQuery query) |
| | | public ResponseResult GetPendingQtDetailList([FromBody] WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = _manager.GetPendingQtList(query); |
| | | resultInfos.tbBillList = _manager.GetPendingQtDetailList(query, RequestInfo); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |