Exemple #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string method = Utils.GetQueryStringValue("method");

            if (!CheckGrant(TravelPermission.营销工具_同业名录))
            {
                Utils.ResponseNoPermit();
                return;
            }
            EyouSoft.Model.CompanyStructure.CompanyDetailInfo companyModel = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(SiteUserInfo.CompanyID);
            if (companyModel != null)
            {
                SiteUserComLev = companyModel.CompanyLev;
            }

            //是否开通收费MQ
            //if (!companyModel.StateMore.CompanyService.IsServiceAvailable(EyouSoft.Model.CompanyStructure.SysService.MQ))
            //{
            //    Server.Transfer("/SystemSet/ApplyMQ.aspx?iscustomer=yes&" + StringValidate.BuildUrlString(Request.QueryString, new string[] { }), false);
            //    return;
            //}
            if (method == "setMyCustomer")//设置为我的客户
            {
                if (!haveUpdate)
                {
                    Utils.ResponseMeg(false, "对不起,你没有改权限!");
                    return;
                }
                myCustomerBll = EyouSoft.BLL.CompanyStructure.MyCustomer.CreateInstance();
                SetMyCustomer();
                myCustomerBll = null;
                return;
            }

            //获取查询条件
            int    province    = Utils.GetInt(Utils.InputText(Server.UrlDecode(Request.QueryString["province"] ?? ""))); //省份ID
            int    city        = Utils.GetInt(Utils.InputText(Server.UrlDecode(Request.QueryString["city"] ?? "")));     //城市ID
            string companyName = Utils.InputText(Server.UrlDecode(Request.QueryString["companyname"] ?? ""));            //公司名
            string admin       = Utils.InputText(Server.UrlDecode(Request.QueryString["admin"] ?? ""));                  //负责人
            string brand       = Utils.InputText(Server.UrlDecode(Request.QueryString["brand"] ?? ""));                  //品牌

            EyouSoft.Model.CompanyStructure.QueryParamsCompany query = new EyouSoft.Model.CompanyStructure.QueryParamsCompany();
            query.CityId       = city;
            query.PorvinceId   = province;
            query.CompanyBrand = brand;
            query.CompanyName  = companyName;
            query.ContactName  = admin;
            //当前页码
            pageIndex = Utils.GetInt(Request.QueryString["Page"], 1);
            //获取我的客户
            cityBll        = EyouSoft.BLL.SystemStructure.SysCity.CreateInstance();
            provinceBll    = EyouSoft.BLL.SystemStructure.SysProvince.CreateInstance();
            companyAreaBll = EyouSoft.BLL.CompanyStructure.CompanyArea.CreateInstance();
            IList <EyouSoft.Model.CompanyStructure.CompanyInfo> allCustomerList = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetListTravelAgency(query, pageSize, pageIndex, ref recordCount);

            if (allCustomerList != null && allCustomerList.Count > 0)
            {
                alc_rpt_customers.DataSource = allCustomerList;
                alc_rpt_customers.DataBind();
                BindPage(province, city, companyName, admin, brand);//设置分页
            }
            else
            {
                alc_rpt_customers.EmptyText  = "<tr><td style='text-align:center'>暂无客户信息</td></tr>";
                this.ExportPageInfo1.Visible = false;
            }
            //清理对象
            allCustomerList = null;
            cityBll         = null;
            provinceBll     = null;

            //恢复查询条件
            ac_pc.SetProvinceId     = province;
            ac_pc.SetCityId         = city;
            ac_txtAdmin.Value       = admin;
            ac_txtBrand.Value       = brand;
            ac_txtCompanyName.Value = companyName;
        }
