From a6a84e6f677447342e8c5984fdc0b52241b92ce3 Mon Sep 17 00:00:00 2001 From: yzh <snbbt@21cn.com> Date: 星期四, 30 六月 2022 01:20:34 +0800 Subject: [PATCH] 客户管理分配个性产品优化、返回URL优化 --- 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