|
|
@@ -93,10 +93,10 @@
|
|
|
this.DCCheck = new UAS_LabelMachine.CustomControl.EnterTextBox();
|
|
|
this.GridPrcode = new UAS_LabelMachine.CustomControl.DataGridViewWithSerialNum();
|
|
|
this.pd_pdno = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.pd_whcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.pjd_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.pd_custprodcode1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.pd_prodcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.pd_whcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.CollectedNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.UnCollectedNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.pd_outqty = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
@@ -248,6 +248,7 @@
|
|
|
//
|
|
|
// RefreshDBConnect
|
|
|
//
|
|
|
+ this.RefreshDBConnect.Interval = 10000;
|
|
|
this.RefreshDBConnect.Tick += new System.EventHandler(this.RefreshDBConnect_Tick);
|
|
|
//
|
|
|
// GetGridOnly
|
|
|
@@ -728,10 +729,10 @@
|
|
|
this.GridPrcode.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.GridPrcode.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.pd_pdno,
|
|
|
+ this.pd_whcode,
|
|
|
this.pjd_id,
|
|
|
this.pd_custprodcode1,
|
|
|
this.pd_prodcode,
|
|
|
- this.pd_whcode,
|
|
|
this.CollectedNum,
|
|
|
this.UnCollectedNum,
|
|
|
this.pd_outqty,
|
|
|
@@ -762,12 +763,20 @@
|
|
|
//
|
|
|
// pd_pdno
|
|
|
//
|
|
|
- this.pd_pdno.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.pd_pdno.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
|
|
this.pd_pdno.DataPropertyName = "pd_pdno";
|
|
|
- this.pd_pdno.HeaderText = "明细序号";
|
|
|
+ this.pd_pdno.HeaderText = "序号";
|
|
|
this.pd_pdno.Name = "pd_pdno";
|
|
|
this.pd_pdno.ReadOnly = true;
|
|
|
- this.pd_pdno.Width = 80;
|
|
|
+ this.pd_pdno.Width = 54;
|
|
|
+ //
|
|
|
+ // pd_whcode
|
|
|
+ //
|
|
|
+ this.pd_whcode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
|
|
+ this.pd_whcode.DataPropertyName = "pd_whcode";
|
|
|
+ this.pd_whcode.HeaderText = "仓别";
|
|
|
+ this.pd_whcode.Name = "pd_whcode";
|
|
|
+ this.pd_whcode.Width = 54;
|
|
|
//
|
|
|
// pjd_id
|
|
|
//
|
|
|
@@ -786,29 +795,25 @@
|
|
|
//
|
|
|
// pd_prodcode
|
|
|
//
|
|
|
- this.pd_prodcode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
|
|
+ this.pd_prodcode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
|
this.pd_prodcode.DataPropertyName = "pd_prodcode";
|
|
|
this.pd_prodcode.HeaderText = "物料编号";
|
|
|
this.pd_prodcode.Name = "pd_prodcode";
|
|
|
this.pd_prodcode.ReadOnly = true;
|
|
|
this.pd_prodcode.Width = 78;
|
|
|
//
|
|
|
- // pd_whcode
|
|
|
- //
|
|
|
- this.pd_whcode.DataPropertyName = "pd_whcode";
|
|
|
- this.pd_whcode.HeaderText = "仓别";
|
|
|
- this.pd_whcode.Name = "pd_whcode";
|
|
|
- this.pd_whcode.Visible = false;
|
|
|
- //
|
|
|
// CollectedNum
|
|
|
//
|
|
|
+ this.CollectedNum.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
|
this.CollectedNum.DataPropertyName = "CollectedNum";
|
|
|
this.CollectedNum.HeaderText = "已采数";
|
|
|
this.CollectedNum.Name = "CollectedNum";
|
|
|
this.CollectedNum.ReadOnly = true;
|
|
|
+ this.CollectedNum.Width = 66;
|
|
|
//
|
|
|
// UnCollectedNum
|
|
|
//
|
|
|
+ this.UnCollectedNum.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
|
this.UnCollectedNum.DataPropertyName = "UnCollectedNum";
|
|
|
this.UnCollectedNum.HeaderText = "未采集";
|
|
|
this.UnCollectedNum.Name = "UnCollectedNum";
|
|
|
@@ -817,35 +822,41 @@
|
|
|
//
|
|
|
// pd_outqty
|
|
|
//
|
|
|
+ this.pd_outqty.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
|
this.pd_outqty.DataPropertyName = "pd_outqty";
|
|
|
this.pd_outqty.HeaderText = "出库数量";
|
|
|
this.pd_outqty.Name = "pd_outqty";
|
|
|
this.pd_outqty.ReadOnly = true;
|
|
|
this.pd_outqty.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
+ this.pd_outqty.Width = 59;
|
|
|
//
|
|
|
// pr_unit
|
|
|
//
|
|
|
+ this.pr_unit.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
|
|
this.pr_unit.DataPropertyName = "pr_unit";
|
|
|
this.pr_unit.HeaderText = "单位";
|
|
|
this.pr_unit.Name = "pr_unit";
|
|
|
this.pr_unit.ReadOnly = true;
|
|
|
this.pr_unit.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
+ this.pr_unit.Width = 35;
|
|
|
//
|
|
|
// pr_spec1
|
|
|
//
|
|
|
- this.pr_spec1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
|
|
+ this.pr_spec1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCellsExceptHeader;
|
|
|
this.pr_spec1.DataPropertyName = "pr_spec";
|
|
|
this.pr_spec1.HeaderText = "规格";
|
|
|
+ this.pr_spec1.MinimumWidth = 100;
|
|
|
this.pr_spec1.Name = "pr_spec1";
|
|
|
- this.pr_spec1.Width = 54;
|
|
|
//
|
|
|
// pd_brand
|
|
|
//
|
|
|
+ this.pd_brand.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
|
|
this.pd_brand.DataPropertyName = "pd_brand";
|
|
|
this.pd_brand.HeaderText = "品牌";
|
|
|
this.pd_brand.Name = "pd_brand";
|
|
|
this.pd_brand.ReadOnly = true;
|
|
|
this.pd_brand.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
+ this.pd_brand.Width = 35;
|
|
|
//
|
|
|
// pjd_zxbzs_user
|
|
|
//
|
|
|
@@ -879,7 +890,7 @@
|
|
|
//
|
|
|
this.label18.AutoSize = true;
|
|
|
this.label18.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label18.Location = new System.Drawing.Point(59, 118);
|
|
|
+ this.label18.Location = new System.Drawing.Point(64, 122);
|
|
|
this.label18.Name = "label18";
|
|
|
this.label18.Size = new System.Drawing.Size(13, 17);
|
|
|
this.label18.TabIndex = 90;
|
|
|
@@ -913,7 +924,7 @@
|
|
|
//
|
|
|
this.label16.AutoSize = true;
|
|
|
this.label16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label16.Location = new System.Drawing.Point(58, 55);
|
|
|
+ this.label16.Location = new System.Drawing.Point(63, 59);
|
|
|
this.label16.Name = "label16";
|
|
|
this.label16.Size = new System.Drawing.Size(13, 17);
|
|
|
this.label16.TabIndex = 87;
|
|
|
@@ -947,7 +958,7 @@
|
|
|
//
|
|
|
this.label12.AutoSize = true;
|
|
|
this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label12.Location = new System.Drawing.Point(9, 92);
|
|
|
+ this.label12.Location = new System.Drawing.Point(6, 89);
|
|
|
this.label12.Name = "label12";
|
|
|
this.label12.Size = new System.Drawing.Size(56, 17);
|
|
|
this.label12.TabIndex = 77;
|
|
|
@@ -957,7 +968,7 @@
|
|
|
//
|
|
|
this.label7.AutoSize = true;
|
|
|
this.label7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label7.Location = new System.Drawing.Point(7, 30);
|
|
|
+ this.label7.Location = new System.Drawing.Point(4, 27);
|
|
|
this.label7.Name = "label7";
|
|
|
this.label7.Size = new System.Drawing.Size(56, 17);
|
|
|
this.label7.TabIndex = 76;
|
|
|
@@ -1013,6 +1024,7 @@
|
|
|
this.LabelInf.TabIndex = 27;
|
|
|
this.LabelInf.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.LabelInf_CellClick);
|
|
|
this.LabelInf.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.LabelInf_DataError);
|
|
|
+ this.LabelInf.SelectionChanged += new System.EventHandler(this.LabelInf_SelectionChanged);
|
|
|
//
|
|
|
// Choose
|
|
|
//
|
|
|
@@ -1227,7 +1239,7 @@
|
|
|
//
|
|
|
this.SingleLabelPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.SingleLabelPrint.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.SingleLabelPrint.Location = new System.Drawing.Point(88, 178);
|
|
|
+ this.SingleLabelPrint.Location = new System.Drawing.Point(54, 177);
|
|
|
this.SingleLabelPrint.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.SingleLabelPrint.Name = "SingleLabelPrint";
|
|
|
this.SingleLabelPrint.Size = new System.Drawing.Size(68, 26);
|
|
|
@@ -1242,7 +1254,7 @@
|
|
|
this.SingleLabelAutoPrint.Checked = true;
|
|
|
this.SingleLabelAutoPrint.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
this.SingleLabelAutoPrint.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.SingleLabelAutoPrint.Location = new System.Drawing.Point(8, 95);
|
|
|
+ this.SingleLabelAutoPrint.Location = new System.Drawing.Point(5, 92);
|
|
|
this.SingleLabelAutoPrint.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.SingleLabelAutoPrint.Name = "SingleLabelAutoPrint";
|
|
|
this.SingleLabelAutoPrint.Size = new System.Drawing.Size(75, 21);
|
|
|
@@ -1300,7 +1312,7 @@
|
|
|
//
|
|
|
this.label2.AutoSize = true;
|
|
|
this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label2.Location = new System.Drawing.Point(4, 116);
|
|
|
+ this.label2.Location = new System.Drawing.Point(7, 122);
|
|
|
this.label2.Name = "label2";
|
|
|
this.label2.Size = new System.Drawing.Size(32, 17);
|
|
|
this.label2.TabIndex = 92;
|
|
|
@@ -1323,7 +1335,7 @@
|
|
|
//
|
|
|
this.label5.AutoSize = true;
|
|
|
this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label5.Location = new System.Drawing.Point(4, 149);
|
|
|
+ this.label5.Location = new System.Drawing.Point(7, 155);
|
|
|
this.label5.Name = "label5";
|
|
|
this.label5.Size = new System.Drawing.Size(32, 17);
|
|
|
this.label5.TabIndex = 50;
|
|
|
@@ -1356,7 +1368,7 @@
|
|
|
this.MidLabelAutoPrint.Checked = true;
|
|
|
this.MidLabelAutoPrint.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
this.MidLabelAutoPrint.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.MidLabelAutoPrint.Location = new System.Drawing.Point(7, 92);
|
|
|
+ this.MidLabelAutoPrint.Location = new System.Drawing.Point(4, 89);
|
|
|
this.MidLabelAutoPrint.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.MidLabelAutoPrint.Name = "MidLabelAutoPrint";
|
|
|
this.MidLabelAutoPrint.Size = new System.Drawing.Size(75, 21);
|
|
|
@@ -1399,7 +1411,7 @@
|
|
|
// LogingOut
|
|
|
//
|
|
|
this.LogingOut.AutoSize = true;
|
|
|
- this.LogingOut.Location = new System.Drawing.Point(104, 10);
|
|
|
+ this.LogingOut.Location = new System.Drawing.Point(101, 7);
|
|
|
this.LogingOut.Name = "LogingOut";
|
|
|
this.LogingOut.Size = new System.Drawing.Size(42, 21);
|
|
|
this.LogingOut.TabIndex = 77;
|
|
|
@@ -1425,7 +1437,7 @@
|
|
|
//
|
|
|
this.label10.AutoSize = true;
|
|
|
this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label10.Location = new System.Drawing.Point(8, 142);
|
|
|
+ this.label10.Location = new System.Drawing.Point(9, 148);
|
|
|
this.label10.Name = "label10";
|
|
|
this.label10.Size = new System.Drawing.Size(32, 17);
|
|
|
this.label10.TabIndex = 90;
|
|
|
@@ -1435,7 +1447,7 @@
|
|
|
//
|
|
|
this.label6.AutoSize = true;
|
|
|
this.label6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label6.Location = new System.Drawing.Point(8, 108);
|
|
|
+ this.label6.Location = new System.Drawing.Point(9, 114);
|
|
|
this.label6.Name = "label6";
|
|
|
this.label6.Size = new System.Drawing.Size(32, 17);
|
|
|
this.label6.TabIndex = 87;
|
|
|
@@ -1489,7 +1501,7 @@
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(233)))), ((int)(((byte)(206)))));
|
|
|
- this.ClientSize = new System.Drawing.Size(1257, 729);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1259, 729);
|
|
|
this.Controls.Add(this.ProcessCount);
|
|
|
this.Controls.Add(this.label9);
|
|
|
this.Controls.Add(this.label8);
|
|
|
@@ -1541,18 +1553,18 @@
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MidSource)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPrcode)).EndInit();
|
|
|
- this.groupBoxWithBorder1.ResumeLayout(false);
|
|
|
+ this.groupBoxWithBorder1.ResumeLayout(true);
|
|
|
this.groupBoxWithBorder1.PerformLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.LabelInf)).EndInit();
|
|
|
- this.SingleLabel.ResumeLayout(false);
|
|
|
+ this.SingleLabel.ResumeLayout(true);
|
|
|
this.SingleLabel.PerformLayout();
|
|
|
- this.MidLabel.ResumeLayout(false);
|
|
|
+ this.MidLabel.ResumeLayout(true);
|
|
|
this.MidLabel.PerformLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MidboxCapacity)).EndInit();
|
|
|
- this.OutBoxLabel.ResumeLayout(false);
|
|
|
+ this.OutBoxLabel.ResumeLayout(true);
|
|
|
this.OutBoxLabel.PerformLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.OutboxCapacity)).EndInit();
|
|
|
- this.ResumeLayout(false);
|
|
|
+ this.ResumeLayout(true);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
@@ -1675,10 +1687,10 @@
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn pib_outboxcode1;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn pib_outboxcode2;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn pd_pdno;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn pd_whcode;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn pjd_id;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn pd_custprodcode1;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn pd_prodcode;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn pd_whcode;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn CollectedNum;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn UnCollectedNum;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn pd_outqty;
|