Exemple #2
0
        /// <summary>
        /// 保存
        /// </summary>
        private void Save()
        {
            routeId = Utils.GetQueryStringValue("routeId");
            tourId  = Utils.GetQueryStringValue("tourId");
            if (tourId.Length <= 0 && routeId.Length > 0)
            {
                #region 组团社-单团预定
                MTourList model   = new MTourList();
                MRoute    brModel = BRoute.CreateInstance().GetModel(routeId);
                //线路Id
                model.RouteId = routeId;
                //线路名称
                model.RouteName = brModel.RouteName;
                //下单人编号
                model.OperatorId = SiteUserInfo.ID;
                //下单人名称
                model.OperatorName = SiteUserInfo.UserName;
                //下单时间
                model.IssueTime = DateTime.Now;
                //预定人数
                model.ScheduleNum = Utils.GetInt(Utils.GetFormValue(txt_adultPrice.UniqueID));
                //组团社备注
                model.TravelNotes = Utils.GetFormValue(txt_travelNotes.UniqueID);
                //组团社联系人
                model.TravelContact = Utils.GetFormValue(txt_travelContact.UniqueID);
                //组团社联系人电话
                model.TravelTel = Utils.GetFormValue(txt_travelTel.UniqueID);
                //游客联系人
                model.VisitorContact = Utils.GetFormValue(txt_visitorContact.UniqueID);
                //游客联系人电话
                model.VisitorTel = Utils.GetFormValue(txt_visitorTel.UniqueID);
                //出发日期
                model.StartDate = Utils.GetDateTime(Utils.GetFormValue(txt_leaveDate.UniqueID));
                //预订公司编号
                model.Travel = SiteUserInfo.CompanyID;
                //发布线路专线商或地接社公司编号
                model.Business = Utils.GetQueryStringValue("companyID");
                bool isSave = BTourList.CreateInstance().AddTourList(model);

                #region 发送短信模块
                if (isSave)
                {
                    EyouSoft.Model.SystemStructure.MSysSettingInfo SettingInfoModel = EyouSoft.BLL.SystemStructure.SystemInfo.CreateInstance().GetSysSetting();
                    //获得组团公司实体
                    EyouSoft.Model.CompanyStructure.CompanyDetailInfo travelComModel = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(SiteUserInfo.CompanyID);
                    ////获得专线或地接公司实体
                    EyouSoft.Model.CompanyStructure.CompanyDetailInfo tourComModel = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(brModel.Publishers);
                    if (SettingInfoModel != null && travelComModel != null)
                    {
                        if (SettingInfoModel.OrderSmsCompanyTypes.Contains(travelComModel.CompanyLev))
                        {
                            string sendMsg = SettingInfoModel.OrderSmsTemplate;
                            sendMsg = sendMsg.Replace("[预订公司]", SiteUserInfo.CompanyName);
                            sendMsg = sendMsg.Replace("[预订联系电话]", SiteUserInfo.ContactInfo.Mobile);
                            sendMsg = sendMsg.Replace("[预订出发时间]", model.StartDate.ToString("yyyy-MM-dd"));
                            sendMsg = sendMsg.Replace("[预订产品]", model.RouteName);
                            sendMsg = sendMsg.Replace("[预订数量]", model.ScheduleNum.ToString() + "人");

                            #region 发送操作
                            EyouSoft.Model.SMSStructure.SendMessageInfo sendMessageInfo = new EyouSoft.Model.SMSStructure.SendMessageInfo();
                            sendMessageInfo.CompanyId    = SiteUserInfo.CompanyID;
                            sendMessageInfo.CompanyName  = SiteUserInfo.CompanyName;
                            sendMessageInfo.UserId       = this.SiteUserInfo.ID;
                            sendMessageInfo.UserFullName = SiteUserInfo.ContactInfo.ContactName;
                            sendMessageInfo.SMSContent   = sendMsg;
                            sendMessageInfo.SendTime     = DateTime.Now;
                            //添加要发送的手机号码
                            List <EyouSoft.Model.SMSStructure.AcceptMobileInfo> moblieList  = new List <EyouSoft.Model.SMSStructure.AcceptMobileInfo>();
                            EyouSoft.Model.SMSStructure.AcceptMobileInfo        mobileModel = new EyouSoft.Model.SMSStructure.AcceptMobileInfo();
                            mobileModel.IsEncrypt = false;
                            if (tourComModel.ContactInfo != null)
                            {
                                mobileModel.Mobile = tourComModel.ContactInfo.Mobile;
                            }
                            moblieList.Add(mobileModel);
                            sendMessageInfo.Mobiles = moblieList;

                            //发送通道
                            EyouSoft.Model.SMSStructure.SMSChannel sendChannel = new EyouSoft.Model.SMSStructure.SMSChannelList()[Convert.ToInt32(SettingInfoModel.OrderSmsChannelIndex)];
                            sendMessageInfo.SendChannel = sendChannel;
                            sendMessageInfo.SendType    = EyouSoft.Model.SMSStructure.SendType.直接发送;
                            EyouSoft.IBLL.SMSStructure.ISendMessage    sBll            = EyouSoft.BLL.SMSStructure.SendMessage.CreateInstance();
                            EyouSoft.Model.SMSStructure.SendResultInfo SendResultModel = sBll.Send(sendMessageInfo);
                            SendResultModel = null;
                            sendMessageInfo = null;

                            #endregion
                        }
                    }
                }
                #endregion

                Response.Clear();
                Response.Write(isSave.ToString().ToLower());
                Response.End();
                #endregion
            }
            else if (tourId.Length > 0)
            {
                #region 组团-地接-专线修改
                MTourList model = BTourList.CreateInstance().GetModel(tourId);
                model.ScheduleNum = Utils.GetInt(Utils.GetFormValue(txt_adultPrice.UniqueID));
                if (Utils.GetQueryStringValue("isZT").Length > 0)
                {
                    //组团修改
                    model.TravelNotes = Utils.GetFormValue(txt_travelNotes.UniqueID);
                    //组团社联系人
                    model.TravelContact = Utils.GetFormValue(txt_travelContact.UniqueID);
                    //组团社联系人电话
                    model.TravelTel = Utils.GetFormValue(txt_travelTel.UniqueID);
                    //游客联系人
                    model.VisitorContact = Utils.GetFormValue(txt_visitorContact.UniqueID);
                    //游客联系人电话
                    model.VisitorTel = Utils.GetFormValue(txt_visitorTel.UniqueID);
                    Response.Clear();
                    Response.Write(BTourList.CreateInstance().OrderModifyZT(model));
                    Response.End();
                }
                else
                {
                    //专线,地接修改
                    model.BusinessNotes = Utils.GetFormValue(txt_businessNotes.UniqueID);
                    Response.Clear();
                    Response.Write(BTourList.CreateInstance().OrderModifyZXDJ(model));
                    Response.End();
                }
                #endregion
            }
        }
