Example #1
0
        public void QuerySettlement(GroupBuyingSettlementQueryVM vm, PagingInfo pagingInfo, EventHandler <RestClientEventArgs <dynamic> > callback)
        {
            var data = vm.ConvertVM <GroupBuyingSettlementQueryVM, GroupBuyingSettlementQueryFilter>();

            data.PagingInfo  = pagingInfo;
            data.CompanyCode = CPApplication.Current.CompanyCode;
            string relativeUrl = "/MKTService/GroupBuying/QuerySettlement";

            restClient.QueryDynamicData(relativeUrl, data, callback);
        }
Example #2
0
        public override void OnPageLoad(object sender, EventArgs e)
        {
            base.OnPageLoad(sender, e);

            this.VM = new GroupBuyingSettlementQueryVM();
            if (!string.IsNullOrEmpty(this.Request.Param))
            {
                this.VM.SysNo = this.Request.Param;
            }
        }