username@email.com
5 天以前 a1e963756360f8bd3938aa560b661d0400165c06
CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffEdit.aspx.cs
@@ -77,7 +77,7 @@
            this.selDepartmentId.DataValueField = "Keyid";
            this.selDepartmentId.DataBind();
            this.selRole.DataSource = bll_OA_FirmRoleBLL.SelectList(CurrentUser.MemberId);
            this.selRole.DataSource = bll_OA_FirmRoleBLL.SelectList(CurrentUser.MemberId).Where(x=>x.IsUsed == true);
            this.selRole.DataTextField = "RoleName";
            this.selRole.DataValueField = "Keyid";
            this.DataBind();
@@ -152,7 +152,7 @@
            this.selDepartmentId.DataValueField = "Keyid";
            this.selDepartmentId.DataBind();
            this.selRole.DataSource = bll_OA_FirmRoleBLL.SelectList(CurrentUser.MemberId);
            this.selRole.DataSource = bll_OA_FirmRoleBLL.SelectList(CurrentUser.MemberId).Where(x => x.IsUsed == true); ;
            this.selRole.DataTextField = "RoleName";
            this.selRole.DataValueField = "Keyid";
            this.DataBind();
@@ -263,8 +263,9 @@
                    }
                    else
                    {
                        this.txtSM_Birthday.Visible = false;
                        this.spanSM_Birthday.InnerText = m_OA_Staff.SM_Birthday.Value.ToString("yyyy-MM-dd");
                        this.txtSM_Birthday.Value = m_OA_Staff.SM_Birthday.Value.ToString("yyyy-MM-dd");
                        //this.txtSM_Birthday.Visible = false;
                        // this.spanSM_Birthday.InnerText = m_OA_Staff.SM_Birthday.Value.ToString("yyyy-MM-dd");
                    }
                    this.txtSM_IDCardNum.Value = m_OA_Staff.SM_IDCardNum.ToString2();
                    if (!string.IsNullOrEmpty(m_OA_Staff.SM_IDCardPic) && System.IO.File.Exists(HttpContext.Current.Server.MapPath("~" + m_OA_Staff.SM_IDCardPic)))
@@ -279,8 +280,8 @@
                    }
                    if (!string.IsNullOrEmpty(m_OA_Staff.SM_CertificateType.Trim(',')))
                    {
                        OldFileds = m_OA_Staff.SM_CertificateType.ToString2().Split(',');
                        NowFileds = m_OA_Staff.SM_CertificatePic.ToString2().Split(',');
                        OldFileds = m_OA_Staff.SM_CertificateType.ToString2().Trim(',').Split(',');
                        NowFileds = m_OA_Staff.SM_CertificatePic.ToString2().Trim(',').Split(',');
                    }
                    OLDProvince = m_OA_Staff.SM_NowProvince.ToString2();
                    OLDCity = m_OA_Staff.SM_NowCity.ToString2();