" +
- "
" +
- "
" +
- "
" +
- "
";
- private void getCldh()
- {
- //管道材料
- var pid = BLL.ProjectService.GetCLProjectCodeByProjectId(ProjectId).ToString();
- var list = Funs.DB.CLGL_PipelineMaterialSumList.Where(x => x.Type == "M" && x.ProjectId == pid);
- foreach (var item in list)
- {
- gdclHtml += "
";
- gdclHtml += "" + item.C1 + "";
- gdclHtml += "" + (string.IsNullOrEmpty(item.C2) ? "0" : item.C2) + "";
- gdclHtml += "" + (string.IsNullOrEmpty(item.C4) ? "0" : item.C4) + "";
- gdclHtml += "" + (string.IsNullOrEmpty(item.C5) ? "0%" : item.C5) + "";
- gdclHtml += "" + (string.IsNullOrEmpty(item.C6) ? "0" : item.C6) + "";
- gdclHtml += "" + (string.IsNullOrEmpty(item.C7) ? "0%" : item.C7) + "";
- gdclHtml += "" + (string.IsNullOrEmpty(item.C8) ? "0" : item.C8) + "";
- gdclHtml += "" + (string.IsNullOrEmpty(item.C9) ? "0%" : item.C9) + "";
- gdclHtml += "
";
- }
-
- //设备材料
- var SbclList = Funs.DB.CLGL_ContractListSum.Where(x => x.C1 == "设备" && x.ProjectId == pid);
- foreach (var item in SbclList)
- {
- sbclHtml += "
";
- double SbcllCgl = 0.0;
- double Sbdhs = 0.0;
- if (string.IsNullOrEmpty(item.C7))
- {
- SbcllCgl += 0;
- Sbdhs += 0;
- }
- else
- {
- SbcllCgl += Convert.ToDouble(item.C7);
- Sbdhs += Convert.ToDouble(item.C9);
- }
- sbclHtml += "" + item.C2 + "";
- sbclHtml += "" + SbcllCgl + "";
- sbclHtml += "" + item.C7 + "";
- sbclHtml += "" + Sbdhs + "";
- //百分比
- var dhbfb = "0%";
- if (SbcllCgl + Sbdhs != 0)
- {
- dhbfb = String.Format("{0:N2}", 100.0 * Sbdhs / (Sbdhs + SbcllCgl), 2) + "%";
-
- }
- sbclHtml += "" + dhbfb + "";
- sbclHtml += "
";
- }
- }
- #endregion
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainProject2.aspx.cs" Inherits="FineUIPro.Web.common.mainProject2" %>
+
+
+
+
+
+
+
项目级首页(新)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs b/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs
index b9172d49..66316df1 100644
--- a/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs
+++ b/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs
@@ -862,7 +862,7 @@ namespace FineUIPro.Web.common
div_grlc.InnerHtml = getDataList.Count().ToString();
foreach (var item in getDataList)
{
- returnDbHtml += "
" + item.MenuName + "" + item.Content + "" +
+ returnDbHtml += "" + item.MenuName + "" + item.Content + "" +
item.DataTime.ToString().Replace('/', '-').Split(' ')[0] + "
";
}
}