From f2fa318161407b936f70aa3b918dd38f24ea9a88 Mon Sep 17 00:00:00 2001 From: yzh <snbbt@21cn.com> Date: 星期一, 13 六月 2022 07:08:28 +0800 Subject: [PATCH] 数据字典表相关功能 系统账号管理优化 订单管理 API账号管理 客户信息管理 --- web/web/GwProduct.aspx.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/web/web/GwProduct.aspx.cs b/web/web/GwProduct.aspx.cs index b0c391a..3de30a1 100644 --- a/web/web/GwProduct.aspx.cs +++ b/web/web/GwProduct.aspx.cs @@ -9,6 +9,10 @@ using System.Web.Profile; using System.Web.SessionState; +/** + * 浜у搧绠$悊 + * + */ public partial class _GwProduct : PageBase<SysUser>, IRequiresSessionState { protected List<GwProduct> GwProductList; @@ -86,7 +90,7 @@ StringBuilder stringBuilder = new StringBuilder(); if (this.GwProductClassList.Count == 0) return "<option value='0'>鏃�</option>"; - stringBuilder.AppendFormat("<option value=\"{0}\" >{1}</option>", (object)0, (object)"鏃�"); + stringBuilder.AppendFormat("<option value=\"{0}\" >{1}</option>", (object)"", (object)"鏃�"); foreach (GwProduct bean in this.GwProductClassList) { //鍋滅敤鐨勪骇鍝佸垎绫讳笉鍐嶆樉绀� @@ -101,9 +105,9 @@ } if (productId.Equals(bean.Id) ) - stringBuilder.AppendFormat("<option value=\"{0}\" selected>{0}-{1}</option>", (object)bean.Id, (object)bean.Name); + stringBuilder.AppendFormat("<option value=\"{0}\" selected>{1}</option>", (object)bean.Id, (object)bean.Name); else - stringBuilder.AppendFormat("<option value=\"{0}\">{0}-{1}</option>", (object)bean.Id, (object)bean.Name); + stringBuilder.AppendFormat("<option value=\"{0}\">{1}</option>", (object)bean.Id, (object)bean.Name); } return stringBuilder.ToString(); } -- Gitblit v1.9.1