| | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 通过条码获取送检单信息 |
| | | /// </summary> |
| | | /// <param name="data"></param> |
| | | /// <returns></returns> |
| | | [HttpPost("getFromInfo")] |
| | | public ResponseResult getFromInfo([FromBody] JObject data) |
| | | { |
| | | var id = data["Barcode"]?.ToString(); |
| | | |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new LljService().getFromInfo(id); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | [HttpPost("SetQSItemDetail")] |
| | | public ResponseResult SetQSItemDetail( |
| | | [FromBody] MesQaItemsDetectDetail12 detail) |