|
|
@@ -28,7 +28,6 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- this.components = new System.ComponentModel.Container();
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UAS_出货标签打印));
|
|
|
this.pi_inoutno_label = new System.Windows.Forms.Label();
|
|
|
@@ -38,7 +37,7 @@
|
|
|
this.pib_id = new System.Windows.Forms.Label();
|
|
|
this.pi_cardcode = new System.Windows.Forms.Label();
|
|
|
this.Fresh = new System.Windows.Forms.LinkLabel();
|
|
|
- this.RefreshDBConnect = new System.Windows.Forms.Timer(this.components);
|
|
|
+ this.RefreshDBConnect = new System.Windows.Forms.Timer();
|
|
|
this.GetGridOnly = new System.Windows.Forms.CheckBox();
|
|
|
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
@@ -66,7 +65,7 @@
|
|
|
this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.MidSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.MidSource = new System.Windows.Forms.BindingSource();
|
|
|
this.ChooseAll = new System.Windows.Forms.Button();
|
|
|
this.ExportFileDialog = new System.Windows.Forms.FolderBrowserDialog();
|
|
|
this.AttachInfo = new System.Windows.Forms.Button();
|
|
|
@@ -93,10 +92,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();
|
|
|
@@ -728,10 +727,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 +761,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 +793,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 +820,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 +888,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(65, 123);
|
|
|
this.label18.Name = "label18";
|
|
|
this.label18.Size = new System.Drawing.Size(13, 17);
|
|
|
this.label18.TabIndex = 90;
|
|
|
@@ -913,7 +922,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(64, 60);
|
|
|
this.label16.Name = "label16";
|
|
|
this.label16.Size = new System.Drawing.Size(13, 17);
|
|
|
this.label16.TabIndex = 87;
|
|
|
@@ -947,7 +956,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(7, 90);
|
|
|
this.label12.Name = "label12";
|
|
|
this.label12.Size = new System.Drawing.Size(56, 17);
|
|
|
this.label12.TabIndex = 77;
|
|
|
@@ -957,7 +966,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(5, 28);
|
|
|
this.label7.Name = "label7";
|
|
|
this.label7.Size = new System.Drawing.Size(56, 17);
|
|
|
this.label7.TabIndex = 76;
|
|
|
@@ -1227,7 +1236,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(83, 178);
|
|
|
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 +1251,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(6, 93);
|
|
|
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 +1309,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(8, 123);
|
|
|
this.label2.Name = "label2";
|
|
|
this.label2.Size = new System.Drawing.Size(32, 17);
|
|
|
this.label2.TabIndex = 92;
|
|
|
@@ -1323,7 +1332,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(8, 156);
|
|
|
this.label5.Name = "label5";
|
|
|
this.label5.Size = new System.Drawing.Size(32, 17);
|
|
|
this.label5.TabIndex = 50;
|
|
|
@@ -1356,7 +1365,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(5, 90);
|
|
|
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 +1408,7 @@
|
|
|
// LogingOut
|
|
|
//
|
|
|
this.LogingOut.AutoSize = true;
|
|
|
- this.LogingOut.Location = new System.Drawing.Point(104, 10);
|
|
|
+ this.LogingOut.Location = new System.Drawing.Point(102, 8);
|
|
|
this.LogingOut.Name = "LogingOut";
|
|
|
this.LogingOut.Size = new System.Drawing.Size(42, 21);
|
|
|
this.LogingOut.TabIndex = 77;
|
|
|
@@ -1425,7 +1434,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(10, 149);
|
|
|
this.label10.Name = "label10";
|
|
|
this.label10.Size = new System.Drawing.Size(32, 17);
|
|
|
this.label10.TabIndex = 90;
|
|
|
@@ -1435,7 +1444,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(10, 115);
|
|
|
this.label6.Name = "label6";
|
|
|
this.label6.Size = new System.Drawing.Size(32, 17);
|
|
|
this.label6.TabIndex = 87;
|
|
|
@@ -1489,7 +1498,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 +1550,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 +1684,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;
|