From fe3a2210d028a6319e71299b9773a15cb16d6e35 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 24 六月 2025 17:45:34 +0800 Subject: [PATCH] 超期检验 --- DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.Designer.cs | 347 ++++++++ DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.cs | 94 ++ DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.Designer.cs | 1343 +++++++++++++++++++++++++++++++ DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.cs | 568 +++++++++++++ DevApp/Gs.DevApp/App.config | 4 DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.resx | 120 ++ DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.resx | 6 7 files changed, 2,473 insertions(+), 9 deletions(-) diff --git a/DevApp/Gs.DevApp/App.config b/DevApp/Gs.DevApp/App.config index 3d80851..f77fd81 100644 --- a/DevApp/Gs.DevApp/App.config +++ b/DevApp/Gs.DevApp/App.config @@ -28,9 +28,9 @@ </assemblyBinding> </runtime> <appSettings> - <add key="WebApiUrl" value="http://localhost:5263/" /> + <!--<add key="WebApiUrl" value="http://localhost:5263/" />--> <!--<add key="WebApiUrl" value="http://192.168.1.145:8081/" />--> - <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />--> + <add key="WebApiUrl" value="http://192.168.1.145:81/" /> <add key="LogPath" value="logs" /> <add key="ProductName" value="G-MES V2.0" /> <add key="PageSize" value="50" /> diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.Designer.cs b/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.Designer.cs index 217b21c..e169cea 100644 --- a/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.Designer.cs @@ -28,19 +28,1358 @@ /// </summary> private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + 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(); + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); + this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); + this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); + this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.split1 = new DevExpress.XtraEditors.SplitContainerControl(); + this.gcMain1 = new DevExpress.XtraGrid.GridControl(); + this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_status = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_isFinish = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_isOut = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_lastUpdateUser = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_lastUpdateTime = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_checkUser = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_checkDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_returnMethod = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_returnType = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_depotId = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_suppId = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.pageBar1 = new UserControls.Data.UcPageBar(); + this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl(); + this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl(); + this.btnSelect = new DevExpress.XtraEditors.SimpleButton(); + this.lbGuid = new System.Windows.Forms.Label(); + this.txt_kcOrgId = new Gs.DevApp.UserControl.UcLookOrg(); + this.txt_billNo = new DevExpress.XtraEditors.TextEdit(); + this.txt_billType = new DevExpress.XtraEditors.ComboBoxEdit(); + this.txt_checkDate = new DevExpress.XtraEditors.TextEdit(); + this.txt_remark = new DevExpress.XtraEditors.TextEdit(); + this.txt_checkUser = new DevExpress.XtraEditors.TextEdit(); + this.txt_status = new DevExpress.XtraEditors.CheckEdit(); + this.lastUpdateUser = new DevExpress.XtraEditors.TextEdit(); + this.lastUpdateTime = new DevExpress.XtraEditors.TextEdit(); + this.txt_guid = new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); + this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); + this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); + this.tabMx = new DevExpress.XtraTab.XtraTabControl(); + this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.gcMx1 = new DevExpress.XtraGrid.GridControl(); + this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.mxGuid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.pGuid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1itemId = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1sqNum = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1ysNum = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1remark = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + this.tabMxPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.gcMx2 = new DevExpress.XtraGrid.GridControl(); + this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.picCheckBox = new System.Windows.Forms.PictureBox(); + this.tips = new DevExpress.Utils.ToolTipController(this.components); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); + this.xtraTabControl1.SuspendLayout(); + this.xtraTabPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.split1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).BeginInit(); + this.split1.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).BeginInit(); + this.split1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); + this.xtraTabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).BeginInit(); + this.splitMx1.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).BeginInit(); + this.splitMx1.Panel2.SuspendLayout(); + this.splitMx1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).BeginInit(); + this.layoutMx1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_billType.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.lastUpdateUser.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.lastUpdateTime.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_guid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).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(); + this.tabMxPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); this.SuspendLayout(); + // + // toolBarMenu1 + // + this.toolBarMenu1.chkParameter = null; + this.toolBarMenu1.currentAction = null; + this.toolBarMenu1.defaultActions = null; + this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; + this.toolBarMenu1.guidKey = null; + this.toolBarMenu1.isSetBtn = false; + this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); + this.toolBarMenu1.Name = "toolBarMenu1"; + this.toolBarMenu1.rptParameter = null; + this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.TabIndex = 0; + this.toolBarMenu1.xlsInService = null; + this.toolBarMenu1.xlsOutParameter = null; + // + // xtraTabControl1 + // + this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); + this.xtraTabControl1.Name = "xtraTabControl1"; + this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; + this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.TabIndex = 3; + this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.xtraTabPage1, + this.xtraTabPage2}); + // + // xtraTabPage1 + // + this.xtraTabPage1.Controls.Add(this.split1); + this.xtraTabPage1.Name = "xtraTabPage1"; + this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage1.Text = "鏁版嵁鍒楄〃"; + // + // 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.Panel1 + // + this.split1.Panel1.Controls.Add(this.gcMain1); + this.split1.Panel1.Controls.Add(this.pageBar1); + this.split1.Panel1.Text = "Panel1"; + // + // split1.Panel2 + // + 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; + // + // gcMain1 + // + this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMain1.Location = new System.Drawing.Point(0, 0); + this.gcMain1.MainView = this.gridView1; + this.gcMain1.Name = "gcMain1"; + this.gcMain1.Size = new System.Drawing.Size(1126, 519); + this.gcMain1.TabIndex = 2; + this.gcMain1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; + this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; + this.gridView1.Appearance.Row.Options.UseFont = true; + this.gridView1.ColumnPanelRowHeight = 50; + this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gridColumn1, + this.gv_status, + this.gv_isFinish, + this.gv_isOut, + this.gv_billNo, + this.gv_lastUpdateUser, + this.gv_lastUpdateTime, + this.gv_checkUser, + this.gv_checkDate, + this.gv_returnMethod, + this.gv_returnType, + this.gv_depotId, + this.gv_suppId, + this.gv_remark, + this.gridColumn7}); + this.gridView1.GridControl = this.gcMain1; + this.gridView1.IndicatorWidth = 50; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsView.ShowAutoFilterRow = true; + this.gridView1.OptionsView.ShowGroupPanel = false; + // + // gridColumn1 + // + this.gridColumn1.Caption = "閫�璐х粍缁�"; + this.gridColumn1.FieldName = "receivingOrg"; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Tag = "org.fnamber"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 0; + this.gridColumn1.Width = 250; + // + // gv_status + // + this.gv_status.AppearanceCell.Options.UseFont = true; + this.gv_status.Caption = "瀹℃牳鐘舵��"; + this.gv_status.FieldName = "status"; + this.gv_status.MaxWidth = 50; + this.gv_status.MinWidth = 50; + this.gv_status.Name = "gv_status"; + this.gv_status.OptionsColumn.AllowEdit = false; + this.gv_status.Tag = "query_a.STATUS"; + this.gv_status.Visible = true; + this.gv_status.VisibleIndex = 1; + this.gv_status.Width = 50; + // + // gv_isFinish + // + this.gv_isFinish.AppearanceCell.Options.UseFont = true; + this.gv_isFinish.Caption = "鏄惁瀹屾垚"; + this.gv_isFinish.FieldName = "isFinish"; + this.gv_isFinish.MaxWidth = 50; + this.gv_isFinish.MinWidth = 50; + this.gv_isFinish.Name = "gv_isFinish"; + this.gv_isFinish.OptionsColumn.AllowEdit = false; + this.gv_isFinish.Tag = "query_a.IS_FINISH"; + this.gv_isFinish.Width = 50; + // + // gv_isOut + // + this.gv_isOut.AppearanceCell.Options.UseFont = true; + this.gv_isOut.Caption = "濮斿鏍囪瘑"; + this.gv_isOut.FieldName = "isOut"; + this.gv_isOut.MaxWidth = 50; + this.gv_isOut.MinWidth = 50; + this.gv_isOut.Name = "gv_isOut"; + this.gv_isOut.OptionsColumn.AllowEdit = false; + this.gv_isOut.Tag = "query_a.IS_OUT"; + this.gv_isOut.Visible = true; + this.gv_isOut.VisibleIndex = 2; + this.gv_isOut.Width = 50; + // + // gv_billNo + // + this.gv_billNo.AppearanceCell.Options.UseFont = true; + this.gv_billNo.Caption = "鍗曟嵁缂栫爜"; + this.gv_billNo.FieldName = "billNo"; + this.gv_billNo.Name = "gv_billNo"; + this.gv_billNo.OptionsColumn.AllowEdit = false; + this.gv_billNo.Tag = "query_a.BILL_NO"; + this.gv_billNo.Visible = true; + this.gv_billNo.VisibleIndex = 3; + this.gv_billNo.Width = 120; + // + // gv_lastUpdateUser + // + this.gv_lastUpdateUser.AppearanceCell.Options.UseFont = true; + this.gv_lastUpdateUser.Caption = "鏈�鍚庤窡鏂颁汉 "; + this.gv_lastUpdateUser.FieldName = "lastUpdateUser"; + this.gv_lastUpdateUser.Name = "gv_lastUpdateUser"; + this.gv_lastUpdateUser.OptionsColumn.AllowEdit = false; + this.gv_lastUpdateUser.Tag = "query_a.LAST_UPDATE_USER"; + this.gv_lastUpdateUser.Visible = true; + this.gv_lastUpdateUser.VisibleIndex = 4; + this.gv_lastUpdateUser.Width = 94; + // + // gv_lastUpdateTime + // + this.gv_lastUpdateTime.AppearanceCell.Options.UseFont = true; + this.gv_lastUpdateTime.Caption = "鏈�鍚庝慨鏀规椂闂� "; + this.gv_lastUpdateTime.FieldName = "lastUpdateTime"; + this.gv_lastUpdateTime.Name = "gv_lastUpdateTime"; + this.gv_lastUpdateTime.OptionsColumn.AllowEdit = false; + this.gv_lastUpdateTime.Tag = "query_a.LAST_UPDATE_TIME"; + this.gv_lastUpdateTime.Visible = true; + this.gv_lastUpdateTime.VisibleIndex = 5; + this.gv_lastUpdateTime.Width = 180; + // + // gv_checkUser + // + this.gv_checkUser.AppearanceCell.Options.UseFont = true; + this.gv_checkUser.Caption = "瀹℃牳浜� "; + this.gv_checkUser.FieldName = "checkUser"; + this.gv_checkUser.Name = "gv_checkUser"; + this.gv_checkUser.OptionsColumn.AllowEdit = false; + this.gv_checkUser.Tag = "query_a.CHECK_USER"; + this.gv_checkUser.Visible = true; + this.gv_checkUser.VisibleIndex = 6; + this.gv_checkUser.Width = 94; + // + // gv_checkDate + // + this.gv_checkDate.AppearanceCell.Options.UseFont = true; + this.gv_checkDate.Caption = "瀹℃牳鏃堕棿 "; + this.gv_checkDate.FieldName = "checkDate"; + this.gv_checkDate.Name = "gv_checkDate"; + this.gv_checkDate.OptionsColumn.AllowEdit = false; + this.gv_checkDate.Tag = "query_a.CHECK_DATE"; + this.gv_checkDate.Visible = true; + this.gv_checkDate.VisibleIndex = 7; + this.gv_checkDate.Width = 94; + // + // gv_returnMethod + // + this.gv_returnMethod.AppearanceCell.Options.UseFont = true; + this.gv_returnMethod.Caption = "閫�鏂欐柟寮� "; + this.gv_returnMethod.FieldName = "returnMethod"; + this.gv_returnMethod.Name = "gv_returnMethod"; + this.gv_returnMethod.OptionsColumn.AllowEdit = false; + this.gv_returnMethod.Tag = "query_a.RETURN_METHOD"; + this.gv_returnMethod.Visible = true; + this.gv_returnMethod.VisibleIndex = 8; + this.gv_returnMethod.Width = 94; + // + // gv_returnType + // + this.gv_returnType.AppearanceCell.Options.UseFont = true; + this.gv_returnType.Caption = "閫�鏂欑被鍨� "; + this.gv_returnType.FieldName = "returnType"; + this.gv_returnType.Name = "gv_returnType"; + this.gv_returnType.OptionsColumn.AllowEdit = false; + this.gv_returnType.Tag = "query_a.RETURN_TYPE"; + this.gv_returnType.Visible = true; + this.gv_returnType.VisibleIndex = 9; + this.gv_returnType.Width = 94; + // + // gv_depotId + // + this.gv_depotId.AppearanceCell.Options.UseFont = true; + this.gv_depotId.Caption = "浠撳簱"; + this.gv_depotId.FieldName = "dptName"; + this.gv_depotId.Name = "gv_depotId"; + this.gv_depotId.OptionsColumn.AllowEdit = false; + this.gv_depotId.Tag = "query_a.DEPOT_ID"; + this.gv_depotId.Visible = true; + this.gv_depotId.VisibleIndex = 10; + this.gv_depotId.Width = 94; + // + // gv_suppId + // + this.gv_suppId.AppearanceCell.Options.UseFont = true; + this.gv_suppId.Caption = "渚涘簲鍟�"; + this.gv_suppId.FieldName = "supName"; + this.gv_suppId.Name = "gv_suppId"; + this.gv_suppId.OptionsColumn.AllowEdit = false; + this.gv_suppId.Tag = "query_a.SUPP_ID"; + this.gv_suppId.Visible = true; + this.gv_suppId.VisibleIndex = 11; + this.gv_suppId.Width = 94; + // + // gv_remark + // + this.gv_remark.AppearanceCell.Options.UseFont = true; + this.gv_remark.Caption = "鐢宠澶囨敞"; + this.gv_remark.FieldName = "remark"; + this.gv_remark.Name = "gv_remark"; + this.gv_remark.OptionsColumn.AllowEdit = false; + this.gv_remark.Tag = "query_a.REMARK"; + this.gv_remark.Visible = true; + this.gv_remark.VisibleIndex = 12; + this.gv_remark.Width = 94; + // + // gridColumn7 + // + this.gridColumn7.Caption = "涓婚敭GUID"; + this.gridColumn7.FieldName = "guid"; + this.gridColumn7.MinWidth = 25; + this.gridColumn7.Name = "gridColumn7"; + this.gridColumn7.Width = 94; + // + // pageBar1 + // + this.pageBar1.CurrentPage = 1; + this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pageBar1.Location = new System.Drawing.Point(0, 519); + this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); + this.pageBar1.Name = "pageBar1"; + this.pageBar1.RecordCount = 0; + this.pageBar1.Size = new System.Drawing.Size(1126, 39); + this.pageBar1.TabIndex = 4; + this.pageBar1.TotalPages = 0; + // + // xtraTabPage2 + // + this.xtraTabPage2.Controls.Add(this.splitMx1); + this.xtraTabPage2.Name = "xtraTabPage2"; + this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Text = "鏁版嵁璇︽儏"; + // + // splitMx1 + // + 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"; + // + // splitMx1.Panel1 + // + this.splitMx1.Panel1.Controls.Add(this.layoutMx1); + this.splitMx1.Panel1.Text = "Panel1"; + // + // splitMx1.Panel2 + // + 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(1126, 570); + this.splitMx1.SplitterPosition = 108; + this.splitMx1.TabIndex = 0; + // + // layoutMx1 + // + this.layoutMx1.Controls.Add(this.btnSelect); + this.layoutMx1.Controls.Add(this.lbGuid); + this.layoutMx1.Controls.Add(this.txt_kcOrgId); + this.layoutMx1.Controls.Add(this.txt_billNo); + this.layoutMx1.Controls.Add(this.txt_billType); + this.layoutMx1.Controls.Add(this.txt_checkDate); + this.layoutMx1.Controls.Add(this.txt_remark); + this.layoutMx1.Controls.Add(this.txt_checkUser); + this.layoutMx1.Controls.Add(this.txt_status); + this.layoutMx1.Controls.Add(this.lastUpdateUser); + this.layoutMx1.Controls.Add(this.lastUpdateTime); + this.layoutMx1.Controls.Add(this.txt_guid); + this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem17, + this.layoutControlItem13}); + this.layoutMx1.Location = new System.Drawing.Point(0, 0); + this.layoutMx1.Name = "layoutMx1"; + this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(832, 224, 812, 500); + this.layoutMx1.Root = this.Root; + this.layoutMx1.Size = new System.Drawing.Size(1126, 108); + this.layoutMx1.TabIndex = 0; + this.layoutMx1.Text = "layoutControl1"; + // + // btnSelect + // + this.btnSelect.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.lookup_reference_16x16; + this.btnSelect.Location = new System.Drawing.Point(12, 69); + this.btnSelect.Name = "btnSelect"; + this.btnSelect.Size = new System.Drawing.Size(116, 27); + this.btnSelect.StyleController = this.layoutMx1; + this.btnSelect.TabIndex = 525; + this.btnSelect.Text = "閫夋嫨瓒呮湡鏉$爜"; + // + // lbGuid + // + this.lbGuid.Location = new System.Drawing.Point(840, 114); + this.lbGuid.Name = "lbGuid"; + this.lbGuid.Size = new System.Drawing.Size(274, 30); + this.lbGuid.TabIndex = 1; + this.lbGuid.Text = "lbGuid"; + this.lbGuid.Visible = false; + // + // txt_kcOrgId + // + this.txt_kcOrgId.IsReadly = false; + this.txt_kcOrgId.Location = new System.Drawing.Point(114, 38); + this.txt_kcOrgId.Name = "txt_kcOrgId"; + this.txt_kcOrgId.Size = new System.Drawing.Size(165, 24); + this.txt_kcOrgId.TabIndex = 526; + // + // txt_billNo + // + this.txt_billNo.Location = new System.Drawing.Point(114, 7); + this.txt_billNo.Name = "txt_billNo"; + this.txt_billNo.Properties.Appearance.Options.UseFont = true; + this.txt_billNo.Size = new System.Drawing.Size(165, 24); + this.txt_billNo.StyleController = this.layoutMx1; + this.txt_billNo.TabIndex = 211; + this.txt_billNo.Tag = "readonly"; + // + // txt_billType + // + this.txt_billType.EditValue = "-璇烽�夋嫨-"; + this.txt_billType.Location = new System.Drawing.Point(385, 7); + this.txt_billType.Name = "txt_billType"; + this.txt_billType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txt_billType.Properties.Items.AddRange(new object[] { + "-璇烽�夋嫨-", + "璇曚骇", + "閲忎骇", + "鍝佽川闇�姹�", + "鐢熶骇闇�姹�", + "閿�鍞渶姹�", + "瀹為獙闇�姹�"}); + this.txt_billType.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; + this.txt_billType.Size = new System.Drawing.Size(165, 24); + this.txt_billType.StyleController = this.layoutMx1; + this.txt_billType.TabIndex = 520; + // + // txt_checkDate + // + this.txt_checkDate.Location = new System.Drawing.Point(927, 38); + this.txt_checkDate.Name = "txt_checkDate"; + this.txt_checkDate.Properties.Appearance.Options.UseFont = true; + this.txt_checkDate.Size = new System.Drawing.Size(166, 24); + this.txt_checkDate.StyleController = this.layoutMx1; + this.txt_checkDate.TabIndex = 226; + this.txt_checkDate.Tag = "readonly"; + // + // txt_remark + // + this.txt_remark.Location = new System.Drawing.Point(385, 69); + this.txt_remark.Name = "txt_remark"; + this.txt_remark.Properties.Appearance.Options.UseFont = true; + this.txt_remark.Size = new System.Drawing.Size(436, 24); + this.txt_remark.StyleController = this.layoutMx1; + this.txt_remark.TabIndex = 252; + // + // txt_checkUser + // + this.txt_checkUser.Location = new System.Drawing.Point(927, 7); + this.txt_checkUser.Name = "txt_checkUser"; + this.txt_checkUser.Properties.Appearance.Options.UseFont = true; + this.txt_checkUser.Size = new System.Drawing.Size(166, 24); + this.txt_checkUser.StyleController = this.layoutMx1; + this.txt_checkUser.TabIndex = 222; + this.txt_checkUser.Tag = "readonly"; + // + // txt_status + // + this.txt_status.Location = new System.Drawing.Point(825, 69); + this.txt_status.Name = "txt_status"; + this.txt_status.Properties.Caption = "瀹℃牳鏍囪瘑"; + this.txt_status.Size = new System.Drawing.Size(268, 24); + this.txt_status.StyleController = this.layoutMx1; + this.txt_status.TabIndex = 528; + this.txt_status.Tag = "readonly"; + // + // lastUpdateUser + // + this.lastUpdateUser.Location = new System.Drawing.Point(656, 7); + this.lastUpdateUser.Name = "lastUpdateUser"; + this.lastUpdateUser.Size = new System.Drawing.Size(165, 24); + this.lastUpdateUser.StyleController = this.layoutMx1; + this.lastUpdateUser.TabIndex = 530; + this.lastUpdateUser.Tag = "readonly"; + // + // lastUpdateTime + // + this.lastUpdateTime.Location = new System.Drawing.Point(656, 38); + this.lastUpdateTime.Name = "lastUpdateTime"; + this.lastUpdateTime.Size = new System.Drawing.Size(165, 24); + this.lastUpdateTime.StyleController = this.layoutMx1; + this.lastUpdateTime.TabIndex = 531; + this.lastUpdateTime.Tag = "readonly"; + // + // txt_guid + // + this.txt_guid.Location = new System.Drawing.Point(942, 148); + this.txt_guid.Name = "txt_guid"; + this.txt_guid.Size = new System.Drawing.Size(172, 24); + this.txt_guid.StyleController = this.layoutMx1; + this.txt_guid.TabIndex = 532; + // + // layoutControlItem17 + // + this.layoutControlItem17.Control = this.txt_guid; + this.layoutControlItem17.Location = new System.Drawing.Point(828, 136); + this.layoutControlItem17.Name = "layoutControlItem17"; + this.layoutControlItem17.OptionsTableLayoutItem.ColumnIndex = 3; + this.layoutControlItem17.OptionsTableLayoutItem.RowIndex = 4; + this.layoutControlItem17.Size = new System.Drawing.Size(278, 35); + this.layoutControlItem17.Text = "涓婚敭Guid"; + this.layoutControlItem17.TextSize = new System.Drawing.Size(50, 20); + // + // layoutControlItem13 + // + this.layoutControlItem13.Control = this.lbGuid; + this.layoutControlItem13.Location = new System.Drawing.Point(828, 102); + this.layoutControlItem13.Name = "layoutControlItem13"; + this.layoutControlItem13.OptionsTableLayoutItem.ColumnIndex = 3; + this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 3; + this.layoutControlItem13.Size = new System.Drawing.Size(278, 34); + this.layoutControlItem13.Text = "lbGuid"; + this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem13.TextVisible = false; + // + // Root + // + this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + this.Root.GroupBordersVisible = false; + this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem1, + this.layoutControlItem2, + this.layoutControlItem9, + this.layoutControlItem10, + this.layoutControlItem14, + this.layoutControlItem15, + this.layoutControlItem11, + this.layoutControlItem5, + this.layoutControlItem7, + this.layoutControlItem16}); + this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; + this.Root.Name = "Root"; + 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[] { + 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[] { + rowDefinition4, + rowDefinition5, + rowDefinition6}); + this.Root.Size = new System.Drawing.Size(1105, 113); + this.Root.TextVisible = false; + // + // layoutControlItem1 + // + this.layoutControlItem1.Control = this.txt_billNo; + this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); + this.layoutControlItem1.Name = "layoutControlItem1"; + this.layoutControlItem1.Size = new System.Drawing.Size(271, 31); + this.layoutControlItem1.Text = "鐢宠鍗曞彿"; + this.layoutControlItem1.TextSize = new System.Drawing.Size(90, 18); + // + // layoutControlItem2 + // + this.layoutControlItem2.Control = this.txt_kcOrgId; + this.layoutControlItem2.Location = new System.Drawing.Point(0, 31); + this.layoutControlItem2.Name = "layoutControlItem2"; + this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 1; + this.layoutControlItem2.Size = new System.Drawing.Size(271, 31); + this.layoutControlItem2.Text = "閫夋嫨缁勭粐"; + this.layoutControlItem2.TextSize = new System.Drawing.Size(90, 18); + // + // layoutControlItem9 + // + this.layoutControlItem9.Control = this.txt_checkUser; + this.layoutControlItem9.CustomizationFormText = "瀹℃牳浜哄憳"; + this.layoutControlItem9.Location = new System.Drawing.Point(813, 0); + this.layoutControlItem9.Name = "layoutControlItem9"; + this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 3; + this.layoutControlItem9.Size = new System.Drawing.Size(272, 31); + this.layoutControlItem9.Text = "瀹℃牳浜哄憳"; + this.layoutControlItem9.TextSize = new System.Drawing.Size(90, 18); + // + // layoutControlItem10 + // + this.layoutControlItem10.Control = this.txt_checkDate; + this.layoutControlItem10.Location = new System.Drawing.Point(813, 31); + this.layoutControlItem10.Name = "layoutControlItem10"; + this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 3; + this.layoutControlItem10.OptionsTableLayoutItem.RowIndex = 1; + this.layoutControlItem10.Size = new System.Drawing.Size(272, 31); + this.layoutControlItem10.Text = "瀹℃牳鏃堕棿"; + this.layoutControlItem10.TextSize = new System.Drawing.Size(90, 18); + // + // layoutControlItem14 + // + this.layoutControlItem14.Control = this.lastUpdateUser; + this.layoutControlItem14.Location = new System.Drawing.Point(542, 0); + this.layoutControlItem14.Name = "layoutControlItem14"; + this.layoutControlItem14.OptionsTableLayoutItem.ColumnIndex = 2; + this.layoutControlItem14.Size = new System.Drawing.Size(271, 31); + this.layoutControlItem14.Text = "鏈�鍚庢洿鏂颁汉"; + this.layoutControlItem14.TextSize = new System.Drawing.Size(90, 18); + // + // layoutControlItem15 + // + this.layoutControlItem15.Control = this.lastUpdateTime; + this.layoutControlItem15.Location = new System.Drawing.Point(542, 31); + this.layoutControlItem15.Name = "layoutControlItem15"; + this.layoutControlItem15.OptionsTableLayoutItem.ColumnIndex = 2; + this.layoutControlItem15.OptionsTableLayoutItem.RowIndex = 1; + this.layoutControlItem15.Size = new System.Drawing.Size(271, 31); + this.layoutControlItem15.Text = "鏈�鍚庢洿鏂版椂闂�"; + this.layoutControlItem15.TextSize = new System.Drawing.Size(90, 18); + // + // layoutControlItem11 + // + this.layoutControlItem11.Control = this.txt_status; + this.layoutControlItem11.Location = new System.Drawing.Point(813, 62); + this.layoutControlItem11.Name = "layoutControlItem11"; + this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 3; + this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem11.Size = new System.Drawing.Size(272, 31); + this.layoutControlItem11.Text = "瀹℃牳鏍囪瘑"; + this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem11.TextVisible = false; + // + // layoutControlItem5 + // + this.layoutControlItem5.Control = this.txt_billType; + this.layoutControlItem5.Location = new System.Drawing.Point(271, 0); + this.layoutControlItem5.Name = "layoutControlItem5"; + this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem5.Size = new System.Drawing.Size(271, 31); + this.layoutControlItem5.Text = "鐢宠绫诲瀷"; + this.layoutControlItem5.TextSize = new System.Drawing.Size(90, 18); + // + // layoutControlItem7 + // + this.layoutControlItem7.Control = this.txt_remark; + this.layoutControlItem7.Location = new System.Drawing.Point(271, 62); + this.layoutControlItem7.Name = "layoutControlItem7"; + this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem7.OptionsTableLayoutItem.ColumnSpan = 2; + this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem7.Size = new System.Drawing.Size(542, 31); + this.layoutControlItem7.Text = "鐢宠澶囨敞"; + this.layoutControlItem7.TextSize = new System.Drawing.Size(90, 18); + // + // layoutControlItem16 + // + this.layoutControlItem16.Control = this.btnSelect; + this.layoutControlItem16.Location = new System.Drawing.Point(0, 62); + this.layoutControlItem16.MaxSize = new System.Drawing.Size(120, 31); + this.layoutControlItem16.MinSize = new System.Drawing.Size(20, 31); + this.layoutControlItem16.Name = "layoutControlItem16"; + this.layoutControlItem16.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem16.Size = new System.Drawing.Size(271, 31); + this.layoutControlItem16.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem16.Text = "閫�璐ф槑缁�"; + this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem16.TextVisible = false; + // + // tabMx + // + this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabMx.Location = new System.Drawing.Point(0, 0); + this.tabMx.Name = "tabMx"; + this.tabMx.SelectedTabPage = this.tabMxPage1; + this.tabMx.Size = new System.Drawing.Size(1126, 450); + this.tabMx.TabIndex = 3; + this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.tabMxPage1, + this.tabMxPage2}); + // + // tabMxPage1 + // + this.tabMxPage1.Controls.Add(this.gcMx1); + this.tabMxPage1.Name = "tabMxPage1"; + this.tabMxPage1.Size = new System.Drawing.Size(1124, 418); + this.tabMxPage1.Text = "鐢宠鏄庣粏"; + // + // gcMx1 + // + this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMx1.Location = new System.Drawing.Point(0, 0); + this.gcMx1.MainView = this.gvMx1; + this.gcMx1.Name = "gcMx1"; + this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { + this.repositoryItemButtonEdit1}); + this.gcMx1.Size = new System.Drawing.Size(1124, 418); + this.gcMx1.TabIndex = 0; + this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx1}); + // + // gvMx1 + // + this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.mxGuid, + this.pGuid, + this.gvMx1itemId, + this.gridColumn2, + this.gridColumn5, + this.gridColumn3, + this.gvMx1sqNum, + this.gvMx1ysNum, + this.gridColumn4, + this.gvMx1remark, + this.gvMxDel}); + this.gvMx1.GridControl = this.gcMx1; + this.gvMx1.Name = "gvMx1"; + this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; + this.gvMx1.OptionsFind.ShowSearchNavButtons = false; + this.gvMx1.OptionsView.ShowGroupPanel = false; + // + // mxGuid + // + this.mxGuid.Caption = "鏄庣粏GUID"; + this.mxGuid.FieldName = "guid"; + this.mxGuid.MinWidth = 25; + this.mxGuid.Name = "mxGuid"; + this.mxGuid.Width = 94; + // + // pGuid + // + this.pGuid.AppearanceCell.Options.UseFont = true; + this.pGuid.Caption = "涓昏〃GUID"; + this.pGuid.FieldName = "pGuid"; + this.pGuid.MinWidth = 50; + this.pGuid.Name = "pGuid"; + this.pGuid.Tag = "query_a.MID"; + this.pGuid.Width = 94; + // + // gvMx1itemId + // + this.gvMx1itemId.AppearanceCell.Options.UseFont = true; + this.gvMx1itemId.Caption = "鐗╂枡ID"; + this.gvMx1itemId.FieldName = "itemId"; + this.gvMx1itemId.MinWidth = 50; + this.gvMx1itemId.Name = "gvMx1itemId"; + this.gvMx1itemId.Tag = "query_a.ITEM_ID"; + this.gvMx1itemId.Width = 94; + // + // gridColumn2 + // + this.gridColumn2.Caption = "鐗╂枡缂栫爜"; + this.gridColumn2.FieldName = "itemNo"; + this.gridColumn2.MinWidth = 25; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 0; + this.gridColumn2.Width = 94; + // + // gridColumn5 + // + this.gridColumn5.Caption = "鐗╂枡鍚嶇О"; + this.gridColumn5.FieldName = "itemName"; + this.gridColumn5.MinWidth = 25; + this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.Visible = true; + this.gridColumn5.VisibleIndex = 1; + this.gridColumn5.Width = 94; + // + // gridColumn3 + // + this.gridColumn3.Caption = "鐗╂枡瑙勬牸"; + this.gridColumn3.FieldName = "itemModel"; + this.gridColumn3.MinWidth = 25; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 2; + this.gridColumn3.Width = 94; + // + // gvMx1sqNum + // + this.gvMx1sqNum.AppearanceCell.Options.UseFont = true; + this.gvMx1sqNum.Caption = "褰撴椂杩囨湡鏁伴噺"; + this.gvMx1sqNum.FieldName = "gqsl"; + this.gvMx1sqNum.MinWidth = 50; + this.gvMx1sqNum.Name = "gvMx1sqNum"; + this.gvMx1sqNum.Tag = "yz_quantity_0_edit"; + this.gvMx1sqNum.Visible = true; + this.gvMx1sqNum.VisibleIndex = 3; + this.gvMx1sqNum.Width = 94; + // + // gvMx1ysNum + // + this.gvMx1ysNum.AppearanceCell.ForeColor = System.Drawing.Color.Blue; + this.gvMx1ysNum.AppearanceCell.Options.UseFont = true; + this.gvMx1ysNum.AppearanceCell.Options.UseForeColor = true; + this.gvMx1ysNum.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1ysNum.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1ysNum.Caption = "鐢宠鏁伴噺"; + this.gvMx1ysNum.FieldName = "sqsl"; + this.gvMx1ysNum.MinWidth = 50; + this.gvMx1ysNum.Name = "gvMx1ysNum"; + this.gvMx1ysNum.Tag = "yz_quantity_0_edit"; + this.gvMx1ysNum.Visible = true; + this.gvMx1ysNum.VisibleIndex = 4; + this.gvMx1ysNum.Width = 94; + // + // gridColumn4 + // + this.gridColumn4.Caption = "瀹屾垚鏁伴噺"; + this.gridColumn4.FieldName = "wcsl"; + this.gridColumn4.MinWidth = 25; + this.gridColumn4.Name = "gridColumn4"; + this.gridColumn4.Visible = true; + this.gridColumn4.VisibleIndex = 6; + this.gridColumn4.Width = 94; + // + // gvMx1remark + // + this.gvMx1remark.AppearanceCell.ForeColor = System.Drawing.Color.Blue; + this.gvMx1remark.AppearanceCell.Options.UseFont = true; + this.gvMx1remark.AppearanceCell.Options.UseForeColor = true; + this.gvMx1remark.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1remark.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1remark.Caption = "澶囨敞"; + this.gvMx1remark.FieldName = "remark"; + this.gvMx1remark.MinWidth = 50; + this.gvMx1remark.Name = "gvMx1remark"; + this.gvMx1remark.Tag = "edit"; + this.gvMx1remark.Visible = true; + this.gvMx1remark.VisibleIndex = 5; + this.gvMx1remark.Width = 94; + // + // gvMxDel + // + this.gvMxDel.Caption = "绉诲嚭"; + this.gvMxDel.ColumnEdit = this.repositoryItemButtonEdit1; + this.gvMxDel.MinWidth = 25; + this.gvMxDel.Name = "gvMxDel"; + this.gvMxDel.Visible = true; + this.gvMxDel.VisibleIndex = 7; + this.gvMxDel.Width = 94; + // + // repositoryItemButtonEdit1 + // + this.repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); + this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; + this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); + // + // tabMxPage2 + // + this.tabMxPage2.Controls.Add(this.gcMx2); + this.tabMxPage2.Name = "tabMxPage2"; + this.tabMxPage2.Size = new System.Drawing.Size(1124, 418); + this.tabMxPage2.Text = "鏉$爜鏄庣粏"; + // + // gcMx2 + // + this.gcMx2.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMx2.Location = new System.Drawing.Point(0, 0); + this.gcMx2.MainView = this.gvMx2; + this.gcMx2.Name = "gcMx2"; + this.gcMx2.Size = new System.Drawing.Size(1124, 418); + this.gcMx2.TabIndex = 1; + this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx2}); + // + // gvMx2 + // + this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gridColumn6, + this.gridColumn8, + this.gridColumn9, + this.gridColumn10, + this.gridColumn11, + this.gridColumn12, + this.gridColumn13, + this.gridColumn14, + this.gridColumn15, + this.gridColumn16, + this.gridColumn17, + this.gridColumn18, + this.gridColumn19, + this.gridColumn20, + this.gridColumn21, + this.gridColumn22, + this.gridColumn23}); + this.gvMx2.GridControl = this.gcMx2; + this.gvMx2.Name = "gvMx2"; + this.gvMx2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; + this.gvMx2.OptionsFind.ShowSearchNavButtons = false; + this.gvMx2.OptionsView.ShowGroupPanel = false; + // + // gridColumn6 + // + this.gridColumn6.Caption = "鏄庣粏GUID"; + this.gridColumn6.FieldName = "guid"; + this.gridColumn6.MinWidth = 25; + this.gridColumn6.Name = "gridColumn6"; + this.gridColumn6.Width = 94; + // + // gridColumn8 + // + this.gridColumn8.AppearanceCell.Options.UseFont = true; + this.gridColumn8.Caption = "涓昏〃GUID"; + this.gridColumn8.FieldName = "pGuid"; + this.gridColumn8.MinWidth = 50; + this.gridColumn8.Name = "gridColumn8"; + this.gridColumn8.Tag = "query_a.MID"; + this.gridColumn8.Width = 94; + // + // gridColumn9 + // + this.gridColumn9.AppearanceCell.Options.UseFont = true; + this.gridColumn9.Caption = "鐗╂枡ID"; + this.gridColumn9.FieldName = "itemId"; + this.gridColumn9.MinWidth = 50; + this.gridColumn9.Name = "gridColumn9"; + this.gridColumn9.Tag = "query_a.ITEM_ID"; + this.gridColumn9.Width = 94; + // + // gridColumn10 + // + this.gridColumn10.Caption = "鐗╂枡缂栫爜"; + this.gridColumn10.FieldName = "itemNo"; + this.gridColumn10.MinWidth = 25; + this.gridColumn10.Name = "gridColumn10"; + this.gridColumn10.Visible = true; + this.gridColumn10.VisibleIndex = 1; + this.gridColumn10.Width = 94; + // + // gridColumn11 + // + this.gridColumn11.Caption = "鐗╂枡鍚嶇О"; + this.gridColumn11.FieldName = "itemName"; + this.gridColumn11.MinWidth = 25; + this.gridColumn11.Name = "gridColumn11"; + this.gridColumn11.Visible = true; + this.gridColumn11.VisibleIndex = 2; + this.gridColumn11.Width = 94; + // + // gridColumn12 + // + this.gridColumn12.Caption = "鐗╂枡瑙勬牸"; + this.gridColumn12.FieldName = "itemModel"; + this.gridColumn12.MinWidth = 25; + this.gridColumn12.Name = "gridColumn12"; + this.gridColumn12.Visible = true; + this.gridColumn12.VisibleIndex = 3; + this.gridColumn12.Width = 94; + // + // gridColumn13 + // + this.gridColumn13.AppearanceCell.Options.UseFont = true; + this.gridColumn13.Caption = "鏁伴噺"; + this.gridColumn13.FieldName = "gqsl"; + this.gridColumn13.MinWidth = 50; + this.gridColumn13.Name = "gridColumn13"; + this.gridColumn13.Tag = "yz_quantity_0_edit"; + this.gridColumn13.Visible = true; + this.gridColumn13.VisibleIndex = 4; + this.gridColumn13.Width = 94; + // + // gridColumn14 + // + this.gridColumn14.AppearanceCell.Options.UseFont = true; + this.gridColumn14.Caption = "鏈夋晥鏈熻嚦(澶嶆鍓�)"; + this.gridColumn14.FieldName = "sqsl"; + this.gridColumn14.MinWidth = 50; + this.gridColumn14.Name = "gridColumn14"; + this.gridColumn14.Tag = "yz_quantity_0_edit"; + this.gridColumn14.Visible = true; + this.gridColumn14.VisibleIndex = 5; + this.gridColumn14.Width = 94; + // + // gridColumn15 + // + this.gridColumn15.Caption = "閲嶆娆℃暟"; + this.gridColumn15.FieldName = "wcsl"; + this.gridColumn15.MinWidth = 25; + this.gridColumn15.Name = "gridColumn15"; + this.gridColumn15.Visible = true; + this.gridColumn15.VisibleIndex = 7; + this.gridColumn15.Width = 94; + // + // gridColumn16 + // + this.gridColumn16.AppearanceCell.Options.UseFont = true; + this.gridColumn16.Caption = "鍓╀綑瓒呮湡澶╂暟"; + this.gridColumn16.FieldName = "remark"; + this.gridColumn16.MinWidth = 50; + this.gridColumn16.Name = "gridColumn16"; + this.gridColumn16.Tag = "edit"; + this.gridColumn16.Visible = true; + this.gridColumn16.VisibleIndex = 6; + this.gridColumn16.Width = 94; + // + // gridColumn17 + // + this.gridColumn17.Caption = "鐗╂枡鏉$爜"; + this.gridColumn17.MinWidth = 25; + this.gridColumn17.Name = "gridColumn17"; + this.gridColumn17.Visible = true; + this.gridColumn17.VisibleIndex = 0; + this.gridColumn17.Width = 94; + // + // gridColumn18 + // + this.gridColumn18.Caption = "閫佹浜�"; + this.gridColumn18.MinWidth = 25; + this.gridColumn18.Name = "gridColumn18"; + this.gridColumn18.Visible = true; + this.gridColumn18.VisibleIndex = 8; + this.gridColumn18.Width = 94; + // + // gridColumn19 + // + this.gridColumn19.Caption = "閫佹鏃堕棿"; + this.gridColumn19.MinWidth = 25; + this.gridColumn19.Name = "gridColumn19"; + this.gridColumn19.Visible = true; + this.gridColumn19.VisibleIndex = 9; + this.gridColumn19.Width = 94; + // + // gridColumn20 + // + this.gridColumn20.Caption = "鍙栧嚭搴撲綅"; + this.gridColumn20.MinWidth = 25; + this.gridColumn20.Name = "gridColumn20"; + this.gridColumn20.Visible = true; + this.gridColumn20.VisibleIndex = 10; + this.gridColumn20.Width = 94; + // + // gridColumn21 + // + this.gridColumn21.Caption = "澶嶆缁撴灉"; + this.gridColumn21.MinWidth = 25; + this.gridColumn21.Name = "gridColumn21"; + this.gridColumn21.Visible = true; + this.gridColumn21.VisibleIndex = 11; + this.gridColumn21.Width = 94; + // + // gridColumn22 + // + this.gridColumn22.Caption = "鏈夋晥鏈熻嚦(澶嶆鍚�)"; + this.gridColumn22.MinWidth = 25; + this.gridColumn22.Name = "gridColumn22"; + this.gridColumn22.Visible = true; + this.gridColumn22.VisibleIndex = 12; + this.gridColumn22.Width = 94; + // + // gridColumn23 + // + this.gridColumn23.Caption = "gridColumn23"; + this.gridColumn23.MinWidth = 25; + this.gridColumn23.Name = "gridColumn23"; + this.gridColumn23.Visible = true; + this.gridColumn23.VisibleIndex = 13; + this.gridColumn23.Width = 94; + // + // picCheckBox + // + this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck; + this.picCheckBox.Location = new System.Drawing.Point(965, 64); + this.picCheckBox.Name = "picCheckBox"; + this.picCheckBox.Size = new System.Drawing.Size(100, 50); + this.picCheckBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.picCheckBox.TabIndex = 8; + this.picCheckBox.TabStop = false; + this.picCheckBox.Visible = false; // // Frm_Cqsq // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(298, 260); + this.ClientSize = new System.Drawing.Size(1128, 682); + this.Controls.Add(this.picCheckBox); + this.Controls.Add(this.xtraTabControl1); + this.Controls.Add(this.toolBarMenu1); this.Name = "Frm_Cqsq"; this.Text = "瓒呮湡妫�楠岀敵璇�"; + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); + this.xtraTabControl1.ResumeLayout(false); + this.xtraTabPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).EndInit(); + this.split1.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.split1)).EndInit(); + this.split1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); + this.xtraTabPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).EndInit(); + this.splitMx1.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).EndInit(); + this.splitMx1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).EndInit(); + this.splitMx1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).EndInit(); + this.layoutMx1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_billType.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.lastUpdateUser.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.lastUpdateTime.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_guid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).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(); + this.tabMxPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); this.ResumeLayout(false); } - #endregion + private UserControl.UcToolBarMenu toolBarMenu1; + private DevExpress.XtraTab.XtraTabControl xtraTabControl1; + private System.Windows.Forms.PictureBox picCheckBox; + private DevExpress.XtraTab.XtraTabPage xtraTabPage1; + private DevExpress.XtraEditors.SplitContainerControl split1; + private DevExpress.XtraGrid.GridControl gcMain1; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; + private DevExpress.XtraGrid.Columns.GridColumn gv_status; + private DevExpress.XtraGrid.Columns.GridColumn gv_isFinish; + private DevExpress.XtraGrid.Columns.GridColumn gv_isOut; + private DevExpress.XtraGrid.Columns.GridColumn gv_billNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateUser; + private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateTime; + private DevExpress.XtraGrid.Columns.GridColumn gv_checkUser; + private DevExpress.XtraGrid.Columns.GridColumn gv_checkDate; + private DevExpress.XtraGrid.Columns.GridColumn gv_returnMethod; + private DevExpress.XtraGrid.Columns.GridColumn gv_returnType; + private DevExpress.XtraGrid.Columns.GridColumn gv_depotId; + private DevExpress.XtraGrid.Columns.GridColumn gv_suppId; + private DevExpress.XtraGrid.Columns.GridColumn gv_remark; + private UserControls.Data.UcPageBar pageBar1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage2; + private DevExpress.XtraEditors.SplitContainerControl splitMx1; + private DevExpress.XtraLayout.LayoutControl layoutMx1; + private DevExpress.XtraLayout.LayoutControlGroup Root; + private UserControl.UcLookOrg txt_kcOrgId; + private DevExpress.XtraEditors.SimpleButton btnSelect; + private DevExpress.XtraEditors.ComboBoxEdit txt_billType; + private System.Windows.Forms.Label lbGuid; + private DevExpress.XtraEditors.TextEdit txt_remark; + private DevExpress.XtraEditors.TextEdit txt_checkDate; + private DevExpress.XtraEditors.TextEdit txt_checkUser; + private DevExpress.XtraEditors.TextEdit txt_billNo; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraEditors.CheckEdit txt_status; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13; + private DevExpress.XtraEditors.TextEdit lastUpdateUser; + private DevExpress.XtraEditors.TextEdit lastUpdateTime; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem15; + private DevExpress.XtraTab.XtraTabControl tabMx; + private DevExpress.XtraTab.XtraTabPage tabMxPage1; + private DevExpress.XtraGrid.GridControl gcMx1; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; + private DevExpress.XtraGrid.Columns.GridColumn mxGuid; + private DevExpress.XtraGrid.Columns.GridColumn pGuid; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemId; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1sqNum; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1ysNum; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1remark; + private DevExpress.XtraGrid.Columns.GridColumn gvMxDel; + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + private DevExpress.XtraEditors.TextEdit txt_guid; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem17; + private DevExpress.Utils.ToolTipController tips; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn7; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem16; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; + private DevExpress.XtraTab.XtraTabPage tabMxPage2; + private DevExpress.XtraGrid.GridControl gcMx2; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx2; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn8; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn10; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn11; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn12; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn13; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn14; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn15; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn16; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn17; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn18; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn19; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn20; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn21; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn22; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn23; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.cs b/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.cs index e537ef7..6334487 100644 --- a/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.cs +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.cs @@ -1,11 +1,11 @@ -锘縰sing DevExpress.XtraEditors; +锘縰sing Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Gs.DevApp.UserControl; +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; @@ -13,9 +13,567 @@ { public partial class Frm_Cqsq : DevExpress.XtraEditors.XtraForm { + string _webServiceName = "MesCgthSqManager/"; + List<FilterEntity> _filterList = new List<FilterEntity>(); public Frm_Cqsq() { InitializeComponent(); + this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick; + this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; + this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; + this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; + this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; + this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; + this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; + toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; + this.toolBarMenu1.getXmlConfig(); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "checkStatus", "", (value) => + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); + }, tips); + Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => + { + getModel(value); + }, (value) => + { + getPageList(this.pageBar1.CurrentPage); + }, lbGuid); + getPageList(1); + pageBar1.PagerEvent += PageBar1_PagerEvent; + //閫夋嫨搴撳瓨缁勭粐锛堜粨搴撳拰渚涘簲鍟嗭級 + txt_kcOrgId.EditChanged += (s, e) => + { + var orgId = txt_kcOrgId.GetId(); + if (string.IsNullOrEmpty(orgId)) + return; + }; + //閫夋嫨闇�瑕佺殑鏄庣粏 + btnSelect.Click += (s, e) => + { + if (string.IsNullOrEmpty(this.txt_kcOrgId.GetId())) + { + Gs.DevApp.ToolBox.MsgHelper.ShowError("璇峰厛閫夋嫨缁勭粐锛�"); + return; + } + var frm = new SelectCqsq(this.txt_kcOrgId.GetId()); + ////璧嬪�肩粰鏄庣粏琛� + frm.UpdateParent += (ss, ee) => + { + + }; + frm.ShowDialog(); + }; } + private async void GridView1_ColumnFilterChanged(object sender, EventArgs e) + { + _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1); + await Task.Delay(100); + getPageList(1); + } + /// <summary> + /// 鏃ュ織 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLogClick(object sender, EventArgs e) + { + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_billNo, gridView1); + toolBarMenu1.guidKey = rowGuid; + } + /// <summary> + /// 鍒嗛〉浜嬩欢 + /// </summary> + /// <param name="curPage"></param> + /// <param name="pageSize"></param> + private void PageBar1_PagerEvent(int curPage, int pageSize) + { + getPageList(curPage); + } + /// <summary> + /// 鏌ヨ浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + var frm = new ShowFilter(gridView1.Columns, _filterList, this.GetType().FullName); + frm.UpdateParent += Frm_UpdateParent; + frm.ShowDialog(); + } + /// <summary> + /// 鏌ヨ鍥炶皟 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void Frm_UpdateParent(object sender, UpdateParentEventArgs e) + { + _filterList = e.FilterList; + getPageList(1); + } + /// <summary> + /// 瀹℃牳浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnChkClick(object sender, EventArgs e) + { + _toolCk(1); + } + + /// <summary> + /// 鍙嶅鏍� + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + /// <exception cref="NotImplementedException"></exception> + private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e) + { + _toolCk(0); + } + /// <summary> + /// 鍙栨秷浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEscClick(object sender, EventArgs e) + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1); + } + + /// <summary> + /// 鍒犻櫎浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) + { + string rowGuid = "", rowName = ""; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_billNo, gridView1, "billNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + mxGuid = Guid.Empty.ToString(), + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + if (xtraTabControl1.SelectedTabPageIndex == 0) + { } + else + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 2); + getPageList(this.pageBar1.CurrentPage); + } + + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + + } + + /// <summary> + /// 鍒锋柊浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + getModel(lbGuid.Text.Trim()); + else + { + //_filterList.Clear(); + //if (gridView1.ActiveFilter.Count > 0) + //{ + // gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + // gridView1.ActiveFilter.Clear(); + // gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + //} + //getPageList(1); + getPageList(this.pageBar1.CurrentPage); + } + } + /// <summary> + /// 淇敼浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) + { + toolBarMenu1.currentAction = "edit"; + string rowGuid = "", rowName = ""; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_billNo, gridView1); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); + if (xtraTabControl1.SelectedTabPageIndex == 1) + { + getModel(rowGuid); + } + else + { + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, true, gvList); + } + } + /// <summary> + /// 鏂板浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) + { + lbGuid.Text = ""; + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4); + List<DevExpress.XtraGrid.Views.Grid.GridView> gridViews = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gridViews.Add(gvMx1); + UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews); + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + //澧炲姞鏃讹紝榛樿缁勭粐 + string deftOrg = UtilityHelper.GetFirstOrg(txt_kcOrgId); + + } + /// <summary> + /// 淇濆瓨浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) + { + toolBarMenu1.isSetBtn = false; + string _orgId = txt_kcOrgId.GetId(); + if (string.IsNullOrEmpty(_orgId)) + { + MsgHelper.Warning("璇烽�夋嫨缁勭粐锛�"); + txt_kcOrgId.Focus(); + return; + } + if (txt_billType.SelectedIndex <= 0) + { + MsgHelper.Warning("璇烽�夋嫨鐢宠绫诲瀷锛�"); + txt_billType.Focus(); + return; + } + var _obj = new + { + Guid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(lbGuid.Text.Trim()), //鍒拌揣鍗曚富閿� + Remark = txt_remark.Text.Trim(), //澶囨敞 + BillType = txt_billType.Text,//閫�鏂欐柟寮� + KcOrgId = _orgId, + list = new List<dynamic>(), + }; + gvMx1.CloseEditor(); + gvMx1.PostEditor(); + gvMx1.UpdateCurrentRow(); + if (gvMx1.DataRowCount <= 0) + { + MsgHelper.ShowError("鏄庣粏涓嶈兘涓虹┖锛岃閫夋嫨浣犵殑鏀舵枡鏄庣粏锛�"); + return; + } + for (var i = 0; i < gvMx1.DataRowCount; i++) + { + var row = gvMx1.GetDataRow(i); + if (row != null) + { + Guid _guid = UtilityHelper.ToGuid(row["guid"].ToString()); + string _msl = row["sqsl"].ToString(); + if (string.IsNullOrEmpty(_msl)) + { + MsgHelper.ShowError("鐢宠鏁伴噺涓嶈兘涓虹┖锛�"); + return; + } + _obj.list.Add(new + { + Guid = _guid, + DepotSectionCode = row["depotSectionCode"].ToString(), + Gqsl = row["gqsl"].ToString(), + ItemId = row["itemId"].ToString(), + }); + } + } + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "EditModel", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + + if (_rtn.rtnCode > 0) + { + MsgHelper.ShowInformation("鎻愮ず锛�" + _rtn.rtnMsg); + lbGuid.Text = _rtn.rtnData.outGuid; + txt_billNo.Text = _rtn.rtnData.outNo; + toolBarMenu1.isSetBtn = true; + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false, gvList); + toolBarMenu1.currentAction = ""; + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); + } + else + MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); + } + } + + /// <summary> + /// + /// </summary> + /// <param name="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage) + { + 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 + { + var strReturn = UtilityHelper.HttpPost("", _webServiceName + "GetListPage", json); + ReturnModel<PageListModel> dd = UtilityHelper.ReturnToTablePage(strReturn); + if (dd.rtnCode > 0) + { + DataTable dt = dd.rtnData.list; + gcMain1.BindingContext = new BindingContext(); + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + if (dt.Rows.Count > 0) + { + gcMain1.DataSource = dt; + gcMain1.ForceInitialize(); + gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); + } + else + UtilityHelper.SetDefaultTable(gcMain1, gridView1); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉 + pageBar1.CurrentPage = curPage;//褰撳墠椤� + pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟 + } + else + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg); + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); + } + } + /// <summary> + /// 璇诲彇瀹炰綋 + /// </summary> + /// <param name="strGuid"></param> + private void getModel(string strGuid) + { + bool isEdit = false; + if (toolBarMenu1.currentAction == "add") return; + if (toolBarMenu1.currentAction == "edit") isEdit = true; + if (string.IsNullOrEmpty(strGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + var _obj = new + { + guid = strGuid,//涓诲缓 + }; + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + dynamic dy = _rtn.rtnData; + lbGuid.Text = strGuid; + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + gvList.Add(gvMx2); + UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList); + JObject _job = JObject.Parse(strJson); + JArray array = new JArray(); + foreach (var a in _job["rtnData"]["list"]) + { + array.Add(a); + } + DataTable dt = JsonConvert.DeserializeObject<DataTable>(array.ToString()); + if (dt.Rows.Count > 0) + { + gcMx1.BindingContext = new BindingContext(); + gcMx1.DataSource = dt; + gcMx1.ForceInitialize(); + gvMx1.BestFitColumns(); + Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gvMx1); + } + else + { + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + } + + JArray array2 = new JArray(); + foreach (var a in _job["rtnData"]["list2"]) + { + array.Add(a); + } + DataTable dt2 = JsonConvert.DeserializeObject<DataTable>(array2.ToString()); + if (dt2.Rows.Count > 0) + { + gcMx2.BindingContext = new BindingContext(); + gcMx2.DataSource = dt; + gcMx2.ForceInitialize(); + gvMx2.BestFitColumns(); + Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gvMx2); + } + else + { + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx2, gvMx2); + } + } + else + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); + } + } + /// <summary> + /// 宸ュ叿鏉′簨浠� + /// </summary> + /// <param name="inFieldValue"></param> + private void _toolCk(int _inFieldValue) + { + string strMsg = ""; + switch (_inFieldValue) + { + case 1: + strMsg = "瀹℃牳"; + break; + case 0: + strMsg = "鍙嶅鏍�"; + break; + }; + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1, "billNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + inFieldValue = _inFieldValue, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "EditModelSubmit", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + + if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0) + { + MsgHelper.ShowInformation(_rtn.rtnData.outMsg.ToString()); + if (xtraTabControl1.SelectedTabPageIndex == 1) + { + getModel(lbGuid.Text.Trim()); + } + int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); + gridView1.FocusedRowHandle = rowHandle; + UtilityHelper.SetCheckIco(gridView1, "checkStatus", "checkBy", "checkDate", picCheckBox, this, _inFieldValue.ToString()); + } + else + MsgHelper.ShowError(_rtn.rtnData.outMsg.ToString()); + } + catch (Exception ex) + { + MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); + } + } + + /// <summary> + /// 鍒犻櫎鏄庣粏 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) + { + gvMx1.CloseEditor(); + gvMx1.PostEditor(); + gvMx1.UpdateCurrentRow(); + var rowhandle = gvMx1.FocusedRowHandle; + if (rowhandle < 0) + return; + if (e.Button.Index == 0) + { + var dr = gvMx1.GetDataRow(rowhandle); + var mxGuid = dr["guid"].ToString(); + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾鍒犻櫎鍚楋紵")) + return; + if (string.IsNullOrEmpty(mxGuid)) + { + gvMx1.DeleteRow(rowhandle); + return; + } + var _obj = new + { + guid = lbGuid.Text.Trim(), + mxGuid = mxGuid, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + if (_rtn.rtnCode > 0) getModel(lbGuid.Text); + } + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } + + } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.resx b/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.resx index 1af7de1..e7132ea 100644 --- a/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.resx +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/Frm_Cqsq.resx @@ -117,4 +117,10 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> + <metadata name="tips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>25</value> + </metadata> </root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.Designer.cs b/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.Designer.cs new file mode 100644 index 0000000..b01e4e2 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.Designer.cs @@ -0,0 +1,347 @@ +锘縩amespace Gs.DevApp.DevFrm.RkQC +{ + partial class SelectCqsq + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); + this.gcMain = new DevExpress.XtraGrid.GridControl(); + this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.colChkInt = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_ebelnK3id = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_supplierItemCode = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_supplierItemName = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_purchaseUnit = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_remarks = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); + this.btnIn = new DevExpress.XtraEditors.SimpleButton(); + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); + this.panelControl2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); + this.panelControl1.SuspendLayout(); + this.SuspendLayout(); + // + // panelControl2 + // + this.panelControl2.Controls.Add(this.gcMain); + this.panelControl2.Controls.Add(this.panelControl1); + this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelControl2.Location = new System.Drawing.Point(0, 0); + this.panelControl2.Name = "panelControl2"; + this.panelControl2.Size = new System.Drawing.Size(1128, 682); + this.panelControl2.TabIndex = 4; + // + // gcMain + // + this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMain.Location = new System.Drawing.Point(2, 2); + this.gcMain.MainView = this.gridView1; + this.gcMain.Name = "gcMain"; + this.gcMain.Size = new System.Drawing.Size(1124, 635); + this.gcMain.TabIndex = 2; + this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; + this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; + this.gridView1.Appearance.Row.Options.UseFont = true; + this.gridView1.ColumnPanelRowHeight = 50; + this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.colChkInt, + this.gv_billNo, + this.gv_guid, + this.gv_ebelnK3id, + this.gridColumn3, + this.gv_supplierItemCode, + this.gv_supplierItemName, + this.gridColumn6, + this.gridColumn9, + this.gridColumn7, + this.gv_purchaseUnit, + this.gv_remarks, + this.gridColumn5, + this.gridColumn2}); + this.gridView1.GridControl = this.gcMain; + this.gridView1.IndicatorWidth = 50; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsSelection.CheckBoxSelectorColumnWidth = 60; + this.gridView1.OptionsView.ShowAutoFilterRow = true; + this.gridView1.OptionsView.ShowGroupPanel = false; + // + // colChkInt + // + 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; + // + // gv_billNo + // + this.gv_billNo.AppearanceCell.Options.UseFont = true; + this.gv_billNo.Caption = "閲囪喘鍗曞彿"; + this.gv_billNo.FieldName = "billNo"; + this.gv_billNo.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; + this.gv_billNo.MinWidth = 10; + this.gv_billNo.Name = "gv_billNo"; + this.gv_billNo.OptionsColumn.AllowEdit = false; + this.gv_billNo.OptionsColumn.ReadOnly = true; + this.gv_billNo.Tag = "query_a.BILL_NO"; + this.gv_billNo.Visible = true; + this.gv_billNo.VisibleIndex = 1; + this.gv_billNo.Width = 10; + // + // gv_guid + // + this.gv_guid.AppearanceCell.Options.UseFont = true; + this.gv_guid.Caption = "涓婚敭涓嶈兘鍒犻櫎"; + this.gv_guid.FieldName = "guid"; + 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; + // + // gv_ebelnK3id + // + this.gv_ebelnK3id.AppearanceCell.Options.UseFont = true; + this.gv_ebelnK3id.Caption = "ERP琛孖D鍙�"; + this.gv_ebelnK3id.FieldName = "erpMxId"; + this.gv_ebelnK3id.MinWidth = 100; + this.gv_ebelnK3id.Name = "gv_ebelnK3id"; + this.gv_ebelnK3id.OptionsColumn.AllowEdit = false; + this.gv_ebelnK3id.OptionsColumn.ReadOnly = true; + this.gv_ebelnK3id.Tag = "query_a.EBELN_K3ID"; + this.gv_ebelnK3id.Width = 100; + // + // gridColumn3 + // + this.gridColumn3.Caption = "閲囪喘鏃堕棿"; + this.gridColumn3.FieldName = "purchaseDate"; + this.gridColumn3.MinWidth = 10; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.OptionsColumn.ReadOnly = true; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 2; + this.gridColumn3.Width = 10; + // + // gv_supplierItemCode + // + this.gv_supplierItemCode.AppearanceCell.Options.UseFont = true; + this.gv_supplierItemCode.Caption = "鐗╂枡缂栫爜"; + this.gv_supplierItemCode.FieldName = "wlbm"; + this.gv_supplierItemCode.MinWidth = 10; + this.gv_supplierItemCode.Name = "gv_supplierItemCode"; + this.gv_supplierItemCode.OptionsColumn.AllowEdit = false; + this.gv_supplierItemCode.OptionsColumn.ReadOnly = true; + this.gv_supplierItemCode.Tag = "query_a.SUPPLIER_ITEM_CODE"; + this.gv_supplierItemCode.Visible = true; + this.gv_supplierItemCode.VisibleIndex = 3; + this.gv_supplierItemCode.Width = 10; + // + // gv_supplierItemName + // + this.gv_supplierItemName.AppearanceCell.Options.UseFont = true; + this.gv_supplierItemName.Caption = "鐗╂枡鍚嶇О"; + this.gv_supplierItemName.FieldName = "wlmc"; + this.gv_supplierItemName.MinWidth = 10; + this.gv_supplierItemName.Name = "gv_supplierItemName"; + this.gv_supplierItemName.OptionsColumn.AllowEdit = false; + this.gv_supplierItemName.OptionsColumn.ReadOnly = true; + this.gv_supplierItemName.Tag = "query_a.SUPPLIER_ITEM_NAME"; + this.gv_supplierItemName.Visible = true; + this.gv_supplierItemName.VisibleIndex = 4; + this.gv_supplierItemName.Width = 10; + // + // gridColumn6 + // + this.gridColumn6.Caption = "閲囪喘鏁伴噺"; + this.gridColumn6.FieldName = "purchaseQty"; + this.gridColumn6.MinWidth = 10; + this.gridColumn6.Name = "gridColumn6"; + this.gridColumn6.OptionsColumn.ReadOnly = true; + this.gridColumn6.Visible = true; + this.gridColumn6.VisibleIndex = 5; + this.gridColumn6.Width = 11; + // + // gridColumn9 + // + this.gridColumn9.Caption = "宸叉敹鏁伴噺"; + this.gridColumn9.FieldName = "yssl"; + this.gridColumn9.MinWidth = 10; + this.gridColumn9.Name = "gridColumn9"; + this.gridColumn9.OptionsColumn.ReadOnly = true; + this.gridColumn9.Visible = true; + this.gridColumn9.VisibleIndex = 6; + this.gridColumn9.Width = 50; + // + // gridColumn7 + // + this.gridColumn7.AppearanceCell.ForeColor = System.Drawing.Color.Red; + this.gridColumn7.AppearanceCell.Options.UseForeColor = true; + this.gridColumn7.AppearanceHeader.ForeColor = System.Drawing.Color.Red; + this.gridColumn7.AppearanceHeader.Options.UseForeColor = true; + this.gridColumn7.Caption = "鏈敹鏁伴噺"; + this.gridColumn7.FieldName = "wssl"; + this.gridColumn7.MinWidth = 10; + this.gridColumn7.Name = "gridColumn7"; + this.gridColumn7.OptionsColumn.ReadOnly = true; + this.gridColumn7.Visible = true; + this.gridColumn7.VisibleIndex = 7; + this.gridColumn7.Width = 10; + // + // gv_purchaseUnit + // + this.gv_purchaseUnit.AppearanceCell.Options.UseFont = true; + this.gv_purchaseUnit.Caption = "閲囪喘鍗曚綅"; + this.gv_purchaseUnit.FieldName = "fname"; + this.gv_purchaseUnit.MinWidth = 10; + this.gv_purchaseUnit.Name = "gv_purchaseUnit"; + this.gv_purchaseUnit.OptionsColumn.AllowEdit = false; + this.gv_purchaseUnit.OptionsColumn.ReadOnly = true; + this.gv_purchaseUnit.Tag = "query_a.PURCHASE_UNIT"; + this.gv_purchaseUnit.Visible = true; + this.gv_purchaseUnit.VisibleIndex = 8; + this.gv_purchaseUnit.Width = 50; + // + // gv_remarks + // + this.gv_remarks.AppearanceCell.Options.UseFont = true; + this.gv_remarks.Caption = "澶囨敞"; + this.gv_remarks.FieldName = "remarks"; + this.gv_remarks.MinWidth = 10; + this.gv_remarks.Name = "gv_remarks"; + this.gv_remarks.OptionsColumn.AllowEdit = false; + this.gv_remarks.OptionsColumn.ReadOnly = true; + this.gv_remarks.Tag = "query_a.REMARKS"; + this.gv_remarks.Visible = true; + this.gv_remarks.VisibleIndex = 9; + this.gv_remarks.Width = 10; + // + // gridColumn5 + // + this.gridColumn5.Caption = "鐗╂枡瑙勬牸"; + this.gridColumn5.FieldName = "wlgg"; + this.gridColumn5.MinWidth = 10; + this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.OptionsColumn.ReadOnly = true; + this.gridColumn5.Visible = true; + this.gridColumn5.VisibleIndex = 10; + this.gridColumn5.Width = 11; + // + // gridColumn2 + // + this.gridColumn2.Caption = "鏀舵枡缁勭粐"; + this.gridColumn2.FieldName = "fSubsidiary"; + this.gridColumn2.MinWidth = 10; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 12; + this.gridColumn2.Width = 10; + // + // panelControl1 + // + this.panelControl1.Controls.Add(this.btnIn); + this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panelControl1.Location = new System.Drawing.Point(2, 637); + this.panelControl1.Name = "panelControl1"; + this.panelControl1.Size = new System.Drawing.Size(1124, 43); + this.panelControl1.TabIndex = 5; + // + // btnIn + // + this.btnIn.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; + this.btnIn.Appearance.Options.UseBackColor = true; + this.btnIn.Dock = System.Windows.Forms.DockStyle.Right; + this.btnIn.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.zoom100_16x16; + this.btnIn.Location = new System.Drawing.Point(1028, 2); + this.btnIn.Name = "btnIn"; + this.btnIn.Size = new System.Drawing.Size(94, 39); + this.btnIn.TabIndex = 4; + this.btnIn.Text = "纭畾瀵煎叆"; + // + // SelectCqsq + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1128, 682); + this.Controls.Add(this.panelControl2); + this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "SelectCqsq"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "閫夋嫨鐗╂枡锛屽彧鏄剧ず鏈敹鏁伴噺澶т簬0鐨�"; + this.TopMost = true; + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); + this.panelControl2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); + this.panelControl1.ResumeLayout(false); + this.ResumeLayout(false); + + } + #endregion + private DevExpress.XtraEditors.PanelControl panelControl2; + private DevExpress.XtraGrid.GridControl gcMain; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraGrid.Columns.GridColumn gv_guid; + private DevExpress.XtraGrid.Columns.GridColumn gv_ebelnK3id; + private DevExpress.XtraGrid.Columns.GridColumn gv_billNo; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; + private DevExpress.XtraGrid.Columns.GridColumn gv_supplierItemCode; + private DevExpress.XtraGrid.Columns.GridColumn gv_supplierItemName; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn7; + private DevExpress.XtraGrid.Columns.GridColumn gv_purchaseUnit; + private DevExpress.XtraGrid.Columns.GridColumn gv_remarks; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; + private DevExpress.XtraEditors.PanelControl panelControl1; + private DevExpress.XtraEditors.SimpleButton btnIn; + private DevExpress.XtraGrid.Columns.GridColumn colChkInt; + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.cs b/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.cs new file mode 100644 index 0000000..da39bee --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.cs @@ -0,0 +1,94 @@ +锘縰sing DevExpress.XtraEditors; +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.RkQC +{ + public partial class SelectCqsq : DevExpress.XtraEditors.XtraForm + { + private readonly string _webServiceName = "MesInvItemArnManager/"; + private string kcOrgId = ""; + /// <summary> + /// + /// </summary> + /// <param name="_kcOrgId"></param> + public SelectCqsq(string _kcOrgId) + { + InitializeComponent(); + 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; + this.kcOrgId = _kcOrgId; + 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<string>(); + DataTable dt = this.gcMain.DataSource as DataTable; + { + foreach (DataRow dr in dt.Rows) + { + string checkBox = dr["chkInt"].ToString(); + string _guid = dr["guid"].ToString(); + if (Gs.DevApp.ToolBox.UtilityHelper.ToCheck(checkBox)) + { + list.Add(_guid); + } + } + } + UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringList = list }); Close(); + }; + } + + /// <summary> + /// 閫夋嫨鍚庣殑鍥炶皟浜嬩欢 + /// </summary> + public event EventHandler<UpdateParentEventArgs> UpdateParent; + + /// <summary> + /// </summary> + /// <param name="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage) + { + var _obj = new + { + currentPage = curPage, + everyPageSize = 999999, + sortName = "", + keyWhere = "", + kcOrgId = this.kcOrgId, + }; + var json = JsonConvert.SerializeObject(_obj); + try + { + var strReturn = UtilityHelper.HttpPost("", + _webServiceName + "SelectForm", json); + var dd = UtilityHelper.ReturnToTablePage(strReturn); + var dt = dd.rtnData.list; + gcMain.BindingContext = new BindingContext(); + gcMain.DataSource = dt; + gcMain.ForceInitialize(); + gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.resx b/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/SelectCqsq.resx @@ -0,0 +1,120 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file -- Gitblit v1.9.3