protected void Page_Load(object sender, EventArgs e)
        {
            if (this.userid > 0)
            {
                if (CheckUserPopedoms("X") || CheckUserPopedoms("7-2-3-8"))
                {
                    sName    = HTTPRequest.GetString("sname");
                    sID      = HTTPRequest.GetInt("sid", 0);
                    pName    = HTTPRequest.GetString("pname");
                    pID      = HTTPRequest.GetInt("pid", 0);
                    pBarcode = HTTPRequest.GetString("pbarcode");
                    bDate    = Convert.ToDateTime(HTTPRequest.GetString("bDate"));
                    eDate    = Convert.ToDateTime(HTTPRequest.GetString("eDate"));
                    Act      = HTTPRequest.GetString("Act");

                    gList = CostDetails.getGiftCost_details(sID, pID, bDate, eDate);
                }
                else
                {
                    AddErrLine("权限不足!");
                }
            }
            else
            {
                AddErrLine("请先登录!");
                SetBackLink("login.aspx?referer=" + Utils.UrlEncode(Utils.GetUrlReferrer()));
                SetMetaRefresh(1, "login.aspx?referer=" + Utils.UrlEncode(Utils.GetUrlReferrer()));
            }
        }