zjh
2025-04-26 f8187896eeafc43457b81f4d08a1f0821bf51f1c
StandardPda/MESApplication/Controllers/QC/LljController.cs
@@ -190,6 +190,37 @@
    }
    /// <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)