| | |
| | | } |
| | | } |
| | | |
| | | |
| | | //GetItemsXctl |
| | | /// <summary> |
| | | /// 根据工单号获取待投料物料明细 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("GetItemsXctl")] |
| | | public ResponseResult GetItemsXctl(WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.GetItemsXctl(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | //GetItemsXcsl |
| | | /// <summary> |
| | | /// 物料条码投料 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("ScanXctl")] |
| | | public ResponseResult ScanXctl(dynamic query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.ScanXctl(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | } |