|
|
@ -28,6 +28,7 @@ |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
private void InitializeComponent() |
|
|
private void InitializeComponent() |
|
|
{ |
|
|
{ |
|
|
|
|
|
this.components = new System.ComponentModel.Container(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = 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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
@ -40,30 +41,33 @@ |
|
|
this.panel2 = new System.Windows.Forms.Panel(); |
|
|
this.panel2 = new System.Windows.Forms.Panel(); |
|
|
this.lblChengZhong = new System.Windows.Forms.Label(); |
|
|
this.lblChengZhong = new System.Windows.Forms.Label(); |
|
|
this.btnWeightSet = new System.Windows.Forms.Button(); |
|
|
this.btnWeightSet = new System.Windows.Forms.Button(); |
|
|
|
|
|
this.btnSycnStatus = new System.Windows.Forms.Button(); |
|
|
|
|
|
this.btnNetStatus = new System.Windows.Forms.Button(); |
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
this.uComboBox1 = new BWP.WinFormControl.UComboBox(); |
|
|
|
|
|
|
|
|
this.cbxBaiTiaoStatus = new System.Windows.Forms.ComboBox(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
this.btnCreateBill = new System.Windows.Forms.Button(); |
|
|
this.btnCreateBill = new System.Windows.Forms.Button(); |
|
|
this.btnSubmit = new System.Windows.Forms.Button(); |
|
|
this.btnSubmit = new System.Windows.Forms.Button(); |
|
|
this.btnSyncData = new System.Windows.Forms.Button(); |
|
|
|
|
|
this.splitContainer3 = new System.Windows.Forms.SplitContainer(); |
|
|
this.splitContainer3 = new System.Windows.Forms.SplitContainer(); |
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
this.gridChecked = new BWP.WinFormControl.UDataGridView(); |
|
|
this.gridChecked = new BWP.WinFormControl.UDataGridView(); |
|
|
this.序号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.产品名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.规格 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.数量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
this.gridUnCheck = new System.Windows.Forms.DataGridView(); |
|
|
this.gridUnCheck = new System.Windows.Forms.DataGridView(); |
|
|
|
|
|
this.flpGoods = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components); |
|
|
|
|
|
this.timerChectNetStatus = new System.Windows.Forms.Timer(this.components); |
|
|
|
|
|
this.timerSyncToService = new System.Windows.Forms.Timer(this.components); |
|
|
|
|
|
this.timerCheckSyncSucessed = new System.Windows.Forms.Timer(this.components); |
|
|
this.uncheck序号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck序号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck产品名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck产品名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck规格 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.uncheck数量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck数量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.uncheck重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.timer1 = new System.Windows.Forms.Timer(); |
|
|
|
|
|
|
|
|
this.序号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.产品名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.数量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
@ -76,6 +80,7 @@ |
|
|
this.splitContainer2.SuspendLayout(); |
|
|
this.splitContainer2.SuspendLayout(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit(); |
|
|
this.splitContainer3.Panel1.SuspendLayout(); |
|
|
this.splitContainer3.Panel1.SuspendLayout(); |
|
|
|
|
|
this.splitContainer3.Panel2.SuspendLayout(); |
|
|
this.splitContainer3.SuspendLayout(); |
|
|
this.splitContainer3.SuspendLayout(); |
|
|
this.groupBox2.SuspendLayout(); |
|
|
this.groupBox2.SuspendLayout(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.gridChecked)).BeginInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.gridChecked)).BeginInit(); |
|
|
@ -111,6 +116,8 @@ |
|
|
this.panel1.Controls.Add(this.enableWeight); |
|
|
this.panel1.Controls.Add(this.enableWeight); |
|
|
this.panel1.Controls.Add(this.panel2); |
|
|
this.panel1.Controls.Add(this.panel2); |
|
|
this.panel1.Controls.Add(this.btnWeightSet); |
|
|
this.panel1.Controls.Add(this.btnWeightSet); |
|
|
|
|
|
this.panel1.Controls.Add(this.btnSycnStatus); |
|
|
|
|
|
this.panel1.Controls.Add(this.btnNetStatus); |
|
|
this.panel1.Location = new System.Drawing.Point(11, 3); |
|
|
this.panel1.Location = new System.Drawing.Point(11, 3); |
|
|
this.panel1.Name = "panel1"; |
|
|
this.panel1.Name = "panel1"; |
|
|
this.panel1.Size = new System.Drawing.Size(1251, 100); |
|
|
this.panel1.Size = new System.Drawing.Size(1251, 100); |
|
|
@ -160,6 +167,28 @@ |
|
|
this.btnWeightSet.UseVisualStyleBackColor = true; |
|
|
this.btnWeightSet.UseVisualStyleBackColor = true; |
|
|
this.btnWeightSet.Click += new System.EventHandler(this.btnWeightSet_Click); |
|
|
this.btnWeightSet.Click += new System.EventHandler(this.btnWeightSet_Click); |
|
|
//
|
|
|
//
|
|
|
|
|
|
// btnSycnStatus
|
|
|
|
|
|
//
|
|
|
|
|
|
this.btnSycnStatus.Enabled = false; |
|
|
|
|
|
this.btnSycnStatus.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.btnSycnStatus.Location = new System.Drawing.Point(655, 28); |
|
|
|
|
|
this.btnSycnStatus.Name = "btnSycnStatus"; |
|
|
|
|
|
this.btnSycnStatus.Size = new System.Drawing.Size(114, 46); |
|
|
|
|
|
this.btnSycnStatus.TabIndex = 0; |
|
|
|
|
|
this.btnSycnStatus.Text = "同步完成"; |
|
|
|
|
|
this.btnSycnStatus.UseVisualStyleBackColor = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// btnNetStatus
|
|
|
|
|
|
//
|
|
|
|
|
|
this.btnNetStatus.Enabled = false; |
|
|
|
|
|
this.btnNetStatus.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.btnNetStatus.Location = new System.Drawing.Point(450, 28); |
|
|
|
|
|
this.btnNetStatus.Name = "btnNetStatus"; |
|
|
|
|
|
this.btnNetStatus.Size = new System.Drawing.Size(120, 46); |
|
|
|
|
|
this.btnNetStatus.TabIndex = 0; |
|
|
|
|
|
this.btnNetStatus.Text = "网络畅通"; |
|
|
|
|
|
this.btnNetStatus.UseVisualStyleBackColor = true; |
|
|
|
|
|
//
|
|
|
// splitContainer2
|
|
|
// splitContainer2
|
|
|
//
|
|
|
//
|
|
|
this.splitContainer2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
this.splitContainer2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
@ -169,11 +198,10 @@ |
|
|
//
|
|
|
//
|
|
|
// splitContainer2.Panel1
|
|
|
// splitContainer2.Panel1
|
|
|
//
|
|
|
//
|
|
|
this.splitContainer2.Panel1.Controls.Add(this.uComboBox1); |
|
|
|
|
|
|
|
|
this.splitContainer2.Panel1.Controls.Add(this.cbxBaiTiaoStatus); |
|
|
this.splitContainer2.Panel1.Controls.Add(this.label2); |
|
|
this.splitContainer2.Panel1.Controls.Add(this.label2); |
|
|
this.splitContainer2.Panel1.Controls.Add(this.btnCreateBill); |
|
|
this.splitContainer2.Panel1.Controls.Add(this.btnCreateBill); |
|
|
this.splitContainer2.Panel1.Controls.Add(this.btnSubmit); |
|
|
this.splitContainer2.Panel1.Controls.Add(this.btnSubmit); |
|
|
this.splitContainer2.Panel1.Controls.Add(this.btnSyncData); |
|
|
|
|
|
//
|
|
|
//
|
|
|
// splitContainer2.Panel2
|
|
|
// splitContainer2.Panel2
|
|
|
//
|
|
|
//
|
|
|
@ -183,18 +211,20 @@ |
|
|
this.splitContainer2.SplitterWidth = 1; |
|
|
this.splitContainer2.SplitterWidth = 1; |
|
|
this.splitContainer2.TabIndex = 0; |
|
|
this.splitContainer2.TabIndex = 0; |
|
|
//
|
|
|
//
|
|
|
// 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; |
|
|
|
|
|
|
|
|
// cbxBaiTiaoStatus
|
|
|
|
|
|
//
|
|
|
|
|
|
this.cbxBaiTiaoStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
|
|
|
|
|
this.cbxBaiTiaoStatus.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.cbxBaiTiaoStatus.FormattingEnabled = true; |
|
|
|
|
|
this.cbxBaiTiaoStatus.Items.AddRange(new object[] { |
|
|
|
|
|
"入预冷库", |
|
|
|
|
|
"分割领用", |
|
|
|
|
|
"入销售库", |
|
|
|
|
|
"销售出库"}); |
|
|
|
|
|
this.cbxBaiTiaoStatus.Location = new System.Drawing.Point(45, 144); |
|
|
|
|
|
this.cbxBaiTiaoStatus.Name = "cbxBaiTiaoStatus"; |
|
|
|
|
|
this.cbxBaiTiaoStatus.Size = new System.Drawing.Size(167, 35); |
|
|
|
|
|
this.cbxBaiTiaoStatus.TabIndex = 34; |
|
|
//
|
|
|
//
|
|
|
// label2
|
|
|
// label2
|
|
|
//
|
|
|
//
|
|
|
@ -225,16 +255,7 @@ |
|
|
this.btnSubmit.TabIndex = 0; |
|
|
this.btnSubmit.TabIndex = 0; |
|
|
this.btnSubmit.Text = "提交"; |
|
|
this.btnSubmit.Text = "提交"; |
|
|
this.btnSubmit.UseVisualStyleBackColor = true; |
|
|
this.btnSubmit.UseVisualStyleBackColor = true; |
|
|
//
|
|
|
|
|
|
// 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; |
|
|
|
|
|
|
|
|
this.btnSubmit.Visible = false; |
|
|
//
|
|
|
//
|
|
|
// splitContainer3
|
|
|
// splitContainer3
|
|
|
//
|
|
|
//
|
|
|
@ -247,6 +268,10 @@ |
|
|
//
|
|
|
//
|
|
|
this.splitContainer3.Panel1.Controls.Add(this.groupBox2); |
|
|
this.splitContainer3.Panel1.Controls.Add(this.groupBox2); |
|
|
this.splitContainer3.Panel1.Controls.Add(this.groupBox1); |
|
|
this.splitContainer3.Panel1.Controls.Add(this.groupBox1); |
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer3.Panel2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer3.Panel2.Controls.Add(this.flpGoods); |
|
|
this.splitContainer3.Size = new System.Drawing.Size(1015, 610); |
|
|
this.splitContainer3.Size = new System.Drawing.Size(1015, 610); |
|
|
this.splitContainer3.SplitterDistance = 726; |
|
|
this.splitContainer3.SplitterDistance = 726; |
|
|
this.splitContainer3.SplitterWidth = 1; |
|
|
this.splitContainer3.SplitterWidth = 1; |
|
|
@ -287,7 +312,6 @@ |
|
|
this.序号, |
|
|
this.序号, |
|
|
this.条码, |
|
|
this.条码, |
|
|
this.产品名称, |
|
|
this.产品名称, |
|
|
this.规格, |
|
|
|
|
|
this.数量, |
|
|
this.数量, |
|
|
this.重量}); |
|
|
this.重量}); |
|
|
this.gridChecked.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.gridChecked.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
@ -304,50 +328,6 @@ |
|
|
this.gridChecked.Size = new System.Drawing.Size(693, 320); |
|
|
this.gridChecked.Size = new System.Drawing.Size(693, 320); |
|
|
this.gridChecked.TabIndex = 4; |
|
|
this.gridChecked.TabIndex = 4; |
|
|
//
|
|
|
//
|
|
|
// 序号
|
|
|
|
|
|
//
|
|
|
|
|
|
this.序号.DataPropertyName = "ID"; |
|
|
|
|
|
this.序号.HeaderText = "序号"; |
|
|
|
|
|
this.序号.Name = "序号"; |
|
|
|
|
|
this.序号.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// 条码
|
|
|
|
|
|
//
|
|
|
|
|
|
this.条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.条码.DataPropertyName = "Code"; |
|
|
|
|
|
this.条码.HeaderText = "条码"; |
|
|
|
|
|
this.条码.Name = "条码"; |
|
|
|
|
|
this.条码.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// 产品名称
|
|
|
|
|
|
//
|
|
|
|
|
|
this.产品名称.DataPropertyName = "Goods_Name"; |
|
|
|
|
|
this.产品名称.HeaderText = "产品名称"; |
|
|
|
|
|
this.产品名称.Name = "产品名称"; |
|
|
|
|
|
this.产品名称.ReadOnly = true; |
|
|
|
|
|
this.产品名称.Width = 120; |
|
|
|
|
|
//
|
|
|
|
|
|
// 规格
|
|
|
|
|
|
//
|
|
|
|
|
|
this.规格.DataPropertyName = "Goods_Spec"; |
|
|
|
|
|
this.规格.HeaderText = "规格"; |
|
|
|
|
|
this.规格.Name = "规格"; |
|
|
|
|
|
this.规格.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// 数量
|
|
|
|
|
|
//
|
|
|
|
|
|
this.数量.DataPropertyName = "Number"; |
|
|
|
|
|
this.数量.HeaderText = "数量"; |
|
|
|
|
|
this.数量.Name = "数量"; |
|
|
|
|
|
this.数量.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// 重量
|
|
|
|
|
|
//
|
|
|
|
|
|
this.重量.DataPropertyName = "Weight"; |
|
|
|
|
|
this.重量.HeaderText = "重量"; |
|
|
|
|
|
this.重量.Name = "重量"; |
|
|
|
|
|
this.重量.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// groupBox1
|
|
|
// groupBox1
|
|
|
//
|
|
|
//
|
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
@ -382,7 +362,6 @@ |
|
|
this.uncheck序号, |
|
|
this.uncheck序号, |
|
|
this.uncheck条码, |
|
|
this.uncheck条码, |
|
|
this.uncheck产品名称, |
|
|
this.uncheck产品名称, |
|
|
this.uncheck规格, |
|
|
|
|
|
this.uncheck数量, |
|
|
this.uncheck数量, |
|
|
this.uncheck重量}); |
|
|
this.uncheck重量}); |
|
|
this.gridUnCheck.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.gridUnCheck.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
@ -399,6 +378,38 @@ |
|
|
this.gridUnCheck.Size = new System.Drawing.Size(699, 200); |
|
|
this.gridUnCheck.Size = new System.Drawing.Size(699, 200); |
|
|
this.gridUnCheck.TabIndex = 3; |
|
|
this.gridUnCheck.TabIndex = 3; |
|
|
//
|
|
|
//
|
|
|
|
|
|
// flpGoods
|
|
|
|
|
|
//
|
|
|
|
|
|
this.flpGoods.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
|
|
this.flpGoods.Location = new System.Drawing.Point(0, 0); |
|
|
|
|
|
this.flpGoods.Name = "flpGoods"; |
|
|
|
|
|
this.flpGoods.Size = new System.Drawing.Size(286, 608); |
|
|
|
|
|
this.flpGoods.TabIndex = 0; |
|
|
|
|
|
//
|
|
|
|
|
|
// timer1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.timer1.Enabled = true; |
|
|
|
|
|
this.timer1.Interval = 3000; |
|
|
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
|
|
|
|
|
//
|
|
|
|
|
|
// timerChectNetStatus
|
|
|
|
|
|
//
|
|
|
|
|
|
this.timerChectNetStatus.Enabled = true; |
|
|
|
|
|
this.timerChectNetStatus.Interval = 2000; |
|
|
|
|
|
this.timerChectNetStatus.Tick += new System.EventHandler(this.timerChectNetStatus_Tick); |
|
|
|
|
|
//
|
|
|
|
|
|
// timerSyncToService
|
|
|
|
|
|
//
|
|
|
|
|
|
this.timerSyncToService.Enabled = true; |
|
|
|
|
|
this.timerSyncToService.Interval = 5000; |
|
|
|
|
|
this.timerSyncToService.Tick += new System.EventHandler(this.timerSyncToService_Tick); |
|
|
|
|
|
//
|
|
|
|
|
|
// timerCheckSyncSucessed
|
|
|
|
|
|
//
|
|
|
|
|
|
this.timerCheckSyncSucessed.Enabled = true; |
|
|
|
|
|
this.timerCheckSyncSucessed.Interval = 4000; |
|
|
|
|
|
this.timerCheckSyncSucessed.Tick += new System.EventHandler(this.timerCheckSyncSucessed_Tick); |
|
|
|
|
|
//
|
|
|
// uncheck序号
|
|
|
// uncheck序号
|
|
|
//
|
|
|
//
|
|
|
this.uncheck序号.DataPropertyName = "ID"; |
|
|
this.uncheck序号.DataPropertyName = "ID"; |
|
|
@ -409,7 +420,7 @@ |
|
|
// uncheck条码
|
|
|
// uncheck条码
|
|
|
//
|
|
|
//
|
|
|
this.uncheck条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
this.uncheck条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
this.uncheck条码.DataPropertyName = "Code"; |
|
|
|
|
|
|
|
|
this.uncheck条码.DataPropertyName = "BarCode"; |
|
|
this.uncheck条码.HeaderText = "条码"; |
|
|
this.uncheck条码.HeaderText = "条码"; |
|
|
this.uncheck条码.Name = "uncheck条码"; |
|
|
this.uncheck条码.Name = "uncheck条码"; |
|
|
this.uncheck条码.ReadOnly = true; |
|
|
this.uncheck条码.ReadOnly = true; |
|
|
@ -422,13 +433,6 @@ |
|
|
this.uncheck产品名称.ReadOnly = true; |
|
|
this.uncheck产品名称.ReadOnly = true; |
|
|
this.uncheck产品名称.Width = 120; |
|
|
this.uncheck产品名称.Width = 120; |
|
|
//
|
|
|
//
|
|
|
// uncheck规格
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uncheck规格.DataPropertyName = "Goods_Spec"; |
|
|
|
|
|
this.uncheck规格.HeaderText = "规格"; |
|
|
|
|
|
this.uncheck规格.Name = "uncheck规格"; |
|
|
|
|
|
this.uncheck规格.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// uncheck数量
|
|
|
// uncheck数量
|
|
|
//
|
|
|
//
|
|
|
this.uncheck数量.DataPropertyName = "Number"; |
|
|
this.uncheck数量.DataPropertyName = "Number"; |
|
|
@ -443,11 +447,42 @@ |
|
|
this.uncheck重量.Name = "uncheck重量"; |
|
|
this.uncheck重量.Name = "uncheck重量"; |
|
|
this.uncheck重量.ReadOnly = true; |
|
|
this.uncheck重量.ReadOnly = true; |
|
|
//
|
|
|
//
|
|
|
// timer1
|
|
|
|
|
|
|
|
|
// 序号
|
|
|
//
|
|
|
//
|
|
|
this.timer1.Enabled = true; |
|
|
|
|
|
this.timer1.Interval = 1000; |
|
|
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
|
|
|
|
|
|
|
|
this.序号.DataPropertyName = "ID"; |
|
|
|
|
|
this.序号.HeaderText = "序号"; |
|
|
|
|
|
this.序号.Name = "序号"; |
|
|
|
|
|
this.序号.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// 条码
|
|
|
|
|
|
//
|
|
|
|
|
|
this.条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.条码.DataPropertyName = "BarCode"; |
|
|
|
|
|
this.条码.HeaderText = "条码"; |
|
|
|
|
|
this.条码.Name = "条码"; |
|
|
|
|
|
this.条码.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// 产品名称
|
|
|
|
|
|
//
|
|
|
|
|
|
this.产品名称.DataPropertyName = "Goods_Name"; |
|
|
|
|
|
this.产品名称.HeaderText = "产品名称"; |
|
|
|
|
|
this.产品名称.Name = "产品名称"; |
|
|
|
|
|
this.产品名称.ReadOnly = true; |
|
|
|
|
|
this.产品名称.Width = 120; |
|
|
|
|
|
//
|
|
|
|
|
|
// 数量
|
|
|
|
|
|
//
|
|
|
|
|
|
this.数量.DataPropertyName = "Number"; |
|
|
|
|
|
this.数量.HeaderText = "数量"; |
|
|
|
|
|
this.数量.Name = "数量"; |
|
|
|
|
|
this.数量.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// 重量
|
|
|
|
|
|
//
|
|
|
|
|
|
this.重量.DataPropertyName = "Weight"; |
|
|
|
|
|
this.重量.HeaderText = "重量"; |
|
|
|
|
|
this.重量.Name = "重量"; |
|
|
|
|
|
this.重量.ReadOnly = true; |
|
|
//
|
|
|
//
|
|
|
// TrunksIousOutInStoreForm
|
|
|
// TrunksIousOutInStoreForm
|
|
|
//
|
|
|
//
|
|
|
@ -464,8 +499,6 @@ |
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TrunksIousOutInStoreForm_FormClosing); |
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TrunksIousOutInStoreForm_FormClosing); |
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.TrunksIousOutInStoreForm_FormClosed); |
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.TrunksIousOutInStoreForm_FormClosed); |
|
|
this.Load += new System.EventHandler(this.TrunksIousOutInStoreForm_Load); |
|
|
this.Load += new System.EventHandler(this.TrunksIousOutInStoreForm_Load); |
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TrunksIousOutInStoreForm_KeyDown); |
|
|
|
|
|
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TrunksIousOutInStoreForm_KeyUp); |
|
|
|
|
|
this.splitContainer1.Panel1.ResumeLayout(false); |
|
|
this.splitContainer1.Panel1.ResumeLayout(false); |
|
|
this.splitContainer1.Panel2.ResumeLayout(false); |
|
|
this.splitContainer1.Panel2.ResumeLayout(false); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); |
|
|
@ -480,6 +513,7 @@ |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); |
|
|
this.splitContainer2.ResumeLayout(false); |
|
|
this.splitContainer2.ResumeLayout(false); |
|
|
this.splitContainer3.Panel1.ResumeLayout(false); |
|
|
this.splitContainer3.Panel1.ResumeLayout(false); |
|
|
|
|
|
this.splitContainer3.Panel2.ResumeLayout(false); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit(); |
|
|
this.splitContainer3.ResumeLayout(false); |
|
|
this.splitContainer3.ResumeLayout(false); |
|
|
this.groupBox2.ResumeLayout(false); |
|
|
this.groupBox2.ResumeLayout(false); |
|
|
@ -495,9 +529,8 @@ |
|
|
private System.Windows.Forms.SplitContainer splitContainer1; |
|
|
private System.Windows.Forms.SplitContainer splitContainer1; |
|
|
private System.Windows.Forms.Panel panel1; |
|
|
private System.Windows.Forms.Panel panel1; |
|
|
private System.Windows.Forms.SplitContainer splitContainer2; |
|
|
private System.Windows.Forms.SplitContainer splitContainer2; |
|
|
private System.Windows.Forms.Button btnSyncData; |
|
|
|
|
|
|
|
|
private System.Windows.Forms.Button btnNetStatus; |
|
|
private System.Windows.Forms.SplitContainer splitContainer3; |
|
|
private System.Windows.Forms.SplitContainer splitContainer3; |
|
|
private BWP.WinFormControl.UComboBox uComboBox1; |
|
|
|
|
|
private System.Windows.Forms.Label label2; |
|
|
private System.Windows.Forms.Label label2; |
|
|
private System.Windows.Forms.Button btnCreateBill; |
|
|
private System.Windows.Forms.Button btnCreateBill; |
|
|
private System.Windows.Forms.Button btnSubmit; |
|
|
private System.Windows.Forms.Button btnSubmit; |
|
|
@ -507,20 +540,24 @@ |
|
|
private System.Windows.Forms.DataGridView gridUnCheck; |
|
|
private System.Windows.Forms.DataGridView gridUnCheck; |
|
|
private BWP.WinFormControl.UDataGridView gridChecked; |
|
|
private BWP.WinFormControl.UDataGridView gridChecked; |
|
|
private System.Windows.Forms.Timer timer1; |
|
|
private System.Windows.Forms.Timer timer1; |
|
|
|
|
|
private System.Windows.Forms.CheckBox enableWeight; |
|
|
|
|
|
private System.Windows.Forms.Panel panel2; |
|
|
|
|
|
private System.Windows.Forms.Label lblChengZhong; |
|
|
|
|
|
private System.Windows.Forms.ComboBox cbxBaiTiaoStatus; |
|
|
|
|
|
private System.Windows.Forms.FlowLayoutPanel flpGoods; |
|
|
|
|
|
private System.Windows.Forms.Timer timerChectNetStatus; |
|
|
|
|
|
private System.Windows.Forms.Timer timerSyncToService; |
|
|
|
|
|
private System.Windows.Forms.Timer timerCheckSyncSucessed; |
|
|
|
|
|
private System.Windows.Forms.Button btnSycnStatus; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 序号; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 序号; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 条码; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 条码; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 产品名称; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 产品名称; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 规格; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 数量; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 数量; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 重量; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 重量; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck序号; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck序号; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck条码; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck条码; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck产品名称; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck产品名称; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck规格; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck数量; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck数量; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck重量; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck重量; |
|
|
private System.Windows.Forms.CheckBox enableWeight; |
|
|
|
|
|
private System.Windows.Forms.Panel panel2; |
|
|
|
|
|
private System.Windows.Forms.Label lblChengZhong; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |