From f515bb49e76481c378c23267cd1a919d25249c30 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期日, 03 八月 2025 13:32:24 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs index c27778e..5d449b8 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(); @@ -151,7 +152,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; + //layItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; layItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; txt_fHasLinkRad.SelectedIndexChanged += (s, e) => { @@ -343,7 +344,7 @@ txt_fRequireOrgId.IsReadly = true; txt_fOwnerIdHead.IsReadly = true; txt_fPurchaseDeptId.IsReadly = true; - txt_fPurchaserId.IsReadly = true; + // txt_fPurchaserId.IsReadly = true; } /// <summary> /// 鏂板浜嬩欢 @@ -377,7 +378,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 +425,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 +760,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