diff --git a/B3ButcherManageClient.sln b/B3ButcherManageClient.sln index c82c42a..8a36370 100644 --- a/B3ButcherManageClient.sln +++ b/B3ButcherManageClient.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2020 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BO", "BO\BO.csproj", "{8968F14A-C7C7-4751-96CE-B114FBFD65EF}" EndProject @@ -41,6 +41,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormTest", "WinFormTest\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialRequisition", "MaterialRequisition\MaterialRequisition.csproj", "{756CB09C-D46E-4BFD-8417-4EA531102E4A}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OffLineQualityAndOrder", "OffLineQualityAndOrder\OffLineQualityAndOrder.csproj", "{20BB780C-237B-4998-9ABF-85951596E4FF}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -121,6 +123,10 @@ Global {756CB09C-D46E-4BFD-8417-4EA531102E4A}.Debug|Any CPU.Build.0 = Debug|Any CPU {756CB09C-D46E-4BFD-8417-4EA531102E4A}.Release|Any CPU.ActiveCfg = Release|Any CPU {756CB09C-D46E-4BFD-8417-4EA531102E4A}.Release|Any CPU.Build.0 = Release|Any CPU + {20BB780C-237B-4998-9ABF-85951596E4FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {20BB780C-237B-4998-9ABF-85951596E4FF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {20BB780C-237B-4998-9ABF-85951596E4FF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {20BB780C-237B-4998-9ABF-85951596E4FF}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/BO/BO/Bill/OrderDetail/OrderDetail.cs b/BO/BO/Bill/OrderDetail/OrderDetail.cs index cd99d1e..57acbcc 100644 --- a/BO/BO/Bill/OrderDetail/OrderDetail.cs +++ b/BO/BO/Bill/OrderDetail/OrderDetail.cs @@ -32,6 +32,10 @@ namespace BO.BO.Bill public bool IsHurryButcher { get; set; } + public short? Technics { get; set; } + + public string Technics_Name { get; set; } + public bool SecondarySplit { get; set; } //0 = 未开始; 10 = 已开始; 20 = 已完毕; diff --git a/BO/Utils/AfterLoginUtil.cs b/BO/Utils/AfterLoginUtil.cs index 02e7bed..eb51ed6 100644 --- a/BO/Utils/AfterLoginUtil.cs +++ b/BO/Utils/AfterLoginUtil.cs @@ -22,6 +22,7 @@ namespace BO.Utils static List> roleToAssemblies = new List>(){new Tuple("排宰员",@"C:\BwpB3Project\src\B3ButcherManageClient\ButcherOrder\bin\Debug\ButcherOrder"), new Tuple("过磅员",@"C:\BwpB3Project\src\B3ButcherManageClient\ButcherWeight\bin\Debug\ButcherWeight"), new Tuple("验质员",@"C:\BwpB3Project\src\B3ButcherManageClient\QualityAndOrder\bin\Debug\QualityAndOrder"), + new Tuple("验质排宰",@"C:\BwpB3Project\src\B3ButcherManageClient\OffLineQualityAndOrder\bin\Debug\OffLineQualityAndOrder"), new Tuple("定级员",@"C:\BwpB3Project\src\B3ButcherManageClient\WeighAndGrading\bin\Debug\WeighAndGrading"), new Tuple("窒晕员",@"C:\BwpB3Project\src\B3ButcherManageClient\OrderConfirm\bin\Debug\OrderConfirm"), new Tuple("白条入库",@"C:\BwpB3Project\src\B3ButcherManageClient\TrunksIousOutInStore\bin\Debug\TrunksIousOutInStore"), @@ -53,6 +54,7 @@ namespace BO.Utils new Tuple("排宰员",@"ButcherOrder"), new Tuple("过磅员",@"ButcherWeight"), new Tuple("验质员",@"QualityAndOrder"), + new Tuple("验质排宰",@"OffLineQualityAndOrder"), new Tuple("定级员",@"WeighAndGrading"), new Tuple("窒晕员",@"OrderConfirm"), new Tuple("掉猪处理员",@"DropPigReOrder"), diff --git a/OffLineQualityAndOrder/OffLineQualityAndOrder.csproj b/OffLineQualityAndOrder/OffLineQualityAndOrder.csproj new file mode 100644 index 0000000..ae3967e --- /dev/null +++ b/OffLineQualityAndOrder/OffLineQualityAndOrder.csproj @@ -0,0 +1,80 @@ + + + + + Debug + AnyCPU + {20BB780C-237B-4998-9ABF-85951596E4FF} + Library + Properties + OffLineQualityAndOrder + OffLineQualityAndOrder + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + Form + + + OffLineQualityOrderForm.cs + + + Form + + + + + {8968f14a-c7c7-4751-96ce-b114fbfd65ef} + BO + + + {a782b23e-be6d-4f51-b5cb-5cd259ba97cc} + BWP.WinFormControl + + + + + OffLineQualityOrderForm.cs + + + + + \ No newline at end of file diff --git a/OffLineQualityAndOrder/OffLineQualityOrderForm.Designer.cs b/OffLineQualityAndOrder/OffLineQualityOrderForm.Designer.cs new file mode 100644 index 0000000..ee12ec8 --- /dev/null +++ b/OffLineQualityAndOrder/OffLineQualityOrderForm.Designer.cs @@ -0,0 +1,1264 @@ +namespace OffLineQualityAndOrder +{ + partial class OffLineQualityOrderForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + this.uTabControl1 = new BWP.WinFormControl.UTabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); + this.panel1 = new System.Windows.Forms.Panel(); + this.uTabControl2 = new BWP.WinFormControl.UTabControl(); + this.tabPage3 = new System.Windows.Forms.TabPage(); + this.sanctionGrid = new BWP.WinFormControl.UDataGridView(); + this.S_AbnormalItem_Name1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_Number1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_AbnormalItem_Name2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_Number2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_AbnormalItem_Name3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_Number3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_Sanction_ID1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_AbnormalItem_ID1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_Sanction_ID2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_AbnormalItem_ID2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_Sanction_ID3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.S_AbnormalItem_ID3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.tabPage4 = new System.Windows.Forms.TabPage(); + this.housePanel = new System.Windows.Forms.TabControl(); + this.inHouseNumberLabel = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.hogGradePanel = new System.Windows.Forms.FlowLayoutPanel(); + this.closeBtn = new System.Windows.Forms.Button(); + this.commitBtn = new System.Windows.Forms.Button(); + this.numberBox = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.keyBoardPanel = new System.Windows.Forms.FlowLayoutPanel(); + this.weightBillGrid = new BWP.WinFormControl.UDataGridView(); + this.W_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.W_AlreadyHouse = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.W_B3ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.W_Employee_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.W_Supplier_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.W_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.W_HouseNames = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.syncBtn = new System.Windows.Forms.Button(); + this.testTimeInput = new BWP.WinFormControl.UDatePicker(); + this.label20 = new System.Windows.Forms.Label(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.tangBtn = new System.Windows.Forms.Button(); + this.maoBtn = new System.Windows.Forms.Button(); + this.butcherSearch = new System.Windows.Forms.Button(); + this.butcherDateInput = new BWP.WinFormControl.UDatePicker(); + this.label3 = new System.Windows.Forms.Label(); + this.vScrollBar3 = new System.Windows.Forms.VScrollBar(); + this.vScrollBar2 = new System.Windows.Forms.VScrollBar(); + this.panel3 = new System.Windows.Forms.Panel(); + this.showHidden = new System.Windows.Forms.RadioButton(); + this.showAvailable = new System.Windows.Forms.RadioButton(); + this.showAll = new System.Windows.Forms.RadioButton(); + this.panel2 = new System.Windows.Forms.Panel(); + this.tab2KeyPanel = new System.Windows.Forms.FlowLayoutPanel(); + this.closeBtn2 = new System.Windows.Forms.Button(); + this.label6 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.preOrderGrid = new BWP.WinFormControl.UDataGridView(); + this.P_WeightBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_Show = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_B3ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_Supplier_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_HouseNames = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_AlreadyNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_LastNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_WeighTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P_OKBtn = new System.Windows.Forms.DataGridViewButtonColumn(); + this.P_Hidden = new System.Windows.Forms.DataGridViewButtonColumn(); + this.orderGrid = new BWP.WinFormControl.UDataGridView(); + this.tab2SyncBtn = new System.Windows.Forms.Button(); + this.tab2DateSelect = new BWP.WinFormControl.UDatePicker(); + this.label4 = new System.Windows.Forms.Label(); + this.O_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_Technics = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_IsHurryButcher = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_WeightBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_SecondarySplit = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_Date = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_B3WeighBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_Supplier_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_LiveColonyHouse_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_PlanNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_OKBtn = new System.Windows.Forms.DataGridViewButtonColumn(); + this.uTabControl1.SuspendLayout(); + this.tabPage1.SuspendLayout(); + this.panel1.SuspendLayout(); + this.uTabControl2.SuspendLayout(); + this.tabPage3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.sanctionGrid)).BeginInit(); + this.tabPage4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.weightBillGrid)).BeginInit(); + this.tabPage2.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.panel3.SuspendLayout(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.preOrderGrid)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.orderGrid)).BeginInit(); + this.SuspendLayout(); + // + // uTabControl1 + // + this.uTabControl1.Controls.Add(this.tabPage1); + this.uTabControl1.Controls.Add(this.tabPage2); + this.uTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.uTabControl1.FromRightFlow = false; + this.uTabControl1.ItemSize = new System.Drawing.Size(150, 50); + this.uTabControl1.Location = new System.Drawing.Point(0, 0); + this.uTabControl1.Name = "uTabControl1"; + this.uTabControl1.SelectedIndex = 0; + this.uTabControl1.Size = new System.Drawing.Size(1362, 818); + this.uTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; + this.uTabControl1.TabIndex = 0; + // + // tabPage1 + // + this.tabPage1.Controls.Add(this.vScrollBar1); + this.tabPage1.Controls.Add(this.panel1); + this.tabPage1.Controls.Add(this.inHouseNumberLabel); + this.tabPage1.Controls.Add(this.label2); + this.tabPage1.Controls.Add(this.hogGradePanel); + this.tabPage1.Controls.Add(this.closeBtn); + this.tabPage1.Controls.Add(this.commitBtn); + this.tabPage1.Controls.Add(this.numberBox); + this.tabPage1.Controls.Add(this.label1); + this.tabPage1.Controls.Add(this.keyBoardPanel); + this.tabPage1.Controls.Add(this.weightBillGrid); + this.tabPage1.Controls.Add(this.syncBtn); + this.tabPage1.Controls.Add(this.testTimeInput); + this.tabPage1.Controls.Add(this.label20); + this.tabPage1.Location = new System.Drawing.Point(4, 54); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(1354, 760); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "验质分圈"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // vScrollBar1 + // + this.vScrollBar1.Location = new System.Drawing.Point(458, 77); + this.vScrollBar1.Name = "vScrollBar1"; + this.vScrollBar1.Size = new System.Drawing.Size(40, 403); + this.vScrollBar1.TabIndex = 50; + // + // panel1 + // + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.uTabControl2); + this.panel1.Location = new System.Drawing.Point(615, 161); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(733, 596); + this.panel1.TabIndex = 44; + // + // uTabControl2 + // + this.uTabControl2.Controls.Add(this.tabPage3); + this.uTabControl2.Controls.Add(this.tabPage4); + this.uTabControl2.Dock = System.Windows.Forms.DockStyle.Fill; + this.uTabControl2.FromRightFlow = false; + this.uTabControl2.ItemSize = new System.Drawing.Size(140, 40); + this.uTabControl2.Location = new System.Drawing.Point(0, 0); + this.uTabControl2.Name = "uTabControl2"; + this.uTabControl2.SelectedIndex = 0; + this.uTabControl2.Size = new System.Drawing.Size(731, 594); + this.uTabControl2.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; + this.uTabControl2.TabIndex = 0; + // + // tabPage3 + // + this.tabPage3.Controls.Add(this.sanctionGrid); + this.tabPage3.Location = new System.Drawing.Point(4, 44); + this.tabPage3.Name = "tabPage3"; + this.tabPage3.Padding = new System.Windows.Forms.Padding(3); + this.tabPage3.Size = new System.Drawing.Size(723, 546); + this.tabPage3.TabIndex = 0; + this.tabPage3.Text = "验质"; + this.tabPage3.UseVisualStyleBackColor = true; + // + // sanctionGrid + // + this.sanctionGrid.AllowUserToAddRows = false; + this.sanctionGrid.AllowUserToDeleteRows = false; + this.sanctionGrid.AllowUserToResizeColumns = false; + this.sanctionGrid.AllowUserToResizeRows = false; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.sanctionGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + this.sanctionGrid.BackgroundColor = System.Drawing.Color.White; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.sanctionGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + this.sanctionGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.sanctionGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.S_AbnormalItem_Name1, + this.S_Number1, + this.S_AbnormalItem_Name2, + this.S_Number2, + this.S_AbnormalItem_Name3, + this.S_Number3, + this.S_Sanction_ID1, + this.S_AbnormalItem_ID1, + this.S_Sanction_ID2, + this.S_AbnormalItem_ID2, + this.S_Sanction_ID3, + this.S_AbnormalItem_ID3}); + this.sanctionGrid.Dock = System.Windows.Forms.DockStyle.Fill; + this.sanctionGrid.Location = new System.Drawing.Point(3, 3); + this.sanctionGrid.MultiSelect = false; + this.sanctionGrid.Name = "sanctionGrid"; + this.sanctionGrid.ReadOnly = true; + this.sanctionGrid.RowHeadersVisible = false; + dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); + this.sanctionGrid.RowsDefaultCellStyle = dataGridViewCellStyle3; + this.sanctionGrid.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.sanctionGrid.RowTemplate.Height = 50; + this.sanctionGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; + this.sanctionGrid.Size = new System.Drawing.Size(717, 540); + this.sanctionGrid.TabIndex = 43; + // + // S_AbnormalItem_Name1 + // + this.S_AbnormalItem_Name1.DataPropertyName = "AbnormalItem_Name1"; + this.S_AbnormalItem_Name1.HeaderText = "异常项"; + this.S_AbnormalItem_Name1.Name = "S_AbnormalItem_Name1"; + this.S_AbnormalItem_Name1.ReadOnly = true; + // + // S_Number1 + // + this.S_Number1.DataPropertyName = "Number1"; + this.S_Number1.HeaderText = "头数"; + this.S_Number1.Name = "S_Number1"; + this.S_Number1.ReadOnly = true; + this.S_Number1.Width = 135; + // + // S_AbnormalItem_Name2 + // + this.S_AbnormalItem_Name2.DataPropertyName = "AbnormalItem_Name2"; + this.S_AbnormalItem_Name2.HeaderText = "异常项"; + this.S_AbnormalItem_Name2.Name = "S_AbnormalItem_Name2"; + this.S_AbnormalItem_Name2.ReadOnly = true; + // + // S_Number2 + // + this.S_Number2.DataPropertyName = "Number2"; + this.S_Number2.HeaderText = "头数"; + this.S_Number2.Name = "S_Number2"; + this.S_Number2.ReadOnly = true; + this.S_Number2.Width = 135; + // + // S_AbnormalItem_Name3 + // + this.S_AbnormalItem_Name3.DataPropertyName = "AbnormalItem_Name3"; + this.S_AbnormalItem_Name3.HeaderText = "异常项"; + this.S_AbnormalItem_Name3.Name = "S_AbnormalItem_Name3"; + this.S_AbnormalItem_Name3.ReadOnly = true; + // + // S_Number3 + // + this.S_Number3.DataPropertyName = "Number3"; + this.S_Number3.HeaderText = "头数"; + this.S_Number3.Name = "S_Number3"; + this.S_Number3.ReadOnly = true; + this.S_Number3.Width = 135; + // + // S_Sanction_ID1 + // + this.S_Sanction_ID1.DataPropertyName = "Sanction_ID1"; + this.S_Sanction_ID1.HeaderText = "Sanction_ID1"; + this.S_Sanction_ID1.Name = "S_Sanction_ID1"; + this.S_Sanction_ID1.ReadOnly = true; + this.S_Sanction_ID1.Visible = false; + // + // S_AbnormalItem_ID1 + // + this.S_AbnormalItem_ID1.DataPropertyName = "AbnormalItem_ID1"; + this.S_AbnormalItem_ID1.HeaderText = "AbnormalItem_ID1"; + this.S_AbnormalItem_ID1.Name = "S_AbnormalItem_ID1"; + this.S_AbnormalItem_ID1.ReadOnly = true; + this.S_AbnormalItem_ID1.Visible = false; + // + // S_Sanction_ID2 + // + this.S_Sanction_ID2.DataPropertyName = "Sanction_ID2"; + this.S_Sanction_ID2.HeaderText = "Sanction_ID2"; + this.S_Sanction_ID2.Name = "S_Sanction_ID2"; + this.S_Sanction_ID2.ReadOnly = true; + this.S_Sanction_ID2.Visible = false; + // + // S_AbnormalItem_ID2 + // + this.S_AbnormalItem_ID2.DataPropertyName = "AbnormalItem_ID2"; + this.S_AbnormalItem_ID2.HeaderText = "AbnormalItem_ID2"; + this.S_AbnormalItem_ID2.Name = "S_AbnormalItem_ID2"; + this.S_AbnormalItem_ID2.ReadOnly = true; + this.S_AbnormalItem_ID2.Visible = false; + // + // S_Sanction_ID3 + // + this.S_Sanction_ID3.DataPropertyName = "Sanction_ID3"; + this.S_Sanction_ID3.HeaderText = "Sanction_ID3"; + this.S_Sanction_ID3.Name = "S_Sanction_ID3"; + this.S_Sanction_ID3.ReadOnly = true; + this.S_Sanction_ID3.Visible = false; + // + // S_AbnormalItem_ID3 + // + this.S_AbnormalItem_ID3.DataPropertyName = "AbnormalItem_ID3"; + this.S_AbnormalItem_ID3.HeaderText = "AbnormalItem_ID3"; + this.S_AbnormalItem_ID3.Name = "S_AbnormalItem_ID3"; + this.S_AbnormalItem_ID3.ReadOnly = true; + this.S_AbnormalItem_ID3.Visible = false; + // + // tabPage4 + // + this.tabPage4.Controls.Add(this.housePanel); + this.tabPage4.Location = new System.Drawing.Point(4, 44); + this.tabPage4.Name = "tabPage4"; + this.tabPage4.Padding = new System.Windows.Forms.Padding(3); + this.tabPage4.Size = new System.Drawing.Size(723, 546); + this.tabPage4.TabIndex = 1; + this.tabPage4.Text = "圈舍"; + this.tabPage4.UseVisualStyleBackColor = true; + // + // housePanel + // + this.housePanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.housePanel.Font = new System.Drawing.Font("宋体", 15F); + this.housePanel.ItemSize = new System.Drawing.Size(96, 40); + this.housePanel.Location = new System.Drawing.Point(3, 3); + this.housePanel.Name = "housePanel"; + this.housePanel.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.housePanel.RightToLeftLayout = true; + this.housePanel.SelectedIndex = 0; + this.housePanel.Size = new System.Drawing.Size(717, 540); + this.housePanel.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; + this.housePanel.TabIndex = 0; + // + // inHouseNumberLabel + // + this.inHouseNumberLabel.AutoSize = true; + this.inHouseNumberLabel.Font = new System.Drawing.Font("宋体", 15F); + this.inHouseNumberLabel.ForeColor = System.Drawing.Color.Red; + this.inHouseNumberLabel.Location = new System.Drawing.Point(939, 24); + this.inHouseNumberLabel.Name = "inHouseNumberLabel"; + this.inHouseNumberLabel.Size = new System.Drawing.Size(19, 20); + this.inHouseNumberLabel.TabIndex = 42; + this.inHouseNumberLabel.Text = "0"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("宋体", 15F); + this.label2.Location = new System.Drawing.Point(824, 24); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(109, 20); + this.label2.TabIndex = 41; + this.label2.Text = "已收头数:"; + // + // hogGradePanel + // + this.hogGradePanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.hogGradePanel.Location = new System.Drawing.Point(615, 77); + this.hogGradePanel.Name = "hogGradePanel"; + this.hogGradePanel.Size = new System.Drawing.Size(733, 73); + this.hogGradePanel.TabIndex = 37; + // + // closeBtn + // + this.closeBtn.Font = new System.Drawing.Font("宋体", 15F); + this.closeBtn.Location = new System.Drawing.Point(1254, 9); + this.closeBtn.Name = "closeBtn"; + this.closeBtn.Size = new System.Drawing.Size(94, 56); + this.closeBtn.TabIndex = 40; + this.closeBtn.Text = "关闭"; + this.closeBtn.UseVisualStyleBackColor = true; + this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); + // + // commitBtn + // + this.commitBtn.Font = new System.Drawing.Font("宋体", 15F); + this.commitBtn.Location = new System.Drawing.Point(1137, 9); + this.commitBtn.Name = "commitBtn"; + this.commitBtn.Size = new System.Drawing.Size(94, 56); + this.commitBtn.TabIndex = 40; + this.commitBtn.Text = "提交"; + this.commitBtn.UseVisualStyleBackColor = true; + this.commitBtn.Click += new System.EventHandler(this.commitBtn_Click); + // + // numberBox + // + this.numberBox.Font = new System.Drawing.Font("宋体", 15F); + this.numberBox.Location = new System.Drawing.Point(686, 21); + this.numberBox.Name = "numberBox"; + this.numberBox.Size = new System.Drawing.Size(108, 30); + this.numberBox.TabIndex = 39; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("宋体", 15F); + this.label1.Location = new System.Drawing.Point(611, 24); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(69, 20); + this.label1.TabIndex = 38; + this.label1.Text = "头数:"; + // + // keyBoardPanel + // + this.keyBoardPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.keyBoardPanel.Location = new System.Drawing.Point(25, 515); + this.keyBoardPanel.Name = "keyBoardPanel"; + this.keyBoardPanel.Padding = new System.Windows.Forms.Padding(25, 0, 0, 0); + this.keyBoardPanel.Size = new System.Drawing.Size(452, 241); + this.keyBoardPanel.TabIndex = 37; + // + // weightBillGrid + // + this.weightBillGrid.AllowUserToAddRows = false; + this.weightBillGrid.AllowUserToDeleteRows = false; + this.weightBillGrid.AllowUserToResizeColumns = false; + this.weightBillGrid.AllowUserToResizeRows = false; + dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.weightBillGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; + this.weightBillGrid.BackgroundColor = System.Drawing.Color.White; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.weightBillGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; + this.weightBillGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.weightBillGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.W_ID, + this.W_AlreadyHouse, + this.W_B3ID, + this.W_Employee_Name, + this.W_Supplier_Name, + this.W_Number, + this.W_HouseNames}); + this.weightBillGrid.Location = new System.Drawing.Point(25, 77); + this.weightBillGrid.MultiSelect = false; + this.weightBillGrid.Name = "weightBillGrid"; + this.weightBillGrid.ReadOnly = true; + this.weightBillGrid.RowHeadersVisible = false; + dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle6.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); + dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.Black; + this.weightBillGrid.RowsDefaultCellStyle = dataGridViewCellStyle6; + this.weightBillGrid.RowTemplate.Height = 40; + this.weightBillGrid.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.weightBillGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.weightBillGrid.Size = new System.Drawing.Size(433, 403); + this.weightBillGrid.TabIndex = 34; + this.weightBillGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.weightBillGrid_CellClick); + // + // W_ID + // + this.W_ID.DataPropertyName = "ID"; + this.W_ID.HeaderText = "ID"; + this.W_ID.Name = "W_ID"; + this.W_ID.ReadOnly = true; + this.W_ID.Visible = false; + // + // W_AlreadyHouse + // + this.W_AlreadyHouse.DataPropertyName = "AlreadyHouse"; + this.W_AlreadyHouse.HeaderText = "AlreadyHouse"; + this.W_AlreadyHouse.Name = "W_AlreadyHouse"; + this.W_AlreadyHouse.ReadOnly = true; + this.W_AlreadyHouse.Visible = false; + // + // W_B3ID + // + this.W_B3ID.DataPropertyName = "B3ID"; + this.W_B3ID.HeaderText = "磅单号"; + this.W_B3ID.Name = "W_B3ID"; + this.W_B3ID.ReadOnly = true; + this.W_B3ID.Width = 80; + // + // W_Employee_Name + // + this.W_Employee_Name.DataPropertyName = "Employee_Name"; + this.W_Employee_Name.HeaderText = "业务员"; + this.W_Employee_Name.Name = "W_Employee_Name"; + this.W_Employee_Name.ReadOnly = true; + this.W_Employee_Name.Width = 80; + // + // W_Supplier_Name + // + this.W_Supplier_Name.DataPropertyName = "Supplier_Name"; + this.W_Supplier_Name.HeaderText = "供应商"; + this.W_Supplier_Name.Name = "W_Supplier_Name"; + this.W_Supplier_Name.ReadOnly = true; + // + // W_Number + // + this.W_Number.DataPropertyName = "Number"; + this.W_Number.HeaderText = "头数"; + this.W_Number.Name = "W_Number"; + this.W_Number.ReadOnly = true; + this.W_Number.Width = 65; + // + // W_HouseNames + // + this.W_HouseNames.DataPropertyName = "HouseNames"; + this.W_HouseNames.HeaderText = "圈舍"; + this.W_HouseNames.Name = "W_HouseNames"; + this.W_HouseNames.ReadOnly = true; + this.W_HouseNames.Width = 105; + // + // syncBtn + // + this.syncBtn.Font = new System.Drawing.Font("宋体", 15F); + this.syncBtn.Location = new System.Drawing.Point(277, 6); + this.syncBtn.Name = "syncBtn"; + this.syncBtn.Size = new System.Drawing.Size(94, 56); + this.syncBtn.TabIndex = 33; + this.syncBtn.Text = "同步"; + this.syncBtn.UseVisualStyleBackColor = true; + this.syncBtn.Click += new System.EventHandler(this.syncBtn_Click); + // + // testTimeInput + // + this.testTimeInput.BackColor = System.Drawing.Color.White; + this.testTimeInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.testTimeInput.Date = new System.DateTime(2017, 9, 8, 0, 0, 0, 0); + this.testTimeInput.Font = new System.Drawing.Font("宋体", 15F); + this.testTimeInput.Location = new System.Drawing.Point(124, 16); + this.testTimeInput.Name = "testTimeInput"; + this.testTimeInput.Size = new System.Drawing.Size(135, 30); + this.testTimeInput.TabIndex = 32; + this.testTimeInput.Text = "2017/09/08"; + this.testTimeInput.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.testTimeInput.Type = BWP.WinFormControl.DateTimeType.Date; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Font = new System.Drawing.Font("宋体", 14F); + this.label20.Location = new System.Drawing.Point(23, 22); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(104, 19); + this.label20.TabIndex = 31; + this.label20.Text = "过磅日期:"; + // + // tabPage2 + // + this.tabPage2.Controls.Add(this.groupBox1); + this.tabPage2.Controls.Add(this.butcherSearch); + this.tabPage2.Controls.Add(this.butcherDateInput); + this.tabPage2.Controls.Add(this.label3); + this.tabPage2.Controls.Add(this.vScrollBar3); + this.tabPage2.Controls.Add(this.vScrollBar2); + this.tabPage2.Controls.Add(this.panel3); + this.tabPage2.Controls.Add(this.panel2); + this.tabPage2.Controls.Add(this.closeBtn2); + this.tabPage2.Controls.Add(this.label6); + this.tabPage2.Controls.Add(this.label5); + this.tabPage2.Controls.Add(this.preOrderGrid); + this.tabPage2.Controls.Add(this.orderGrid); + this.tabPage2.Controls.Add(this.tab2SyncBtn); + this.tabPage2.Controls.Add(this.tab2DateSelect); + this.tabPage2.Controls.Add(this.label4); + this.tabPage2.Location = new System.Drawing.Point(4, 54); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(1354, 760); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "排宰顺序"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.tangBtn); + this.groupBox1.Controls.Add(this.maoBtn); + this.groupBox1.Location = new System.Drawing.Point(376, 10); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(212, 75); + this.groupBox1.TabIndex = 60; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "工艺"; + // + // tangBtn + // + this.tangBtn.Font = new System.Drawing.Font("宋体", 15F); + this.tangBtn.Location = new System.Drawing.Point(18, 19); + this.tangBtn.Name = "tangBtn"; + this.tangBtn.Size = new System.Drawing.Size(94, 56); + this.tangBtn.TabIndex = 58; + this.tangBtn.Text = "烫褪"; + this.tangBtn.UseVisualStyleBackColor = true; + this.tangBtn.Click += new System.EventHandler(this.tangBtn_Click); + // + // maoBtn + // + this.maoBtn.Font = new System.Drawing.Font("宋体", 15F); + this.maoBtn.Location = new System.Drawing.Point(119, 19); + this.maoBtn.Name = "maoBtn"; + this.maoBtn.Size = new System.Drawing.Size(94, 56); + this.maoBtn.TabIndex = 59; + this.maoBtn.Text = "毛剥"; + this.maoBtn.UseVisualStyleBackColor = true; + this.maoBtn.Click += new System.EventHandler(this.maoBtn_Click); + // + // butcherSearch + // + this.butcherSearch.Font = new System.Drawing.Font("宋体", 15F); + this.butcherSearch.Location = new System.Drawing.Point(277, 6); + this.butcherSearch.Name = "butcherSearch"; + this.butcherSearch.Size = new System.Drawing.Size(94, 56); + this.butcherSearch.TabIndex = 57; + this.butcherSearch.Text = "查询"; + this.butcherSearch.UseVisualStyleBackColor = true; + this.butcherSearch.Click += new System.EventHandler(this.butcherSearch_Click); + // + // butcherDateInput + // + this.butcherDateInput.BackColor = System.Drawing.Color.White; + this.butcherDateInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.butcherDateInput.Date = new System.DateTime(2017, 9, 8, 0, 0, 0, 0); + this.butcherDateInput.Font = new System.Drawing.Font("宋体", 15F); + this.butcherDateInput.Location = new System.Drawing.Point(124, 16); + this.butcherDateInput.Name = "butcherDateInput"; + this.butcherDateInput.Size = new System.Drawing.Size(135, 30); + this.butcherDateInput.TabIndex = 56; + this.butcherDateInput.Text = "2017/09/08"; + this.butcherDateInput.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.butcherDateInput.Type = BWP.WinFormControl.DateTimeType.Date; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("宋体", 14F); + this.label3.Location = new System.Drawing.Point(23, 22); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(104, 19); + this.label3.TabIndex = 55; + this.label3.Text = "宰杀日期:"; + // + // vScrollBar3 + // + this.vScrollBar3.Location = new System.Drawing.Point(1334, 93); + this.vScrollBar3.Name = "vScrollBar3"; + this.vScrollBar3.Size = new System.Drawing.Size(40, 663); + this.vScrollBar3.TabIndex = 54; + // + // vScrollBar2 + // + this.vScrollBar2.Location = new System.Drawing.Point(538, 93); + this.vScrollBar2.Name = "vScrollBar2"; + this.vScrollBar2.Size = new System.Drawing.Size(40, 388); + this.vScrollBar2.TabIndex = 53; + // + // panel3 + // + this.panel3.Controls.Add(this.showHidden); + this.panel3.Controls.Add(this.showAvailable); + this.panel3.Controls.Add(this.showAll); + this.panel3.Location = new System.Drawing.Point(706, 82); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(416, 42); + this.panel3.TabIndex = 45; + // + // showHidden + // + this.showHidden.AutoSize = true; + this.showHidden.Font = new System.Drawing.Font("宋体", 15F); + this.showHidden.Location = new System.Drawing.Point(161, 9); + this.showHidden.Name = "showHidden"; + this.showHidden.Size = new System.Drawing.Size(67, 24); + this.showHidden.TabIndex = 2; + this.showHidden.Text = "隐藏"; + this.showHidden.UseVisualStyleBackColor = true; + this.showHidden.CheckedChanged += new System.EventHandler(this.showRadio_CheckedChanged); + // + // showAvailable + // + this.showAvailable.AutoSize = true; + this.showAvailable.Checked = true; + this.showAvailable.Font = new System.Drawing.Font("宋体", 15F); + this.showAvailable.Location = new System.Drawing.Point(32, 9); + this.showAvailable.Name = "showAvailable"; + this.showAvailable.Size = new System.Drawing.Size(67, 24); + this.showAvailable.TabIndex = 1; + this.showAvailable.TabStop = true; + this.showAvailable.Text = "显示"; + this.showAvailable.UseVisualStyleBackColor = true; + this.showAvailable.CheckedChanged += new System.EventHandler(this.showRadio_CheckedChanged); + // + // showAll + // + this.showAll.AutoSize = true; + this.showAll.Font = new System.Drawing.Font("宋体", 15F); + this.showAll.Location = new System.Drawing.Point(293, 9); + this.showAll.Name = "showAll"; + this.showAll.Size = new System.Drawing.Size(67, 24); + this.showAll.TabIndex = 0; + this.showAll.Text = "全部"; + this.showAll.UseVisualStyleBackColor = true; + this.showAll.CheckedChanged += new System.EventHandler(this.showRadio_CheckedChanged); + // + // panel2 + // + this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel2.Controls.Add(this.tab2KeyPanel); + this.panel2.Location = new System.Drawing.Point(25, 515); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(538, 241); + this.panel2.TabIndex = 44; + // + // tab2KeyPanel + // + this.tab2KeyPanel.Location = new System.Drawing.Point(38, 0); + this.tab2KeyPanel.Name = "tab2KeyPanel"; + this.tab2KeyPanel.Padding = new System.Windows.Forms.Padding(25, 0, 0, 0); + this.tab2KeyPanel.Size = new System.Drawing.Size(452, 241); + this.tab2KeyPanel.TabIndex = 43; + // + // closeBtn2 + // + this.closeBtn2.Font = new System.Drawing.Font("宋体", 15F); + this.closeBtn2.Location = new System.Drawing.Point(1254, 9); + this.closeBtn2.Name = "closeBtn2"; + this.closeBtn2.Size = new System.Drawing.Size(94, 56); + this.closeBtn2.TabIndex = 41; + this.closeBtn2.Text = "关闭"; + this.closeBtn2.UseVisualStyleBackColor = true; + this.closeBtn2.Click += new System.EventHandler(this.closeBtn_Click); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("宋体", 15F); + this.label6.ForeColor = System.Drawing.Color.Red; + this.label6.Location = new System.Drawing.Point(587, 98); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(89, 20); + this.label6.TabIndex = 39; + this.label6.Text = "待宰明细"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("宋体", 15F); + this.label5.ForeColor = System.Drawing.Color.Red; + this.label5.Location = new System.Drawing.Point(21, 54); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(89, 20); + this.label5.TabIndex = 39; + this.label5.Text = "排宰明细"; + // + // preOrderGrid + // + this.preOrderGrid.AllowUserToAddRows = false; + this.preOrderGrid.AllowUserToDeleteRows = false; + this.preOrderGrid.AllowUserToResizeColumns = false; + this.preOrderGrid.AllowUserToResizeRows = false; + dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.preOrderGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7; + this.preOrderGrid.BackgroundColor = System.Drawing.Color.White; + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F); + dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.preOrderGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; + this.preOrderGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.preOrderGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.P_WeightBill_ID, + this.P_Show, + this.P_B3ID, + this.P_Supplier_Name, + this.P_HouseNames, + this.P_Number, + this.P_AlreadyNumber, + this.P_LastNumber, + this.P_WeighTime, + this.P_OKBtn, + this.P_Hidden}); + this.preOrderGrid.Location = new System.Drawing.Point(591, 130); + this.preOrderGrid.MultiSelect = false; + this.preOrderGrid.Name = "preOrderGrid"; + this.preOrderGrid.ReadOnly = true; + this.preOrderGrid.RowHeadersVisible = false; + dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); + dataGridViewCellStyle12.SelectionForeColor = System.Drawing.Color.Black; + this.preOrderGrid.RowsDefaultCellStyle = dataGridViewCellStyle12; + this.preOrderGrid.RowTemplate.Height = 60; + this.preOrderGrid.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.preOrderGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.preOrderGrid.Size = new System.Drawing.Size(743, 626); + this.preOrderGrid.TabIndex = 38; + this.preOrderGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.preOrderGrid_CellClick); + this.preOrderGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.preOrderGrid_CellContentClick); + // + // P_WeightBill_ID + // + this.P_WeightBill_ID.DataPropertyName = "WeightBill_ID"; + this.P_WeightBill_ID.HeaderText = "WeightBill_ID"; + this.P_WeightBill_ID.Name = "P_WeightBill_ID"; + this.P_WeightBill_ID.ReadOnly = true; + this.P_WeightBill_ID.Visible = false; + // + // P_Show + // + this.P_Show.DataPropertyName = "Show"; + this.P_Show.HeaderText = "Show"; + this.P_Show.Name = "P_Show"; + this.P_Show.ReadOnly = true; + this.P_Show.Visible = false; + // + // P_B3ID + // + this.P_B3ID.DataPropertyName = "B3ID"; + this.P_B3ID.HeaderText = "磅单号"; + this.P_B3ID.Name = "P_B3ID"; + this.P_B3ID.ReadOnly = true; + this.P_B3ID.Width = 80; + // + // P_Supplier_Name + // + this.P_Supplier_Name.DataPropertyName = "Supplier_Name"; + this.P_Supplier_Name.HeaderText = "供应商"; + this.P_Supplier_Name.Name = "P_Supplier_Name"; + this.P_Supplier_Name.ReadOnly = true; + this.P_Supplier_Name.Width = 80; + // + // P_HouseNames + // + this.P_HouseNames.DataPropertyName = "HouseNames"; + this.P_HouseNames.HeaderText = "圈舍"; + this.P_HouseNames.Name = "P_HouseNames"; + this.P_HouseNames.ReadOnly = true; + this.P_HouseNames.Width = 95; + // + // P_Number + // + this.P_Number.DataPropertyName = "Number"; + this.P_Number.HeaderText = "总头数"; + this.P_Number.Name = "P_Number"; + this.P_Number.ReadOnly = true; + this.P_Number.Width = 80; + // + // P_AlreadyNumber + // + this.P_AlreadyNumber.DataPropertyName = "AlreadyNumber"; + this.P_AlreadyNumber.HeaderText = "已排"; + this.P_AlreadyNumber.Name = "P_AlreadyNumber"; + this.P_AlreadyNumber.ReadOnly = true; + this.P_AlreadyNumber.Width = 65; + // + // P_LastNumber + // + this.P_LastNumber.DataPropertyName = "LastNumber"; + this.P_LastNumber.HeaderText = "剩余"; + this.P_LastNumber.Name = "P_LastNumber"; + this.P_LastNumber.ReadOnly = true; + this.P_LastNumber.Width = 65; + // + // P_WeighTime + // + this.P_WeighTime.DataPropertyName = "WeighTime"; + dataGridViewCellStyle9.Format = "MM/dd HH:mm"; + dataGridViewCellStyle9.NullValue = null; + this.P_WeighTime.DefaultCellStyle = dataGridViewCellStyle9; + this.P_WeighTime.HeaderText = "过磅时间"; + this.P_WeighTime.Name = "P_WeighTime"; + this.P_WeighTime.ReadOnly = true; + this.P_WeighTime.Width = 105; + // + // P_OKBtn + // + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle10.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); + this.P_OKBtn.DefaultCellStyle = dataGridViewCellStyle10; + this.P_OKBtn.HeaderText = "排宰"; + this.P_OKBtn.Name = "P_OKBtn"; + this.P_OKBtn.ReadOnly = true; + this.P_OKBtn.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.P_OKBtn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.P_OKBtn.Text = "排宰"; + this.P_OKBtn.UseColumnTextForButtonValue = true; + this.P_OKBtn.Width = 85; + // + // P_Hidden + // + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle11.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); + this.P_Hidden.DefaultCellStyle = dataGridViewCellStyle11; + this.P_Hidden.HeaderText = "隐藏"; + this.P_Hidden.Name = "P_Hidden"; + this.P_Hidden.ReadOnly = true; + this.P_Hidden.Text = "隐藏"; + this.P_Hidden.Width = 85; + // + // orderGrid + // + this.orderGrid.AllowUserToAddRows = false; + this.orderGrid.AllowUserToDeleteRows = false; + this.orderGrid.AllowUserToResizeColumns = false; + this.orderGrid.AllowUserToResizeRows = false; + dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.orderGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13; + this.orderGrid.BackgroundColor = System.Drawing.Color.White; + dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 12F); + dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.orderGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14; + this.orderGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.orderGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.O_ID, + this.O_Technics, + this.O_IsHurryButcher, + this.O_WeightBill_ID, + this.O_SecondarySplit, + this.O_Date, + this.O_Order, + this.O_B3WeighBill_ID, + this.O_Supplier_Name, + this.O_LiveColonyHouse_Name, + this.O_PlanNumber, + this.O_OKBtn}); + this.orderGrid.Location = new System.Drawing.Point(25, 93); + this.orderGrid.MultiSelect = false; + this.orderGrid.Name = "orderGrid"; + this.orderGrid.ReadOnly = true; + this.orderGrid.RowHeadersVisible = false; + dataGridViewCellStyle16.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); + dataGridViewCellStyle16.SelectionForeColor = System.Drawing.Color.Black; + this.orderGrid.RowsDefaultCellStyle = dataGridViewCellStyle16; + this.orderGrid.RowTemplate.Height = 60; + this.orderGrid.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.orderGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.orderGrid.Size = new System.Drawing.Size(513, 388); + this.orderGrid.TabIndex = 38; + this.orderGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid_CellClick); + this.orderGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid_CellContentClick); + // + // tab2SyncBtn + // + this.tab2SyncBtn.Font = new System.Drawing.Font("宋体", 15F); + this.tab2SyncBtn.Location = new System.Drawing.Point(841, 7); + this.tab2SyncBtn.Name = "tab2SyncBtn"; + this.tab2SyncBtn.Size = new System.Drawing.Size(94, 56); + this.tab2SyncBtn.TabIndex = 37; + this.tab2SyncBtn.Text = "同步"; + this.tab2SyncBtn.UseVisualStyleBackColor = true; + this.tab2SyncBtn.Click += new System.EventHandler(this.tab2SyncBtn_Click); + // + // tab2DateSelect + // + this.tab2DateSelect.BackColor = System.Drawing.Color.White; + this.tab2DateSelect.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tab2DateSelect.Date = new System.DateTime(2017, 9, 8, 0, 0, 0, 0); + this.tab2DateSelect.Font = new System.Drawing.Font("宋体", 15F); + this.tab2DateSelect.Location = new System.Drawing.Point(688, 17); + this.tab2DateSelect.Name = "tab2DateSelect"; + this.tab2DateSelect.Size = new System.Drawing.Size(135, 30); + this.tab2DateSelect.TabIndex = 36; + this.tab2DateSelect.Text = "2017/09/08"; + this.tab2DateSelect.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.tab2DateSelect.Type = BWP.WinFormControl.DateTimeType.Date; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("宋体", 14F); + this.label4.Location = new System.Drawing.Point(587, 23); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(104, 19); + this.label4.TabIndex = 35; + this.label4.Text = "过磅日期:"; + // + // O_ID + // + this.O_ID.DataPropertyName = "ID"; + this.O_ID.HeaderText = "ID"; + this.O_ID.Name = "O_ID"; + this.O_ID.ReadOnly = true; + this.O_ID.Visible = false; + // + // O_Technics + // + this.O_Technics.DataPropertyName = "Technics"; + this.O_Technics.HeaderText = "Technics"; + this.O_Technics.Name = "O_Technics"; + this.O_Technics.ReadOnly = true; + this.O_Technics.Visible = false; + // + // O_IsHurryButcher + // + this.O_IsHurryButcher.DataPropertyName = "IsHurryButcher"; + this.O_IsHurryButcher.HeaderText = "IsHurryButcher"; + this.O_IsHurryButcher.Name = "O_IsHurryButcher"; + this.O_IsHurryButcher.ReadOnly = true; + this.O_IsHurryButcher.Visible = false; + // + // O_WeightBill_ID + // + this.O_WeightBill_ID.DataPropertyName = "WeightBill_ID"; + this.O_WeightBill_ID.HeaderText = "WeightBill_ID"; + this.O_WeightBill_ID.Name = "O_WeightBill_ID"; + this.O_WeightBill_ID.ReadOnly = true; + this.O_WeightBill_ID.Visible = false; + // + // O_SecondarySplit + // + this.O_SecondarySplit.DataPropertyName = "SecondarySplit"; + this.O_SecondarySplit.HeaderText = "SecondarySplit"; + this.O_SecondarySplit.Name = "O_SecondarySplit"; + this.O_SecondarySplit.ReadOnly = true; + this.O_SecondarySplit.Visible = false; + // + // O_Date + // + this.O_Date.DataPropertyName = "Date"; + this.O_Date.HeaderText = "Date"; + this.O_Date.Name = "O_Date"; + this.O_Date.ReadOnly = true; + this.O_Date.Visible = false; + // + // O_Order + // + this.O_Order.DataPropertyName = "Order"; + this.O_Order.HeaderText = "序号"; + this.O_Order.Name = "O_Order"; + this.O_Order.ReadOnly = true; + this.O_Order.Width = 70; + // + // O_B3WeighBill_ID + // + this.O_B3WeighBill_ID.DataPropertyName = "B3WeighBill_ID"; + this.O_B3WeighBill_ID.HeaderText = "磅单号"; + this.O_B3WeighBill_ID.Name = "O_B3WeighBill_ID"; + this.O_B3WeighBill_ID.ReadOnly = true; + this.O_B3WeighBill_ID.Width = 80; + // + // O_Supplier_Name + // + this.O_Supplier_Name.DataPropertyName = "Supplier_Name"; + this.O_Supplier_Name.HeaderText = "供应商"; + this.O_Supplier_Name.Name = "O_Supplier_Name"; + this.O_Supplier_Name.ReadOnly = true; + this.O_Supplier_Name.Width = 95; + // + // O_LiveColonyHouse_Name + // + this.O_LiveColonyHouse_Name.DataPropertyName = "LiveColonyHouse_Name"; + this.O_LiveColonyHouse_Name.HeaderText = "圈舍"; + this.O_LiveColonyHouse_Name.Name = "O_LiveColonyHouse_Name"; + this.O_LiveColonyHouse_Name.ReadOnly = true; + // + // O_PlanNumber + // + this.O_PlanNumber.DataPropertyName = "PlanNumber"; + this.O_PlanNumber.HeaderText = "头数"; + this.O_PlanNumber.Name = "O_PlanNumber"; + this.O_PlanNumber.ReadOnly = true; + this.O_PlanNumber.Width = 70; + // + // O_OKBtn + // + dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle15.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); + this.O_OKBtn.DefaultCellStyle = dataGridViewCellStyle15; + this.O_OKBtn.HeaderText = "确定"; + this.O_OKBtn.Name = "O_OKBtn"; + this.O_OKBtn.ReadOnly = true; + this.O_OKBtn.Text = "确定"; + this.O_OKBtn.UseColumnTextForButtonValue = true; + this.O_OKBtn.Width = 95; + // + // OffLineQualityOrderForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1362, 818); + this.Controls.Add(this.uTabControl1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "OffLineQualityOrderForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "验质分圈"; + this.uTabControl1.ResumeLayout(false); + this.tabPage1.ResumeLayout(false); + this.tabPage1.PerformLayout(); + this.panel1.ResumeLayout(false); + this.uTabControl2.ResumeLayout(false); + this.tabPage3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.sanctionGrid)).EndInit(); + this.tabPage4.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.weightBillGrid)).EndInit(); + this.tabPage2.ResumeLayout(false); + this.tabPage2.PerformLayout(); + this.groupBox1.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + this.panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.preOrderGrid)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.orderGrid)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private BWP.WinFormControl.UTabControl uTabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabPage tabPage2; + private BWP.WinFormControl.UDataGridView weightBillGrid; + private System.Windows.Forms.Button syncBtn; + private BWP.WinFormControl.UDatePicker testTimeInput; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.TextBox numberBox; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.FlowLayoutPanel keyBoardPanel; + private System.Windows.Forms.Label inHouseNumberLabel; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.FlowLayoutPanel hogGradePanel; + private System.Windows.Forms.Button closeBtn; + private System.Windows.Forms.Button commitBtn; + private BWP.WinFormControl.UDataGridView sanctionGrid; + private System.Windows.Forms.Label label5; + private BWP.WinFormControl.UDataGridView orderGrid; + private System.Windows.Forms.Button tab2SyncBtn; + private BWP.WinFormControl.UDatePicker tab2DateSelect; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label6; + private BWP.WinFormControl.UDataGridView preOrderGrid; + private System.Windows.Forms.FlowLayoutPanel tab2KeyPanel; + private System.Windows.Forms.Button closeBtn2; + private System.Windows.Forms.Panel panel1; + private BWP.WinFormControl.UTabControl uTabControl2; + private System.Windows.Forms.TabPage tabPage3; + private System.Windows.Forms.TabPage tabPage4; + private System.Windows.Forms.TabControl housePanel; + private System.Windows.Forms.DataGridViewTextBoxColumn S_AbnormalItem_Name1; + private System.Windows.Forms.DataGridViewTextBoxColumn S_Number1; + private System.Windows.Forms.DataGridViewTextBoxColumn S_AbnormalItem_Name2; + private System.Windows.Forms.DataGridViewTextBoxColumn S_Number2; + private System.Windows.Forms.DataGridViewTextBoxColumn S_AbnormalItem_Name3; + private System.Windows.Forms.DataGridViewTextBoxColumn S_Number3; + private System.Windows.Forms.DataGridViewTextBoxColumn S_Sanction_ID1; + private System.Windows.Forms.DataGridViewTextBoxColumn S_AbnormalItem_ID1; + private System.Windows.Forms.DataGridViewTextBoxColumn S_Sanction_ID2; + private System.Windows.Forms.DataGridViewTextBoxColumn S_AbnormalItem_ID2; + private System.Windows.Forms.DataGridViewTextBoxColumn S_Sanction_ID3; + private System.Windows.Forms.DataGridViewTextBoxColumn S_AbnormalItem_ID3; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.RadioButton showHidden; + private System.Windows.Forms.RadioButton showAvailable; + private System.Windows.Forms.RadioButton showAll; + private System.Windows.Forms.DataGridViewTextBoxColumn W_ID; + private System.Windows.Forms.DataGridViewTextBoxColumn W_AlreadyHouse; + private System.Windows.Forms.DataGridViewTextBoxColumn W_B3ID; + private System.Windows.Forms.DataGridViewTextBoxColumn W_Employee_Name; + private System.Windows.Forms.DataGridViewTextBoxColumn W_Supplier_Name; + private System.Windows.Forms.DataGridViewTextBoxColumn W_Number; + private System.Windows.Forms.DataGridViewTextBoxColumn W_HouseNames; + private System.Windows.Forms.VScrollBar vScrollBar1; + private System.Windows.Forms.VScrollBar vScrollBar2; + private System.Windows.Forms.VScrollBar vScrollBar3; + private System.Windows.Forms.DataGridViewTextBoxColumn P_WeightBill_ID; + private System.Windows.Forms.DataGridViewTextBoxColumn P_Show; + private System.Windows.Forms.DataGridViewTextBoxColumn P_B3ID; + private System.Windows.Forms.DataGridViewTextBoxColumn P_Supplier_Name; + private System.Windows.Forms.DataGridViewTextBoxColumn P_HouseNames; + private System.Windows.Forms.DataGridViewTextBoxColumn P_Number; + private System.Windows.Forms.DataGridViewTextBoxColumn P_AlreadyNumber; + private System.Windows.Forms.DataGridViewTextBoxColumn P_LastNumber; + private System.Windows.Forms.DataGridViewTextBoxColumn P_WeighTime; + private System.Windows.Forms.DataGridViewButtonColumn P_OKBtn; + private System.Windows.Forms.DataGridViewButtonColumn P_Hidden; + private System.Windows.Forms.Button butcherSearch; + private BWP.WinFormControl.UDatePicker butcherDateInput; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Button maoBtn; + private System.Windows.Forms.Button tangBtn; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.DataGridViewTextBoxColumn O_ID; + private System.Windows.Forms.DataGridViewTextBoxColumn O_Technics; + private System.Windows.Forms.DataGridViewTextBoxColumn O_IsHurryButcher; + private System.Windows.Forms.DataGridViewTextBoxColumn O_WeightBill_ID; + private System.Windows.Forms.DataGridViewTextBoxColumn O_SecondarySplit; + private System.Windows.Forms.DataGridViewTextBoxColumn O_Date; + private System.Windows.Forms.DataGridViewTextBoxColumn O_Order; + private System.Windows.Forms.DataGridViewTextBoxColumn O_B3WeighBill_ID; + private System.Windows.Forms.DataGridViewTextBoxColumn O_Supplier_Name; + private System.Windows.Forms.DataGridViewTextBoxColumn O_LiveColonyHouse_Name; + private System.Windows.Forms.DataGridViewTextBoxColumn O_PlanNumber; + private System.Windows.Forms.DataGridViewButtonColumn O_OKBtn; + + + + } +} \ No newline at end of file diff --git a/OffLineQualityAndOrder/OffLineQualityOrderForm.cs b/OffLineQualityAndOrder/OffLineQualityOrderForm.cs new file mode 100644 index 0000000..63b12a1 --- /dev/null +++ b/OffLineQualityAndOrder/OffLineQualityOrderForm.cs @@ -0,0 +1,724 @@ +using BO.BO; +using BO.Utils; +using BO.Utils.BillRpc; +using BWP.WinFormControl; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace OffLineQualityAndOrder +{ + public partial class OffLineQualityOrderForm : Form, IAfterLogin + { + #region IAfterLogin + public string RoleName + { + get { return "验质排宰"; } + } + + public Form Generate() + { + return this; + } + + #endregion + + private delegate void InvokeHandler(); + + List> hogGradeList; + List houseList; + List sanctionList; + List weightBills; + HouseAndSanctionEdit Dmo; + Thread syncThread; + readonly Color btnSelectForeColor = Color.FromArgb(255, 255, 255); + readonly Color btnSelectBackColor = Color.FromArgb(66, 163, 218); + Color btnUnSelectForeColor = SystemColors.ControlText; + Color btnUnSelectBackColor = Color.FromArgb(225, 225, 225); + + public OffLineQualityOrderForm() + { + InitializeComponent(); + testTimeInput.Date = DateTime.Today; + this.uTabControl1.Selected += (sender, e) => + { + this.Text = e.TabPage.Text; + }; + sanctionGrid.AutoGenerateColumns = false; + weightBillGrid.AutoGenerateColumns = false; + weightBillGrid.DataSource = null; + hogGradeList = BaseInfoRpcUtil.GetBaseInfoEntity("GetHogGradeList"); + houseList = HouseSplitEntity.Init(BaseInfoRpcUtil.GetBaseInfoEntity("GetLiveColonyHouseList")); + sanctionList = SanctionSplit3Part.Init(BaseInfoRpcUtil.GetSanctionList()); + AddKeyPadForTab1(); + AddHogGradeBtn(); + BindSanctionGrid(); + + AddHouseBtn(); + + numberBox.LostFocus += (sender, e) => { flag = 1; }; + sanctionGrid.GotFocus += (sender, e) => { flag = 2; }; + this.FormClosing += delegate + { + if (syncThread != null && syncThread.IsAlive) + syncThread.Abort(); + if (orderSyncTask != null && orderSyncTask.IsAlive) + orderSyncTask.Abort(); + if (bt2SyncTask != null && bt2SyncTask.IsAlive) + bt2SyncTask.Abort(); + }; + + Tab2Init(); + } + + HouseAndSanctionList lastFirstSelect; + private void SyncTask() + { + while (true) + { + this.Invoke(new InvokeHandler(delegate() + { + weightBills = HouseAndSanctionRpc.GetHouseAndSanctionList(testTimeInput.Date.Value); + BindWeightBillGrid(); + BindNumberLabel(); + })); + Thread.Sleep(5000); + } + } + + int flag = 1; + + List