| | |
| | | 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(); |
| | | } |
| | | |
| | |
| | | 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; |
| | |
| | | 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; |