2023-06-30

This commit is contained in:
李鹏飞 2023-06-30 10:47:07 +08:00
parent ccc16a5994
commit 6488cc6981
4 changed files with 60 additions and 11 deletions

Binary file not shown.

View File

@ -11,6 +11,10 @@
color: red;
font-weight: bold;
}
.customlabelNum span {
color: blue;
font-weight: bold;
}
</style>
</head>
<body>
@ -95,10 +99,13 @@
</f:Toolbar>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:Label ID="lbSinglePreRate" CssClass="customlabel" runat="server" Label="主项预制率(达因)" LabelWidth="140"></f:Label>
<f:Label ID="lbSinglePreRateByWeldJoint" CssClass="customlabel" runat="server" Label="主项预制率(焊口)" LabelWidth="140"></f:Label>
<f:Label ID="lbSinglePreRate" CssClass="customlabel" runat="server" Label="主项预制率(达因)" LabelWidth="140"></f:Label>
<f:Label ID="lbShopSize" CssClass="customlabel" runat="server" Label="预制口达因" LabelWidth="100"></f:Label>
<f:Label ID="lbFiledSize" CssClass="customlabel" runat="server" Label="安装口达因" LabelWidth="100"></f:Label>
<f:Label ID="Label2" runat="server" LabelWidth="100"></f:Label>
<f:Label ID="lbSinglePreRateByWeldJoint" CssClass="customlabelNum" runat="server" Label="主项预制率(焊口)" LabelWidth="140"></f:Label>
<f:Label ID="lbShopSum" CssClass="customlabelNum" runat="server" Label="预制口数量" LabelWidth="140"></f:Label>
<f:Label ID="lbFiledSum" CssClass="customlabelNum" runat="server" Label="安装口数量" LabelWidth="140"></f:Label>
</Items>
</f:Toolbar>

View File

@ -26,6 +26,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage
/// 安装口总达因
/// </summary>
public static string FieldSumSize = "0";
/// <summary>
/// 预制口总数量
/// </summary>
public static string ShopSum = "0";
/// <summary>
/// 安装口总数量
/// </summary>
public static string FieldSum = "0";
protected void Page_Load(object sender, EventArgs e)
{
@ -253,6 +262,8 @@ namespace FineUIPro.Web.HJGL.WeldingManage
}
this.lbShopSize.Text = ShopSumSize;
this.lbFiledSize.Text = FieldSumSize;
this.lbShopSum.Text = ShopSum;
this.lbFiledSum.Text = FieldSum;
}
}
@ -462,6 +473,8 @@ namespace FineUIPro.Web.HJGL.WeldingManage
where x.JointAttribute == "安装口"
select x
).Count();
ShopSum = ShopNum.ToString();
FieldSum = FieldSum.ToString();
AllNum = ShopNum + FieldNum;
if (AllNum > 0)
@ -543,6 +556,8 @@ namespace FineUIPro.Web.HJGL.WeldingManage
where x.JointAttribute == "安装口"
select x
).Count();
ShopSum = ShopNum.ToString();
FieldSum = FieldSum.ToString();
AllNum = ShopNum + FieldNum;
if (AllNum > 0)

View File

@ -221,15 +221,6 @@ namespace FineUIPro.Web.HJGL.WeldingManage
/// </remarks>
protected global::FineUIPro.Label lbSinglePreRate;
/// <summary>
/// lbSinglePreRateByWeldJoint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbSinglePreRateByWeldJoint;
/// <summary>
/// lbShopSize 控件。
/// </summary>
@ -248,6 +239,42 @@ namespace FineUIPro.Web.HJGL.WeldingManage
/// </remarks>
protected global::FineUIPro.Label lbFiledSize;
/// <summary>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// lbSinglePreRateByWeldJoint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbSinglePreRateByWeldJoint;
/// <summary>
/// lbShopSum 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbShopSum;
/// <summary>
/// lbFiledSum 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbFiledSum;
/// <summary>
/// Grid1 控件。
/// </summary>