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 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.º 3
0
        private void BindDropDownList()
        {
            var request = new Dictionary <DropDownList, string>();

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

            AspNetHelper.BindCustomer(this.CustomerID);
        }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo n.º 7
0
 private void BindDropList()
 {
     AspNetHelper.BindCustomer(CustomerID);
     AspNetHelper.BindBussinessPerson(BusinessPeopleID);
 }