修改进度单位特殊字符保存问题

This commit is contained in:
2023-09-12 10:01:56 +08:00
parent ff5e933c9e
commit a0f38c57f3
3 changed files with 140 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PlanSet.aspx.cs" Inherits="FineUIPro.Web.JDGL.Check.PlanSet" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PlanSet.aspx.cs" Inherits="FineUIPro.Web.JDGL.Check.PlanSet" ValidateRequest="false" %>
<!DOCTYPE html>
@@ -110,6 +110,10 @@ namespace FineUIPro.Web.JDGL.Check
{
string weights = values.Value<string>("JDWeights");
string unit = values.Value<string>("Unit");
if (unit == "m&#179;")
{
unit = "m³";
}
string planProjectQuantity = values.Value<string>("PlanProjectQuantity");
string realProjectQuantity = values.Value<string>("RealProjectQuantity");
string planStartDate = values.Value<string>("PlanStartDate");