Exemple #3
0
        private string FormSave()
        {
            //声明操作BLL
            EyouSoft.IBLL.NewTourStructure.IPowderList tourBll = EyouSoft.BLL.NewTourStructure.BPowderList.CreateInstance();
            //创建新的订单
            EyouSoft.Model.NewTourStructure.MTourOrder orderModel = new EyouSoft.Model.NewTourStructure.MTourOrder();

            string tourID = Utils.GetQueryStringValue("tourID");
            //成人数
            int adultCount = Utils.GetInt(Utils.GetFormValue(this.txtAdultCount.UniqueID));

            if (adultCount == 0)
            {
                return("请输入成人数!");
            }
            //儿童数
            int childCount = Utils.GetInt(Utils.GetFormValue(this.txtChildCount.UniqueID));
            //单房差
            int otherCount = Utils.GetInt(Utils.GetFormValue(this.txtOtherCount.UniqueID));
            //游客联系人
            string contact = Utils.GetFormValue(this.txtContact.UniqueID);
            //游客联系电话
            string conTactTel = Utils.GetFormValue(this.txtConTactTel.UniqueID);
            //负责人
            string fzr = Utils.GetFormValue(this.txtFzr.UniqueID);

            if (fzr == "")
            {
                fzr = SiteUserInfo.ContactInfo.ContactName;
            }
            //负责人电话
            string fzrTel = Utils.GetFormValue(this.txtFzrTel.UniqueID);

            if (fzrTel == "")
            {
                fzrTel = SiteUserInfo.ContactInfo.Tel;
            }
            //增减价格
            decimal addPrice = 0;

            decimal.TryParse(Utils.GetFormValue(this.txtAddPrice.UniqueID), out addPrice);
            //增减结算价
            decimal reductPrice = 0;

            decimal.TryParse(Utils.GetFormValue(this.txtReductPrice.UniqueID), out reductPrice);
            //游客备注
            string cusRemark = Utils.GetFormValue(this.txtCusRemark.UniqueID);
            //组团备注
            string remark = Utils.GetFormValue(this.txtRemark.UniqueID);

            #region 处理旅客
            string[] txtName    = Utils.GetFormValues("txtName");
            string[] txtTel     = Utils.GetFormValues("txtTel");
            string[] txtCard    = Utils.GetFormValues("txtCard");
            string[] txtCardS   = Utils.GetFormValues("txtCardS");
            string[] txtCardT   = Utils.GetFormValues("txtCardT");
            string[] sltSex     = Utils.GetFormValues("sltSex");
            string[] sltChild   = Utils.GetFormValues("sltChild");
            string[] txtNumber  = Utils.GetFormValues("txtNumber");
            string[] txtRemarks = Utils.GetFormValues("txtRemarks");
            string[] cbxVisitor = Utils.GetFormValues("cbxVisitor");


            IList <EyouSoft.Model.NewTourStructure.MTourOrderCustomer> customerList = new List <EyouSoft.Model.NewTourStructure.MTourOrderCustomer>();

            if (txtName.Length > 0)
            {
                for (int i = 0; i < txtName.Length; i++)
                {
                    EyouSoft.Model.NewTourStructure.MTourOrderCustomer model = new EyouSoft.Model.NewTourStructure.MTourOrderCustomer();
                    model.CertificatesType = EyouSoft.Model.TicketStructure.TicketCardType.身份证;
                    model.CompanyId        = SiteUserInfo.CompanyID;
                    if (cbxVisitor.Contains((i + 1).ToString()))
                    {
                        model.IsSaveToTicketVistorInfo = true;
                    }
                    model.Mobile       = txtTel[i];
                    model.CradType     = sltChild[i] == "0" ? EyouSoft.Model.TicketStructure.TicketVistorType.成人 : EyouSoft.Model.TicketStructure.TicketVistorType.儿童;
                    model.IdentityCard = txtCard[i];
                    model.IssueTime    = DateTime.Now;
                    model.Notes        = txtRemarks[i];
                    model.OtherCard    = txtCardT[i];
                    model.Passport     = txtCardS[i];
                    model.Sex          = sltSex[i] == "0" ? EyouSoft.Model.CompanyStructure.Sex.男 : EyouSoft.Model.CompanyStructure.Sex.女;
                    model.SiteNo       = txtNumber[i];
                    model.VisitorName  = txtName[i];
                    customerList.Add(model);
                }
            }
            #endregion

            #region 订单实体赋值
            orderModel.Add       = addPrice;
            orderModel.AdultNum  = adultCount;
            orderModel.Reduction = reductPrice;
            #region 获得计划中价格信息
            decimal reAdultPrice = 0;
            decimal reChilePrice = 0;
            decimal reOtherPrice = 0;
            decimal seAdultPrice = 0;
            decimal seChildPrice = 0;

            EyouSoft.Model.NewTourStructure.MPowderList tourModel = tourBll.GetModel(tourID);
            if (tourModel != null)
            {
                reAdultPrice = tourModel.RetailAdultPrice;
                reChilePrice = tourModel.RetailChildrenPrice;
                reOtherPrice = tourModel.MarketPrice;
                seAdultPrice = tourModel.SettlementAudltPrice;
                seChildPrice = tourModel.SettlementChildrenPrice;

                //订单实体赋值
                orderModel.BusinessNotes = "";
                orderModel.DayNum        = tourModel.Day;
                orderModel.LateNum       = tourModel.Late;
                orderModel.LeaveDate     = tourModel.LeaveDate;
                orderModel.RouteId       = tourModel.RouteId;
                orderModel.RouteName     = tourModel.RouteName;
                orderModel.ScheduleNum   = tourModel.OrderPeopleNum;
                orderModel.TourId        = tourModel.TourId;
                orderModel.TourNo        = tourModel.TourNo;
            }
            else
            {
                Response.Clear();
                Response.Write("error");
                Response.End();
            }
            #endregion
            orderModel.ChildPrice              = reChilePrice;
            orderModel.ChildrenNum             = childCount;
            orderModel.Customers               = customerList;
            orderModel.IssueTime               = DateTime.Now;
            orderModel.MarketPrice             = reOtherPrice;
            orderModel.OperationMsg            = "";
            orderModel.OperatorId              = SiteUserInfo.ID;
            orderModel.OperatorName            = SiteUserInfo.ContactInfo.ContactName;
            orderModel.OrderStatus             = EyouSoft.Model.NewTourStructure.PowderOrderStatus.组团社待处理;
            orderModel.PaymentStatus           = EyouSoft.Model.NewTourStructure.PaymentStatus.游客未支付;
            orderModel.PersonalPrice           = reAdultPrice;
            orderModel.SaveDate                = null;
            orderModel.SettlementAudltPrice    = seAdultPrice;
            orderModel.SettlementChildrenPrice = seChildPrice;
            orderModel.SingleRoomNum           = otherCount;
            orderModel.VisitorNotes            = cusRemark;
            orderModel.Travel         = SiteUserInfo.CompanyID;
            orderModel.TravelContact  = fzr;
            orderModel.TravelName     = SiteUserInfo.CompanyName;
            orderModel.TravelNotes    = remark;
            orderModel.TravelTel      = fzrTel;
            orderModel.VisitorContact = contact;
            orderModel.VisitorNotes   = cusRemark;
            orderModel.VisitorTel     = conTactTel;
            //计划销售总价
            orderModel.TotalSalePrice = adultCount * reAdultPrice + childCount * reChilePrice + otherCount * reOtherPrice + addPrice;
            //计算结算总价
            orderModel.TotalSettlementPrice = adultCount * seAdultPrice + childCount * seChildPrice + reductPrice;

            if (EyouSoft.BLL.NewTourStructure.BTourOrder.CreateInstance().AddOrUpdTourOrder(orderModel))
            {
                #region 发送短信模块
                EyouSoft.Model.SystemStructure.MSysSettingInfo SettingInfoModel = EyouSoft.BLL.SystemStructure.SystemInfo.CreateInstance().GetSysSetting();
                //获得组团公司实体
                EyouSoft.Model.CompanyStructure.CompanyDetailInfo travelComModel = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(SiteUserInfo.CompanyID);
                ////获得专线或地接公司实体
                EyouSoft.Model.CompanyStructure.CompanyDetailInfo tourComModel = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(tourModel.Publishers);
                if (SettingInfoModel != null && travelComModel != null && tourComModel != null)
                {
                    if (SettingInfoModel.OrderSmsCompanyTypes.Contains(travelComModel.CompanyLev))
                    {
                        string sendMsg = SettingInfoModel.OrderSmsTemplate;
                        sendMsg = sendMsg.Replace("[预订公司]", SiteUserInfo.CompanyName);
                        sendMsg = sendMsg.Replace("[预订联系电话]", SiteUserInfo.ContactInfo.Mobile);
                        sendMsg = sendMsg.Replace("[预订出发时间]", tourModel.LeaveDate.ToString("yyyy-MM-dd"));
                        sendMsg = sendMsg.Replace("[预订产品]", tourModel.RouteName);
                        sendMsg = sendMsg.Replace("[预订数量]", orderModel.AdultNum.ToString() + "成," + orderModel.ChildrenNum.ToString() + "儿");

                        #region 发送操作
                        EyouSoft.Model.SMSStructure.SendMessageInfo sendMessageInfo = new EyouSoft.Model.SMSStructure.SendMessageInfo();
                        sendMessageInfo.CompanyId    = orderModel.Travel;
                        sendMessageInfo.CompanyName  = orderModel.TravelName;
                        sendMessageInfo.UserId       = this.SiteUserInfo.ID;
                        sendMessageInfo.UserFullName = SiteUserInfo.ContactInfo.ContactName;
                        sendMessageInfo.SMSContent   = sendMsg;
                        sendMessageInfo.SendTime     = DateTime.Now;
                        //添加要发送的手机号码
                        List <EyouSoft.Model.SMSStructure.AcceptMobileInfo> moblieList  = new List <EyouSoft.Model.SMSStructure.AcceptMobileInfo>();
                        EyouSoft.Model.SMSStructure.AcceptMobileInfo        mobileModel = new EyouSoft.Model.SMSStructure.AcceptMobileInfo();
                        mobileModel.IsEncrypt = false;
                        if (tourComModel.ContactInfo != null)
                        {
                            mobileModel.Mobile = tourComModel.ContactInfo.Mobile;
                        }
                        moblieList.Add(mobileModel);
                        sendMessageInfo.Mobiles = moblieList;

                        //发送通道
                        EyouSoft.Model.SMSStructure.SMSChannel sendChannel = new EyouSoft.Model.SMSStructure.SMSChannelList()[Convert.ToInt32(SettingInfoModel.OrderSmsChannelIndex)];
                        sendMessageInfo.SendChannel = sendChannel;
                        sendMessageInfo.SendType    = EyouSoft.Model.SMSStructure.SendType.直接发送;
                        EyouSoft.IBLL.SMSStructure.ISendMessage    sBll            = EyouSoft.BLL.SMSStructure.SendMessage.CreateInstance();
                        EyouSoft.Model.SMSStructure.SendResultInfo SendResultModel = sBll.Send(sendMessageInfo);
                        SendResultModel = null;
                        sendMessageInfo = null;

                        #endregion
                    }
                }
                #endregion
                return("ok");
            }
            else
            {
                return("服务器忙,请稍后再试!");
            }
            #endregion
        }
