Controllers/Warehouse/MesXkyController.cs
@@ -27,6 +27,13 @@
        public string? erpCode { get; set; }
    }
    //到货单明细json 和 到货单条码
    public class XKYGetDhdHwsdRequest
    {
        public string? dnXkNo { get; set; }
        public string? erpCode { get; set; }
    }
    MesXkyService m = new MesXkyService();
    [HttpPost("GetXkyDhd")]
@@ -92,4 +99,26 @@
        }
    }
    [HttpPost("GetXkyHwsd")]
    public ResponseResult GetXkyHwsd(XKYGetDhdHwsdRequest request)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            resultInfos = m.GetXkyHwsd(request);
            var tbBillList = resultInfos;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = ""
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}