private async void Sale_Load(object sender, EventArgs e) { SaleSearchRequest search = new SaleSearchRequest() { Naziv = txtSale.Text }; var list = await _apiService.Get <List <Model.Sale> >(search); dgvSale.AutoGenerateColumns = false; dgvSale.DataSource = list; }
/// <summary> /// 销售单查询 /// </summary> /// <param name="request">查询参数</param> /// <returns></returns> /// <remarks>2016-12-12 杨浩 创建</remarks> public Result <List <SaleSearchResponse> > SaleSearch(SaleSearchRequest request) { return(XingYeCore.SaleSearch(request)); }
/// <summary> /// 销售单查询 /// </summary> /// <param name="request">查询参数</param> /// <returns></returns> /// <remarks>2016-12-12 杨浩 创建</remarks> public static Result <List <SaleSearchResponse> > SaleSearch(SaleSearchRequest request) { var result = RequestApi <List <SaleSearchResponse> >("/base/SEOrderList", request.ToJson()); return(result); }
/// <summary> /// 销售单查询 /// </summary> /// <param name="request">查询参数</param> /// <returns></returns> /// <remarks>2016-12-12 杨浩 创建</remarks> public Result <List <SaleSearchResponse> > SaleSearch(SaleSearchRequest request) { return(new Result <List <SaleSearchResponse> > { Message = Model.EasConstant.EAS_MESSAGE_CLOSE, Status = false }); }