Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
        private void BindDropdown()
        {
            var dic = new Dictionary <DropDownList, string>();

            dic[this.CardTypeID] = "VipCategory";
            AspNetHelper.BindDropDown(dic);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 绑定省份下拉列表
        /// </summary>
        protected void BindDDLProvince()
        {
            Dictionary <DropDownList, string> requestList = new Dictionary <DropDownList, string>();

            requestList[ddlProvince] = "CustomerArea"; // 区域
            AspNetHelper.BindDropDown(requestList);
            ddlProvince.Items[0].Text = "全部";
        }
Ejemplo n.º 4
0
        private void BindExplodedPointList()
        {
            ExplodedPointList.Items.Clear();
            Dictionary <DropDownList, string> dictionary = new Dictionary <DropDownList, string>();

            dictionary[this.ExplodedPointList] = "ConsumerBusinessType";
            AspNetHelper.BindDropDown(dictionary);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// 绑定省份下拉列表
        /// </summary>
        protected void BindDDLProvince()
        {
            Dictionary <DropDownList, string> requestList = new Dictionary <DropDownList, string>();

            requestList[CustomerCategoryID] = "CustomerType"; // 客户类型
            AspNetHelper.BindDropDown(requestList);
            CustomerCategoryID.Items[0].Text = "全部";
        }
Ejemplo n.º 6
0
        private void BindDropDown()
        {
            var requestList = new Dictionary <DropDownList, string>();

            requestList[this.CustomerSourceID]   = "CustomerSource";   // 客户来源
            requestList[this.CustomerBusinessID] = "CustomerBusiness"; // 客户行业
            AspNetHelper.BindDropDown(requestList);
        }
Ejemplo n.º 7
0
        private void BindDropDownList()
        {
            AspNetHelper.BindBussinessPerson(this.AssignUserID);
            var request = new Dictionary <DropDownList, string>();

            request[this.TaskProcessID] = "TaskProcess";
            AspNetHelper.BindDropDown(request);
        }
Ejemplo n.º 8
0
        private void BindDropDownList()
        {
            var request = new Dictionary <DropDownList, string>();

            request[this.AgreementTypeID] = "AgreementType";
            AspNetHelper.BindDropDown(request);

            AspNetHelper.BindCustomer(this.CustomerID);
        }
Ejemplo n.º 9
0
        private void BindDropDown()
        {
            var dic = new Dictionary <DropDownList, string>();

            dic[this.StateID]    = "CompanyAction_State";
            dic[this.EvaluateID] = "CompanyAction_Evaluate";

            AspNetHelper.BindDropDown(dic);
        }
Ejemplo n.º 10
0
        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);
        }
Ejemplo n.º 11
0
        private void BindDropDown()
        {
            var dic = new Dictionary <DropDownList, string>();

            dic[this.ChannelID]  = "Advertising_Channel";
            dic[this.StateID]    = "Advertising_State";
            dic[this.EvaluateID] = "Advertising_Evaluate";

            AspNetHelper.BindDropDown(dic);
        }
Ejemplo n.º 12
0
        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);
        }
Ejemplo n.º 13
0
        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);
        }
Ejemplo n.º 14
0
        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);
        }
Ejemplo n.º 15
0
        private void BindExplodedPointList()
        {
            //ExplodedPointList.Items.Clear();
            //CategoryItemService.FindCagegoryItem(20,true).Where(m => m.Deleted == false).OrderBy(
            //        m => m.OrderIndex).ToList().ForEach(
            //            item =>
            //            {
            //                ExplodedPointList.Items.Add(new ListItem(item.Name, item.Id.ToString()));
            //            });
            //ExplodedPointList.Items.Insert(0, new ListItem("无", "None"));

            ExplodedPointList.Items.Clear();
            Dictionary <DropDownList, string> dictionary = new Dictionary <DropDownList, string>();

            dictionary[this.ExplodedPointList] = "CompanyAction_Evaluate";
            AspNetHelper.BindDropDown(dictionary);
        }
Ejemplo n.º 16
0
        /// <summary>
        /// 绑定下拉框
        /// </summary>
        private void BindDropDown()
        {
            Dictionary <DropDownList, string> requestList = new Dictionary <DropDownList, string>();

            requestList[this.CustomerTypeParentId] = "CustomerType"; // 客户类型
            requestList[this.AreaParentId]         = "CustomerArea"; // 区域
            requestList[this.CagegoryTypeId]       = "VipCategory";  // 会员类型
            requestList[CreditRatingID]            = "CreditRating"; // 信用等级
            //requestList[this.BeliefID] = "Believe"; // 信仰
            //requestList[this.NationalitySateID] = "NationalitySate";
            requestList[this.RelationLevelID]    = "Customer_RelationLevel"; // 客户管理
            requestList[this.LevelSort]          = "Customer_LevelSort";     //认可程度
            requestList[this.CorpTypeID]         = "Customer_CorpType";
            requestList[this.CustomerSourceID]   = "CustomerSource";         // 客户来源
            requestList[this.CustomerBusinessID] = "CustomerBusiness";       // 客户行业
            AspNetHelper.BindDropDown(requestList);

            AspNetHelper.BindBussinessPerson(this.BelongPersonID);
        }
Ejemplo n.º 17
0
        /// <summary>
        /// 绑定销售人员下拉列表
        /// </summary>
        protected void BindSalesDDL()
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("ISCRM", 1);
            var dt = UserInfoService.GetByCondition(dict, "ID,OperatorName");

            ddlSales.Items.Clear();
            ddlSales.Items.Add(new ListItem("全部", ""));
            foreach (DataRow row in dt.Rows)
            {
                ddlSales.Items.Add(new ListItem("" + row[1], "" + row[0]));
            }

            Dictionary <DropDownList, string> dictionary = new Dictionary <DropDownList, string>();

            dictionary[ContactState] = "ContractState";
            AspNetHelper.BindDropDown(dictionary);
        }
Ejemplo n.º 18
0
 private void BindDropDownList()
 {
     System.Collections.Generic.Dictionary <DropDownList, string> dic = new Dictionary <DropDownList, string>();
     dic[this.MsgTypeID] = "MessageCagetory";
     AspNetHelper.BindDropDown(dic);
 }