From 21a248a0cf76b6f05fcaac6f90975ef15ab607a1 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 18 十二月 2024 09:24:10 +0800 Subject: [PATCH] 公文纸,试卷 --- CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs index 73fcd00..fbe26e9 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs +++ b/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; -- Gitblit v1.9.1