username@email.com
2024-12-18 21a248a0cf76b6f05fcaac6f90975ef15ab607a1
CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs
@@ -54,7 +54,7 @@
            selCooperativeStateId.DataBind();
            selSuppliersLevelId.DataSource = _Sys_DictionaryBLL.GetDataByType("供应商级别");
            selSuppliersLevelId.DataBind();
            selSuppliersTypeId.DataSource = _Sys_DictionaryBLL.GetDataByType("供应商类别 ");
            selSuppliersTypeId.DataSource = _Sys_DictionaryBLL.GetDataByType("供应商类别 ").OrderBy(x=>x.LastUpdateTime);
            selSuppliersTypeId.DataBind();
        }
@@ -83,6 +83,7 @@
            this.txtOfficersMobile.Value = supplier.OfficersMobile;
            this.txtOfficersQQ.Value = supplier.OfficersQQ;
            this.txtBank.Value = supplier.Bank;
            this.txtHuming.Value = supplier.Huming;
            this.txtAccountID.Value = supplier.AccountID;
            this.txtPostcode.Value = supplier.Postcode;
            this.txtQQ.Value = supplier.QQ;
@@ -223,6 +224,15 @@
            supplier.Name = this.txtName.Value;
            supplier.OfficersMobile = this.txtOfficersMobile.Value;
            supplier.OfficersQQ = this.txtOfficersQQ.Value;
            if (!string.IsNullOrEmpty(this.txtHuming.Value))
            {
                supplier.Huming = this.txtHuming.Value;
            }
            else
            {
                supplier.Huming = this.txtName.Value;
            }
            supplier.Bank = this.txtBank.Value;
            supplier.AccountID = this.txtAccountID.Value;
            supplier.Postcode = this.txtPostcode.Value;