From 35fde503a1a23dc990efc54a9eb6ddd5e8c133d6 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 07 四月 2025 09:44:01 +0800 Subject: [PATCH] pda绑定 --- DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs b/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs index 29c8254..b652b35 100644 --- a/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs +++ b/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs @@ -1,9 +1,13 @@ 锘縰sing System; using System.Collections.Generic; using System.Data; +using System.Drawing; using System.Windows.Forms; +using DevExpress.Utils; +using DevExpress.Utils.About; using DevExpress.XtraEditors; using DevExpress.XtraEditors.Controls; +using DevExpress.XtraGrid.Views.Grid.ViewInfo; using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Newtonsoft.Json; @@ -27,14 +31,14 @@ Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "checkStatus", "", (value) => { Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); - }); + },tips); Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => { getModel(value); }, (value) => { getPageList(this.pageBar1.CurrentPage); - }); + }, lbGuid); getPageList(1); pageBar1.PagerEvent += PageBar1_PagerEvent; getTree(); @@ -47,9 +51,9 @@ txt_noLength.ValueChanged += (s, e) => { DoPreviewCode(); }; txt_isIncludeDoc.CheckedChanged += (s, e) => { DoPreviewCode(); }; txt_isSpilit.CheckedChanged += (s, e) => { DoPreviewCode(); }; - + } - + /// <summary> /// 鍒嗛〉浜嬩欢 /// </summary> @@ -59,7 +63,7 @@ { getPageList(curPage); } - + /// <summary> /// 鍙嶅鏍� /// </summary> @@ -175,7 +179,7 @@ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); if (xtraTabControl1.SelectedTabPageIndex == 1) { - getModel(lbGuid.Text.Trim()); + getModel(rowGuid); } else { @@ -253,6 +257,8 @@ lbGuid.Text = _rtn.rtnData; toolBarMenu1.isSetBtn = true; UtilityHelper.ChangeEnableByControl(panel1.Controls, false); + toolBarMenu1.currentAction = ""; + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); } } catch (Exception ex) @@ -404,6 +410,7 @@ dataTable.Rows.Add("IQCYC(IQC寮傚父)"); dataTable.Rows.Add("IPQCYC(IPQC寮傚父)"); dataTable.Rows.Add("FQCYC(FQC寮傚父)"); + dataTable.Rows.Add("ZSM(杩芥函鐮�)"); txt_docCode.Properties.DataSource = dataTable; txt_docCode.Properties.DisplayMember = "docCode"; // 鏄剧ず鐨勫垪 txt_docCode.Properties.ValueMember = "docCode"; // 瀹為檯鍊肩殑鍒� -- Gitblit v1.9.3