| | |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); |
| | | this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); |
| | | this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); |
| | | this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); |
| | |
| | | this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.tips = new DevExpress.Utils.ToolTipController(this.components); |
| | | this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | | this.xtraTabControl1.SuspendLayout(); |
| | | this.xtraTabPage1.SuspendLayout(); |
| | |
| | | // split1 |
| | | // |
| | | this.split1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; |
| | | this.split1.Horizontal = false; |
| | | this.split1.Location = new System.Drawing.Point(0, 0); |
| | | this.split1.Name = "split1"; |
| | |
| | | // |
| | | // split1.Panel2 |
| | | // |
| | | this.split1.Panel2.Text = "Panel2";this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Panel2.Text = "Panel2"; |
| | | this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Size = new System.Drawing.Size(1219, 570); |
| | | this.split1.SplitterPosition = 0; |
| | | this.split1.TabIndex = 0; |
| | |
| | | this.gv_remark, |
| | | this.gv_fforbidstatus, |
| | | this.gv_fseller, |
| | | this.gridColumn1}); |
| | | this.gridColumn1, |
| | | this.gridColumn2, |
| | | this.gridColumn3}); |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | |
| | | this.gridColumn1.Name = "gridColumn1"; |
| | | this.gridColumn1.Tag = "query_a.lastupdate_date"; |
| | | this.gridColumn1.Visible = true; |
| | | this.gridColumn1.VisibleIndex = 9; |
| | | this.gridColumn1.VisibleIndex = 10; |
| | | this.gridColumn1.Width = 180; |
| | | // |
| | | // pageBar1 |
| | |
| | | this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.splitMx1.Horizontal = false; |
| | | this.splitMx1.Location = new System.Drawing.Point(0, 0); |
| | | this.splitMx1.Name = "splitMx1";this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Name = "splitMx1"; |
| | | // |
| | | // splitMx1.Panel1 |
| | | // |
| | |
| | | // splitMx1.Panel2 |
| | | // |
| | | this.splitMx1.Panel2.Text = "Panel2"; |
| | | this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Size = new System.Drawing.Size(1219, 570); |
| | | this.splitMx1.SplitterPosition = 120; |
| | | this.splitMx1.TabIndex = 0; |
| | |
| | | this.layoutControlItem10}); |
| | | this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; |
| | | this.Root.Name = "Root"; |
| | | columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition1.Width = 100D; |
| | | columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition2.Width = 100D; |
| | | columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition3.Width = 100D; |
| | | columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition4.Width = 100D; |
| | | columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5.Width = 100D; |
| | | columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition6.Width = 100D; |
| | | columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition7.Width = 100D; |
| | | columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition8.Width = 100D; |
| | | this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { |
| | | columnDefinition1, |
| | | columnDefinition2, |
| | | columnDefinition3, |
| | | columnDefinition4}); |
| | | rowDefinition1.Height = 100D; |
| | | rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition2.Height = 100D; |
| | | rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition3.Height = 100D; |
| | | rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5, |
| | | columnDefinition6, |
| | | columnDefinition7, |
| | | columnDefinition8}); |
| | | rowDefinition4.Height = 100D; |
| | | rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition5.Height = 100D; |
| | | rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition6.Height = 100D; |
| | | rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { |
| | | rowDefinition1, |
| | | rowDefinition2, |
| | | rowDefinition3}); |
| | | rowDefinition4, |
| | | rowDefinition5, |
| | | rowDefinition6}); |
| | | this.Root.Size = new System.Drawing.Size(1219, 120); |
| | | this.Root.TextVisible = false; |
| | | // |
| | |
| | | this.layoutControlItem10.Text = "同步时间"; |
| | | this.layoutControlItem10.TextSize = new System.Drawing.Size(65, 18); |
| | | // |
| | | // gridColumn2 |
| | | // |
| | | this.gridColumn2.Caption = "主键Guid"; |
| | | this.gridColumn2.FieldName = "guid"; |
| | | this.gridColumn2.MinWidth = 25; |
| | | this.gridColumn2.Name = "gridColumn2"; |
| | | this.gridColumn2.Width = 94; |
| | | // |
| | | // gridColumn3 |
| | | // |
| | | this.gridColumn3.Caption = "客户ID"; |
| | | this.gridColumn3.FieldName = "id"; |
| | | this.gridColumn3.MinWidth = 25; |
| | | this.gridColumn3.Name = "gridColumn3"; |
| | | this.gridColumn3.Visible = true; |
| | | this.gridColumn3.VisibleIndex = 9; |
| | | this.gridColumn3.Width = 94; |
| | | // |
| | | // Frm_Customer |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; |
| | | private DevExpress.Utils.ToolTipController tips; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,a.cust_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.tips = new DevExpress.Utils.ToolTipController(this.components); |
| | | this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | | this.xtraTabControl1.SuspendLayout(); |
| | | this.xtraTabPage1.SuspendLayout(); |
| | |
| | | this.gv_depextr4, |
| | | this.gv_remark, |
| | | this.gv_parentId, |
| | | this.gridColumn1}); |
| | | this.gridColumn1, |
| | | this.gridColumn2}); |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | |
| | | this.gv_departmentid.OptionsColumn.AllowEdit = false; |
| | | this.gv_departmentid.OptionsFilter.ImmediateUpdateAutoFilter = false; |
| | | this.gv_departmentid.Tag = "query_a.departmentid"; |
| | | this.gv_departmentid.Visible = true; |
| | | this.gv_departmentid.VisibleIndex = 9; |
| | | this.gv_departmentid.Width = 94; |
| | | // |
| | | // gv_departmentcode |
| | |
| | | this.gridColumn1.Name = "gridColumn1"; |
| | | this.gridColumn1.Tag = "query_a.lastupdate_date"; |
| | | this.gridColumn1.Visible = true; |
| | | this.gridColumn1.VisibleIndex = 9; |
| | | this.gridColumn1.VisibleIndex = 10; |
| | | this.gridColumn1.Width = 180; |
| | | // |
| | | // pageBar1 |
| | |
| | | this.layoutControlItem10.Text = "WIP仓库"; |
| | | this.layoutControlItem10.TextSize = new System.Drawing.Size(60, 18); |
| | | // |
| | | // gridColumn2 |
| | | // |
| | | this.gridColumn2.Caption = "主键Guid"; |
| | | this.gridColumn2.FieldName = "guid"; |
| | | this.gridColumn2.MinWidth = 25; |
| | | this.gridColumn2.Name = "gridColumn2"; |
| | | this.gridColumn2.Width = 94; |
| | | // |
| | | // Frm_Department |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; |
| | | private DevExpress.Utils.ToolTipController tips; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; |
| | | } |
| | | } |
| | |
| | | }, lbGuid); |
| | | getPageList(1); |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | private void GridView1_ColumnFilterChanged(object sender, EventArgs e) |
| | | { |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc,a.departmentcode", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | this.gv_depotName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_depottype = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_isNg = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_zuid = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_isFkc = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.pageBar1 = new UserControls.Data.UcPageBar(); |
| | | this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage(); |
| | | this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl(); |
| | | this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | this.lbGuid = new System.Windows.Forms.Label(); |
| | | this.txt_isFkc = new DevExpress.XtraEditors.TextEdit(); |
| | | this.txt_isNg = new DevExpress.XtraEditors.TextEdit(); |
| | | this.txt_depotCode = new DevExpress.XtraEditors.TextEdit(); |
| | | this.txt_zuid = new DevExpress.XtraEditors.TextEdit(); |
| | | this.txt_depotName = new DevExpress.XtraEditors.TextEdit(); |
| | |
| | | this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.tabMx = new DevExpress.XtraTab.XtraTabControl(); |
| | | this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); |
| | | this.gcMx1 = new DevExpress.XtraGrid.GridControl(); |
| | |
| | | this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | | this.tips = new DevExpress.Utils.ToolTipController(this.components); |
| | | this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.txt_isNg = new DevExpress.XtraEditors.TextEdit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | | this.xtraTabControl1.SuspendLayout(); |
| | | this.xtraTabPage1.SuspendLayout(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).BeginInit(); |
| | | this.layoutMx1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isFkc.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isNg.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_depotCode.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_zuid.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_depotName.Properties)).BeginInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); |
| | | this.tabMx.SuspendLayout(); |
| | | this.tabMxPage1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isNg.Properties)).BeginInit(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // toolBarMenu1 |
| | |
| | | // split1 |
| | | // |
| | | this.split1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; |
| | | this.split1.Horizontal = false; |
| | | this.split1.Location = new System.Drawing.Point(0, 0); |
| | | this.split1.Name = "split1"; |
| | |
| | | // |
| | | // split1.Panel2 |
| | | // |
| | | this.split1.Panel2.Text = "Panel2";this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Panel2.Text = "Panel2"; |
| | | this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Size = new System.Drawing.Size(1264, 570); |
| | | this.split1.SplitterPosition = 0; |
| | | this.split1.TabIndex = 0; |
| | |
| | | this.gv_depotName, |
| | | this.gv_depottype, |
| | | this.gv_createBy, |
| | | this.gv_isNg, |
| | | this.gv_zuid, |
| | | this.gv_isFkc, |
| | | this.gridColumn2, |
| | |
| | | this.gridColumn5, |
| | | this.gridColumn4, |
| | | this.gridColumn7, |
| | | this.gridColumn3}); |
| | | this.gridColumn3, |
| | | this.gridColumn8, |
| | | this.gridColumn9}); |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | |
| | | this.gv_createBy.VisibleIndex = 4; |
| | | this.gv_createBy.Width = 71; |
| | | // |
| | | // gv_isNg |
| | | // |
| | | this.gv_isNg.AppearanceCell.Options.UseFont = true; |
| | | this.gv_isNg.Caption = "不良品仓"; |
| | | this.gv_isNg.FieldName = "isNg"; |
| | | this.gv_isNg.MaxWidth = 50; |
| | | this.gv_isNg.MinWidth = 50; |
| | | this.gv_isNg.Name = "gv_isNg"; |
| | | this.gv_isNg.OptionsColumn.AllowEdit = false; |
| | | this.gv_isNg.Tag = "query_a.is_ng"; |
| | | this.gv_isNg.Visible = true; |
| | | this.gv_isNg.VisibleIndex = 5; |
| | | this.gv_isNg.Width = 50; |
| | | // |
| | | // gv_zuid |
| | | // |
| | | this.gv_zuid.AppearanceCell.Options.UseFont = true; |
| | |
| | | this.gv_zuid.OptionsColumn.AllowEdit = false; |
| | | this.gv_zuid.Tag = "query_a.zuid"; |
| | | this.gv_zuid.Visible = true; |
| | | this.gv_zuid.VisibleIndex = 6; |
| | | this.gv_zuid.VisibleIndex = 5; |
| | | this.gv_zuid.Width = 71; |
| | | // |
| | | // gv_isFkc |
| | |
| | | this.gv_isFkc.OptionsColumn.AllowEdit = false; |
| | | this.gv_isFkc.Tag = "query_a.is_fkc"; |
| | | this.gv_isFkc.Visible = true; |
| | | this.gv_isFkc.VisibleIndex = 7; |
| | | this.gv_isFkc.VisibleIndex = 6; |
| | | this.gv_isFkc.Width = 60; |
| | | // |
| | | // gridColumn2 |
| | |
| | | this.gridColumn2.Name = "gridColumn2"; |
| | | this.gridColumn2.Tag = "query_a.zuid"; |
| | | this.gridColumn2.Visible = true; |
| | | this.gridColumn2.VisibleIndex = 8; |
| | | this.gridColumn2.VisibleIndex = 7; |
| | | this.gridColumn2.Width = 50; |
| | | // |
| | | // gridColumn6 |
| | |
| | | this.gridColumn6.Name = "gridColumn6"; |
| | | this.gridColumn6.Tag = "query_a.SUPPLIER_ID"; |
| | | this.gridColumn6.Visible = true; |
| | | this.gridColumn6.VisibleIndex = 9; |
| | | this.gridColumn6.VisibleIndex = 8; |
| | | this.gridColumn6.Width = 70; |
| | | // |
| | | // gridColumn5 |
| | |
| | | this.gridColumn5.Name = "gridColumn5"; |
| | | this.gridColumn5.Tag = "query_a.Client_Id"; |
| | | this.gridColumn5.Visible = true; |
| | | this.gridColumn5.VisibleIndex = 10; |
| | | this.gridColumn5.VisibleIndex = 9; |
| | | this.gridColumn5.Width = 60; |
| | | // |
| | | // gridColumn4 |
| | |
| | | this.gridColumn4.Name = "gridColumn4"; |
| | | this.gridColumn4.Tag = "query_a.department"; |
| | | this.gridColumn4.Visible = true; |
| | | this.gridColumn4.VisibleIndex = 11; |
| | | this.gridColumn4.VisibleIndex = 10; |
| | | this.gridColumn4.Width = 60; |
| | | // |
| | | // gridColumn7 |
| | |
| | | this.gridColumn7.Name = "gridColumn7"; |
| | | this.gridColumn7.Tag = "query_a.Phone"; |
| | | this.gridColumn7.Visible = true; |
| | | this.gridColumn7.VisibleIndex = 12; |
| | | this.gridColumn7.VisibleIndex = 11; |
| | | this.gridColumn7.Width = 60; |
| | | // |
| | | // gridColumn3 |
| | |
| | | this.gridColumn3.Visible = true; |
| | | this.gridColumn3.VisibleIndex = 13; |
| | | this.gridColumn3.Width = 180; |
| | | // |
| | | // gridColumn8 |
| | | // |
| | | this.gridColumn8.Caption = "主键Guid"; |
| | | this.gridColumn8.FieldName = "guid"; |
| | | this.gridColumn8.MinWidth = 25; |
| | | this.gridColumn8.Name = "gridColumn8"; |
| | | this.gridColumn8.Width = 94; |
| | | // |
| | | // gridColumn9 |
| | | // |
| | | this.gridColumn9.Caption = "仓库ID"; |
| | | this.gridColumn9.FieldName = "depotId"; |
| | | this.gridColumn9.MinWidth = 25; |
| | | this.gridColumn9.Name = "gridColumn9"; |
| | | this.gridColumn9.Visible = true; |
| | | this.gridColumn9.VisibleIndex = 12; |
| | | this.gridColumn9.Width = 94; |
| | | // |
| | | // pageBar1 |
| | | // |
| | |
| | | this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.splitMx1.Horizontal = false; |
| | | this.splitMx1.Location = new System.Drawing.Point(0, 0); |
| | | this.splitMx1.Name = "splitMx1";this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Name = "splitMx1"; |
| | | // |
| | | // splitMx1.Panel1 |
| | | // |
| | |
| | | // |
| | | this.splitMx1.Panel2.Controls.Add(this.tabMx); |
| | | this.splitMx1.Panel2.Text = "Panel2"; |
| | | this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Size = new System.Drawing.Size(1264, 570); |
| | | this.splitMx1.SplitterPosition = 82; |
| | | this.splitMx1.TabIndex = 0; |
| | |
| | | // |
| | | // txt_isFkc |
| | | // |
| | | this.txt_isFkc.Location = new System.Drawing.Point(1052, 12); |
| | | this.txt_isFkc.Location = new System.Drawing.Point(1032, 12); |
| | | this.txt_isFkc.Name = "txt_isFkc"; |
| | | this.txt_isFkc.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_isFkc.Size = new System.Drawing.Size(200, 24); |
| | | this.txt_isFkc.Size = new System.Drawing.Size(220, 24); |
| | | this.txt_isFkc.StyleController = this.layoutMx1; |
| | | this.txt_isFkc.TabIndex = 291; |
| | | this.txt_isFkc.Tag = "readonly"; |
| | | // |
| | | // txt_isNg |
| | | // |
| | | this.txt_isNg.Location = new System.Drawing.Point(1052, 43); |
| | | this.txt_isNg.Name = "txt_isNg"; |
| | | this.txt_isNg.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_isNg.Size = new System.Drawing.Size(200, 24); |
| | | this.txt_isNg.StyleController = this.layoutMx1; |
| | | this.txt_isNg.TabIndex = 267; |
| | | this.txt_isNg.Tag = "readonly"; |
| | | // |
| | | // txt_depotCode |
| | | // |
| | | this.txt_depotCode.Location = new System.Drawing.Point(119, 12); |
| | | this.txt_depotCode.Location = new System.Drawing.Point(99, 12); |
| | | this.txt_depotCode.Name = "txt_depotCode"; |
| | | this.txt_depotCode.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_depotCode.Size = new System.Drawing.Size(200, 24); |
| | | this.txt_depotCode.Size = new System.Drawing.Size(220, 24); |
| | | this.txt_depotCode.StyleController = this.layoutMx1; |
| | | this.txt_depotCode.TabIndex = 213; |
| | | this.txt_depotCode.Tag = "readonly"; |
| | | // |
| | | // txt_zuid |
| | | // |
| | | this.txt_zuid.Location = new System.Drawing.Point(741, 43); |
| | | this.txt_zuid.Location = new System.Drawing.Point(721, 43); |
| | | this.txt_zuid.Name = "txt_zuid"; |
| | | this.txt_zuid.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_zuid.Size = new System.Drawing.Size(200, 24); |
| | | this.txt_zuid.Size = new System.Drawing.Size(220, 24); |
| | | this.txt_zuid.StyleController = this.layoutMx1; |
| | | this.txt_zuid.TabIndex = 285; |
| | | this.txt_zuid.Tag = "readonly"; |
| | | // |
| | | // txt_depotName |
| | | // |
| | | this.txt_depotName.Location = new System.Drawing.Point(430, 12); |
| | | this.txt_depotName.Location = new System.Drawing.Point(410, 12); |
| | | this.txt_depotName.Name = "txt_depotName"; |
| | | this.txt_depotName.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_depotName.Size = new System.Drawing.Size(200, 24); |
| | | this.txt_depotName.Size = new System.Drawing.Size(220, 24); |
| | | this.txt_depotName.StyleController = this.layoutMx1; |
| | | this.txt_depotName.TabIndex = 216; |
| | | this.txt_depotName.Tag = "readonly"; |
| | | // |
| | | // txt_createBy |
| | | // |
| | | this.txt_createBy.Location = new System.Drawing.Point(741, 12); |
| | | this.txt_createBy.Location = new System.Drawing.Point(721, 12); |
| | | this.txt_createBy.Name = "txt_createBy"; |
| | | this.txt_createBy.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_createBy.Size = new System.Drawing.Size(200, 24); |
| | | this.txt_createBy.Size = new System.Drawing.Size(220, 24); |
| | | this.txt_createBy.StyleController = this.layoutMx1; |
| | | this.txt_createBy.TabIndex = 219; |
| | | this.txt_createBy.Tag = "readonly"; |
| | | // |
| | | // txt_description |
| | | // |
| | | this.txt_description.Location = new System.Drawing.Point(119, 43); |
| | | this.txt_description.Location = new System.Drawing.Point(99, 43); |
| | | this.txt_description.Name = "txt_description"; |
| | | this.txt_description.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_description.Size = new System.Drawing.Size(200, 24); |
| | | this.txt_description.Size = new System.Drawing.Size(220, 24); |
| | | this.txt_description.StyleController = this.layoutMx1; |
| | | this.txt_description.TabIndex = 217; |
| | | this.txt_description.Tag = "readonly"; |
| | | // |
| | | // txt_depottype |
| | | // |
| | | this.txt_depottype.Location = new System.Drawing.Point(430, 43); |
| | | this.txt_depottype.Location = new System.Drawing.Point(410, 43); |
| | | this.txt_depottype.Name = "txt_depottype"; |
| | | this.txt_depottype.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_depottype.Size = new System.Drawing.Size(200, 24); |
| | | this.txt_depottype.Size = new System.Drawing.Size(220, 24); |
| | | this.txt_depottype.StyleController = this.layoutMx1; |
| | | this.txt_depottype.TabIndex = 231; |
| | | this.txt_depottype.Tag = "readonly"; |
| | |
| | | this.layoutControlItem1.Name = "layoutControlItem1"; |
| | | this.layoutControlItem1.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem1.Text = "仓库编码"; |
| | | this.layoutControlItem1.TextSize = new System.Drawing.Size(95, 18); |
| | | this.layoutControlItem1.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | |
| | | this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | this.layoutControlItem2.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem2.Text = "仓库名称"; |
| | | this.layoutControlItem2.TextSize = new System.Drawing.Size(95, 18); |
| | | this.layoutControlItem2.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | |
| | | this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2; |
| | | this.layoutControlItem3.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem3.Text = "仓库负责人"; |
| | | this.layoutControlItem3.TextSize = new System.Drawing.Size(95, 18); |
| | | this.layoutControlItem3.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | |
| | | this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; |
| | | this.layoutControlItem4.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem4.Text = "备注"; |
| | | this.layoutControlItem4.TextSize = new System.Drawing.Size(95, 18); |
| | | this.layoutControlItem4.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | |
| | | this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 1; |
| | | this.layoutControlItem5.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem5.Text = "仓库类型"; |
| | | this.layoutControlItem5.TextSize = new System.Drawing.Size(95, 18); |
| | | this.layoutControlItem5.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | |
| | | this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 1; |
| | | this.layoutControlItem6.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem6.Text = "分组"; |
| | | this.layoutControlItem6.TextSize = new System.Drawing.Size(95, 18); |
| | | this.layoutControlItem6.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | |
| | | this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 3; |
| | | this.layoutControlItem7.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem7.Text = "允许负库存"; |
| | | this.layoutControlItem7.TextSize = new System.Drawing.Size(95, 18); |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | this.layoutControlItem8.Control = this.txt_isNg; |
| | | this.layoutControlItem8.Location = new System.Drawing.Point(933, 31); |
| | | this.layoutControlItem8.Name = "layoutControlItem8"; |
| | | this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 3; |
| | | this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 1; |
| | | this.layoutControlItem8.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem8.Text = "是否不良品仓 "; |
| | | this.layoutControlItem8.TextSize = new System.Drawing.Size(95, 18); |
| | | this.layoutControlItem7.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // tabMx |
| | | // |
| | |
| | | this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | this.layoutControlItem8.Control = this.txt_isNg; |
| | | this.layoutControlItem8.Location = new System.Drawing.Point(933, 31); |
| | | this.layoutControlItem8.Name = "layoutControlItem8"; |
| | | this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 3; |
| | | this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 1; |
| | | this.layoutControlItem8.Size = new System.Drawing.Size(311, 31); |
| | | this.layoutControlItem8.Text = "禁用状态"; |
| | | this.layoutControlItem8.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // txt_isNg |
| | | // |
| | | this.txt_isNg.Location = new System.Drawing.Point(1032, 43); |
| | | this.txt_isNg.Name = "txt_isNg"; |
| | | this.txt_isNg.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_isNg.Size = new System.Drawing.Size(220, 24); |
| | | this.txt_isNg.StyleController = this.layoutMx1; |
| | | this.txt_isNg.TabIndex = 267; |
| | | this.txt_isNg.Tag = "readonly"; |
| | | // |
| | | // Frm_MesDepot |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).EndInit(); |
| | | this.layoutMx1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isFkc.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isNg.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_depotCode.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_zuid.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_depotName.Properties)).EndInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit(); |
| | | this.tabMx.ResumeLayout(false); |
| | | this.tabMxPage1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isNg.Properties)).EndInit(); |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_depotName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_depottype; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_createBy; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_isNg; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_zuid; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_isFkc; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; |
| | |
| | | private System.Windows.Forms.Label lbGuid; |
| | | private DevExpress.XtraEditors.TextEdit txt_isFkc; |
| | | private DevExpress.XtraEditors.TextEdit txt_zuid; |
| | | private DevExpress.XtraEditors.TextEdit txt_isNg; |
| | | private DevExpress.XtraEditors.TextEdit txt_depottype; |
| | | private DevExpress.XtraEditors.TextEdit txt_createBy; |
| | | private DevExpress.XtraEditors.TextEdit txt_description; |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraTab.XtraTabControl tabMx; |
| | | private DevExpress.XtraTab.XtraTabPage tabMxPage1; |
| | | private DevExpress.XtraGrid.GridControl gcMx1; |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn gvMxDel; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | private DevExpress.Utils.ToolTipController tips; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn8; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; |
| | | private DevExpress.XtraEditors.TextEdit txt_isNg; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,a.depot_code", "asc", |
| | | "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.tips = new DevExpress.Utils.ToolTipController(this.components); |
| | | this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | | this.xtraTabControl1.SuspendLayout(); |
| | | this.xtraTabPage1.SuspendLayout(); |
| | |
| | | // split1 |
| | | // |
| | | this.split1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; |
| | | this.split1.Horizontal = false; |
| | | this.split1.Location = new System.Drawing.Point(0, 0); |
| | | this.split1.Name = "split1"; |
| | |
| | | // |
| | | // split1.Panel2 |
| | | // |
| | | this.split1.Panel2.Text = "Panel2";this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Panel2.Text = "Panel2"; |
| | | this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Size = new System.Drawing.Size(1158, 570); |
| | | this.split1.SplitterPosition = 0; |
| | | this.split1.TabIndex = 0; |
| | |
| | | this.gv_produceUnitNo, |
| | | this.gv_depotNo, |
| | | this.gv_isStatus, |
| | | this.gridColumn1}); |
| | | this.gridColumn1, |
| | | this.gridColumn3}); |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always; |
| | | this.gridView1.IndicatorWidth = 50; |
| | |
| | | this.gv_bomNo.Name = "gv_bomNo"; |
| | | this.gv_bomNo.OptionsColumn.AllowEdit = false; |
| | | this.gv_bomNo.Tag = "query_a.bomNo"; |
| | | this.gv_bomNo.Visible = true; |
| | | this.gv_bomNo.VisibleIndex = 8; |
| | | this.gv_bomNo.Width = 60; |
| | | // |
| | | // gv_materialGroup |
| | |
| | | this.gv_materialGroup.OptionsColumn.AllowEdit = false; |
| | | this.gv_materialGroup.Tag = "query_a.materialGroup"; |
| | | this.gv_materialGroup.Visible = true; |
| | | this.gv_materialGroup.VisibleIndex = 9; |
| | | this.gv_materialGroup.VisibleIndex = 8; |
| | | this.gv_materialGroup.Width = 130; |
| | | // |
| | | // gv_itemUnitNo |
| | |
| | | this.gv_itemUnitNo.OptionsColumn.AllowEdit = false; |
| | | this.gv_itemUnitNo.Tag = "query_c.fname"; |
| | | this.gv_itemUnitNo.Visible = true; |
| | | this.gv_itemUnitNo.VisibleIndex = 10; |
| | | this.gv_itemUnitNo.VisibleIndex = 9; |
| | | this.gv_itemUnitNo.Width = 50; |
| | | // |
| | | // gv_purchaseUnitNo |
| | |
| | | this.gv_purchaseUnitNo.OptionsColumn.AllowEdit = false; |
| | | this.gv_purchaseUnitNo.Tag = "query_d.fname"; |
| | | this.gv_purchaseUnitNo.Visible = true; |
| | | this.gv_purchaseUnitNo.VisibleIndex = 11; |
| | | this.gv_purchaseUnitNo.VisibleIndex = 10; |
| | | this.gv_purchaseUnitNo.Width = 50; |
| | | // |
| | | // gv_saleUnitNo |
| | |
| | | this.gv_saleUnitNo.OptionsColumn.AllowEdit = false; |
| | | this.gv_saleUnitNo.Tag = "query_e.fname"; |
| | | this.gv_saleUnitNo.Visible = true; |
| | | this.gv_saleUnitNo.VisibleIndex = 12; |
| | | this.gv_saleUnitNo.VisibleIndex = 11; |
| | | this.gv_saleUnitNo.Width = 50; |
| | | // |
| | | // gv_storeUnitNo |
| | |
| | | this.gv_storeUnitNo.OptionsColumn.AllowEdit = false; |
| | | this.gv_storeUnitNo.Tag = "query_f.fname"; |
| | | this.gv_storeUnitNo.Visible = true; |
| | | this.gv_storeUnitNo.VisibleIndex = 13; |
| | | this.gv_storeUnitNo.VisibleIndex = 12; |
| | | this.gv_storeUnitNo.Width = 50; |
| | | // |
| | | // gv_subconUnitNo |
| | |
| | | this.gv_subconUnitNo.OptionsColumn.AllowEdit = false; |
| | | this.gv_subconUnitNo.Tag = "query_g.fname"; |
| | | this.gv_subconUnitNo.Visible = true; |
| | | this.gv_subconUnitNo.VisibleIndex = 14; |
| | | this.gv_subconUnitNo.VisibleIndex = 13; |
| | | this.gv_subconUnitNo.Width = 50; |
| | | // |
| | | // gv_produceUnitNo |
| | |
| | | this.gv_produceUnitNo.OptionsColumn.AllowEdit = false; |
| | | this.gv_produceUnitNo.Tag = "query_h.fname"; |
| | | this.gv_produceUnitNo.Visible = true; |
| | | this.gv_produceUnitNo.VisibleIndex = 15; |
| | | this.gv_produceUnitNo.VisibleIndex = 14; |
| | | this.gv_produceUnitNo.Width = 50; |
| | | // |
| | | // gv_depotNo |
| | |
| | | this.gv_depotNo.Name = "gv_depotNo"; |
| | | this.gv_depotNo.OptionsColumn.AllowEdit = false; |
| | | this.gv_depotNo.Tag = "query_m.depot_name"; |
| | | this.gv_depotNo.Visible = true; |
| | | this.gv_depotNo.VisibleIndex = 16; |
| | | this.gv_depotNo.Width = 94; |
| | | // |
| | | // gv_isStatus |
| | |
| | | this.gv_isStatus.OptionsColumn.AllowEdit = false; |
| | | this.gv_isStatus.Tag = "query_a.fforbidstatus"; |
| | | this.gv_isStatus.Visible = true; |
| | | this.gv_isStatus.VisibleIndex = 17; |
| | | this.gv_isStatus.VisibleIndex = 15; |
| | | this.gv_isStatus.Width = 50; |
| | | // |
| | | // gridColumn1 |
| | |
| | | this.gridColumn1.OptionsFilter.FilterPopupMode = DevExpress.XtraGrid.Columns.FilterPopupMode.Date; |
| | | this.gridColumn1.Tag = "query_a.lastupdate_date"; |
| | | this.gridColumn1.Visible = true; |
| | | this.gridColumn1.VisibleIndex = 18; |
| | | this.gridColumn1.VisibleIndex = 16; |
| | | this.gridColumn1.Width = 180; |
| | | // |
| | | // pageBar1 |
| | |
| | | this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.splitMx1.Horizontal = false; |
| | | this.splitMx1.Location = new System.Drawing.Point(0, 0); |
| | | this.splitMx1.Name = "splitMx1";this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Name = "splitMx1"; |
| | | // |
| | | // splitMx1.Panel1 |
| | | // |
| | |
| | | // splitMx1.Panel2 |
| | | // |
| | | this.splitMx1.Panel2.Text = "Panel2"; |
| | | this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Size = new System.Drawing.Size(1158, 570); |
| | | this.splitMx1.SplitterPosition = 214; |
| | | this.splitMx1.TabIndex = 0; |
| | |
| | | this.layoutControlItem23.Text = "禁用状态"; |
| | | this.layoutControlItem23.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // gridColumn3 |
| | | // |
| | | this.gridColumn3.Caption = "主键Guid"; |
| | | this.gridColumn3.FieldName = "guid"; |
| | | this.gridColumn3.MinWidth = 25; |
| | | this.gridColumn3.Name = "gridColumn3"; |
| | | this.gridColumn3.Width = 94; |
| | | // |
| | | // Frm_MesItems |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem23; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem24; |
| | | private DevExpress.Utils.ToolTipController tips; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,a.item_no asc", "", |
| | | "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition8 = new DevExpress.XtraLayout.RowDefinition(); |
| | | this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); |
| | | this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); |
| | | this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); |
| | |
| | | this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.tips = new DevExpress.Utils.ToolTipController(this.components); |
| | | this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | | this.xtraTabControl1.SuspendLayout(); |
| | | this.xtraTabPage1.SuspendLayout(); |
| | |
| | | // split1 |
| | | // |
| | | this.split1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; |
| | | this.split1.Horizontal = false; |
| | | this.split1.Location = new System.Drawing.Point(0, 0); |
| | | this.split1.Name = "split1"; |
| | |
| | | // |
| | | // split1.Panel2 |
| | | // |
| | | this.split1.Panel2.Text = "Panel2";this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Panel2.Text = "Panel2"; |
| | | this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Size = new System.Drawing.Size(970, 570); |
| | | this.split1.SplitterPosition = 0; |
| | | this.split1.TabIndex = 0; |
| | |
| | | this.gv_fprecision, |
| | | this.gv_fdescription, |
| | | this.gv_fforbidstatus, |
| | | this.gridColumn1}); |
| | | this.gridColumn1, |
| | | this.gridColumn2, |
| | | this.gridColumn3}); |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | |
| | | this.gridColumn1.Name = "gridColumn1"; |
| | | this.gridColumn1.Tag = "query_a.lastupdate_date"; |
| | | this.gridColumn1.Visible = true; |
| | | this.gridColumn1.VisibleIndex = 9; |
| | | this.gridColumn1.VisibleIndex = 10; |
| | | this.gridColumn1.Width = 180; |
| | | // |
| | | // pageBar1 |
| | |
| | | this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.splitMx1.Horizontal = false; |
| | | this.splitMx1.Location = new System.Drawing.Point(0, 0); |
| | | this.splitMx1.Name = "splitMx1";this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Name = "splitMx1"; |
| | | // |
| | | // splitMx1.Panel1 |
| | | // |
| | |
| | | // splitMx1.Panel2 |
| | | // |
| | | this.splitMx1.Panel2.Text = "Panel2"; |
| | | this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Size = new System.Drawing.Size(970, 570); |
| | | this.splitMx1.SplitterPosition = 155; |
| | | this.splitMx1.TabIndex = 0; |
| | |
| | | this.layoutControlItem16}); |
| | | this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; |
| | | this.Root.Name = "Root"; |
| | | columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition1.Width = 100D; |
| | | columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition2.Width = 100D; |
| | | columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition3.Width = 100D; |
| | | columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition4.Width = 100D; |
| | | columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5.Width = 100D; |
| | | columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition6.Width = 100D; |
| | | columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition7.Width = 100D; |
| | | columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition8.Width = 100D; |
| | | this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { |
| | | columnDefinition1, |
| | | columnDefinition2, |
| | | columnDefinition3, |
| | | columnDefinition4}); |
| | | rowDefinition1.Height = 100D; |
| | | rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition2.Height = 100D; |
| | | rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition3.Height = 100D; |
| | | rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition4.Height = 100D; |
| | | rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5, |
| | | columnDefinition6, |
| | | columnDefinition7, |
| | | columnDefinition8}); |
| | | rowDefinition5.Height = 100D; |
| | | rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition6.Height = 100D; |
| | | rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition7.Height = 100D; |
| | | rowDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition8.Height = 100D; |
| | | rowDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { |
| | | rowDefinition1, |
| | | rowDefinition2, |
| | | rowDefinition3, |
| | | rowDefinition4}); |
| | | rowDefinition5, |
| | | rowDefinition6, |
| | | rowDefinition7, |
| | | rowDefinition8}); |
| | | this.Root.Size = new System.Drawing.Size(970, 155); |
| | | this.Root.TextVisible = false; |
| | | // |
| | |
| | | this.layoutControlItem16.Text = "单位描述"; |
| | | this.layoutControlItem16.TextSize = new System.Drawing.Size(90, 18); |
| | | // |
| | | // gridColumn2 |
| | | // |
| | | this.gridColumn2.Caption = "主键Guid"; |
| | | this.gridColumn2.FieldName = "guid"; |
| | | this.gridColumn2.MinWidth = 25; |
| | | this.gridColumn2.Name = "gridColumn2"; |
| | | this.gridColumn2.Width = 94; |
| | | // |
| | | // gridColumn3 |
| | | // |
| | | this.gridColumn3.Caption = "单位ID"; |
| | | this.gridColumn3.FieldName = "id"; |
| | | this.gridColumn3.MinWidth = 25; |
| | | this.gridColumn3.Name = "gridColumn3"; |
| | | this.gridColumn3.Visible = true; |
| | | this.gridColumn3.VisibleIndex = 9; |
| | | this.gridColumn3.Width = 94; |
| | | // |
| | | // Frm_MesUnit |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem17; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem16; |
| | | private DevExpress.Utils.ToolTipController tips; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.fnumber", "asc", "", |
| | | _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition8 = new DevExpress.XtraLayout.RowDefinition(); |
| | | this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); |
| | | this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); |
| | | this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); |
| | |
| | | this.gv_lastupdateDate = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_lineType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_isZxbg = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.pageBar1 = new UserControls.Data.UcPageBar(); |
| | | this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); |
| | | this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl(); |
| | |
| | | this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.tips = new DevExpress.Utils.ToolTipController(this.components); |
| | | this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | | this.xtraTabControl1.SuspendLayout(); |
| | | this.xtraTabPage1.SuspendLayout(); |
| | |
| | | // split1 |
| | | // |
| | | this.split1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; |
| | | this.split1.Horizontal = false; |
| | | this.split1.Location = new System.Drawing.Point(0, 0); |
| | | this.split1.Name = "split1"; |
| | |
| | | // |
| | | // split1.Panel2 |
| | | // |
| | | this.split1.Panel2.Text = "Panel2";this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Panel2.Text = "Panel2"; |
| | | this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Size = new System.Drawing.Size(1126, 570); |
| | | this.split1.SplitterPosition = 0; |
| | | this.split1.TabIndex = 0; |
| | |
| | | this.gv_lastupdateBy, |
| | | this.gv_lastupdateDate, |
| | | this.gv_lineType, |
| | | this.gv_isZxbg}); |
| | | this.gv_isZxbg, |
| | | this.gridColumn2, |
| | | this.gridColumn3}); |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | |
| | | // gv_lineNo |
| | | // |
| | | this.gv_lineNo.AppearanceCell.Options.UseFont = true; |
| | | this.gv_lineNo.Caption = "产线编号"; |
| | | this.gv_lineNo.Caption = "线体编号"; |
| | | this.gv_lineNo.FieldName = "lineNo"; |
| | | this.gv_lineNo.MinWidth = 50; |
| | | this.gv_lineNo.Name = "gv_lineNo"; |
| | |
| | | this.gv_isZxbg.Name = "gv_isZxbg"; |
| | | this.gv_isZxbg.OptionsColumn.AllowEdit = false; |
| | | this.gv_isZxbg.Tag = "query_a.is_zxbg"; |
| | | this.gv_isZxbg.Visible = true; |
| | | this.gv_isZxbg.VisibleIndex = 10; |
| | | this.gv_isZxbg.Width = 50; |
| | | // |
| | | // gridColumn2 |
| | | // |
| | | this.gridColumn2.Caption = "线体ID"; |
| | | this.gridColumn2.FieldName = "id"; |
| | | this.gridColumn2.MinWidth = 25; |
| | | this.gridColumn2.Name = "gridColumn2"; |
| | | this.gridColumn2.Visible = true; |
| | | this.gridColumn2.VisibleIndex = 10; |
| | | this.gridColumn2.Width = 94; |
| | | // |
| | | // pageBar1 |
| | | // |
| | |
| | | this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.splitMx1.Horizontal = false; |
| | | this.splitMx1.Location = new System.Drawing.Point(0, 0); |
| | | this.splitMx1.Name = "splitMx1";this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Name = "splitMx1"; |
| | | // |
| | | // splitMx1.Panel1 |
| | | // |
| | |
| | | // splitMx1.Panel2 |
| | | // |
| | | this.splitMx1.Panel2.Text = "Panel2"; |
| | | this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Size = new System.Drawing.Size(1126, 570); |
| | | this.splitMx1.SplitterPosition = 147; |
| | | this.splitMx1.TabIndex = 0; |
| | |
| | | this.layoutControlItem8}); |
| | | this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; |
| | | this.Root.Name = "Root"; |
| | | columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition1.Width = 100D; |
| | | columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition2.Width = 100D; |
| | | columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition3.Width = 100D; |
| | | columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition4.Width = 100D; |
| | | columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5.Width = 100D; |
| | | columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition6.Width = 100D; |
| | | columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition7.Width = 100D; |
| | | columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition8.Width = 100D; |
| | | this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { |
| | | columnDefinition1, |
| | | columnDefinition2, |
| | | columnDefinition3, |
| | | columnDefinition4}); |
| | | rowDefinition1.Height = 100D; |
| | | rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition2.Height = 100D; |
| | | rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition3.Height = 100D; |
| | | rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition4.Height = 100D; |
| | | rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5, |
| | | columnDefinition6, |
| | | columnDefinition7, |
| | | columnDefinition8}); |
| | | rowDefinition5.Height = 100D; |
| | | rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition6.Height = 100D; |
| | | rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition7.Height = 100D; |
| | | rowDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition8.Height = 100D; |
| | | rowDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { |
| | | rowDefinition1, |
| | | rowDefinition2, |
| | | rowDefinition3, |
| | | rowDefinition4}); |
| | | rowDefinition5, |
| | | rowDefinition6, |
| | | rowDefinition7, |
| | | rowDefinition8}); |
| | | this.Root.Size = new System.Drawing.Size(1126, 147); |
| | | this.Root.TextVisible = false; |
| | | // |
| | |
| | | this.layoutControlItem8.Text = "整线报工"; |
| | | this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); |
| | | this.layoutControlItem8.TextVisible = false; |
| | | // |
| | | // gridColumn3 |
| | | // |
| | | this.gridColumn3.Caption = "主键Guid"; |
| | | this.gridColumn3.FieldName = "guid"; |
| | | this.gridColumn3.MinWidth = 25; |
| | | this.gridColumn3.Name = "gridColumn3"; |
| | | this.gridColumn3.Width = 94; |
| | | // |
| | | // Frm_MesWorkshopLine |
| | | // |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.Utils.ToolTipController tips; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,c.departmentcode asc,a.line_no", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); |
| | | this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); |
| | | this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); |
| | | this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); |
| | |
| | | this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.tips = new DevExpress.Utils.ToolTipController(this.components); |
| | | this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | | this.xtraTabControl1.SuspendLayout(); |
| | | this.xtraTabPage1.SuspendLayout(); |
| | |
| | | // split1 |
| | | // |
| | | this.split1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; |
| | | this.split1.Horizontal = false; |
| | | this.split1.Location = new System.Drawing.Point(0, 0); |
| | | this.split1.Name = "split1"; |
| | |
| | | // |
| | | // split1.Panel2 |
| | | // |
| | | this.split1.Panel2.Text = "Panel2";this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Panel2.Text = "Panel2"; |
| | | this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.split1.Size = new System.Drawing.Size(1001, 570); |
| | | this.split1.SplitterPosition = 0; |
| | | this.split1.TabIndex = 4; |
| | |
| | | this.gv_startDate, |
| | | this.gv_remark, |
| | | this.gv_fforbidStatus, |
| | | this.gridColumn2}); |
| | | this.gridColumn2, |
| | | this.gridColumn3, |
| | | this.gridColumn4}); |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | |
| | | this.gridColumn2.Name = "gridColumn2"; |
| | | this.gridColumn2.Tag = "query_a.lastupdate_date"; |
| | | this.gridColumn2.Visible = true; |
| | | this.gridColumn2.VisibleIndex = 9; |
| | | this.gridColumn2.VisibleIndex = 10; |
| | | this.gridColumn2.Width = 180; |
| | | // |
| | | // pageBar1 |
| | |
| | | this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.splitMx1.Horizontal = false; |
| | | this.splitMx1.Location = new System.Drawing.Point(0, 0); |
| | | this.splitMx1.Name = "splitMx1";this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Name = "splitMx1"; |
| | | // |
| | | // splitMx1.Panel1 |
| | | // |
| | |
| | | // splitMx1.Panel2 |
| | | // |
| | | this.splitMx1.Panel2.Text = "Panel2"; |
| | | this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | this.splitMx1.Size = new System.Drawing.Size(1001, 570); |
| | | this.splitMx1.SplitterPosition = 111; |
| | | this.splitMx1.TabIndex = 0; |
| | |
| | | this.layoutControlItem10}); |
| | | this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; |
| | | this.Root.Name = "Root"; |
| | | columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition1.Width = 100D; |
| | | columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition2.Width = 100D; |
| | | columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition3.Width = 100D; |
| | | columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition4.Width = 100D; |
| | | columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5.Width = 100D; |
| | | columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition6.Width = 100D; |
| | | columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition7.Width = 100D; |
| | | columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition8.Width = 100D; |
| | | this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { |
| | | columnDefinition1, |
| | | columnDefinition2, |
| | | columnDefinition3, |
| | | columnDefinition4}); |
| | | rowDefinition1.Height = 100D; |
| | | rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition2.Height = 100D; |
| | | rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition3.Height = 100D; |
| | | rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5, |
| | | columnDefinition6, |
| | | columnDefinition7, |
| | | columnDefinition8}); |
| | | rowDefinition4.Height = 100D; |
| | | rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition5.Height = 100D; |
| | | rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition6.Height = 100D; |
| | | rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { |
| | | rowDefinition1, |
| | | rowDefinition2, |
| | | rowDefinition3}); |
| | | rowDefinition4, |
| | | rowDefinition5, |
| | | rowDefinition6}); |
| | | this.Root.Size = new System.Drawing.Size(1001, 111); |
| | | this.Root.TextVisible = false; |
| | | // |
| | |
| | | this.layoutControlItem10.Text = "备注"; |
| | | this.layoutControlItem10.TextSize = new System.Drawing.Size(90, 18); |
| | | // |
| | | // gridColumn3 |
| | | // |
| | | this.gridColumn3.Caption = "主键Guid"; |
| | | this.gridColumn3.FieldName = "guid"; |
| | | this.gridColumn3.MinWidth = 25; |
| | | this.gridColumn3.Name = "gridColumn3"; |
| | | this.gridColumn3.Width = 94; |
| | | // |
| | | // gridColumn4 |
| | | // |
| | | this.gridColumn4.Caption = "员工ID"; |
| | | this.gridColumn4.FieldName = "id"; |
| | | this.gridColumn4.MinWidth = 25; |
| | | this.gridColumn4.Name = "gridColumn4"; |
| | | this.gridColumn4.Visible = true; |
| | | this.gridColumn4.VisibleIndex = 9; |
| | | this.gridColumn4.Width = 94; |
| | | // |
| | | // Frm_Staff |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; |
| | | private DevExpress.Utils.ToolTipController tips; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,a.staff_no", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition8 = new DevExpress.XtraLayout.RowDefinition(); |
| | | this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); |
| | | this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); |
| | | this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); |
| | |
| | | this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | this.tips = new DevExpress.Utils.ToolTipController(this.components); |
| | | this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | | this.xtraTabControl1.SuspendLayout(); |
| | | this.xtraTabPage1.SuspendLayout(); |
| | |
| | | this.gv_fstaffid, |
| | | this.gv_fforbidstatus, |
| | | this.gv_remark, |
| | | this.gv_createDate}); |
| | | this.gv_createDate, |
| | | this.gridColumn3, |
| | | this.gridColumn4}); |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | |
| | | this.gv_createDate.OptionsColumn.AllowEdit = false; |
| | | this.gv_createDate.Tag = "query_a.create_date"; |
| | | this.gv_createDate.Visible = true; |
| | | this.gv_createDate.VisibleIndex = 9; |
| | | this.gv_createDate.VisibleIndex = 10; |
| | | this.gv_createDate.Width = 180; |
| | | // |
| | | // pageBar1 |
| | |
| | | this.layoutControlItem12}); |
| | | this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; |
| | | this.Root.Name = "Root"; |
| | | columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition1.Width = 100D; |
| | | columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition2.Width = 100D; |
| | | columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition3.Width = 100D; |
| | | columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition4.Width = 100D; |
| | | columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5.Width = 100D; |
| | | columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition6.Width = 100D; |
| | | columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition7.Width = 100D; |
| | | columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition8.Width = 100D; |
| | | this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { |
| | | columnDefinition1, |
| | | columnDefinition2, |
| | | columnDefinition3, |
| | | columnDefinition4}); |
| | | rowDefinition1.Height = 100D; |
| | | rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition2.Height = 100D; |
| | | rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition3.Height = 100D; |
| | | rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition4.Height = 100D; |
| | | rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | columnDefinition5, |
| | | columnDefinition6, |
| | | columnDefinition7, |
| | | columnDefinition8}); |
| | | rowDefinition5.Height = 100D; |
| | | rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition6.Height = 100D; |
| | | rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition7.Height = 100D; |
| | | rowDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | rowDefinition8.Height = 100D; |
| | | rowDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; |
| | | this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { |
| | | rowDefinition1, |
| | | rowDefinition2, |
| | | rowDefinition3, |
| | | rowDefinition4}); |
| | | rowDefinition5, |
| | | rowDefinition6, |
| | | rowDefinition7, |
| | | rowDefinition8}); |
| | | this.Root.Size = new System.Drawing.Size(990, 153); |
| | | this.Root.TextVisible = false; |
| | | // |
| | |
| | | this.layoutControlItem12.Text = "备注"; |
| | | this.layoutControlItem12.TextSize = new System.Drawing.Size(75, 18); |
| | | // |
| | | // gridColumn3 |
| | | // |
| | | this.gridColumn3.Caption = "主键Guid"; |
| | | this.gridColumn3.FieldName = "guid"; |
| | | this.gridColumn3.MinWidth = 25; |
| | | this.gridColumn3.Name = "gridColumn3"; |
| | | this.gridColumn3.Width = 94; |
| | | // |
| | | // gridColumn4 |
| | | // |
| | | this.gridColumn4.Caption = "供应商ID"; |
| | | this.gridColumn4.FieldName = "id"; |
| | | this.gridColumn4.MinWidth = 25; |
| | | this.gridColumn4.Name = "gridColumn4"; |
| | | this.gridColumn4.Visible = true; |
| | | this.gridColumn4.VisibleIndex = 9; |
| | | this.gridColumn4.Width = 94; |
| | | // |
| | | // Frm_Supplier |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13; |
| | | private DevExpress.Utils.ToolTipController tips; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,a.supp_no", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "BILL_NO", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | using DevExpress.Utils.MVVM.Services; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.UserControl; |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "BILL_NO", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += " and a.bl008='" + strType + "'"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += " and a.out_type='" + strType + "'"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | { |
| | | MsgHelper.Warning("提示:" + ex.Message); |
| | | } |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | var _obj = new |
| | | { |
| | | guid = rowGuid, |
| | | mxGuid = Guid.Empty.ToString(), |
| | | }; |
| | | try |
| | | { |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | // _sbSqlWhere += " and isnull(fsubmit,0)=0"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += " and isnull(fsubmit,0)=1"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | { |
| | | this.gcMain = new DevExpress.XtraGrid.GridControl(); |
| | | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.colChkInt = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_supplierItemCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_supplierItemName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); |
| | | this.btnIn = new DevExpress.XtraEditors.SimpleButton(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); |
| | |
| | | this.gridView1.Appearance.Row.Options.UseFont = true; |
| | | this.gridView1.ColumnPanelRowHeight = 50; |
| | | this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { |
| | | this.gv_guid, |
| | | this.colChkInt, |
| | | this.gridColumn1, |
| | | this.gv_supplierItemCode, |
| | | this.gv_supplierItemName, |
| | | this.gridColumn5, |
| | | this.gridColumn2, |
| | | this.gridColumn4, |
| | | this.gridColumn3}); |
| | | this.gridColumn3, |
| | | this.gv_guid}); |
| | | this.gridView1.GridControl = this.gcMain; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | | this.gridView1.OptionsFind.ShowSearchNavButtons = false; |
| | | this.gridView1.OptionsSelection.MultiSelect = true; |
| | | this.gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect; |
| | | this.gridView1.OptionsView.ShowAutoFilterRow = true; |
| | | this.gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // gv_guid |
| | | // colChkInt |
| | | // |
| | | this.gv_guid.AppearanceCell.Options.UseFont = true; |
| | | this.gv_guid.Caption = "主键不能删除"; |
| | | this.gv_guid.FieldName = "dabGuid"; |
| | | this.gv_guid.MinWidth = 50; |
| | | this.gv_guid.Name = "gv_guid"; |
| | | this.gv_guid.OptionsColumn.AllowEdit = false; |
| | | this.gv_guid.OptionsColumn.ReadOnly = true; |
| | | this.gv_guid.Tag = "query_a.guid"; |
| | | this.gv_guid.Width = 94; |
| | | this.colChkInt.Caption = "."; |
| | | this.colChkInt.FieldName = "chkInt"; |
| | | this.colChkInt.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; |
| | | this.colChkInt.MinWidth = 25; |
| | | this.colChkInt.Name = "colChkInt"; |
| | | this.colChkInt.Visible = true; |
| | | this.colChkInt.VisibleIndex = 0; |
| | | this.colChkInt.Width = 94; |
| | | // |
| | | // gridColumn1 |
| | | // |
| | |
| | | this.gridColumn3.VisibleIndex = 2; |
| | | this.gridColumn3.Width = 94; |
| | | // |
| | | // gv_guid |
| | | // |
| | | this.gv_guid.AppearanceCell.Options.UseFont = true; |
| | | this.gv_guid.Caption = "主键不能删除"; |
| | | this.gv_guid.FieldName = "dabGuid"; |
| | | this.gv_guid.MinWidth = 50; |
| | | this.gv_guid.Name = "gv_guid"; |
| | | this.gv_guid.OptionsColumn.AllowEdit = false; |
| | | this.gv_guid.OptionsColumn.ReadOnly = true; |
| | | this.gv_guid.Tag = "query_a.guid"; |
| | | this.gv_guid.Width = 94; |
| | | // |
| | | // panelControl1 |
| | | // |
| | | this.panelControl1.Controls.Add(this.btnIn); |
| | |
| | | this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; |
| | | this.Name = "SelectFqcBox"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
| | | this.Text = "请选择项码"; |
| | | this.Text = "请选择箱码"; |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); |
| | |
| | | private DevExpress.XtraEditors.SimpleButton btnIn; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colChkInt; |
| | | } |
| | | } |
| | |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.DevFrm.FQC |
| | |
| | | InitializeComponent(); |
| | | this.daaNo = _daaNo; |
| | | this.Text = "请选择【" + this.daaNo + "】的箱码"; |
| | | this.gridView1.CustomDrawColumnHeader += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomDrawColumnHeader(s, e); }; |
| | | this.gridView1.MouseUp += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomMouseUp(s, e, gcMain, gridView1); }; |
| | | this.colChkInt.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; |
| | | this.colChkInt.OptionsFilter.AllowAutoFilter = false; |
| | | this.colChkInt.OptionsFilter.AllowFilter = false; |
| | | this.colChkInt.OptionsFilter.AllowInHeaderSearch = DevExpress.Utils.DefaultBoolean.False; |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", null, null, false); |
| | | getPageList(1); |
| | | btnIn.Click += (s, e) => |
| | | { |
| | | gridView1.PostEditor(); |
| | | gridView1.UpdateCurrentRow(); |
| | | var list = new List<dynamic>(); |
| | | int[] rows = this.gridView1.GetSelectedRows();//先获取选择行的行号 |
| | | DataTable dt = this.gcMain.DataSource as DataTable;//得到GridControl的数据源 |
| | | foreach (int idx in rows) |
| | | DataTable dt = this.gcMain.DataSource as DataTable; |
| | | { |
| | | string _guid = dt.Rows[idx]["itemBarcode"].ToString(); |
| | | list.Add(new |
| | | foreach (DataRow dr in dt.Rows) |
| | | { |
| | | itemBarcode = _guid, |
| | | sl = "10", |
| | | }); |
| | | string checkBox = dr["chkInt"].ToString(); |
| | | string _guid = dr["itemBarcode"].ToString(); |
| | | if (Gs.DevApp.ToolBox.UtilityHelper.ToCheck(checkBox)) |
| | | { |
| | | list.Add(new |
| | | { |
| | | itemBarcode = _guid, |
| | | sl = dr["quantity"].ToString() |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | UpdateParent?.Invoke(this, |
| | | new UpdateParentEventArgs { DynamicList = list }); |
| | | Close(); |
| | | UpdateParent?.Invoke(this, new UpdateParentEventArgs { DynamicList = list }); Close(); |
| | | |
| | | }; |
| | | } |
| | | |
| | |
| | | using System.Data; |
| | | using System.Windows.Forms; |
| | | |
| | | |
| | | namespace Gs.DevApp.DevFrm.FQC |
| | | { |
| | | public partial class SelectFqcDaa : DevExpress.XtraEditors.XtraForm |
| | |
| | | using DevExpress.Utils.DirectXPaint; |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.DevFrm.FQC |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | // _sbSqlWhere += " and isnull(fsubmit,0)=0"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.ACCOUNT asc ,a.CREATE_TIME", |
| | | "desc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.fType", |
| | | "desc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | { |
| | | MsgHelper.Warning("提示:" + ex.Message); |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | // _sbSqlWhere += " and isnull(fsubmit,0)=0"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += " and b.guid is not null"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,b.ITEM_NO", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += " and b.guid is not null"; |
| | | _sbSqlWhere += " and a.FTYPE='" + this.strType + "'"; |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, |
| | |
| | | using CefSharp.DevTools.CSS; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.UserControl; |
| | | using Newtonsoft.Json; |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_no", "asc", "", _sbSqlWhere.ToString(), _jyxm); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "qt001", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | private void getPageList(int curPage) |
| | | { |
| | | |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.INDEP_DATE", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "order_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.print_no", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += " and c.GUID is not null and b.guid is not null"; |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "c.ACCOUNT", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, 999999, "FID", "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "OPERATION_TIME", "desc,ABT_HNO desc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "ROLE_NAME asc,CREATE_TIME ", "desc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | // |
| | | this.trv.CheckBoxes = true; |
| | | this.trv.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | |
| | | this.trv.Location = new System.Drawing.Point(3, 22); |
| | | this.trv.Name = "trv"; |
| | | this.trv.Size = new System.Drawing.Size(462, 618); |
| | |
| | | // |
| | | // btnCancel |
| | | // |
| | | |
| | | this.btnCancel.Appearance.Options.UseFont = true; |
| | | this.btnCancel.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; |
| | | this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | this.btnCancel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.ImageOptions.Image"))); |
| | | this.btnCancel.Location = new System.Drawing.Point(214, 16); |
| | | this.btnCancel.Location = new System.Drawing.Point(219, 16); |
| | | this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.btnCancel.Name = "btnCancel"; |
| | | this.btnCancel.Size = new System.Drawing.Size(87, 37); |
| | |
| | | // |
| | | // btnSave |
| | | // |
| | | |
| | | this.btnSave.Appearance.Options.UseFont = true; |
| | | this.btnSave.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; |
| | | this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image"))); |
| | | this.btnSave.Location = new System.Drawing.Point(93, 16); |
| | | this.btnSave.Location = new System.Drawing.Point(98, 16); |
| | | this.btnSave.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.btnSave.Name = "btnSave"; |
| | | this.btnSave.Size = new System.Drawing.Size(87, 37); |
| | |
| | | this.ClientSize = new System.Drawing.Size(468, 643); |
| | | this.Controls.Add(this.panel2); |
| | | this.Controls.Add(this.panel1); |
| | | this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; |
| | | this.MaximizeBox = false; |
| | | this.MinimizeBox = false; |
| | | this.Name = "RoleSelectAction"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
| | | this.Text = "设置角色权限"; |
| | | this.Text = "设置角色的权限"; |
| | | this.TopMost = true; |
| | | this.panel1.ResumeLayout(false); |
| | | this.groupBox1.ResumeLayout(false); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.ACCOUNT asc ,a.CREATE_TIME", |
| | | "desc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | private void getPageList(int curPage) |
| | | { |
| | | |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "desc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "order_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += " and a.bl008='" + strType + "'"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += " and a.out_type='" + strType + "'"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, " org.FNumber asc ,a.item_no ", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "BILL_NO", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "billNo", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | private void getPageList(int curPage) |
| | | { |
| | | txt_barCode.Text = ""; |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.createDate", "desc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.processNo", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | private void getPageList(int curPage) |
| | | { |
| | | gcMain1.DataSource = null; |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,a.item_no asc", "", |
| | | "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | |
| | | public static FilterEntity getFilterEntityWord(string id, string idDec, string val, string type) |
| | | { |
| | | return new FilterEntity(id, idDec + ")", " like ", "包含)", "%" + val + "%", type); |
| | | switch (type) |
| | | { |
| | | case "Bit类型": |
| | | string _val = (val.ToUpper()== "true".ToUpper() ? "1": "0"); |
| | | return new FilterEntity(id, idDec + ")", "=", "等于)", "" + _val + "", type); |
| | | break; |
| | | default: |
| | | return new FilterEntity(id, idDec + ")", "like", "包含)", "%" + val + "%", type); |
| | | break; |
| | | } |
| | | |
| | | } |
| | | public static List<FilterEntity> GetDilter(GridColumnCollection Columns, GridView gridView1 = null) |
| | | { |
| | |
| | | ColumnFilterInfo filter = col.FilterInfo; |
| | | if (string.IsNullOrEmpty(filter.FilterString)) |
| | | continue; |
| | | // fiList.Add(new FilterEntity("b.FNumber", "使用组织", " like ", "包含", "%" + filter.Value + "%")); |
| | | string[] ddd = filter.FilterString.Replace("Contains", "").Replace("(", "").Replace(")", "").Replace("'", "").Replace("'", "").Split(','); |
| | | //Contains([fSubsidiary], '005') |
| | | fiList.Add(getFilterEntityWord(col.Tag.ToString(), col.Caption.Trim(), ddd[1].Trim(), col.UnboundExpression)); |
| | | string _filterString= filter.FilterString.Replace("Contains", "").Replace("(", "").Replace(")", "").Replace("'", "").Replace("'", ""); |
| | | string[] ddd= _filterString.Split(','); |
| | | string _val = ""; |
| | | if (ddd.Length > 1) |
| | | { |
| | | _val = ddd[1].Trim(); |
| | | } |
| | | else { |
| | | ddd = _filterString.Split('='); |
| | | _val = ddd[1].Trim(); |
| | | } |
| | | fiList.Add(getFilterEntityWord(col.Tag.ToString(), col.Caption.Trim(), _val, col.UnboundExpression)); |
| | | } |
| | | return fiList; |
| | | } |
| | |
| | | case "时间类型": |
| | | _sbSqlWhere.Append(" and CONVERT(nvarchar(30)," + itm.fileId + ",23)" + itm.fileOper + "'" + itm.fileValue + "'"); |
| | | break; |
| | | //case "数值类型": |
| | | // _sbSqlWhere.Append(" and " + itm.fileId + itm.fileOper + "'" + itm.fileValue + "'"); |
| | | // break; |
| | | case "Bit类型": |
| | | _sbSqlWhere.Append(" and isnull(" + itm.fileId + ",0) =" + itm.fileValue + ""); |
| | | break; |
| | | default: |
| | | _sbSqlWhere.Append(" and " + itm.fileId + itm.fileOper + "'" + itm.fileValue + "'"); |
| | | _sbSqlWhere.Append(" and " +itm.fileId + " "+itm.fileOper + " '" + itm.fileValue + "'"); |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return _sbSqlWhere.ToString(); |
| | | } |
| | | |
| | | |
| | | public delegate void DelegateGetModel(string guid); |
| | | public delegate void DelegateGetList(int currentPage); |
| | | /// <summary> |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | _sbSqlWhere += (" and org.fid='" + _strGuid + "'"); |
| | | var pgq = new PageQueryModel(curPage, 999999, "org.FNumber asc ,a.depot_code", "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, 999999, "FID", "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageListGys(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, 999999, "org.FNumber asc ,a.supp_no", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageListCus(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, 999999, "org.FNumber asc ,a.cust_no", |
| | | "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, 999999, "FID", "asc", "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | this.repositoryItemComboBox3Sql.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
| | | new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
| | | this.repositoryItemComboBox3Sql.Items.AddRange(new object[] { |
| | | "-请选择-", |
| | | "字符串类型", |
| | | "数值类型", |
| | | "时间类型", |
| | |
| | | .ToString(); |
| | | var _fieldType = gridView1.GetRowCellValue(i, "fieldType") |
| | | .ToString(); |
| | | //如果是like 要加上百分号 |
| | | if (_fileWhere.Contains("like")) |
| | | { |
| | | _fileWhere = " like "; |
| | | _fileWhere = "like"; |
| | | _fieldValue = "%" + _fieldValue + "%"; |
| | | } |
| | | list.Add(new FilterEntity(_fieId, _fileIdDec, _fileWhere, |