| | |
| | | using System.Dynamic; |
| | | using MES.Service.Dto.service; |
| | | using MES.Service.Dto.webApi; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | |
| | | |
| | | private readonly string URL = "http://localhost:10054/api/MesItems/"; |
| | | |
| | | //GetItemQcPrint |
| | | [HttpPost("GetItemQcPrint")] |
| | | public ResponseResult GetItemQcPrint(WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var save = m.GetItemQcPrint(query); |
| | | resultInfos.tbBillList = save; |
| | | |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | [HttpPost("Save")] |
| | | public ResponseResult Save(ErpItems unit) |
| | | { |