From a6991f8a876a8bd7c04d94a125c2ef68c2e2e2d2 Mon Sep 17 00:00:00 2001
From: gaofei1985 <181547018@qq.com>
Date: Mon, 23 Nov 2026 09:18:51 +0800
Subject: [PATCH] 1
---
.../HJGL/WeldingManage/WeldReportEdit.aspx.cs | 13 ++++++++-----
.../WeldingReport/WeldingWorkEfficiency.aspx | 2 +-
.../WeldingWorkEfficiencyTotalSizeShow.aspx | 18 ++++++++++++------
.../WeldingWorkEfficiencyTotalSizeShow.aspx.cs | 3 ++-
4 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/HJGL_DS/FineUIPro.Web/HJGL/WeldingManage/WeldReportEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/WeldingManage/WeldReportEdit.aspx.cs
index 8fc18fd..34bd02a 100644
--- a/HJGL_DS/FineUIPro.Web/HJGL/WeldingManage/WeldReportEdit.aspx.cs
+++ b/HJGL_DS/FineUIPro.Web/HJGL/WeldingManage/WeldReportEdit.aspx.cs
@@ -344,7 +344,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
///
protected void btnSave_Click(object sender, EventArgs e)
{
- #region 焊丝焊条牌号不能为空
+ #region 焊丝牌号不能为空,当焊接方法为SMAW时可以不填写焊丝
JArray mergedData = Grid1.GetMergedData();
foreach (JObject mergedRow in mergedData)
{
@@ -356,11 +356,14 @@ namespace FineUIPro.Web.HJGL.WeldingManage
// ShowNotify("焊条牌号不能为空!", MessageBoxIcon.Warning);
// return;
//}
- var weldSilk = (from x in Funs.DB.View_WeldInfoDropDownLists where x.WeldTypeName.Contains("焊丝") && x.WeldName == values.Value("JOT_WeldSilk") select x).FirstOrDefault();
- if (weldSilk == null)
+ if (values.Value("WME_ID") != "SMAW")
{
- ShowNotify("焊丝牌号不能为空!", MessageBoxIcon.Warning);
- return;
+ var weldSilk = (from x in Funs.DB.View_WeldInfoDropDownLists where x.WeldTypeName.Contains("焊丝") && x.WeldName == values.Value("JOT_WeldSilk") select x).FirstOrDefault();
+ if (weldSilk == null)
+ {
+ ShowNotify("焊丝牌号不能为空!", MessageBoxIcon.Warning);
+ return;
+ }
}
}
#endregion
diff --git a/HJGL_DS/FineUIPro.Web/HJGL/WeldingReport/WeldingWorkEfficiency.aspx b/HJGL_DS/FineUIPro.Web/HJGL/WeldingReport/WeldingWorkEfficiency.aspx
index e8e5d07..078f696 100644
--- a/HJGL_DS/FineUIPro.Web/HJGL/WeldingReport/WeldingWorkEfficiency.aspx
+++ b/HJGL_DS/FineUIPro.Web/HJGL/WeldingReport/WeldingWorkEfficiency.aspx
@@ -78,7 +78,7 @@
+ Width="1200px" Height="500px">