/// <summary> /// 查询销售订单详细 /// </summary> /// <returns></returns> public ActionResult GetDetail() { string SnNum = WebUtil.GetFormValue <string>("SnNum"); string CompanyID = WebUtil.GetFormValue <string>("CompanyID", string.Empty); SaleDetailEntity entity = new SaleDetailEntity(); entity.OrderSnNum = SnNum; entity.CompanyID = CompanyID; Bill <SaleOrderEntity, SaleDetailEntity> bill = new SaleOrder(CompanyID); List <SaleDetailEntity> list = bill.GetOrderDetail(entity); DataResult <List <SaleDetailEntity> > dataResult = new DataResult <List <SaleDetailEntity> >(); dataResult.Code = (int)EResponseCode.Success; dataResult.Message = "响应成功"; dataResult.Result = list; return(Content(JsonHelper.SerializeObject(dataResult))); }