Exemple #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!CheckGrant(TravelPermission.营销工具_同业名录))
            {
                Utils.ResponseNoPermit();
                return;
            }
            string method = Utils.GetQueryStringValue("method");

            EyouSoft.Model.CompanyStructure.CompanyDetailInfo companyModel = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(SiteUserInfo.CompanyID);
            if (companyModel != null)
            {
                SiteUserComLev = companyModel.CompanyLev;
            }
            myCustomerBll = EyouSoft.BLL.CompanyStructure.MyCustomer.CreateInstance();
            tourOrderBLL  = EyouSoft.BLL.TourStructure.TourOrder.CreateInstance();
            cityBll       = EyouSoft.BLL.SystemStructure.SysCity.CreateInstance();
            provinceBll   = EyouSoft.BLL.SystemStructure.SysProvince.CreateInstance();
            if (method == "clearMyCustomers")
            {
                if (!haveUpdate)
                {
                    Page.ClientScript.RegisterStartupScript(this.GetType(), Guid.NewGuid().ToString(), "<script type='text/javascript'>alert('对不起,你没有该权限!');</script>");
                }
                else
                {
                    ClearMyCustomers();//解除合作关系
                }
            }
            //获取当前页
            pageIndex = Utils.GetInt(Request.QueryString["Page"], 1);
            //获取查询条件
            int    province    = Utils.GetInt(Utils.InputText(Server.UrlDecode(Request.QueryString["province"] ?? ""))); //省份ID
            int    city        = Utils.GetInt(Utils.InputText(Server.UrlDecode(Request.QueryString["city"] ?? "")));     //城市ID
            string companyName = Utils.InputText(Server.UrlDecode(Request.QueryString["companyname"] ?? ""));            //公司名
            string admin       = Utils.InputText(Server.UrlDecode(Request.QueryString["admin"] ?? ""));                  //负责人
            string brand       = Utils.InputText(Server.UrlDecode(Request.QueryString["brand"] ?? ""));                  //品牌
            string myCompanyId = SiteUserInfo.CompanyID;

            EyouSoft.Model.CompanyStructure.QueryParamsCompany query = new EyouSoft.Model.CompanyStructure.QueryParamsCompany();
            query.CityId       = city;
            query.PorvinceId   = province;
            query.CompanyBrand = brand;
            query.CompanyName  = companyName;
            query.ContactName  = admin;
            //绑定我的客户
            IList <EyouSoft.Model.CompanyStructure.MyCustomer> myCustomerList = myCustomerBll.GetList(myCompanyId, query, pageSize, pageIndex, ref recordCount);

            if (myCustomerList != null && myCustomerList.Count > 0)
            {
                alc_rpt_customers.DataSource = myCustomerList;
                alc_rpt_customers.DataBind();
                BindPage(province, city, companyName, admin, brand);
            }
            else
            {
                alc_rpt_customers.EmptyText  = "<tr><td style='text-align:center'>暂无客户信息</td></tr>";
                this.ExportPageInfo1.Visible = false;
            }

            //清除对象
            myCustomerList = null;
            myCustomerBll  = null;
            cityBll        = null;
            provinceBll    = null;
            tourOrderBLL   = null;
            //恢复查询条件
            mc_pc.SetProvinceId     = province;
            mc_pc.SetCityId         = city;
            mc_txtAdmin.Value       = admin;
            mc_txtBrand.Value       = brand;
            mc_txtCompanyName.Value = companyName;
        }