| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 根据单号获取生产补料单明细 |
| | | /// </summary> |
| | | /// <param name="query">查询参数,必须包含billNo</param> |
| | | /// <returns>补料单明细列表</returns> |
| | | /// <remarks> |
| | | /// 请求示例: |
| | | /// POST /api/MesItemBl/GetMesItemBlDetailByBillNo |
| | | /// { |
| | | /// "billNo": "BL202401010001" |
| | | /// } |
| | | /// </remarks> |
| | | /// <response code="200">成功获取补料单明细</response> |
| | | /// <response code="400">获取失败,可能是单据号不存在或已完成</response> |
| | | [HttpPost("GetMesItemWWBlDetailByBillNo")] |
| | | public ResponseResult GetMesItemWWBlDetailByBillNo( |
| | | [FromBody] WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = _manager.GetMesItemWWBlDetailByBillNo(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | } |