Exemplo 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);
            }
        }
Exemplo n.º 2
0
        private void BindDropDownList()
        {
            AspNetHelper.BindBussinessPerson(this.AssignUserID);
            var request = new Dictionary <DropDownList, string>();

            request[this.TaskProcessID] = "TaskProcess";
            AspNetHelper.BindDropDown(request);
        }
Exemplo n.º 3
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);
        }
Exemplo n.º 4
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);
        }
Exemplo n.º 5
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);
        }
Exemplo n.º 6
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);
        }
Exemplo n.º 7
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);
        }
Exemplo n.º 8
0
 private void BindDropList()
 {
     AspNetHelper.BindCustomer(CustomerID);
     AspNetHelper.BindBussinessPerson(BusinessPeopleID);
 }