From f4d5aa97370f698c63b0b9f185f06e7bae56975c Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期二, 19 八月 2025 08:15:50 +0800 Subject: [PATCH] Merge branch 'master' of http://git.gs-mes.com:8080/r/~tjx/GsMesClient --- 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