diff --git a/BO/BO/Bill/TrunksIousOutInStore/TrunksIousOutInStore.cs b/BO/BO/Bill/TrunksIousOutInStore/TrunksIousOutInStore.cs new file mode 100644 index 0000000..cb21e76 --- /dev/null +++ b/BO/BO/Bill/TrunksIousOutInStore/TrunksIousOutInStore.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BO.BO +{ + public class TrunksIousOutInStore:SyncBase + { + + public string BarCode { get; set; } + public string Goods_Name { get; set; } + public string Goods_Spec { get; set; } + + + } +} diff --git a/BO/Utils/AfterLoginUtil.cs b/BO/Utils/AfterLoginUtil.cs index a944f39..1ceba30 100644 --- a/BO/Utils/AfterLoginUtil.cs +++ b/BO/Utils/AfterLoginUtil.cs @@ -25,7 +25,7 @@ namespace BO.Utils static List> roleToAssemblies = new List>(){new Tuple("排宰员",@"ButcherOrder"), new Tuple("过磅员",@"ButcherWeight"), - new Tuple("验质员",@"QualityAndOrder"),new Tuple("定级员",@"WeighAndGrading"),new Tuple("窒晕员",@"OrderConfirm")}; + new Tuple("验质员",@"QualityAndOrder"),new Tuple("定级员",@"WeighAndGrading"),new Tuple("窒晕员",@"OrderConfirm"),new Tuple("胴体白条出入库",@"TrunksIousOutInStore")}; public static Form CreateForm(string role) diff --git a/OrderConfirm/OrderConfirmForm.Designer.cs b/OrderConfirm/OrderConfirmForm.Designer.cs index 225f4f8..1e521e6 100644 --- a/OrderConfirm/OrderConfirmForm.Designer.cs +++ b/OrderConfirm/OrderConfirmForm.Designer.cs @@ -34,14 +34,6 @@ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.orderGrid = new BWP.WinFormControl.UDataGridView(); - this.existBtn = new System.Windows.Forms.Button(); - this.orderLabel = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.syncBtn = new System.Windows.Forms.Button(); - this.uDatePicker1 = new BWP.WinFormControl.UDatePicker(); - this.label1 = new System.Windows.Forms.Label(); - this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); - this.setTop = new System.Windows.Forms.CheckBox(); this.C_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.C_IsHurryButcher = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.C_WeightBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -55,6 +47,14 @@ this.C_PlanNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.C_OK = new System.Windows.Forms.DataGridViewButtonColumn(); this.C_Finish = new System.Windows.Forms.DataGridViewButtonColumn(); + this.existBtn = new System.Windows.Forms.Button(); + this.orderLabel = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.syncBtn = new System.Windows.Forms.Button(); + this.uDatePicker1 = new BWP.WinFormControl.UDatePicker(); + this.label1 = new System.Windows.Forms.Label(); + this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); + this.setTop = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.orderGrid)).BeginInit(); this.SuspendLayout(); // @@ -108,90 +108,6 @@ this.orderGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid_CellClick); this.orderGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid_CellContentClick); // - // existBtn - // - this.existBtn.Font = new System.Drawing.Font("宋体", 15F); - this.existBtn.Location = new System.Drawing.Point(723, 6); - this.existBtn.Name = "existBtn"; - this.existBtn.Size = new System.Drawing.Size(108, 41); - this.existBtn.TabIndex = 12; - this.existBtn.Text = "退出"; - this.existBtn.UseVisualStyleBackColor = true; - this.existBtn.Click += new System.EventHandler(this.existBtn_Click); - // - // orderLabel - // - this.orderLabel.AutoSize = true; - this.orderLabel.Font = new System.Drawing.Font("宋体", 15F); - this.orderLabel.Location = new System.Drawing.Point(540, 22); - this.orderLabel.Name = "orderLabel"; - this.orderLabel.Size = new System.Drawing.Size(19, 20); - this.orderLabel.TabIndex = 11; - this.orderLabel.Text = "0"; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Font = new System.Drawing.Font("宋体", 15F); - this.label2.Location = new System.Drawing.Point(442, 22); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(109, 20); - this.label2.TabIndex = 10; - this.label2.Text = "排宰顺序:"; - // - // syncBtn - // - this.syncBtn.Font = new System.Drawing.Font("宋体", 15F); - this.syncBtn.Location = new System.Drawing.Point(315, 12); - this.syncBtn.Name = "syncBtn"; - this.syncBtn.Size = new System.Drawing.Size(108, 41); - this.syncBtn.TabIndex = 9; - this.syncBtn.Text = "同步数据"; - this.syncBtn.UseVisualStyleBackColor = true; - this.syncBtn.Click += new System.EventHandler(this.syncBtn_Click); - // - // uDatePicker1 - // - this.uDatePicker1.BackColor = System.Drawing.Color.White; - this.uDatePicker1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.uDatePicker1.Date = new System.DateTime(2017, 9, 5, 0, 0, 0, 0); - this.uDatePicker1.Font = new System.Drawing.Font("宋体", 15F); - this.uDatePicker1.Location = new System.Drawing.Point(142, 17); - this.uDatePicker1.Name = "uDatePicker1"; - this.uDatePicker1.Size = new System.Drawing.Size(150, 30); - this.uDatePicker1.TabIndex = 8; - this.uDatePicker1.Text = "2017/09/05"; - this.uDatePicker1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.uDatePicker1.Type = BWP.WinFormControl.DateTimeType.Date; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("宋体", 15F); - this.label1.Location = new System.Drawing.Point(34, 22); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(109, 20); - this.label1.TabIndex = 7; - this.label1.Text = "宰杀日期:"; - // - // vScrollBar1 - // - this.vScrollBar1.Location = new System.Drawing.Point(791, 73); - this.vScrollBar1.Name = "vScrollBar1"; - this.vScrollBar1.Size = new System.Drawing.Size(40, 525); - this.vScrollBar1.TabIndex = 52; - // - // setTop - // - this.setTop.AutoSize = true; - this.setTop.Font = new System.Drawing.Font("宋体", 15F); - this.setTop.Location = new System.Drawing.Point(620, 17); - this.setTop.Name = "setTop"; - this.setTop.Size = new System.Drawing.Size(68, 24); - this.setTop.TabIndex = 53; - this.setTop.Text = "置顶"; - this.setTop.UseVisualStyleBackColor = true; - // // C_ID // this.C_ID.DataPropertyName = "ID"; @@ -303,6 +219,90 @@ this.C_Finish.UseColumnTextForButtonValue = true; this.C_Finish.Width = 120; // + // existBtn + // + this.existBtn.Font = new System.Drawing.Font("宋体", 15F); + this.existBtn.Location = new System.Drawing.Point(723, 6); + this.existBtn.Name = "existBtn"; + this.existBtn.Size = new System.Drawing.Size(108, 41); + this.existBtn.TabIndex = 12; + this.existBtn.Text = "退出"; + this.existBtn.UseVisualStyleBackColor = true; + this.existBtn.Click += new System.EventHandler(this.existBtn_Click); + // + // orderLabel + // + this.orderLabel.AutoSize = true; + this.orderLabel.Font = new System.Drawing.Font("宋体", 15F); + this.orderLabel.Location = new System.Drawing.Point(540, 22); + this.orderLabel.Name = "orderLabel"; + this.orderLabel.Size = new System.Drawing.Size(19, 20); + this.orderLabel.TabIndex = 11; + this.orderLabel.Text = "0"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("宋体", 15F); + this.label2.Location = new System.Drawing.Point(442, 22); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(109, 20); + this.label2.TabIndex = 10; + this.label2.Text = "排宰顺序:"; + // + // syncBtn + // + this.syncBtn.Font = new System.Drawing.Font("宋体", 15F); + this.syncBtn.Location = new System.Drawing.Point(315, 12); + this.syncBtn.Name = "syncBtn"; + this.syncBtn.Size = new System.Drawing.Size(108, 41); + this.syncBtn.TabIndex = 9; + this.syncBtn.Text = "同步数据"; + this.syncBtn.UseVisualStyleBackColor = true; + this.syncBtn.Click += new System.EventHandler(this.syncBtn_Click); + // + // uDatePicker1 + // + this.uDatePicker1.BackColor = System.Drawing.Color.White; + this.uDatePicker1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.uDatePicker1.Date = new System.DateTime(2017, 9, 5, 0, 0, 0, 0); + this.uDatePicker1.Font = new System.Drawing.Font("宋体", 15F); + this.uDatePicker1.Location = new System.Drawing.Point(142, 17); + this.uDatePicker1.Name = "uDatePicker1"; + this.uDatePicker1.Size = new System.Drawing.Size(150, 30); + this.uDatePicker1.TabIndex = 8; + this.uDatePicker1.Text = "2017/09/05"; + this.uDatePicker1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.uDatePicker1.Type = BWP.WinFormControl.DateTimeType.Date; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("宋体", 15F); + this.label1.Location = new System.Drawing.Point(34, 22); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(109, 20); + this.label1.TabIndex = 7; + this.label1.Text = "宰杀日期:"; + // + // vScrollBar1 + // + this.vScrollBar1.Location = new System.Drawing.Point(791, 73); + this.vScrollBar1.Name = "vScrollBar1"; + this.vScrollBar1.Size = new System.Drawing.Size(40, 525); + this.vScrollBar1.TabIndex = 52; + // + // setTop + // + this.setTop.AutoSize = true; + this.setTop.Font = new System.Drawing.Font("宋体", 15F); + this.setTop.Location = new System.Drawing.Point(620, 17); + this.setTop.Name = "setTop"; + this.setTop.Size = new System.Drawing.Size(68, 24); + this.setTop.TabIndex = 53; + this.setTop.Text = "置顶"; + this.setTop.UseVisualStyleBackColor = true; + // // OrderConfirmForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -323,6 +323,7 @@ this.Name = "OrderConfirmForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "上线确认"; + this.Load += new System.EventHandler(this.OrderConfirmForm_Load); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OrderConfirmForm_KeyUp); ((System.ComponentModel.ISupportInitialize)(this.orderGrid)).EndInit(); this.ResumeLayout(false); diff --git a/OrderConfirm/OrderConfirmForm.cs b/OrderConfirm/OrderConfirmForm.cs index abd7943..497d7d9 100644 --- a/OrderConfirm/OrderConfirmForm.cs +++ b/OrderConfirm/OrderConfirmForm.cs @@ -248,5 +248,10 @@ namespace OrderConfirm lastOrderDetail = order; BindOrderGrid(); } + + private void OrderConfirmForm_Load(object sender, EventArgs e) + { + + } } } diff --git a/TrunksIousOutInStore/Properties/AssemblyInfo.cs b/TrunksIousOutInStore/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..78d358c --- /dev/null +++ b/TrunksIousOutInStore/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("TrunksIousOutInStore")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("TrunksIousOutInStore")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("4786a544-10f4-45c0-9e78-540914c2ce9d")] + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 +//通过使用 "*",如下所示: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/TrunksIousOutInStore/TrunksIousOutInStore.csproj b/TrunksIousOutInStore/TrunksIousOutInStore.csproj new file mode 100644 index 0000000..ebec6b1 --- /dev/null +++ b/TrunksIousOutInStore/TrunksIousOutInStore.csproj @@ -0,0 +1,71 @@ + + + + + Debug + AnyCPU + {4786A544-10F4-45C0-9E78-540914C2CE9D} + Library + Properties + TrunksIousOutInStore + TrunksIousOutInStore + v4.5 + 512 + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + + + + + + + + + + + + + Form + + + TrunksIousOutInStoreForm.cs + + + + + TrunksIousOutInStoreForm.cs + + + + + {8968f14a-c7c7-4751-96ce-b114fbfd65ef} + BO + + + {a782b23e-be6d-4f51-b5cb-5cd259ba97cc} + BWP.WinFormControl + + + + \ No newline at end of file diff --git a/TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs b/TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs new file mode 100644 index 0000000..9b77742 --- /dev/null +++ b/TrunksIousOutInStore/TrunksIousOutInStoreForm.Designer.cs @@ -0,0 +1,419 @@ +namespace TrunksIousOutInStore +{ + partial class TrunksIousOutInStoreForm + { + /// + /// 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(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.panel1 = new System.Windows.Forms.Panel(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.weightControl1 = new BWP.WinFormControl.WeightControl(); + this.splitContainer2 = new System.Windows.Forms.SplitContainer(); + this.splitContainer3 = new System.Windows.Forms.SplitContainer(); + this.btnSyncData = new System.Windows.Forms.Button(); + this.label2 = new System.Windows.Forms.Label(); + this.uComboBox1 = new BWP.WinFormControl.UComboBox(); + this.btnSubmit = new System.Windows.Forms.Button(); + this.btnCreateBill = new System.Windows.Forms.Button(); + this.splitContainer4 = new System.Windows.Forms.SplitContainer(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.button1 = new System.Windows.Forms.Button(); + this.uDataGridView1 = new BWP.WinFormControl.UDataGridView(); + this.uDataGridView2 = new BWP.WinFormControl.UDataGridView(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); + this.splitContainer2.Panel1.SuspendLayout(); + this.splitContainer2.Panel2.SuspendLayout(); + this.splitContainer2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit(); + this.splitContainer3.Panel1.SuspendLayout(); + this.splitContainer3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit(); + this.splitContainer4.Panel1.SuspendLayout(); + this.splitContainer4.Panel2.SuspendLayout(); + this.splitContainer4.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.uDataGridView2)).BeginInit(); + this.SuspendLayout(); + // + // splitContainer1 + // + this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer1.Location = new System.Drawing.Point(0, 0); + this.splitContainer1.Name = "splitContainer1"; + this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.panel1); + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); + this.splitContainer1.Size = new System.Drawing.Size(1276, 831); + this.splitContainer1.SplitterDistance = 112; + this.splitContainer1.SplitterWidth = 1; + this.splitContainer1.TabIndex = 0; + // + // panel1 + // + this.panel1.Controls.Add(this.richTextBox1); + this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.weightControl1); + this.panel1.Controls.Add(this.button1); + this.panel1.Location = new System.Drawing.Point(11, 3); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1251, 100); + this.panel1.TabIndex = 1; + // + // richTextBox1 + // + this.richTextBox1.Location = new System.Drawing.Point(426, 5); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(277, 90); + this.richTextBox1.TabIndex = 2; + this.richTextBox1.Text = ""; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label1.Location = new System.Drawing.Point(314, 33); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(106, 24); + this.label1.TabIndex = 1; + this.label1.Text = "扫码区:"; + // + // weightControl1 + // + this.weightControl1.Location = new System.Drawing.Point(3, 5); + this.weightControl1.Name = "weightControl1"; + this.weightControl1.Size = new System.Drawing.Size(156, 92); + this.weightControl1.TabIndex = 0; + this.weightControl1.TypeOfWeight = BWP.WinFormControl.WeightType.Xk3190A9; + this.weightControl1.ValueFormat = "0.00"; + // + // splitContainer2 + // + this.splitContainer2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer2.Location = new System.Drawing.Point(0, 0); + this.splitContainer2.Name = "splitContainer2"; + // + // splitContainer2.Panel1 + // + this.splitContainer2.Panel1.Controls.Add(this.uComboBox1); + this.splitContainer2.Panel1.Controls.Add(this.label2); + this.splitContainer2.Panel1.Controls.Add(this.btnCreateBill); + this.splitContainer2.Panel1.Controls.Add(this.btnSubmit); + this.splitContainer2.Panel1.Controls.Add(this.btnSyncData); + // + // splitContainer2.Panel2 + // + this.splitContainer2.Panel2.Controls.Add(this.splitContainer3); + this.splitContainer2.Size = new System.Drawing.Size(1276, 718); + this.splitContainer2.SplitterDistance = 261; + this.splitContainer2.SplitterWidth = 1; + this.splitContainer2.TabIndex = 0; + // + // splitContainer3 + // + this.splitContainer3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer3.Location = new System.Drawing.Point(0, 0); + this.splitContainer3.Name = "splitContainer3"; + // + // splitContainer3.Panel1 + // + this.splitContainer3.Panel1.Controls.Add(this.splitContainer4); + this.splitContainer3.Size = new System.Drawing.Size(1014, 718); + this.splitContainer3.SplitterDistance = 726; + this.splitContainer3.SplitterWidth = 1; + this.splitContainer3.TabIndex = 0; + // + // btnSyncData + // + this.btnSyncData.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSyncData.Location = new System.Drawing.Point(45, 15); + this.btnSyncData.Name = "btnSyncData"; + this.btnSyncData.Size = new System.Drawing.Size(156, 46); + this.btnSyncData.TabIndex = 0; + this.btnSyncData.Text = "同步数据"; + this.btnSyncData.UseVisualStyleBackColor = true; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label2.Location = new System.Drawing.Point(45, 117); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(106, 24); + this.label2.TabIndex = 1; + this.label2.Text = "白条状态"; + // + // uComboBox1 + // + this.uComboBox1.CodeArgs = null; + this.uComboBox1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.uComboBox1.EnableTopItem = true; + this.uComboBox1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uComboBox1.FormattingEnabled = true; + this.uComboBox1.Location = new System.Drawing.Point(49, 144); + this.uComboBox1.Name = "uComboBox1"; + this.uComboBox1.Range = 10; + this.uComboBox1.Size = new System.Drawing.Size(158, 36); + this.uComboBox1.TabIndex = 2; + // + // btnSubmit + // + this.btnSubmit.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSubmit.Location = new System.Drawing.Point(45, 259); + this.btnSubmit.Name = "btnSubmit"; + this.btnSubmit.Size = new System.Drawing.Size(156, 46); + this.btnSubmit.TabIndex = 0; + this.btnSubmit.Text = "提交"; + this.btnSubmit.UseVisualStyleBackColor = true; + // + // btnCreateBill + // + this.btnCreateBill.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnCreateBill.Location = new System.Drawing.Point(45, 368); + this.btnCreateBill.Name = "btnCreateBill"; + this.btnCreateBill.Size = new System.Drawing.Size(156, 46); + this.btnCreateBill.TabIndex = 0; + this.btnCreateBill.Text = "创建领料"; + this.btnCreateBill.UseVisualStyleBackColor = true; + // + // splitContainer4 + // + this.splitContainer4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer4.Location = new System.Drawing.Point(0, 0); + this.splitContainer4.Name = "splitContainer4"; + this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer4.Panel1 + // + this.splitContainer4.Panel1.Controls.Add(this.groupBox2); + this.splitContainer4.Panel1.Controls.Add(this.groupBox1); + // + // splitContainer4.Panel2 + // + this.splitContainer4.Panel2.Controls.Add(this.groupBox3); + this.splitContainer4.Size = new System.Drawing.Size(726, 718); + this.splitContainer4.SplitterDistance = 359; + this.splitContainer4.SplitterWidth = 1; + this.splitContainer4.TabIndex = 0; + // + // groupBox1 + // + this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupBox1.Location = new System.Drawing.Point(3, 3); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(718, 351); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "groupBox1"; + // + // groupBox2 + // + this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupBox2.Controls.Add(this.uDataGridView1); + this.groupBox2.Location = new System.Drawing.Point(3, 2); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(718, 351); + this.groupBox2.TabIndex = 0; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "待提交明细"; + // + // groupBox3 + // + this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupBox3.Controls.Add(this.uDataGridView2); + this.groupBox3.Location = new System.Drawing.Point(3, 3); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(718, 351); + this.groupBox3.TabIndex = 0; + this.groupBox3.TabStop = false; + this.groupBox3.Text = "产品明细"; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.button1.Location = new System.Drawing.Point(1158, 22); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(90, 46); + this.button1.TabIndex = 0; + this.button1.Text = "称设置"; + this.button1.UseVisualStyleBackColor = true; + // + // uDataGridView1 + // + this.uDataGridView1.AllowUserToAddRows = false; + this.uDataGridView1.AllowUserToDeleteRows = false; + this.uDataGridView1.AllowUserToResizeColumns = false; + this.uDataGridView1.AllowUserToResizeRows = false; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + this.uDataGridView1.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.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.uDataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; + this.uDataGridView1.Location = new System.Drawing.Point(3, 17); + this.uDataGridView1.MultiSelect = false; + this.uDataGridView1.Name = "uDataGridView1"; + this.uDataGridView1.ReadOnly = true; + this.uDataGridView1.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.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3; + this.uDataGridView1.RowTemplate.Height = 23; + this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.uDataGridView1.Size = new System.Drawing.Size(712, 331); + this.uDataGridView1.TabIndex = 0; + // + // uDataGridView2 + // + this.uDataGridView2.AllowUserToAddRows = false; + this.uDataGridView2.AllowUserToDeleteRows = false; + this.uDataGridView2.AllowUserToResizeColumns = false; + this.uDataGridView2.AllowUserToResizeRows = false; + dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.uDataGridView2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; + this.uDataGridView2.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.uDataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; + this.uDataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.uDataGridView2.Dock = System.Windows.Forms.DockStyle.Fill; + this.uDataGridView2.Location = new System.Drawing.Point(3, 17); + this.uDataGridView2.MultiSelect = false; + this.uDataGridView2.Name = "uDataGridView2"; + this.uDataGridView2.ReadOnly = true; + this.uDataGridView2.RowHeadersVisible = false; + dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); + this.uDataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle6; + this.uDataGridView2.RowTemplate.Height = 23; + this.uDataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.uDataGridView2.Size = new System.Drawing.Size(712, 331); + this.uDataGridView2.TabIndex = 0; + // + // TrunksIousOutInStoreForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1276, 831); + this.Controls.Add(this.splitContainer1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "TrunksIousOutInStoreForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "胴体白条出入库"; + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); + this.splitContainer1.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.splitContainer2.Panel1.ResumeLayout(false); + this.splitContainer2.Panel1.PerformLayout(); + this.splitContainer2.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); + this.splitContainer2.ResumeLayout(false); + this.splitContainer3.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit(); + this.splitContainer3.ResumeLayout(false); + this.splitContainer4.Panel1.ResumeLayout(false); + this.splitContainer4.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit(); + this.splitContainer4.ResumeLayout(false); + this.groupBox2.ResumeLayout(false); + this.groupBox3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.uDataGridView2)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.SplitContainer splitContainer1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.RichTextBox richTextBox1; + private System.Windows.Forms.Label label1; + private BWP.WinFormControl.WeightControl weightControl1; + private System.Windows.Forms.SplitContainer splitContainer2; + private System.Windows.Forms.Button btnSyncData; + private System.Windows.Forms.SplitContainer splitContainer3; + private BWP.WinFormControl.UComboBox uComboBox1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button btnCreateBill; + private System.Windows.Forms.Button btnSubmit; + private System.Windows.Forms.SplitContainer splitContainer4; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.GroupBox groupBox3; + private System.Windows.Forms.Button button1; + private BWP.WinFormControl.UDataGridView uDataGridView1; + private BWP.WinFormControl.UDataGridView uDataGridView2; + } +} \ No newline at end of file diff --git a/TrunksIousOutInStore/TrunksIousOutInStoreForm.cs b/TrunksIousOutInStore/TrunksIousOutInStoreForm.cs new file mode 100644 index 0000000..ab233f8 --- /dev/null +++ b/TrunksIousOutInStore/TrunksIousOutInStoreForm.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace TrunksIousOutInStore +{ + public partial class TrunksIousOutInStoreForm : Form + { + public TrunksIousOutInStoreForm() + { + InitializeComponent(); + } + } +} diff --git a/TrunksIousOutInStore/TrunksIousOutInStoreForm.resx b/TrunksIousOutInStore/TrunksIousOutInStoreForm.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TrunksIousOutInStore/TrunksIousOutInStoreForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file