private void BindDropDownList() { if (this.IsPay) { AspNetHelper.BindCooperation(this.CustomerID); } else { AspNetHelper.BindCustomer(this.CustomerID); } this.StateId.Items.Clear(); this.StateId.Items.AddRange(new ListItem[] { new ListItem() { Text = "是", Value = "1" }, new ListItem() { Text = "否", Value = "0", Selected = true } }); AspNetHelper.BindBussinessPerson(this.ChargePersonID); if (this.IsPay) { Dictionary <DropDownList, string> request = new Dictionary <DropDownList, string>(); request[FinancialPayTypeID] = "FinancialPayType"; AspNetHelper.BindDropDown(request); } }
private void BindDropList() { var dic = new Dictionary <DropDownList, string>(); dic.Add(this.State, "CustomerDiscussState"); AspNetHelper.BindDropDown(dic); AspNetHelper.BindCustomer(this.CustomerID); AspNetHelper.BindBussinessPerson(this.BusinessPeopleID); }
private void BindDropDownList() { var request = new Dictionary <DropDownList, string>(); request[this.AgreementTypeID] = "AgreementType"; AspNetHelper.BindDropDown(request); AspNetHelper.BindCustomer(this.CustomerID); }
private void BindDropList() { var dic = new Dictionary <DropDownList, string>(); dic[this.DiscountType] = "Customer_DiscountType"; // 打折方式 dic[ScoreRuleID] = "Customer_ScoreRule"; // 积分规则 dic[ConsumerBusinessType] = "ConsumerBusinessType"; // 消费类型 AspNetHelper.BindDropDown(dic); AspNetHelper.BindBussinessPerson(BussinessPersonID); AspNetHelper.BindCustomer(this.CustomerID); }
private void BindDropDownList() { AspNetHelper.BindCustomer(this.CustomerID); AspNetHelper.BindBussinessPerson(this.SignPersonID); this.SettleStateID.Items.Clear(); this.SettleStateID.Items.AddRange(AspNetHelper.GetFieldDescription(typeof(SettleState))); // 合同状态 Dictionary <DropDownList, string> dic = new Dictionary <DropDownList, string>(); dic[this.StateId] = "ContractState"; AspNetHelper.BindDropDown(dic); }
private void BindDropDown() { AspNetHelper.BindCustomer(this.CustomerID); var dic = new Dictionary <DropDownList, string>(); dic[this.SuggestTypeID] = "SuggestType"; dic[this.SolveTypeID] = "SolveType"; AspNetHelper.BindDropDown(dic); AspNetHelper.BindBussinessPerson(HandlerPersonID); AspNetHelper.BindBussinessPerson(DealPersonID); }
private void BindDropList() { AspNetHelper.BindCustomer(CustomerID); AspNetHelper.BindBussinessPerson(BusinessPeopleID); }