/// <summary>获取用户操作权限
        /// </summary>
        protected bool GetPowerOperationPoint()
        {
            const string PAGE_NAME = "MemberBalanceManage.aspx";
            const string AUDITING  = "MemberBalanceAuditing";

            return(WebControl.GetPowerOperationPoint(PAGE_NAME, AUDITING));
        }
 /// <summary>页面加载
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         const string PAGE_NAME = "GoodsStock.aspx";
         if (!WebControl.GetPowerOperationPoint(PAGE_NAME, "RecentInPrice"))
         {
             GridGoodsStock.MasterTableView.Columns.FindByUniqueName("RecentInPrice").Visible = false;
         }
         BindWarehouse();
         GetTreeGoodsClass();
     }
     else
     {
         RAM.ResponseScripts.Add("removeClass();");
     }
 }
        /// <summary> 取得用户操作权限
        /// </summary>
        protected bool GetPowerOperationPoint(string powerName)
        {
            string pageName = WebControl.FileName;

            return(WebControl.GetPowerOperationPoint(pageName, powerName));
        }
Beispiel #4
0
        /// <summary>
        /// 取得用户操作权限
        /// </summary>
        protected bool GetPowerOperationPoint(string powerName)
        {
            const string PAGE_NAME = "NewGoods.aspx";

            return(WebControl.GetPowerOperationPoint(PAGE_NAME, powerName));
        }