//保存并跳转 protected void btnFulInBack_Click(object sender, EventArgs e) { EyouSoft.Model.CompanyStructure.CompanyDetailInfo model = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(SiteUserInfo.CompanyID); EyouSoft.Model.CompanyStructure.CompanyLogo logoModel = new EyouSoft.Model.CompanyStructure.CompanyLogo(); logoModel.ImagePath = Utils.GetFormValue("ctl00$Main$sfuLogo$hidFileName"); EyouSoft.Model.CompanyStructure.BusinessCertif busiModel = new EyouSoft.Model.CompanyStructure.BusinessCertif(); busiModel.LicenceImg = Utils.GetFormValue("ctl00$Main$sfuYyzzImg$hidFileName"); model.AttachInfo.BusinessCertif = busiModel; model.AttachInfo.CompanyLogo = logoModel; model.Remark = Utils.EditInputText(Request.Form["txaCompanyDetail"]); if (trCuperous.Visible) { //机票铜牌 model.AttachInfo.Bronze = Utils.GetFormValue("ctl00$Main$sfuCupreousImg$hidFileName"); } EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().UpdateSelf(model); if (string.IsNullOrEmpty(hfdBackUrl.Value)) { Response.Redirect("Login.aspx"); } else { Response.Redirect(hfdBackUrl.Value); } }
/// <summary> /// 获的公司证书信息 /// </summary> protected void GetCreditList(string CompanyId) { EyouSoft.Model.CompanyStructure.CompanyDetailInfo Model = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(CompanyId); bool isSetCertif = false; if (Model != null) { EyouSoft.Model.CompanyStructure.CompanyAttachInfo AttchInfo = Model.AttachInfo; if (AttchInfo != null) { EyouSoft.Model.CompanyStructure.BusinessCertif CertifModel = AttchInfo.BusinessCertif; if (CertifModel != null) { if (CertifModel.BusinessCertImg != "") { isSetCertif = true; AllCompanyCertif += string.Format("经营许可证:<a href='{0}' target='_blank'><img src='{0}' width='60px' height='30px'/></a><br/>", EyouSoft.Common.Domain.FileSystem + CertifModel.BusinessCertImg); } if (CertifModel.LicenceImg != "") { isSetCertif = true; AllCompanyCertif += string.Format("营业执照:<a href='{0}' target='_blank'><img src='{0}' width='60px' height='30px'/></a><br/>", EyouSoft.Common.Domain.FileSystem + CertifModel.LicenceImg); } if (CertifModel.TaxRegImg != "") { isSetCertif = true; AllCompanyCertif += string.Format("税务登记证:<a href='{0}' target='_blank'><img src='{0}' width='60px' height='30px'/></a><br/>", EyouSoft.Common.Domain.FileSystem + CertifModel.TaxRegImg); } } CertifModel = null; } AttchInfo = null; } if (!isSetCertif) { AllCompanyCertif = "该公司暂未上传证书"; } Model = null; }
/// <summary> /// 修改公司信息 /// </summary> protected void btnSave_Click(object sender, EventArgs e) { //省份ID int ProvinceId = EyouSoft.Common.Utils.GetInt(Request.Form["dropProvinceId"]); //城市ID int CityId = EyouSoft.Common.Utils.GetInt(Request.Form["dropCityId"]); //县区ID int CountyId = EyouSoft.Common.Utils.GetInt(Request.Form["dropCountyId"]); //公司名称 string txtCompanyName = Utils.InputText(this.txtCompanyName.Value.Trim()); //许可证号 string txtLicenseNumber = Utils.InputText(this.txtLicenseNumber.Value.Trim()); //名牌名称 string txtBrandName = Utils.InputText(this.txtBrandName.Value.Trim()); //用户名 string txtUserName = Utils.InputText(this.txtUserName.Value.Trim()); //密码 string NewPassWord = ""; if (!string.IsNullOrEmpty(this.txtPassWord.Value.Trim())) { NewPassWord = Utils.InputText(this.txtPassWord.Value.Trim()); } //联系人名称 string txtContactName = Utils.InputText(this.txtContactName.Value.Trim()); //联系电话 string txtContactTel = Utils.InputText(this.txtContactTel.Value.Trim()); //联系手机 string txtContactMobile = Utils.InputText(this.txtContactMobile.Value.Trim()); //传真 string txtContactFax = Utils.InputText(this.txtContactFax.Value.Trim()); //办公地点 string txtOfficeAddress = Utils.InputText(this.txtOfficeAddress.Value.Trim()); //MQ string txtContactQQ = Utils.InputText(this.txtContactQQ.Value.Trim(), 100); //MSN string txtContactMSN = Utils.InputText(this.txtContactMSN.Value.Trim()); //Email string txtContactEmail = Utils.InputText(this.txtContactEmail.Value.Trim()); //经营范围 string CompanyType = Utils.InputText(Request.Form["radManageArea"]); if (CompanyType == "") { //旅行社 CompanyType = Utils.InputText(Request.Form["ckCompanyType"]); //专线商时有销售城市及经营线路区域 } //公司介绍 string txtCompanyInfo = Utils.EditInputText(this.txtCompanyInfo.Value.Trim()); //业务优势 string txtBusinessSuperior = Utils.InputText(this.txtBusinessSuperior.Value.Trim()); #region 公司银行账户 string txtCompanyBackName = Utils.InputText(this.txtCompanyBackName.Value.Trim()); string txtCompanyBack = Utils.InputText(this.txtCompanyBack.Value.Trim()); string txtCompanyBackNumber = Utils.InputText(this.txtCompanyBackNumber.Value.Trim()); #endregion #region 个人银行账户 string[] txtBankAccountName = Request.Form.GetValues("txtBankAccountName"); string[] txtBankName = Request.Form.GetValues("txtBankName"); string[] txtAccountNumber = Request.Form.GetValues("txtAccountNumber"); #endregion EyouSoft.Model.CompanyStructure.CompanyArchiveInfo model = new EyouSoft.Model.CompanyStructure.CompanyArchiveInfo(); /*公司信息*/ model.ID = EditId; model.CompanyName = txtCompanyName; model.ProvinceId = ProvinceId; model.CityId = CityId; model.CountyId = CountyId; model.CompanyAddress = txtOfficeAddress; model.CompanyBrand = txtBrandName; model.License = txtLicenseNumber; model.Remark = txtCompanyInfo; model.ShortRemark = txtBusinessSuperior; /*证书管理 */ EyouSoft.Model.CompanyStructure.CompanyAttachInfo AttachInfo = new EyouSoft.Model.CompanyStructure.CompanyAttachInfo(); EyouSoft.Model.CompanyStructure.BusinessCertif Buiness = new EyouSoft.Model.CompanyStructure.BusinessCertif(); string LicenceImg = Request.Form["SingleFilelLicence$hidFileName"]; if (string.IsNullOrEmpty(LicenceImg) && this.hidOldLicenceImg.Value != "") { LicenceImg = this.hidOldLicenceImg.Value; } string BusinessCertImg = Request.Form["SingleFileBusinessCertImg$hidFileName"]; if (string.IsNullOrEmpty(BusinessCertImg) && this.hidOldBusinessCertImg.Value != "") { BusinessCertImg = this.hidOldBusinessCertImg.Value; } string TaxRegImg = Request.Form["SingleFileTaxRegImg$hidFileName"]; if (string.IsNullOrEmpty(TaxRegImg) && this.hidOldTaxRegImg.Value != "") { TaxRegImg = this.hidOldTaxRegImg.Value; } Buiness.LicenceImg = LicenceImg; Buiness.BusinessCertImg = BusinessCertImg; Buiness.TaxRegImg = TaxRegImg; AttachInfo.BusinessCertif = Buiness; Buiness = null; model.AttachInfo = AttachInfo; AttachInfo = null; EyouSoft.Model.CompanyStructure.UserAccount UserModel = new EyouSoft.Model.CompanyStructure.UserAccount(); #region 用户信息 /*用户信息*/ UserModel.UserName = txtUserName; UserModel.PassWordInfo.NoEncryptPassword = NewPassWord; #endregion model.AdminAccount = UserModel; UserModel = null; EyouSoft.Model.CompanyStructure.ContactPersonInfo ContactModel = new EyouSoft.Model.CompanyStructure.ContactPersonInfo(); #region 公司联系人信息 /* 公司联系人信息 */ ContactModel.ContactName = txtContactName; ContactModel.Tel = txtContactTel; ContactModel.Mobile = txtContactMobile; ContactModel.Fax = txtContactFax; ContactModel.QQ = txtContactQQ; ContactModel.MSN = txtContactMSN; ContactModel.Email = txtContactEmail; #endregion model.ContactInfo = ContactModel; ContactModel = null; #region 公司身份 /* 公司身份 */ EyouSoft.Model.CompanyStructure.CompanyRole RoleMode = new EyouSoft.Model.CompanyStructure.CompanyRole(); EyouSoft.Model.CompanyStructure.CompanyType TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.全部; //旅行社 if (CompanyType == "0") { string[] strType = Request.Form.GetValues("ckCompanyType"); for (int i = 0; i < strType.Length; i++) { if (strType[i] == "1") { TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.专线; string[] strSalelist = Request.Form.GetValues("ckSellCity"); if (strSalelist != null) { //设置销售城市 List <EyouSoft.Model.SystemStructure.CityBase> SaleCity = new List <EyouSoft.Model.SystemStructure.CityBase>(); for (int j = 0; j < strSalelist.Length; j++) { EyouSoft.Model.SystemStructure.CityBase item = new EyouSoft.Model.SystemStructure.CityBase(); item.ProvinceId = ProvinceId; item.CityId = EyouSoft.Common.Function.StringValidate.GetIntValue(strSalelist[j]); SaleCity.Add(item); item = null; } model.SaleCity = SaleCity; SaleCity = null; } //设置经营线路区域 string[] strAreaList = Request.Form.GetValues("checkbox_Area"); if (strAreaList != null) { List <EyouSoft.Model.SystemStructure.AreaBase> AreaList = new List <EyouSoft.Model.SystemStructure.AreaBase>(); for (int j = 0; j < strAreaList.Length; j++) { EyouSoft.Model.SystemStructure.AreaBase item = new EyouSoft.Model.SystemStructure.AreaBase(); item.AreaId = Convert.ToInt32(strAreaList[j]); AreaList.Add(item); item = null; } model.Area = AreaList; AreaList = null; } } if (strType[i] == "2") { TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.组团; } if (strType[i] == "3") { TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.地接; } RoleMode.SetRole(TypeEmnu); } } else { switch (CompanyType) { case "4": TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.景区; break; case "5": TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.酒店; break; case "6": TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.车队; break; case "7": TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.旅游用品店; break; case "8": TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.购物店; break; case "9": TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.机票供应商; break; case "10": TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.其他采购商; break; case "11": TypeEmnu = EyouSoft.Model.CompanyStructure.CompanyType.随便逛逛; break; } RoleMode.SetRole(TypeEmnu); } #endregion model.CompanyRole = RoleMode; RoleMode = null; List <EyouSoft.Model.CompanyStructure.BankAccount> BankList = new List <EyouSoft.Model.CompanyStructure.BankAccount>(); #region 银行账号 /* 公司银行账户信息 */ EyouSoft.Model.CompanyStructure.BankAccount BankCompanyModel = new EyouSoft.Model.CompanyStructure.BankAccount(); BankCompanyModel.AccountType = EyouSoft.Model.CompanyStructure.BankAccountType.公司; BankCompanyModel.BankAccountName = txtCompanyBackName; BankCompanyModel.BankName = txtCompanyBack; BankCompanyModel.AccountNumber = txtCompanyBackNumber; BankCompanyModel.CompanyID = EditId; BankList.Add(BankCompanyModel); BankCompanyModel = null; if (!string.IsNullOrEmpty(txtBankAccountName.ToString())) { /* 个人银行帐户信息 */ for (int i = 0; i < txtBankAccountName.Length; i++) { if (!string.IsNullOrEmpty(txtBankAccountName[i])) { EyouSoft.Model.CompanyStructure.BankAccount BankModel = new EyouSoft.Model.CompanyStructure.BankAccount(); BankModel.AccountType = EyouSoft.Model.CompanyStructure.BankAccountType.个人; BankModel.BankAccountName = txtBankAccountName[i]; BankModel.BankName = txtBankName[i]; BankModel.AccountNumber = txtAccountNumber[i]; BankModel.CompanyID = EditId; BankList.Add(BankModel); BankModel = null; } } } #endregion model.BankAccounts = BankList; BankList = null; bool Result = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().Update(model); if (Result) { if (EyouSoft.Common.Utils.GetQueryStringValue("type") == "list") { Response.Write("<script language='javascript'>alert('修改成功!');parent.Boxy.getIframeDialog('" + Request.QueryString["iframeid"] + "').hide();</script>"); } else { EyouSoft.Common.Function.MessageBox.ShowAndRedirect(this.Page, "修改成功!", returnUrl); } } else { EyouSoft.Common.Function.MessageBox.Show(this.Page, "修改失败!"); } model = null; }
/// <summary> /// 初始化公司信息 /// </summary> protected void GetCompanyInfo() { EyouSoft.Model.CompanyStructure.CompanyDetailInfo Model = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(EditId); if (Model != null) { BindProvince(); BindCity(); BindCounty(); //省份 城市 if (Model.ProvinceId > 0) { this.Page.ClientScript.RegisterStartupScript(this.GetType(), Guid.NewGuid().ToString(), "SetProvince('" + Model.ProvinceId + "');ChangeList('" + this.dropCityId.ClientID + "','" + Model.ProvinceId + "');", true); if (Model.CityId > 0) { this.Page.ClientScript.RegisterStartupScript(this.GetType(), Guid.NewGuid().ToString(), "SetCity('" + Model.CityId + "');ChangeCountyList('" + this.dropCountyId.ClientID + "','" + Model.CityId + "','" + this.dropProvinceId.ClientID + "');", true); if (Model.CountyId > 0) { this.Page.ClientScript.RegisterStartupScript(this.GetType(), Guid.NewGuid().ToString(), "SetCounty('" + Model.CountyId + "');", true); } } } this.txtCompanyName.Value = Model.CompanyName; this.txtLicenseNumber.Value = Model.License; this.txtUserName.Value = Model.AdminAccount.UserName; this.txtContactName.Value = Model.ContactInfo.ContactName; //引荐单位 this.labCommendCompany.InnerText = Model.CommendPeople; this.txtContactTel.Value = Model.ContactInfo.Tel; this.txtContactMobile.Value = Model.ContactInfo.Mobile; this.txtContactFax.Value = Model.ContactInfo.Fax; this.txtContactEmail.Value = Model.ContactInfo.Email; this.hidContactEmail.Value = Model.ContactInfo.Email; this.txtBrandName.Value = Model.CompanyBrand; this.txtOfficeAddress.Value = Model.CompanyAddress; this.txtContactQQ.Value = Model.ContactInfo.QQ; this.txtContactMSN.Value = Model.ContactInfo.MSN; this.txtCompanyInfo.Value = Model.Remark; this.txtBusinessSuperior.Value = Model.ShortRemark; //经营范围 EyouSoft.Model.CompanyStructure.CompanyType[] TypeItems = Model.CompanyRole.RoleItems; bool isManage = CheckMasterGrant(EyouSoft.Common.YuYingPermission.会员管理_管理该栏目); string TypeId = ""; #region 公司类型 for (int i = 0; i < TypeItems.Length; i++) { if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.专线) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.旅行社汇总管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.旅行社汇总管理_修改, true); return; } TypeId = "1"; } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.组团) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.旅行社汇总管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.旅行社汇总管理_修改, true); return; } if (TypeId != "") { TypeId = TypeId + ",2"; } else { TypeId = "2"; } } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.地接) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.旅行社汇总管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.旅行社汇总管理_修改, true); return; } if (TypeId != "") { TypeId = TypeId + ",3"; } else { TypeId = "3"; } } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.景区) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.景区汇总管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.景区汇总管理_修改, true); return; } TypeId = "4"; } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.酒店) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.酒店汇总管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.酒店汇总管理_修改, true); return; } TypeId = "5"; } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.车队) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.车队汇总管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.车队汇总管理_修改, true); return; } TypeId = "6"; } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.旅游用品店) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.旅游用品店汇总管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.旅游用品店汇总管理_修改, true); return; } TypeId = "7"; } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.购物店) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.购物店汇总管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.购物店汇总管理_修改, true); return; } TypeId = "8"; } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.机票供应商) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.机票供应商管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.机票供应商管理_修改, true); return; } TypeId = "9"; } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.其他采购商) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.其他采购商管理_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.其他采购商管理_修改, true); return; } TypeId = "10"; } else if (TypeItems[i] == EyouSoft.Model.CompanyStructure.CompanyType.随便逛逛) { if (!isManage || !CheckMasterGrant(EyouSoft.Common.YuYingPermission.随便逛逛_修改)) { Utils.ResponseNoPermit(EyouSoft.Common.YuYingPermission.随便逛逛_修改, true); return; } TypeId = "11"; } } #endregion EyouSoft.Common.Function.MessageBox.ResponseScript(this.Page, string.Format("Edit.SetCompanyType('{0}');", TypeId)); if (TypeId.Contains("1")) //专线商 { //销售城市 IList <EyouSoft.Model.SystemStructure.CityBase> SaleCityList = Model.SaleCity; StringBuilder MySaleCity = new StringBuilder(); if (SaleCityList != null && SaleCityList.Count > 0) { int Count = 0; foreach (EyouSoft.Model.SystemStructure.CityBase item in SaleCityList) { Count++; if (Count % 13 == 0) { MySaleCity.Append("<br/>"); } MySaleCity.AppendFormat("<input type='checkbox' id='SaleCity_{0}' value='{0}' checked='checked' name='ckSellCity'/><label for='SaleCity_{0}'>{1}</label>", item.CityId, item.CityName); } } SaleCityList = null; //输入的销售城市 string strSaleCity = EyouSoft.BLL.CompanyStructure.CompanyUnCheckedCity.CreateInstance().GetSaleCity(EditId); if (!string.IsNullOrEmpty(strSaleCity)) { OtherSaleCity = string.Format("<tr class=\"lr_hangbg\"><td align=\"right\" class=\"lr_shangbg\">待增加的销售城市:</td><td colspan=\"2\">{0}</td></tr>", strSaleCity); } //经营线路区域 IList <EyouSoft.Model.SystemStructure.AreaBase> AreaList = Model.Area; StringBuilder MyAreaList = new StringBuilder(); if (AreaList != null && AreaList.Count > 0) { foreach (EyouSoft.Model.SystemStructure.AreaBase item in AreaList) { MyAreaList.Append(item.AreaId + ","); } } EyouSoft.Common.Function.MessageBox.ResponseScript(this.Page, string.Format("Edit.GetSellCity(\"{0}\",'{1}');", MySaleCity.ToString(), MyAreaList.ToString())); AreaList = null; } //证书 EyouSoft.Model.CompanyStructure.BusinessCertif Buiness = Model.AttachInfo.BusinessCertif; if (Buiness != null) { string OldLicenceImg = Buiness.LicenceImg; string OldBusinessCertImg = Buiness.BusinessCertImg; string OldTaxRegImg = Buiness.TaxRegImg; if (!string.IsNullOrEmpty(OldLicenceImg)) { this.ltrLicenceImg.Text = string.Format("<a href='{0}' target='_blank'>己上传</a>", EyouSoft.Common.Domain.FileSystem + OldLicenceImg, OldLicenceImg); this.hidOldLicenceImg.Value = OldLicenceImg; } if (!string.IsNullOrEmpty(OldBusinessCertImg)) { this.ltrBusinessCertImg.Text = string.Format("<a href='{0}' target='_blank'>己上传</a>", EyouSoft.Common.Domain.FileSystem + OldBusinessCertImg, OldBusinessCertImg); this.hidOldBusinessCertImg.Value = OldBusinessCertImg; } if (!string.IsNullOrEmpty(OldTaxRegImg)) { this.ltrTaxRegImg.Text = string.Format("<a href='{0}' target='_blank'>己上传</a>", EyouSoft.Common.Domain.FileSystem + OldTaxRegImg, OldTaxRegImg); this.hidOldTaxRegImg.Value = OldTaxRegImg; } } Buiness = null; //公司银行帐户 List <EyouSoft.Model.CompanyStructure.BankAccount> BankList = new List <EyouSoft.Model.CompanyStructure.BankAccount>(); BankList = Model.BankAccounts; IList <EyouSoft.Model.CompanyStructure.BankAccount> oneselfBank = new List <EyouSoft.Model.CompanyStructure.BankAccount>(); if (BankList != null && BankList.Count > 0) { foreach (EyouSoft.Model.CompanyStructure.BankAccount Bank in BankList) { if (Bank.AccountType == EyouSoft.Model.CompanyStructure.BankAccountType.公司) { this.txtCompanyBackName.Value = Bank.BankAccountName; this.txtCompanyBack.Value = Bank.BankName; this.txtCompanyBackNumber.Value = Bank.AccountNumber; } else { oneselfBank.Add(Bank); } } } if (oneselfBank != null && oneselfBank.Count > 0) { this.RepeaterBank.DataSource = oneselfBank; this.RepeaterBank.DataBind(); } oneselfBank = null; BankList = null; } else { EyouSoft.Common.Function.MessageBox.ShowAndRedirect(this.Page, "未找到该会员信息!", returnUrl); return; } Model = null; }