diff --git a/PEIS.sln b/PEIS.sln index 29b146e..e83cf14 100644 --- a/PEIS.sln +++ b/PEIS.sln @@ -7,20 +7,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PEIS", "PEIS\PEIS.csproj", EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "解决方案项", "解决方案项", "{AB0394FA-735E-4213-9ACE-31C02F698FA7}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoUpdate", "AutoUpdate\AutoUpdate.csproj", "{CF55EF08-7631-493B-84FF-26E2E0EF659E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PublishUpgrade", "PublishUpgrade\PublishUpgrade.csproj", "{D5846F33-12DB-43AB-A633-0866D5B3AE09}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DicomTool", "DicomTool\DicomTool.csproj", "{7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestWindowsFormsApp", "..\..\..\Test\TestWindowsFormsApp\TestWindowsFormsApp.csproj", "{BAC2778E-8EDF-435A-BC81-7C8D1F027572}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Scale", "Scale\Scale.csproj", "{F13021FD-372E-4D3C-8982-6FE5102AF45A}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp", "ConsoleApp\ConsoleApp.csproj", "{37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestWinFormApp", "..\..\..\Test\TestWinFormApp\TestWinFormApp.csproj", "{4A92A40D-1C15-471C-AA42-80732E925904}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Update", "Update\Update.csproj", "{8894C92C-210D-459C-B5CD-7A6D2AB4CBE5}" EndProject Global @@ -39,62 +25,6 @@ Global {8980800E-6620-4B2E-A7DD-8C4651E1A344}.Release|Any CPU.Build.0 = Release|Any CPU {8980800E-6620-4B2E-A7DD-8C4651E1A344}.Release|x86.ActiveCfg = Release|Any CPU {8980800E-6620-4B2E-A7DD-8C4651E1A344}.Release|x86.Build.0 = Release|Any CPU - {CF55EF08-7631-493B-84FF-26E2E0EF659E}.Debug|Any CPU.ActiveCfg = Debug|x86 - {CF55EF08-7631-493B-84FF-26E2E0EF659E}.Debug|Any CPU.Build.0 = Debug|x86 - {CF55EF08-7631-493B-84FF-26E2E0EF659E}.Debug|x86.ActiveCfg = Debug|x86 - {CF55EF08-7631-493B-84FF-26E2E0EF659E}.Debug|x86.Build.0 = Debug|x86 - {CF55EF08-7631-493B-84FF-26E2E0EF659E}.Release|Any CPU.ActiveCfg = Release|x86 - {CF55EF08-7631-493B-84FF-26E2E0EF659E}.Release|Any CPU.Build.0 = Release|x86 - {CF55EF08-7631-493B-84FF-26E2E0EF659E}.Release|x86.ActiveCfg = Release|x86 - {CF55EF08-7631-493B-84FF-26E2E0EF659E}.Release|x86.Build.0 = Release|x86 - {D5846F33-12DB-43AB-A633-0866D5B3AE09}.Debug|Any CPU.ActiveCfg = Debug|x86 - {D5846F33-12DB-43AB-A633-0866D5B3AE09}.Debug|Any CPU.Build.0 = Debug|x86 - {D5846F33-12DB-43AB-A633-0866D5B3AE09}.Debug|x86.ActiveCfg = Debug|x86 - {D5846F33-12DB-43AB-A633-0866D5B3AE09}.Debug|x86.Build.0 = Debug|x86 - {D5846F33-12DB-43AB-A633-0866D5B3AE09}.Release|Any CPU.ActiveCfg = Release|x86 - {D5846F33-12DB-43AB-A633-0866D5B3AE09}.Release|Any CPU.Build.0 = Release|x86 - {D5846F33-12DB-43AB-A633-0866D5B3AE09}.Release|x86.ActiveCfg = Release|x86 - {D5846F33-12DB-43AB-A633-0866D5B3AE09}.Release|x86.Build.0 = Release|x86 - {7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}.Debug|x86.ActiveCfg = Debug|Any CPU - {7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}.Debug|x86.Build.0 = Debug|Any CPU - {7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}.Release|Any CPU.Build.0 = Release|Any CPU - {7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}.Release|x86.ActiveCfg = Release|Any CPU - {7AFE3A9A-02C9-4D8C-A03B-1BFFECB153A3}.Release|x86.Build.0 = Release|Any CPU - {BAC2778E-8EDF-435A-BC81-7C8D1F027572}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BAC2778E-8EDF-435A-BC81-7C8D1F027572}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BAC2778E-8EDF-435A-BC81-7C8D1F027572}.Debug|x86.ActiveCfg = Debug|Any CPU - {BAC2778E-8EDF-435A-BC81-7C8D1F027572}.Debug|x86.Build.0 = Debug|Any CPU - {BAC2778E-8EDF-435A-BC81-7C8D1F027572}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BAC2778E-8EDF-435A-BC81-7C8D1F027572}.Release|Any CPU.Build.0 = Release|Any CPU - {BAC2778E-8EDF-435A-BC81-7C8D1F027572}.Release|x86.ActiveCfg = Release|Any CPU - {BAC2778E-8EDF-435A-BC81-7C8D1F027572}.Release|x86.Build.0 = Release|Any CPU - {F13021FD-372E-4D3C-8982-6FE5102AF45A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F13021FD-372E-4D3C-8982-6FE5102AF45A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F13021FD-372E-4D3C-8982-6FE5102AF45A}.Debug|x86.ActiveCfg = Debug|Any CPU - {F13021FD-372E-4D3C-8982-6FE5102AF45A}.Debug|x86.Build.0 = Debug|Any CPU - {F13021FD-372E-4D3C-8982-6FE5102AF45A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F13021FD-372E-4D3C-8982-6FE5102AF45A}.Release|Any CPU.Build.0 = Release|Any CPU - {F13021FD-372E-4D3C-8982-6FE5102AF45A}.Release|x86.ActiveCfg = Release|Any CPU - {F13021FD-372E-4D3C-8982-6FE5102AF45A}.Release|x86.Build.0 = Release|Any CPU - {37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}.Debug|x86.ActiveCfg = Debug|Any CPU - {37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}.Debug|x86.Build.0 = Debug|Any CPU - {37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}.Release|Any CPU.Build.0 = Release|Any CPU - {37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}.Release|x86.ActiveCfg = Release|Any CPU - {37E64FF5-7C4B-4DC7-BFA9-2529CF95BEE3}.Release|x86.Build.0 = Release|Any CPU - {4A92A40D-1C15-471C-AA42-80732E925904}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4A92A40D-1C15-471C-AA42-80732E925904}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4A92A40D-1C15-471C-AA42-80732E925904}.Debug|x86.ActiveCfg = Debug|Any CPU - {4A92A40D-1C15-471C-AA42-80732E925904}.Debug|x86.Build.0 = Debug|Any CPU - {4A92A40D-1C15-471C-AA42-80732E925904}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4A92A40D-1C15-471C-AA42-80732E925904}.Release|Any CPU.Build.0 = Release|Any CPU - {4A92A40D-1C15-471C-AA42-80732E925904}.Release|x86.ActiveCfg = Release|Any CPU - {4A92A40D-1C15-471C-AA42-80732E925904}.Release|x86.Build.0 = Release|Any CPU {8894C92C-210D-459C-B5CD-7A6D2AB4CBE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8894C92C-210D-459C-B5CD-7A6D2AB4CBE5}.Debug|Any CPU.Build.0 = Debug|Any CPU {8894C92C-210D-459C-B5CD-7A6D2AB4CBE5}.Debug|x86.ActiveCfg = Debug|Any CPU diff --git a/PEIS/Model/BaseOrgModel.cs b/PEIS/Model/BaseOrgModel.cs index 77561b4..49c9cc4 100644 --- a/PEIS/Model/BaseOrgModel.cs +++ b/PEIS/Model/BaseOrgModel.cs @@ -43,7 +43,15 @@ namespace PEIS.Model public void AddBaseOrgPatient(Int64 oid, Int64 pid) { - DAOHelp.ExecuteSql($@"DECLARE @Seq INT SELECT @Seq = Seq FROM Base_OrgPatient WHERE OID = {oid} + var item = DAOHelp.GetDataBySQL($@"SELECT * FROM Base_OrgPatient WHERE OID = {oid} AND PID = {pid} "); + + if(item.Count != 0) + { + Global.Msg("info", "该成员已应用到分组!"); + return; + } + + DAOHelp.ExecuteSql($@"DECLARE @Seq INT SELECT @Seq = COUNT(*) FROM Base_OrgPatient WHERE OID = {oid} INSERT INTO Base_OrgPatient (OID,PID,Seq) VALUES({oid},{pid},@Seq + 1)", false); } } diff --git a/PEIS/View/Enrollment/EnrollmentOrgForm.Designer.cs b/PEIS/View/Enrollment/EnrollmentOrgForm.Designer.cs index 424e110..a5b5231 100644 --- a/PEIS/View/Enrollment/EnrollmentOrgForm.Designer.cs +++ b/PEIS/View/Enrollment/EnrollmentOrgForm.Designer.cs @@ -330,10 +330,10 @@ this.gridColumn164 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn103 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn89 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn91 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn90 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn107 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn108 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn91 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn93 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn94 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn95 = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -745,10 +745,10 @@ this.toolStripMenuItem10, this.TsmiOrgAdd}); this.menuStrip2.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; - this.menuStrip2.Location = new System.Drawing.Point(5, 248); + this.menuStrip2.Location = new System.Drawing.Point(5, 251); this.menuStrip2.Name = "menuStrip2"; this.menuStrip2.Padding = new System.Windows.Forms.Padding(5, 3, 0, 3); - this.menuStrip2.Size = new System.Drawing.Size(461, 44); + this.menuStrip2.Size = new System.Drawing.Size(461, 41); this.menuStrip2.TabIndex = 131; this.menuStrip2.Text = "menuStrip2"; // @@ -2822,10 +2822,10 @@ // this.panel13.Controls.Add(this.xtraTabControl4); this.panel13.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel13.Location = new System.Drawing.Point(937, 720); + this.panel13.Location = new System.Drawing.Point(1111, 720); this.panel13.Margin = new System.Windows.Forms.Padding(5); this.panel13.Name = "panel13"; - this.panel13.Size = new System.Drawing.Size(886, 907); + this.panel13.Size = new System.Drawing.Size(712, 907); this.panel13.TabIndex = 155; // // xtraTabControl4 @@ -2835,7 +2835,7 @@ this.xtraTabControl4.Margin = new System.Windows.Forms.Padding(5); this.xtraTabControl4.Name = "xtraTabControl4"; this.xtraTabControl4.SelectedTabPage = this.xtraTabPage4; - this.xtraTabControl4.Size = new System.Drawing.Size(886, 907); + this.xtraTabControl4.Size = new System.Drawing.Size(712, 907); this.xtraTabControl4.TabIndex = 1; this.xtraTabControl4.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage4}); @@ -2845,7 +2845,7 @@ this.xtraTabPage4.Controls.Add(this.DgcCheckCost2); this.xtraTabPage4.Margin = new System.Windows.Forms.Padding(5); this.xtraTabPage4.Name = "xtraTabPage4"; - this.xtraTabPage4.Size = new System.Drawing.Size(874, 850); + this.xtraTabPage4.Size = new System.Drawing.Size(700, 850); this.xtraTabPage4.Text = "个人订单"; // // DgcCheckCost2 @@ -2859,7 +2859,7 @@ this.DgcCheckCost2.Name = "DgcCheckCost2"; this.DgcCheckCost2.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemMemoEdit2}); - this.DgcCheckCost2.Size = new System.Drawing.Size(874, 850); + this.DgcCheckCost2.Size = new System.Drawing.Size(700, 850); this.DgcCheckCost2.TabIndex = 148; this.DgcCheckCost2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.DgvCheckCost2}); @@ -3289,7 +3289,7 @@ // splitter6 // this.splitter6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(162)))), ((int)(((byte)(202))))); - this.splitter6.Location = new System.Drawing.Point(927, 720); + this.splitter6.Location = new System.Drawing.Point(1101, 720); this.splitter6.Margin = new System.Windows.Forms.Padding(5); this.splitter6.Name = "splitter6"; this.splitter6.Size = new System.Drawing.Size(10, 907); @@ -3303,7 +3303,7 @@ this.panel12.Location = new System.Drawing.Point(0, 720); this.panel12.Margin = new System.Windows.Forms.Padding(5); this.panel12.Name = "panel12"; - this.panel12.Size = new System.Drawing.Size(927, 907); + this.panel12.Size = new System.Drawing.Size(1101, 907); this.panel12.TabIndex = 153; // // xtraTabControl3 @@ -3313,7 +3313,7 @@ this.xtraTabControl3.Margin = new System.Windows.Forms.Padding(5); this.xtraTabControl3.Name = "xtraTabControl3"; this.xtraTabControl3.SelectedTabPage = this.xtraTabPage2; - this.xtraTabControl3.Size = new System.Drawing.Size(927, 907); + this.xtraTabControl3.Size = new System.Drawing.Size(1101, 907); this.xtraTabControl3.TabIndex = 0; this.xtraTabControl3.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage2}); @@ -3323,7 +3323,7 @@ this.xtraTabPage2.Controls.Add(this.DgcCheckCost); this.xtraTabPage2.Margin = new System.Windows.Forms.Padding(5); this.xtraTabPage2.Name = "xtraTabPage2"; - this.xtraTabPage2.Size = new System.Drawing.Size(915, 850); + this.xtraTabPage2.Size = new System.Drawing.Size(1089, 850); this.xtraTabPage2.Text = "团体订单"; // // DgcCheckCost @@ -3337,7 +3337,7 @@ this.DgcCheckCost.Name = "DgcCheckCost"; this.DgcCheckCost.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemMemoEdit3}); - this.DgcCheckCost.Size = new System.Drawing.Size(915, 850); + this.DgcCheckCost.Size = new System.Drawing.Size(1089, 850); this.DgcCheckCost.TabIndex = 147; this.DgcCheckCost.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.DgvCheckCost}); @@ -4793,20 +4793,6 @@ this.gridColumn89.VisibleIndex = 2; this.gridColumn89.Width = 60; // - // gridColumn91 - // - this.gridColumn91.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn91.AppearanceCell.Options.UseFont = true; - this.gridColumn91.Caption = "部门"; - this.gridColumn91.FieldName = "GroupName"; - this.gridColumn91.Name = "gridColumn91"; - this.gridColumn91.OptionsColumn.AllowEdit = false; - this.gridColumn91.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn91.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn91.OptionsColumn.ReadOnly = true; - this.gridColumn91.Visible = true; - this.gridColumn91.VisibleIndex = 6; - // // gridColumn90 // this.gridColumn90.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); @@ -4861,6 +4847,20 @@ this.gridColumn108.VisibleIndex = 5; this.gridColumn108.Width = 30; // + // gridColumn91 + // + this.gridColumn91.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn91.AppearanceCell.Options.UseFont = true; + this.gridColumn91.Caption = "部门"; + this.gridColumn91.FieldName = "GroupName"; + this.gridColumn91.Name = "gridColumn91"; + this.gridColumn91.OptionsColumn.AllowEdit = false; + this.gridColumn91.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn91.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn91.OptionsColumn.ReadOnly = true; + this.gridColumn91.Visible = true; + this.gridColumn91.VisibleIndex = 6; + // // gridColumn93 // this.gridColumn93.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); diff --git a/PEIS/View/Enrollment/EnrollmentOrgForm.cs b/PEIS/View/Enrollment/EnrollmentOrgForm.cs index e1cde0f..686ea42 100644 --- a/PEIS/View/Enrollment/EnrollmentOrgForm.cs +++ b/PEIS/View/Enrollment/EnrollmentOrgForm.cs @@ -758,6 +758,7 @@ namespace PEIS.View.Enrollment private void ImportBtn_Click(object sender, EventArgs e) // 全部导入 { if (!DgvPatient.GetSelectedRows().Any()) return; + if (Convert.ToInt64(DgvGroup.GetRowCellValue(DgvGroup.GetSelectedRows()[0], "OID").ToString()) == 0) return; var item = new EnrollmentOrgPatient(); var orgPatients = _lstPatient.Where(a => (DgvGroup.GetRowCellValue(DgvGroup.GetSelectedRows()[0], "Marriage").ToString() == "所有" ? true : a?.Marriage == DgvGroup.GetRowCellValue(DgvGroup.GetSelectedRows()[0], "Marriage").ToString()) diff --git a/PEIS/View/Enrollment/EnrollmentOrgForm.resx b/PEIS/View/Enrollment/EnrollmentOrgForm.resx index ac5a0cf..098ea78 100644 --- a/PEIS/View/Enrollment/EnrollmentOrgForm.resx +++ b/PEIS/View/Enrollment/EnrollmentOrgForm.resx @@ -123,10 +123,17 @@ 1597, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAGVJREFUSEtj + GAVDC5iFXG6AMlGAWcjVUCiTfAAy3Czkyn+z0KtRUCEwABkOFg+5sgoqRDqAG45mCJLhQEymL0YNxwqG + ruEgQHMLQGDUEpLAMLSEFoUdDIAsgTJRAMWuHwU0BAwMALZSy+0cd7O8AAAAAElFTkSuQmCC + + 1023, 19 - iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABGdBTUEAALGPC/xhBQAABDJJREFUWEft @@ -296,6 +303,42 @@ 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 @@ -406,49 +449,6 @@ JOCcmyq0HsDMpdDiAeI2ByHWmgSerZ31PcYcCy0eIG2SjA02OFSGe4E6HxizwB6YORRaPHCidZLxN23J px8o83zZb6D1vnyKB52SXLttirpHaGmA+3NxGIrrl3Z7TigTpCLLPgCVmc4p5cU+VwAAAABJRU5ErkJg gg== - - - - - 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 diff --git a/PEIS/View/Enrollment/EnrollmentPersonForm.Designer.cs b/PEIS/View/Enrollment/EnrollmentPersonForm.Designer.cs index 600b872..8084285 100644 --- a/PEIS/View/Enrollment/EnrollmentPersonForm.Designer.cs +++ b/PEIS/View/Enrollment/EnrollmentPersonForm.Designer.cs @@ -30,7 +30,22 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EnrollmentPersonForm)); + DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule(); + DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); this.gridColumn118 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn123 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn142 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn119 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn121 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn122 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn124 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn141 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn34 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn35 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn36 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn37 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn38 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn52 = new DevExpress.XtraGrid.Columns.GridColumn(); this.RegListPanel = new System.Windows.Forms.Panel(); this.DgcRegItem = new DevExpress.XtraGrid.GridControl(); @@ -215,19 +230,6 @@ this.TsmiCopyFeeItem = new System.Windows.Forms.ToolStripMenuItem(); this.DgcCheckCost = new DevExpress.XtraGrid.GridControl(); this.DgvCheckCost = new DevExpress.XtraGrid.Views.Grid.GridView(); - this.gridColumn123 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn142 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn119 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn121 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn122 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn124 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn141 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn34 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn35 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn36 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn37 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn38 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemMemoEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.RegListPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.DgcRegItem)).BeginInit(); @@ -309,121 +311,391 @@ this.gridColumn118.VisibleIndex = 0; this.gridColumn118.Width = 63; // - // gridColumn52 - // - this.gridColumn52.Caption = "退费时间"; - this.gridColumn52.FieldName = "CancelTime"; - this.gridColumn52.Name = "gridColumn52"; - // - // RegListPanel + // gridColumn123 // - this.RegListPanel.BackColor = System.Drawing.Color.White; - this.RegListPanel.Controls.Add(this.DgcRegItem); - this.RegListPanel.Controls.Add(this.groupBox2); - this.RegListPanel.Dock = System.Windows.Forms.DockStyle.Left; - this.RegListPanel.Location = new System.Drawing.Point(0, 0); - this.RegListPanel.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.RegListPanel.Name = "RegListPanel"; - this.RegListPanel.Size = new System.Drawing.Size(464, 1511); - this.RegListPanel.TabIndex = 13; + this.gridColumn123.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn123.AppearanceCell.Options.UseFont = true; + this.gridColumn123.Caption = "体检号"; + this.gridColumn123.FieldName = "EID"; + this.gridColumn123.Name = "gridColumn123"; + this.gridColumn123.OptionsColumn.AllowEdit = false; + this.gridColumn123.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn123.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn123.OptionsColumn.AllowMove = false; + this.gridColumn123.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn123.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn123.OptionsColumn.ReadOnly = true; + this.gridColumn123.OptionsFilter.AllowFilter = false; + this.gridColumn123.Visible = true; + this.gridColumn123.VisibleIndex = 1; // - // DgcRegItem + // gridColumn142 // - this.DgcRegItem.ContextMenuStrip = this.RegMenu; - this.DgcRegItem.Dock = System.Windows.Forms.DockStyle.Fill; - this.DgcRegItem.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(6); - this.DgcRegItem.Location = new System.Drawing.Point(0, 324); - this.DgcRegItem.MainView = this.DgvRegItem; - this.DgcRegItem.Margin = new System.Windows.Forms.Padding(6); - this.DgcRegItem.Name = "DgcRegItem"; - this.DgcRegItem.Size = new System.Drawing.Size(464, 1187); - this.DgcRegItem.TabIndex = 134; - this.DgcRegItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.DgvRegItem}); + this.gridColumn142.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn142.AppearanceCell.Options.UseFont = true; + this.gridColumn142.Caption = "姓名"; + this.gridColumn142.FieldName = "Name"; + this.gridColumn142.Name = "gridColumn142"; + this.gridColumn142.OptionsColumn.AllowEdit = false; + this.gridColumn142.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn142.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn142.OptionsColumn.AllowMove = false; + this.gridColumn142.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn142.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn142.OptionsColumn.ReadOnly = true; + this.gridColumn142.OptionsFilter.AllowFilter = false; + this.gridColumn142.Visible = true; + this.gridColumn142.VisibleIndex = 2; // - // RegMenu + // gridColumn119 // - this.RegMenu.ImageScalingSize = new System.Drawing.Size(20, 20); - this.RegMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.ExportExcel, - this.FastRecallDept}); - this.RegMenu.Name = "RegMenu"; - this.RegMenu.Size = new System.Drawing.Size(189, 76); + this.gridColumn119.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn119.AppearanceCell.Options.UseFont = true; + this.gridColumn119.Caption = "费用合计"; + this.gridColumn119.DisplayFormat.FormatString = "c"; + this.gridColumn119.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; + this.gridColumn119.FieldName = "Sum"; + this.gridColumn119.Name = "gridColumn119"; + this.gridColumn119.OptionsColumn.AllowEdit = false; + this.gridColumn119.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn119.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn119.OptionsColumn.AllowMove = false; + this.gridColumn119.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn119.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn119.OptionsColumn.ReadOnly = true; + this.gridColumn119.OptionsFilter.AllowFilter = false; + this.gridColumn119.Visible = true; + this.gridColumn119.VisibleIndex = 3; + this.gridColumn119.Width = 101; // - // ExportExcel + // gridColumn121 // - this.ExportExcel.Image = global::PEIS.Properties.Resources.Excel; - this.ExportExcel.Name = "ExportExcel"; - this.ExportExcel.Size = new System.Drawing.Size(188, 36); - this.ExportExcel.Text = "导出数据"; + this.gridColumn121.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn121.AppearanceCell.Options.UseFont = true; + this.gridColumn121.Caption = "折扣"; + this.gridColumn121.FieldName = "Discount"; + this.gridColumn121.Name = "gridColumn121"; + this.gridColumn121.OptionsColumn.AllowEdit = false; + this.gridColumn121.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn121.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn121.OptionsColumn.AllowMove = false; + this.gridColumn121.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn121.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn121.OptionsColumn.ReadOnly = true; + this.gridColumn121.OptionsFilter.AllowFilter = false; + this.gridColumn121.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { + new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Average, "FeeItemName", "合计:")}); + this.gridColumn121.Visible = true; + this.gridColumn121.VisibleIndex = 4; + this.gridColumn121.Width = 73; // - // FastRecallDept + // gridColumn122 // - this.FastRecallDept.Image = global::PEIS.Properties.Resources.取消弃检; - this.FastRecallDept.Name = "FastRecallDept"; - this.FastRecallDept.Size = new System.Drawing.Size(188, 36); - this.FastRecallDept.Text = "撤回发送"; + this.gridColumn122.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn122.AppearanceCell.Options.UseFont = true; + this.gridColumn122.Caption = "实收费用"; + this.gridColumn122.DisplayFormat.FormatString = "c"; + this.gridColumn122.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; + this.gridColumn122.FieldName = "Fee"; + this.gridColumn122.GroupFormat.FormatString = "c"; + this.gridColumn122.GroupFormat.FormatType = DevExpress.Utils.FormatType.Numeric; + this.gridColumn122.Name = "gridColumn122"; + this.gridColumn122.OptionsColumn.AllowEdit = false; + this.gridColumn122.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn122.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn122.OptionsColumn.AllowMove = false; + this.gridColumn122.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn122.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn122.OptionsColumn.ReadOnly = true; + this.gridColumn122.OptionsFilter.AllowFilter = false; + this.gridColumn122.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { + new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Fee", "¥{0:0.##}")}); + this.gridColumn122.Visible = true; + this.gridColumn122.VisibleIndex = 5; + this.gridColumn122.Width = 120; // - // DgvRegItem + // gridColumn124 // - this.DgvRegItem.Appearance.FooterPanel.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); - this.DgvRegItem.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Red; - this.DgvRegItem.Appearance.FooterPanel.Options.UseFont = true; - this.DgvRegItem.Appearance.FooterPanel.Options.UseForeColor = true; - this.DgvRegItem.Appearance.GroupRow.Font = new System.Drawing.Font("微软雅黑", 10.5F); - this.DgvRegItem.Appearance.GroupRow.Options.UseFont = true; - this.DgvRegItem.Appearance.Row.Font = new System.Drawing.Font("微软雅黑", 10F); - this.DgvRegItem.Appearance.Row.Options.UseFont = true; - this.DgvRegItem.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gridColumn164, - this.gridColumn1, - this.gridColumn2, - this.gridColumn5, - this.gridColumn6, - this.gridColumn7, - this.gridColumn3, - this.gridColumn4, - this.gridColumn51}); - this.DgvRegItem.GridControl = this.DgcRegItem; - this.DgvRegItem.GroupCount = 1; - this.DgvRegItem.GroupFormat = ""; - this.DgvRegItem.Name = "DgvRegItem"; - this.DgvRegItem.OptionsFilter.AllowFilterEditor = false; - this.DgvRegItem.OptionsMenu.EnableColumnMenu = false; - this.DgvRegItem.OptionsSelection.MultiSelect = true; - this.DgvRegItem.OptionsView.ColumnAutoWidth = false; - this.DgvRegItem.OptionsView.ShowGroupPanel = false; - this.DgvRegItem.RowHeight = 35; - this.DgvRegItem.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { - new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn164, DevExpress.Data.ColumnSortOrder.Ascending)}); + this.gridColumn124.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn124.AppearanceCell.Options.UseFont = true; + this.gridColumn124.Caption = "创建人"; + this.gridColumn124.FieldName = "Creator"; + this.gridColumn124.Name = "gridColumn124"; + this.gridColumn124.OptionsColumn.AllowEdit = false; + this.gridColumn124.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn124.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn124.OptionsColumn.AllowMove = false; + this.gridColumn124.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn124.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn124.OptionsColumn.ReadOnly = true; + this.gridColumn124.OptionsFilter.AllowFilter = false; + this.gridColumn124.Visible = true; + this.gridColumn124.VisibleIndex = 6; + this.gridColumn124.Width = 70; // - // gridColumn164 + // gridColumn141 // - this.gridColumn164.Caption = "状态"; - this.gridColumn164.FieldName = "Signer"; - this.gridColumn164.Name = "gridColumn164"; - this.gridColumn164.OptionsColumn.AllowEdit = false; - this.gridColumn164.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn164.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn164.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn164.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn164.OptionsColumn.ReadOnly = true; - this.gridColumn164.OptionsFilter.AllowFilter = false; - this.gridColumn164.Width = 52; + this.gridColumn141.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn141.AppearanceCell.Options.UseFont = true; + this.gridColumn141.Caption = "创建时间"; + this.gridColumn141.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; + this.gridColumn141.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.gridColumn141.FieldName = "CreateTime"; + this.gridColumn141.Name = "gridColumn141"; + this.gridColumn141.OptionsColumn.AllowEdit = false; + this.gridColumn141.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn141.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn141.OptionsColumn.AllowMove = false; + this.gridColumn141.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn141.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn141.OptionsColumn.ReadOnly = true; + this.gridColumn141.OptionsFilter.AllowFilter = false; + this.gridColumn141.Visible = true; + this.gridColumn141.VisibleIndex = 7; + this.gridColumn141.Width = 130; // - // gridColumn1 + // gridColumn33 // - this.gridColumn1.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn1.AppearanceCell.Options.UseFont = true; - this.gridColumn1.Caption = "体检号"; - this.gridColumn1.FieldName = "ID"; - this.gridColumn1.Name = "gridColumn1"; - this.gridColumn1.OptionsColumn.AllowEdit = false; - this.gridColumn1.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn1.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn1.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn1.OptionsColumn.ReadOnly = true; - this.gridColumn1.OptionsFilter.AllowFilter = false; + this.gridColumn33.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn33.AppearanceCell.Options.UseFont = true; + this.gridColumn33.Caption = "记账人"; + this.gridColumn33.FieldName = "Charger"; + this.gridColumn33.Name = "gridColumn33"; + this.gridColumn33.OptionsColumn.AllowEdit = false; + this.gridColumn33.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn33.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn33.OptionsColumn.AllowMove = false; + this.gridColumn33.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn33.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn33.OptionsColumn.ReadOnly = true; + this.gridColumn33.OptionsFilter.AllowFilter = false; + this.gridColumn33.Visible = true; + this.gridColumn33.VisibleIndex = 8; + // + // gridColumn34 + // + this.gridColumn34.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn34.AppearanceCell.Options.UseFont = true; + this.gridColumn34.Caption = "记账时间"; + this.gridColumn34.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; + this.gridColumn34.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.gridColumn34.FieldName = "ChargeTime"; + this.gridColumn34.Name = "gridColumn34"; + this.gridColumn34.OptionsColumn.AllowEdit = false; + this.gridColumn34.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn34.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn34.OptionsColumn.AllowMove = false; + this.gridColumn34.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn34.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn34.OptionsColumn.ReadOnly = true; + this.gridColumn34.OptionsFilter.AllowFilter = false; + this.gridColumn34.Visible = true; + this.gridColumn34.VisibleIndex = 9; + this.gridColumn34.Width = 130; + // + // gridColumn35 + // + this.gridColumn35.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn35.AppearanceCell.Options.UseFont = true; + this.gridColumn35.Caption = "发送人"; + this.gridColumn35.FieldName = "Sender"; + this.gridColumn35.Name = "gridColumn35"; + this.gridColumn35.OptionsColumn.AllowEdit = false; + this.gridColumn35.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn35.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn35.OptionsColumn.AllowMove = false; + this.gridColumn35.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn35.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn35.OptionsColumn.ReadOnly = true; + this.gridColumn35.OptionsFilter.AllowFilter = false; + this.gridColumn35.Visible = true; + this.gridColumn35.VisibleIndex = 10; + // + // gridColumn36 + // + this.gridColumn36.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn36.AppearanceCell.Options.UseFont = true; + this.gridColumn36.Caption = "发送时间"; + this.gridColumn36.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; + this.gridColumn36.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.gridColumn36.FieldName = "SendTime"; + this.gridColumn36.Name = "gridColumn36"; + this.gridColumn36.OptionsColumn.AllowEdit = false; + this.gridColumn36.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn36.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn36.OptionsColumn.AllowMove = false; + this.gridColumn36.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn36.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn36.OptionsColumn.ReadOnly = true; + this.gridColumn36.OptionsFilter.AllowFilter = false; + this.gridColumn36.Visible = true; + this.gridColumn36.VisibleIndex = 11; + this.gridColumn36.Width = 130; + // + // gridColumn37 + // + this.gridColumn37.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn37.AppearanceCell.Options.UseFont = true; + this.gridColumn37.Caption = "收费人"; + this.gridColumn37.FieldName = "Coster"; + this.gridColumn37.Name = "gridColumn37"; + this.gridColumn37.OptionsColumn.AllowEdit = false; + this.gridColumn37.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn37.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn37.OptionsColumn.AllowMove = false; + this.gridColumn37.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn37.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn37.OptionsColumn.ReadOnly = true; + this.gridColumn37.OptionsFilter.AllowFilter = false; + this.gridColumn37.Visible = true; + this.gridColumn37.VisibleIndex = 12; + // + // gridColumn38 + // + this.gridColumn38.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn38.AppearanceCell.Options.UseFont = true; + this.gridColumn38.Caption = "收费时间"; + this.gridColumn38.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; + this.gridColumn38.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.gridColumn38.FieldName = "CostTime"; + this.gridColumn38.Name = "gridColumn38"; + this.gridColumn38.OptionsColumn.AllowEdit = false; + this.gridColumn38.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn38.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn38.OptionsColumn.AllowMove = false; + this.gridColumn38.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn38.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn38.OptionsColumn.ReadOnly = true; + this.gridColumn38.OptionsFilter.AllowFilter = false; + this.gridColumn38.Visible = true; + this.gridColumn38.VisibleIndex = 13; + this.gridColumn38.Width = 130; + // + // gridColumn52 + // + this.gridColumn52.Caption = "退费时间"; + this.gridColumn52.FieldName = "CancelTime"; + this.gridColumn52.Name = "gridColumn52"; + this.gridColumn52.OptionsColumn.AllowEdit = false; + this.gridColumn52.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn52.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn52.OptionsColumn.AllowMove = false; + this.gridColumn52.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn52.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn52.OptionsColumn.ReadOnly = true; + this.gridColumn52.OptionsFilter.AllowFilter = false; + this.gridColumn52.Visible = true; + this.gridColumn52.VisibleIndex = 14; + // + // RegListPanel + // + this.RegListPanel.BackColor = System.Drawing.Color.White; + this.RegListPanel.Controls.Add(this.DgcRegItem); + this.RegListPanel.Controls.Add(this.groupBox2); + this.RegListPanel.Dock = System.Windows.Forms.DockStyle.Left; + this.RegListPanel.Location = new System.Drawing.Point(0, 0); + this.RegListPanel.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.RegListPanel.Name = "RegListPanel"; + this.RegListPanel.Size = new System.Drawing.Size(464, 1511); + this.RegListPanel.TabIndex = 13; + // + // DgcRegItem + // + this.DgcRegItem.ContextMenuStrip = this.RegMenu; + this.DgcRegItem.Dock = System.Windows.Forms.DockStyle.Fill; + this.DgcRegItem.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(6); + this.DgcRegItem.Location = new System.Drawing.Point(0, 324); + this.DgcRegItem.MainView = this.DgvRegItem; + this.DgcRegItem.Margin = new System.Windows.Forms.Padding(6); + this.DgcRegItem.Name = "DgcRegItem"; + this.DgcRegItem.Size = new System.Drawing.Size(464, 1187); + this.DgcRegItem.TabIndex = 134; + this.DgcRegItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.DgvRegItem}); + // + // RegMenu + // + this.RegMenu.ImageScalingSize = new System.Drawing.Size(20, 20); + this.RegMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ExportExcel, + this.FastRecallDept}); + this.RegMenu.Name = "RegMenu"; + this.RegMenu.Size = new System.Drawing.Size(189, 76); + // + // ExportExcel + // + this.ExportExcel.Image = global::PEIS.Properties.Resources.Excel; + this.ExportExcel.Name = "ExportExcel"; + this.ExportExcel.Size = new System.Drawing.Size(188, 36); + this.ExportExcel.Text = "导出数据"; + // + // FastRecallDept + // + this.FastRecallDept.Image = global::PEIS.Properties.Resources.取消弃检; + this.FastRecallDept.Name = "FastRecallDept"; + this.FastRecallDept.Size = new System.Drawing.Size(188, 36); + this.FastRecallDept.Text = "撤回发送"; + // + // DgvRegItem + // + this.DgvRegItem.Appearance.FooterPanel.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); + this.DgvRegItem.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Red; + this.DgvRegItem.Appearance.FooterPanel.Options.UseFont = true; + this.DgvRegItem.Appearance.FooterPanel.Options.UseForeColor = true; + this.DgvRegItem.Appearance.GroupRow.Font = new System.Drawing.Font("微软雅黑", 10.5F); + this.DgvRegItem.Appearance.GroupRow.Options.UseFont = true; + this.DgvRegItem.Appearance.Row.Font = new System.Drawing.Font("微软雅黑", 10F); + this.DgvRegItem.Appearance.Row.Options.UseFont = true; + this.DgvRegItem.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gridColumn164, + this.gridColumn1, + this.gridColumn2, + this.gridColumn5, + this.gridColumn6, + this.gridColumn7, + this.gridColumn3, + this.gridColumn4, + this.gridColumn51}); + this.DgvRegItem.GridControl = this.DgcRegItem; + this.DgvRegItem.GroupCount = 1; + this.DgvRegItem.GroupFormat = ""; + this.DgvRegItem.Name = "DgvRegItem"; + this.DgvRegItem.OptionsFilter.AllowFilterEditor = false; + this.DgvRegItem.OptionsMenu.EnableColumnMenu = false; + this.DgvRegItem.OptionsSelection.MultiSelect = true; + this.DgvRegItem.OptionsView.ColumnAutoWidth = false; + this.DgvRegItem.OptionsView.ShowGroupPanel = false; + this.DgvRegItem.RowHeight = 35; + this.DgvRegItem.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { + new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn164, DevExpress.Data.ColumnSortOrder.Ascending)}); + // + // gridColumn164 + // + this.gridColumn164.Caption = "状态"; + this.gridColumn164.FieldName = "Signer"; + this.gridColumn164.Name = "gridColumn164"; + this.gridColumn164.OptionsColumn.AllowEdit = false; + this.gridColumn164.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn164.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn164.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn164.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn164.OptionsColumn.ReadOnly = true; + this.gridColumn164.OptionsFilter.AllowFilter = false; + this.gridColumn164.Width = 52; + // + // gridColumn1 + // + this.gridColumn1.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); + this.gridColumn1.AppearanceCell.Options.UseFont = true; + this.gridColumn1.Caption = "体检号"; + this.gridColumn1.FieldName = "ID"; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.OptionsColumn.AllowEdit = false; + this.gridColumn1.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn1.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn1.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; + this.gridColumn1.OptionsColumn.ReadOnly = true; + this.gridColumn1.OptionsFilter.AllowFilter = false; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // @@ -1967,7 +2239,7 @@ this.FeeItemTab.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); this.FeeItemTab.Name = "FeeItemTab"; this.FeeItemTab.Padding = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.FeeItemTab.Size = new System.Drawing.Size(1680, 384); + this.FeeItemTab.Size = new System.Drawing.Size(1675, 561); this.FeeItemTab.TabIndex = 0; this.FeeItemTab.Text = "收费项目"; // @@ -1981,7 +2253,7 @@ this.DgcFeeItem.Name = "DgcFeeItem"; this.DgcFeeItem.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCheckEdit1}); - this.DgcFeeItem.Size = new System.Drawing.Size(1670, 333); + this.DgcFeeItem.Size = new System.Drawing.Size(1665, 510); this.DgcFeeItem.TabIndex = 124; this.DgcFeeItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.DgvFeeItem, @@ -2153,7 +2425,7 @@ this.FeeItemSearch.Location = new System.Drawing.Point(5, 6); this.FeeItemSearch.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); this.FeeItemSearch.Name = "FeeItemSearch"; - this.FeeItemSearch.Size = new System.Drawing.Size(1670, 39); + this.FeeItemSearch.Size = new System.Drawing.Size(1665, 39); this.FeeItemSearch.TabIndex = 123; // // CopyItemTab @@ -2164,7 +2436,7 @@ this.CopyItemTab.Location = new System.Drawing.Point(8, 45); this.CopyItemTab.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); this.CopyItemTab.Name = "CopyItemTab"; - this.CopyItemTab.Size = new System.Drawing.Size(1680, 384); + this.CopyItemTab.Size = new System.Drawing.Size(1675, 561); this.CopyItemTab.TabIndex = 2; this.CopyItemTab.Text = "从体检者复制项目"; this.CopyItemTab.UseVisualStyleBackColor = true; @@ -2177,7 +2449,7 @@ this.DgcCopyItem.MainView = this.DgvCopyItem; this.DgcCopyItem.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); this.DgcCopyItem.Name = "DgcCopyItem"; - this.DgcCopyItem.Size = new System.Drawing.Size(1393, 343); + this.DgcCopyItem.Size = new System.Drawing.Size(1388, 520); this.DgcCopyItem.TabIndex = 30; this.DgcCopyItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.DgvCopyItem}); @@ -2355,7 +2627,7 @@ this.DgcRegItem2.MainView = this.DgvRegItem2; this.DgcRegItem2.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); this.DgcRegItem2.Name = "DgcRegItem2"; - this.DgcRegItem2.Size = new System.Drawing.Size(287, 343); + this.DgcRegItem2.Size = new System.Drawing.Size(287, 520); this.DgcRegItem2.TabIndex = 29; this.DgcRegItem2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.DgvRegItem2}); @@ -2412,7 +2684,7 @@ this.CopyMenu.Location = new System.Drawing.Point(0, 0); this.CopyMenu.Name = "CopyMenu"; this.CopyMenu.Padding = new System.Windows.Forms.Padding(5, 3, 0, 3); - this.CopyMenu.Size = new System.Drawing.Size(1680, 41); + this.CopyMenu.Size = new System.Drawing.Size(1675, 41); this.CopyMenu.TabIndex = 24; this.CopyMenu.Text = "menuStrip1"; // @@ -2466,10 +2738,21 @@ this.gridColumn38, this.gridColumn52}); this.DgvCheckCost.FixedLineWidth = 1; + gridFormatRule1.ApplyToRow = true; + gridFormatRule1.Column = this.gridColumn52; + gridFormatRule1.ColumnApplyTo = this.gridColumn123; + gridFormatRule1.Name = "Format0"; + formatConditionRuleExpression1.Appearance.ForeColor = System.Drawing.Color.Gray; + formatConditionRuleExpression1.Appearance.Options.UseForeColor = true; + formatConditionRuleExpression1.Expression = "[CancelTime] Is Not Null"; + formatConditionRuleExpression1.PredefinedName = "Strikeout Text"; + gridFormatRule1.Rule = formatConditionRuleExpression1; + this.DgvCheckCost.FormatRules.Add(gridFormatRule1); this.DgvCheckCost.GridControl = this.DgcCheckCost; this.DgvCheckCost.IndicatorWidth = 40; this.DgvCheckCost.Name = "DgvCheckCost"; this.DgvCheckCost.OptionsMenu.EnableColumnMenu = false; + this.DgvCheckCost.OptionsSelection.EnableAppearanceFocusedRow = false; this.DgvCheckCost.OptionsSelection.MultiSelect = true; this.DgvCheckCost.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect; this.DgvCheckCost.OptionsView.ColumnAutoWidth = false; @@ -2478,266 +2761,6 @@ this.DgvCheckCost.OptionsView.ShowIndicator = false; this.DgvCheckCost.RowHeight = 35; // - // gridColumn123 - // - this.gridColumn123.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn123.AppearanceCell.Options.UseFont = true; - this.gridColumn123.Caption = "体检号"; - this.gridColumn123.FieldName = "EID"; - this.gridColumn123.Name = "gridColumn123"; - this.gridColumn123.OptionsColumn.AllowEdit = false; - this.gridColumn123.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn123.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn123.OptionsColumn.AllowMove = false; - this.gridColumn123.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn123.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn123.OptionsColumn.ReadOnly = true; - this.gridColumn123.OptionsFilter.AllowFilter = false; - this.gridColumn123.Visible = true; - this.gridColumn123.VisibleIndex = 1; - // - // gridColumn142 - // - this.gridColumn142.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn142.AppearanceCell.Options.UseFont = true; - this.gridColumn142.Caption = "姓名"; - this.gridColumn142.FieldName = "Name"; - this.gridColumn142.Name = "gridColumn142"; - this.gridColumn142.OptionsColumn.AllowEdit = false; - this.gridColumn142.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn142.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn142.OptionsColumn.AllowMove = false; - this.gridColumn142.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn142.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn142.OptionsColumn.ReadOnly = true; - this.gridColumn142.OptionsFilter.AllowFilter = false; - this.gridColumn142.Visible = true; - this.gridColumn142.VisibleIndex = 2; - // - // gridColumn119 - // - this.gridColumn119.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn119.AppearanceCell.Options.UseFont = true; - this.gridColumn119.Caption = "费用合计"; - this.gridColumn119.DisplayFormat.FormatString = "c"; - this.gridColumn119.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; - this.gridColumn119.FieldName = "Sum"; - this.gridColumn119.Name = "gridColumn119"; - this.gridColumn119.OptionsColumn.AllowEdit = false; - this.gridColumn119.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn119.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn119.OptionsColumn.AllowMove = false; - this.gridColumn119.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn119.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn119.OptionsColumn.ReadOnly = true; - this.gridColumn119.OptionsFilter.AllowFilter = false; - this.gridColumn119.Visible = true; - this.gridColumn119.VisibleIndex = 3; - this.gridColumn119.Width = 101; - // - // gridColumn121 - // - this.gridColumn121.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn121.AppearanceCell.Options.UseFont = true; - this.gridColumn121.Caption = "折扣"; - this.gridColumn121.FieldName = "Discount"; - this.gridColumn121.Name = "gridColumn121"; - this.gridColumn121.OptionsColumn.AllowEdit = false; - this.gridColumn121.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn121.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn121.OptionsColumn.AllowMove = false; - this.gridColumn121.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn121.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn121.OptionsColumn.ReadOnly = true; - this.gridColumn121.OptionsFilter.AllowFilter = false; - this.gridColumn121.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { - new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Average, "FeeItemName", "合计:")}); - this.gridColumn121.Visible = true; - this.gridColumn121.VisibleIndex = 4; - this.gridColumn121.Width = 73; - // - // gridColumn122 - // - this.gridColumn122.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn122.AppearanceCell.Options.UseFont = true; - this.gridColumn122.Caption = "实收费用"; - this.gridColumn122.DisplayFormat.FormatString = "c"; - this.gridColumn122.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; - this.gridColumn122.FieldName = "Fee"; - this.gridColumn122.GroupFormat.FormatString = "c"; - this.gridColumn122.GroupFormat.FormatType = DevExpress.Utils.FormatType.Numeric; - this.gridColumn122.Name = "gridColumn122"; - this.gridColumn122.OptionsColumn.AllowEdit = false; - this.gridColumn122.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn122.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn122.OptionsColumn.AllowMove = false; - this.gridColumn122.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn122.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn122.OptionsColumn.ReadOnly = true; - this.gridColumn122.OptionsFilter.AllowFilter = false; - this.gridColumn122.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { - new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Fee", "¥{0:0.##}")}); - this.gridColumn122.Visible = true; - this.gridColumn122.VisibleIndex = 5; - this.gridColumn122.Width = 120; - // - // gridColumn124 - // - this.gridColumn124.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn124.AppearanceCell.Options.UseFont = true; - this.gridColumn124.Caption = "创建人"; - this.gridColumn124.FieldName = "Creator"; - this.gridColumn124.Name = "gridColumn124"; - this.gridColumn124.OptionsColumn.AllowEdit = false; - this.gridColumn124.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn124.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn124.OptionsColumn.AllowMove = false; - this.gridColumn124.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn124.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn124.OptionsColumn.ReadOnly = true; - this.gridColumn124.OptionsFilter.AllowFilter = false; - this.gridColumn124.Visible = true; - this.gridColumn124.VisibleIndex = 6; - this.gridColumn124.Width = 70; - // - // gridColumn141 - // - this.gridColumn141.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn141.AppearanceCell.Options.UseFont = true; - this.gridColumn141.Caption = "创建时间"; - this.gridColumn141.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; - this.gridColumn141.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; - this.gridColumn141.FieldName = "CreateTime"; - this.gridColumn141.Name = "gridColumn141"; - this.gridColumn141.OptionsColumn.AllowEdit = false; - this.gridColumn141.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn141.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn141.OptionsColumn.AllowMove = false; - this.gridColumn141.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn141.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn141.OptionsColumn.ReadOnly = true; - this.gridColumn141.OptionsFilter.AllowFilter = false; - this.gridColumn141.Visible = true; - this.gridColumn141.VisibleIndex = 7; - this.gridColumn141.Width = 130; - // - // gridColumn33 - // - this.gridColumn33.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn33.AppearanceCell.Options.UseFont = true; - this.gridColumn33.Caption = "记账人"; - this.gridColumn33.FieldName = "Charger"; - this.gridColumn33.Name = "gridColumn33"; - this.gridColumn33.OptionsColumn.AllowEdit = false; - this.gridColumn33.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn33.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn33.OptionsColumn.AllowMove = false; - this.gridColumn33.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn33.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn33.OptionsColumn.ReadOnly = true; - this.gridColumn33.OptionsFilter.AllowFilter = false; - this.gridColumn33.Visible = true; - this.gridColumn33.VisibleIndex = 8; - // - // gridColumn34 - // - this.gridColumn34.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn34.AppearanceCell.Options.UseFont = true; - this.gridColumn34.Caption = "记账时间"; - this.gridColumn34.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; - this.gridColumn34.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; - this.gridColumn34.FieldName = "ChargeTime"; - this.gridColumn34.Name = "gridColumn34"; - this.gridColumn34.OptionsColumn.AllowEdit = false; - this.gridColumn34.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn34.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn34.OptionsColumn.AllowMove = false; - this.gridColumn34.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn34.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn34.OptionsColumn.ReadOnly = true; - this.gridColumn34.OptionsFilter.AllowFilter = false; - this.gridColumn34.Visible = true; - this.gridColumn34.VisibleIndex = 9; - this.gridColumn34.Width = 130; - // - // gridColumn35 - // - this.gridColumn35.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn35.AppearanceCell.Options.UseFont = true; - this.gridColumn35.Caption = "发送人"; - this.gridColumn35.FieldName = "Sender"; - this.gridColumn35.Name = "gridColumn35"; - this.gridColumn35.OptionsColumn.AllowEdit = false; - this.gridColumn35.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn35.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn35.OptionsColumn.AllowMove = false; - this.gridColumn35.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn35.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn35.OptionsColumn.ReadOnly = true; - this.gridColumn35.OptionsFilter.AllowFilter = false; - this.gridColumn35.Visible = true; - this.gridColumn35.VisibleIndex = 10; - // - // gridColumn36 - // - this.gridColumn36.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn36.AppearanceCell.Options.UseFont = true; - this.gridColumn36.Caption = "发送时间"; - this.gridColumn36.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; - this.gridColumn36.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; - this.gridColumn36.FieldName = "SendTime"; - this.gridColumn36.Name = "gridColumn36"; - this.gridColumn36.OptionsColumn.AllowEdit = false; - this.gridColumn36.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn36.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn36.OptionsColumn.AllowMove = false; - this.gridColumn36.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn36.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn36.OptionsColumn.ReadOnly = true; - this.gridColumn36.OptionsFilter.AllowFilter = false; - this.gridColumn36.Visible = true; - this.gridColumn36.VisibleIndex = 11; - this.gridColumn36.Width = 130; - // - // gridColumn37 - // - this.gridColumn37.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn37.AppearanceCell.Options.UseFont = true; - this.gridColumn37.Caption = "收费人"; - this.gridColumn37.FieldName = "Coster"; - this.gridColumn37.Name = "gridColumn37"; - this.gridColumn37.OptionsColumn.AllowEdit = false; - this.gridColumn37.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn37.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn37.OptionsColumn.AllowMove = false; - this.gridColumn37.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn37.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn37.OptionsColumn.ReadOnly = true; - this.gridColumn37.OptionsFilter.AllowFilter = false; - this.gridColumn37.Visible = true; - this.gridColumn37.VisibleIndex = 12; - // - // gridColumn38 - // - this.gridColumn38.AppearanceCell.Font = new System.Drawing.Font("微软雅黑", 12F); - this.gridColumn38.AppearanceCell.Options.UseFont = true; - this.gridColumn38.Caption = "收费时间"; - this.gridColumn38.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; - this.gridColumn38.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; - this.gridColumn38.FieldName = "CostTime"; - this.gridColumn38.Name = "gridColumn38"; - this.gridColumn38.OptionsColumn.AllowEdit = false; - this.gridColumn38.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn38.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn38.OptionsColumn.AllowMove = false; - this.gridColumn38.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn38.OptionsColumn.Printable = DevExpress.Utils.DefaultBoolean.False; - this.gridColumn38.OptionsColumn.ReadOnly = true; - this.gridColumn38.OptionsFilter.AllowFilter = false; - this.gridColumn38.Visible = true; - this.gridColumn38.VisibleIndex = 13; - this.gridColumn38.Width = 130; - // // repositoryItemMemoEdit3 // this.repositoryItemMemoEdit3.Appearance.Options.UseTextOptions = true; diff --git a/PEIS/View/Enrollment/EnrollmentPersonForm.cs b/PEIS/View/Enrollment/EnrollmentPersonForm.cs index 8e31508..df3d5ca 100644 --- a/PEIS/View/Enrollment/EnrollmentPersonForm.cs +++ b/PEIS/View/Enrollment/EnrollmentPersonForm.cs @@ -125,7 +125,7 @@ namespace PEIS.View.Enrollment DgvEFeeItem.RowStyle += DgvEFeeItem_RowStyle; // 改变订单行颜色 DgvCheckCost.RowStyle += DgvCheckCost_RowStyle; - + // 打开/关闭收费项目 TsmiOpenFeeItem.Click += TsmiOpenFeeItem_Click;