protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { string strTree = this.BindStaff("StaffListTree"); this.StaffList_ClassTree.InnerHtml = strTree; PubFunction.BindStaffClass(this._UserShopID, this.sltStaffClass, true); } }
protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { PubFunction.BindShopSelect(this._UserShopID, this.sltStaffShopID, true); PubFunction.BindShopSelect(this._UserShopID, this.sltShop, true); PubFunction.BindStaffClass(this._UserShopID, this.sltStaffClassID, true); this.txtStaffStartTime.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd"); this.txtStaffEndTime.Value = DateTime.Now.ToString("yyyy-MM-dd"); if (PubFunction.curParameter.dataAuthority != 0) { if (this._UserShopID > 1) { this.sltStaffShopID.Value = this._UserShopID.ToString(); this.sltStaffShopID.Attributes.Add("disabled", "disabled"); } } 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"); this.BindStaffTotalMoney(); this.BindStaffMoneyList(this.QueryCondition()); } }