/// <summary> /// 查询入库当详细分页 /// </summary> /// <returns></returns> public ActionResult GetDetailList() { string CompanyID = WebUtil.GetFormValue <string>("CompanyID"); string BarCode = WebUtil.GetFormValue <string>("BarCode"); string OrderNum = WebUtil.GetFormValue <string>("OrderNum"); string ProductName = WebUtil.GetFormValue <string>("ProductName"); string StorageNum = WebUtil.GetFormValue <string>("StorageNum"); string SupNum = WebUtil.GetFormValue <string>("SupNum"); string SupName = WebUtil.GetFormValue <string>("SupName"); string BeginTime = WebUtil.GetFormValue <string>("BeginTime"); string EndTime = WebUtil.GetFormValue <string>("EndTime"); string ContractOrder = WebUtil.GetFormValue <string>("ContractOrder", string.Empty); int Status = WebUtil.GetFormValue <int>("Status", 0); int InType = WebUtil.GetFormValue <int>("InType", 0); int PageIndex = WebUtil.GetFormValue <int>("PageIndex", 1); int PageSize = WebUtil.GetFormValue <int>("PageSize", 10); InStorDetailEntity entity = new InStorDetailEntity(); entity.CompanyID = CompanyID; entity.BarCode = BarCode; entity.OrderNum = OrderNum; entity.ProductName = ProductName; entity.StorageNum = StorageNum; entity.SupNum = SupNum; entity.SupName = SupName; entity.BeginTime = BeginTime; entity.EndTime = EndTime; entity.Status = Status; entity.InType = InType; entity.ContractOrder = ContractOrder; PageInfo pageInfo = new PageInfo() { PageIndex = PageIndex, PageSize = PageSize }; Bill <InStorageEntity, InStorDetailEntity> bill = new InStorageOrder(CompanyID); List <InStorDetailEntity> listResult = bill.GetDetailList(entity, ref pageInfo); DataListResult <InStorDetailEntity> dataResult = new DataListResult <InStorDetailEntity>() { Code = (int)EResponseCode.Success, Message = "响应成功", Result = listResult, PageInfo = pageInfo }; return(Content(JsonHelper.SerializeObject(dataResult))); }