Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!base.IsPostBack)
     {
         PubFunction.BindMemLevelSelect(this.sltMemLevelID, true);
         PubFunction.BindShopSelect(this._UserShopID, this.sltShop, true);
         PubFunction.BindShopSelect(this._UserShopID, this.sltShop, true);
         PubFunction.AgainPrint(ref this.lblPrintTitle, ref this.lblPrintFoot, this._UserShopID);
         this.txtPoint.Value        = "0";
         this.txtStartTime.Value    = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd");
         this.txtEndTime.Value      = DateTime.Now.ToString("yyyy-MM-dd");
         this.txtMemStartTime.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd");
         this.txtMemEndTime.Value   = DateTime.Now.ToString("yyyy-MM-dd");
         if (PubFunction.curParameter.dataAuthority != 0)
         {
             if (this._UserShopID > 1)
             {
                 this.sltShop.Value = this._UserShopID.ToString();
             }
         }
         this.BindPointChange();
         this.Get_ParameterList(this.QueryCondition());
         this.PointNum.Value = PubFunction.GetPointNum("JFBDBB");
     }
 }
Exemple #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!base.IsPostBack)
     {
         PubFunction.BindMemLevelSelect(this.sltMemLevelID, true);
         PubFunction.BindShopSelect(this._UserShopID, this.sltMRShop, true);
         PubFunction.BindShopSelect(this._UserShopID, this.sltSRShop, true);
         PubFunction.BindShopSelect(this._UserShopID, this.sltShop, true);
         PubFunction.BindShopSelect(this._UserShopID, this.sltShopChart, true);
         this.txtMoney.Value        = "0";
         this.txtStartTime.Value    = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd");
         this.txtEndTime.Value      = DateTime.Now.ToString("yyyy-MM-dd");
         this.txtMRStart.Value      = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd");
         this.txtMREnd.Value        = DateTime.Now.ToString("yyyy-MM-dd");
         this.txtSRStart.Value      = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd");
         this.txtSREnd.Value        = DateTime.Now.ToString("yyyy-MM-dd");
         this.txtMemStartTime.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd");
         this.txtMemEndTime.Value   = DateTime.Now.ToString("yyyy-MM-dd");
         if (PubFunction.curParameter.dataAuthority != 0)
         {
             if (this._UserShopID > 1)
             {
                 this.sltShop.Value = this._UserShopID.ToString();
                 this.sltShop.Attributes.Add("disabled", "disabled");
             }
         }
         this.BindRechargeMoney();
         PubFunction.AgainPrint(ref this.lblPrintTitle, ref this.lblPrintFoot, this._UserShopID);
         this.PointNum.Value  = PubFunction.GetPointNum("JFBDBB");
         this.Revokable.Value = PubFunction.GetControlVisit(this._UserAuthority, "gvRptMemRecharge_hyRevoke", 21).ToString();
     }
 }