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;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 销售单查询
 /// </summary>
 /// <param name="request">查询参数</param>
 /// <returns></returns>
 /// <remarks>2016-12-12 杨浩 创建</remarks>
 public Result <List <SaleSearchResponse> > SaleSearch(SaleSearchRequest request)
 {
     return(XingYeCore.SaleSearch(request));
 }
Ejemplo n.º 3
0
        /// <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);
        }
Ejemplo n.º 4
0
 /// <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
     });
 }