/// <summary> /// 查询采购篮列表 /// </summary> /// <param name="queryFilter"></param> /// <param name="callback"></param> public void QueryBasketList(PurchaseOrderBasketQueryFilter queryFilter, EventHandler <RestClientEventArgs <dynamic> > callback) { queryFilter.CompanyCode = CPApplication.Current.CompanyCode; string relativeUrl = "/POService/Basket/QueryPurchaseOrderBasketList"; restClient.QueryDynamicData(relativeUrl, queryFilter, callback); }
public QueryResult QueryPurchaseOrderBasketList(PurchaseOrderBasketQueryFilter request) { int totalCount = 0; QueryResult returnResult = new QueryResult() { Data = ObjectFactory <IPurchaseOrderBasketQueryDA> .Instance.QueryBasketList(request, out totalCount) }; returnResult.TotalCount = totalCount; return(returnResult); }
public override void OnPageLoad(object sender, EventArgs e) { queryVM = new PurchaseOrderBasketQueryVM(); serviceFacade = new PurchaseOrderBasketFacade(this); queryFilter = new PurchaseOrderBasketQueryFilter() { PageInfo = new QueryFilter.Common.PagingInfo() }; this.DataContext = queryVM; LoadComboBoxData(); base.OnPageLoad(sender, e); SetAccessControl(); }
private void btnSearch_Click(object sender, RoutedEventArgs e) { queryFilter = EntityConverter <PurchaseOrderBasketQueryVM, PurchaseOrderBasketQueryFilter> .Convert(queryVM); this.QueryResultGrid.Bind(); }