| | |
| | | using System.Dynamic; |
| | | using MES.Service.Dto.service; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service.Warehouse; |
| | | using MES.Service.util; |
| | |
| | | |
| | | /***进入模版管理可以修改模版***/ |
| | | |
| | | //GetBarCodesQuan |
| | | /// <summary> |
| | | /// 根据条码获取数量 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("GetBarCodesQuan")] |
| | | public ResponseResult GetBarCodesQuan(WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.GetBarCodesQuan(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | //PrcRfPdaProdPickItem3 |
| | | /// <summary> |
| | | /// 生产领料单保存 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("ProdPickItem3")] |
| | | public ResponseResult ProdPickItem3(WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.PrcRfPdaProdPickItem3(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取所有 |
| | | /// </summary> |