protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                trdiscount.Visible = SOSOshop.BLL.PowerPass.isPass("008009016");
                if (!SOSOshop.BLL.PowerPass.isPass("008009001") && !SOSOshop.BLL.PowerPass.isPass("008009012"))
                {
                    SOSOshop.BLL.PromptInfo.Popedom("000000000000", "对不起,您没有查看的权限!");
                }
                DropDownList1.DataSource     = SOSOshop.Model.CompanyClass.GetList();
                DropDownList1.DataTextField  = "CompanyClassName";
                DropDownList1.DataValueField = "CompanyClassName";
                DropDownList1.DataBind();

                //绑定价格类型
                SOSOshop.BLL.DbBase db = new DbBase();
                db.ChangeDataCenter();
                DropDownList3.DataSource    = db.ExecuteTable("SELECT DISTINCT category from dbo.Price");
                DropDownList3.DataTextField = "category";
                DropDownList3.DataBind();
                DropDownList3.Items.Insert(0, new ListItem()
                {
                    Text = "请选择", Value = ""
                });

                if (ChangeHope.WebPage.PageRequest.GetQueryInt("uid") > 0)
                {
                    int memberId = ChangeHope.WebPage.PageRequest.GetQueryInt("uid");
                    ViewState["memberId"] = memberId;
                    GetAccountAndInfo(memberId);
                    SelectEditer();
                }
                else
                {
                    string p = "<span id=\"spanParents\"><span><br>&nbsp;<a href=\"javascript:void(0)\" title=\"点击添加其他单位\" onclick=\"addInc(this)\">添加</a>"
                               + "<span>&nbsp;<input name=\"ParentIncName\" type=\"text\" value=\"\" position=\"{x:235,y:110}\" onclick=\"selectParentWindow(this)\" style=\"height:18px;width:300px;cursor:pointer;color:black;\">"
                               + "<input type=\"hidden\" name=\"ParentId\" value=\"0\">"
                               + "</span></span></span>";
                    //this.DropDownList2.Items[1].Enabled = false;
                    //this.DropDownList2.Items[2].Enabled = false;
                    SelectEditer();      // 查询交易员
                    BindOutSellPerson(); //绑定外销人员
                }
            }
            //买家审核权限
            bool isCheckUp = SOSOshop.BLL.PowerPass.isPass("008009013");

            cb_resetPwd.Visible = isCheckUp;
            CheckUp_Div.Visible = isCheckUp;
        }