Пример #1
0
 /// <summary>
 /// 加载拜访记录修改信息
 /// </summary>
 public void LoadUpdateCRM_Visit()
 {
     tbCusCode.Text       = cv.CusId.ToString();
     tbCusName.Text       = ccl.GetCusName((Int32)cv.CusId);
     tbContactName.Text   = conl.GetConName((Int32)cv.ConId);
     tbVTitle.Text        = cv.VTitle;
     tbContent.Text       = cv.VContent;
     cbVType.Text         = cv.VType;
     dtVPlanDate.Text     = cv.VPlanDate.ToString();
     dtVCompleteDate.Text = cv.VCompleteDate.ToString();
 }
Пример #2
0
        /// <summary>
        /// 记载修改表单联系人信息
        /// </summary>
        public void LoadUpdateContact()
        {
            tbName.Text     = cct.Name;
            tbDeptName.Text = cct.DeptName;
            tbPosition.Text = cct.Position;
            tbMobile.Text   = cct.Mobile;
            int cusid = Convert.ToInt32(cct.CusId);

            if (cusid > 0)
            {
                tbCusName.Text = cusl.GetCusName(cusid);
            }
            cbGender.Text = cct.Gender;
            tbJiGuan.Text = cct.JiGuan;
            tbWX.Text     = cct.WX;
            tbEmail.Text  = cct.Email;
        }