From ed504b73178fc5052cbffe1b360bd5d18b3b29b8 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期五, 07 七月 2023 11:28:35 +0800 Subject: [PATCH] 称重入库模块修改(增加作废、反作废功能;增加包号,选择不良原因;保存时根据是否自动打印进行是否跳出打印模版选择框控制) --- WarM/条码打印/Kf_WeighToBarCode.designer.cs | 126 +++++++++++++++++++++++++++++++++++------ 1 files changed, 107 insertions(+), 19 deletions(-) diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.designer.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.designer.cs" index bd6d605..5094230 100644 --- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.designer.cs" +++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.designer.cs" @@ -30,8 +30,8 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Kf_WeighToBarCode)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = 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(); this.Tool = new System.Windows.Forms.ToolStrip(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.mrlk = new System.Windows.Forms.ToolStripButton(); @@ -55,6 +55,8 @@ this.label4 = new System.Windows.Forms.Label(); this.txtHMaterNumber = new System.Windows.Forms.TextBox(); this.gbUp = new System.Windows.Forms.GroupBox(); + this.cmdFZF = new System.Windows.Forms.Button(); + this.cmdZF = new System.Windows.Forms.Button(); this.txtHDeptName = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.txtHBatchNo = new System.Windows.Forms.TextBox(); @@ -88,6 +90,10 @@ this.涓棿 = new System.Windows.Forms.Panel(); this.搴曢儴 = new System.Windows.Forms.Panel(); this.鍙充晶 = new System.Windows.Forms.Panel(); + this.chkHDYFlag = new System.Windows.Forms.CheckBox(); + this.cmdHBadReasonID = new System.Windows.Forms.Button(); + this.label13 = new System.Windows.Forms.Label(); + this.txtHBarcodeNo = new System.Windows.Forms.TextBox(); this.Tool.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit(); this.gbUp.SuspendLayout(); @@ -260,14 +266,14 @@ this.grdMain.AllowUserToDeleteRows = false; this.grdMain.BackgroundColor = System.Drawing.SystemColors.ControlLightLight; this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle1.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.grdMain.DefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle7.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.grdMain.DefaultCellStyle = dataGridViewCellStyle7; this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; this.grdMain.Location = new System.Drawing.Point(3, 3); this.grdMain.Margin = new System.Windows.Forms.Padding(0); @@ -317,7 +323,8 @@ this.txtHRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.txtHRemark.Location = new System.Drawing.Point(102, 112); this.txtHRemark.Name = "txtHRemark"; - this.txtHRemark.Size = new System.Drawing.Size(713, 21); + this.txtHRemark.ReadOnly = true; + this.txtHRemark.Size = new System.Drawing.Size(691, 21); this.txtHRemark.TabIndex = 53; // // label4 @@ -344,6 +351,12 @@ // gbUp // this.gbUp.BackColor = System.Drawing.Color.Transparent; + this.gbUp.Controls.Add(this.label13); + this.gbUp.Controls.Add(this.txtHBarcodeNo); + this.gbUp.Controls.Add(this.cmdHBadReasonID); + this.gbUp.Controls.Add(this.chkHDYFlag); + this.gbUp.Controls.Add(this.cmdFZF); + this.gbUp.Controls.Add(this.cmdZF); this.gbUp.Controls.Add(this.txtHDeptName); this.gbUp.Controls.Add(this.label12); this.gbUp.Controls.Add(this.txtHBatchNo); @@ -376,6 +389,32 @@ this.gbUp.Size = new System.Drawing.Size(1105, 186); this.gbUp.TabIndex = 58; this.gbUp.TabStop = false; + // + // cmdFZF + // + this.cmdFZF.BackColor = System.Drawing.Color.White; + this.cmdFZF.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.cmdFZF.Location = new System.Drawing.Point(729, 142); + this.cmdFZF.Margin = new System.Windows.Forms.Padding(2); + this.cmdFZF.Name = "cmdFZF"; + this.cmdFZF.Size = new System.Drawing.Size(86, 32); + this.cmdFZF.TabIndex = 157; + this.cmdFZF.Text = "鍙嶄綔搴�"; + this.cmdFZF.UseVisualStyleBackColor = false; + this.cmdFZF.Click += new System.EventHandler(this.cmdFZF_Click); + // + // cmdZF + // + this.cmdZF.BackColor = System.Drawing.Color.White; + this.cmdZF.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.cmdZF.Location = new System.Drawing.Point(635, 142); + this.cmdZF.Margin = new System.Windows.Forms.Padding(2); + this.cmdZF.Name = "cmdZF"; + this.cmdZF.Size = new System.Drawing.Size(86, 32); + this.cmdZF.TabIndex = 156; + this.cmdZF.Text = "浣滃簾"; + this.cmdZF.UseVisualStyleBackColor = false; + this.cmdZF.Click += new System.EventHandler(this.cmdZF_Click); // // txtHDeptName // @@ -597,14 +636,14 @@ this.grdSub.AllowUserToDeleteRows = false; this.grdSub.BackgroundColor = System.Drawing.SystemColors.ControlLightLight; this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.grdSub.DefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle8.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.grdSub.DefaultCellStyle = dataGridViewCellStyle8; this.grdSub.Dock = System.Windows.Forms.DockStyle.Fill; this.grdSub.Location = new System.Drawing.Point(0, 73); this.grdSub.Margin = new System.Windows.Forms.Padding(0); @@ -736,6 +775,49 @@ this.鍙充晶.Size = new System.Drawing.Size(12, 627); this.鍙充晶.TabIndex = 64; // + // chkHDYFlag + // + this.chkHDYFlag.AutoSize = true; + this.chkHDYFlag.Location = new System.Drawing.Point(558, 156); + this.chkHDYFlag.Margin = new System.Windows.Forms.Padding(2); + this.chkHDYFlag.Name = "chkHDYFlag"; + this.chkHDYFlag.Size = new System.Drawing.Size(72, 16); + this.chkHDYFlag.TabIndex = 316; + this.chkHDYFlag.Text = "鑷姩鎵撳嵃"; + this.chkHDYFlag.UseVisualStyleBackColor = true; + // + // cmdHBadReasonID + // + this.cmdHBadReasonID.BackColor = System.Drawing.Color.Transparent; + this.cmdHBadReasonID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHBadReasonID.Image"))); + this.cmdHBadReasonID.ImageAlign = System.Drawing.ContentAlignment.TopRight; + this.cmdHBadReasonID.Location = new System.Drawing.Point(793, 111); + this.cmdHBadReasonID.Name = "cmdHBadReasonID"; + this.cmdHBadReasonID.Size = new System.Drawing.Size(22, 22); + this.cmdHBadReasonID.TabIndex = 317; + this.cmdHBadReasonID.UseVisualStyleBackColor = false; + this.cmdHBadReasonID.Click += new System.EventHandler(this.cmdHBadReasonID_Click); + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label13.ForeColor = System.Drawing.Color.Black; + this.label13.Location = new System.Drawing.Point(633, 88); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(29, 12); + this.label13.TabIndex = 318; + this.label13.Text = "鍖呭彿"; + // + // txtHBarcodeNo + // + this.txtHBarcodeNo.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtHBarcodeNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.txtHBarcodeNo.Location = new System.Drawing.Point(687, 84); + this.txtHBarcodeNo.Name = "txtHBarcodeNo"; + this.txtHBarcodeNo.Size = new System.Drawing.Size(128, 21); + this.txtHBarcodeNo.TabIndex = 319; + // // Kf_WeighToBarCode // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -827,5 +909,11 @@ private System.Windows.Forms.Panel 涓棿; private System.Windows.Forms.Panel 搴曢儴; private System.Windows.Forms.Panel 鍙充晶; + private System.Windows.Forms.Button cmdFZF; + private System.Windows.Forms.Button cmdZF; + private System.Windows.Forms.CheckBox chkHDYFlag; + private System.Windows.Forms.Button cmdHBadReasonID; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.TextBox txtHBarcodeNo; } } \ No newline at end of file -- Gitblit v1.9.1