From 76ef0f16a086a626c4ed557d6553a355c6c2218f Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 28 五月 2025 17:18:33 +0800
Subject: [PATCH] 生产
---
DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
index 7e15eca..3a34c9e 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
@@ -40,6 +40,7 @@
toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
+ toolBarMenu1.xlsInService = "XlsInItemJyxm&" + strType;
//绫诲瀷锛宨qc,ipqc宸℃锛宨pqc棣栨鏌�,fqc锛宨qc鐨勬牱鍝佸�奸粯璁や负5锛屽叾瀹冧负1
txt_ftype.Text = strType;
if (strType == "iqc")
@@ -48,6 +49,11 @@
if (strType != "ipqc宸℃")
{
gvMx1.Columns["stationName"].Visible = false;
+ }
+ //濡傛灉鏄痠pqc棣栨锛屾樉绀鸿璇�
+ if (strType != "ipqc棣栨")
+ {
+ gvMx1.Columns["isRzxx"].Visible = false;
}
//鏂拌鍒濆鍊�
this.gvMx1.InitNewRow += (s, e) =>
@@ -251,6 +257,13 @@
private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e)
{
toolBarMenu1.isSetBtn = false;
+ string _orgId = txt_fSubsidiary.GetId();
+ if (string.IsNullOrEmpty(_orgId))
+ {
+ MsgHelper.Warning("璇烽�夋嫨浣跨敤缁勭粐锛�");
+ txt_fSubsidiary.Focus();
+ return;
+ }
string _ItemId = txt_itemId.GetId();
if (string.IsNullOrEmpty(_ItemId))
{
@@ -312,6 +325,10 @@
string _Fstand = row["Fstand"].ToString();
string _FupAllow = row["FupAllow"].ToString();
string _FdownAllow = row["FdownAllow"].ToString();
+ string _isRzxxTxt = row["isRzxx"].ToString();
+ bool _isRzxx = false;
+ if (_isRzxxTxt == "1" || _isRzxxTxt.ToUpper() == "true".ToUpper())
+ _isRzxx = true;
//鍋囧涓変釜閮戒负绌洪�氳繃
if (string.IsNullOrEmpty(_Fstand) && string.IsNullOrEmpty(_FupAllow) && string.IsNullOrEmpty(_FdownAllow))
{
@@ -352,6 +369,7 @@
FdownAllow = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["FdownAllow"].ToString()),
ypsl = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["ypsl"].ToString()),
stationName = row["stationName"].ToString(),
+ isRzxx = _isRzxx,
});
}
}
@@ -794,5 +812,6 @@
}
}
#endregion
+
}
}
\ No newline at end of file
--
Gitblit v1.9.3