From 5a7f68bf4dbbdca1abbb939bd43e1fb695bc7c0b Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期六, 23 八月 2025 15:39:04 +0800
Subject: [PATCH] 数据过滤
---
DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs
index c27778e..30a2823 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs
@@ -53,7 +53,6 @@
return;
txt_suppId.getSuppler(orgId, _ucGys);
txt_fPurchaseDeptId.getSuppler(orgId, _ucBm);
- // txt_fPurchaserId.getSuppler();
};
//閫夋嫨闇�瑕佺殑鏄庣粏
btnSelect.Click += (s, e) =>
@@ -128,6 +127,8 @@
_row["remark"] = dym.remark;
_row["orderNo"] = dym.orderNo; //搴忓彿
_row["kcQty"] = dym.kcQty; //搴撳瓨鏁伴噺
+ _row["depotId"] = dym.depotId; //搴撳瓨鏁伴噺
+ _row["depotName"] = dym.depotName; //搴撳瓨鏁伴噺
_Table.Rows.Add(_row);
}
gcMx1.BindingContext = new BindingContext();
@@ -149,10 +150,7 @@
};
//婧愬崟浜嬩欢
txt_fHasLinkRad.SelectedIndex = 0;
- layItem1.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
- layItem2.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
- layItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
- layItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+ setSrm();
txt_fHasLinkRad.SelectedIndexChanged += (s, e) =>
{
setSrm();
@@ -343,7 +341,7 @@
txt_fRequireOrgId.IsReadly = true;
txt_fOwnerIdHead.IsReadly = true;
txt_fPurchaseDeptId.IsReadly = true;
- txt_fPurchaserId.IsReadly = true;
+ // txt_fPurchaserId.IsReadly = true;
}
/// <summary>
/// 鏂板浜嬩欢
@@ -377,7 +375,8 @@
string _xqzz = txt_fRequireOrgId.GetId();//闇�姹傜粍缁�
string _hz = txt_fOwnerIdHead.GetId();//璐т富
string _bm = txt_fPurchaseDeptId.GetId();//閮ㄩ棬
- string _ygbh = txt_fPurchaserId.GetId();//鍛樺伐
+ //string _ygbh = txt_fPurchaserId.GetId();//鍛樺伐
+ string _ygbh = "";
if (string.IsNullOrEmpty(_orgId))
{
MsgHelper.ShowError("璇烽�夋嫨缁勭粐锛�");
@@ -423,12 +422,12 @@
txt_fPurchaseDeptId.Focus();
return;
}
- if (string.IsNullOrEmpty(_ygbh))
- {
- MsgHelper.ShowError("璇烽�夋嫨鍛樺伐锛�");
- txt_fPurchaserId.Focus();
- return;
- }
+ //if (string.IsNullOrEmpty(_ygbh))
+ //{
+ // MsgHelper.ShowError("璇烽�夋嫨鍛樺伐锛�");
+ // txt_fPurchaserId.Focus();
+ // return;
+ //}
}
var _obj = new
{
@@ -758,14 +757,14 @@
{
layItem1.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
layItem2.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
- layItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+ // layItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
layItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
}
else
{
layItem1.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
layItem2.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
- layItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
+ //layItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
layItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
}
}
--
Gitblit v1.9.3