Просмотр исходного кода

批量报损,页面布局调整,条码输入框 按回车 区分条码

chenxy 7 месяцев назад
Родитель
Сommit
e5858c90eb

+ 458 - 0
DK.Client/PMModule/F_PM_1107.Designer - 副本.cs

@@ -0,0 +1,458 @@
+namespace Dongke.IBOSS.PRD.Client.PMModule
+{
+    partial class F_PM_1107
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_PM_1107));
+            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.lblBarCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.lblRreason = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.lblRemarks = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.txtRemarks = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
+            this.btnSave = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
+            this.btnCancel = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
+            this.lblResponsible = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.dgvResponsible = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
+            this.StaffCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.UJobsName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.txtBarCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_BarCode();
+            this.cmbRreason = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
+            this.lblAuditStatus = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.cmbAuditStatus = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
+            this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.detailsView = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
+            this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvResponsible)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.detailsView)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // lblBarCode
+            // 
+            this.lblBarCode.AutoSize = true;
+            this.lblBarCode.BackColor = System.Drawing.Color.Transparent;
+            this.lblBarCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblBarCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.lblBarCode.IsMustInput = true;
+            this.lblBarCode.Location = new System.Drawing.Point(12, 16);
+            this.lblBarCode.Name = "lblBarCode";
+            this.lblBarCode.Size = new System.Drawing.Size(53, 12);
+            this.lblBarCode.TabIndex = 0;
+            this.lblBarCode.Text = "产品条码";
+            // 
+            // lblRreason
+            // 
+            this.lblRreason.AutoSize = true;
+            this.lblRreason.BackColor = System.Drawing.Color.Transparent;
+            this.lblRreason.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblRreason.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.lblRreason.IsMustInput = true;
+            this.lblRreason.Location = new System.Drawing.Point(11, 397);
+            this.lblRreason.Name = "lblRreason";
+            this.lblRreason.Size = new System.Drawing.Size(53, 12);
+            this.lblRreason.TabIndex = 31;
+            this.lblRreason.Text = "损坯原因";
+            // 
+            // lblRemarks
+            // 
+            this.lblRemarks.AutoSize = true;
+            this.lblRemarks.BackColor = System.Drawing.Color.Transparent;
+            this.lblRemarks.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblRemarks.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lblRemarks.Location = new System.Drawing.Point(32, 433);
+            this.lblRemarks.Name = "lblRemarks";
+            this.lblRemarks.Size = new System.Drawing.Size(29, 12);
+            this.lblRemarks.TabIndex = 32;
+            this.lblRemarks.Text = "备注";
+            // 
+            // txtRemarks
+            // 
+            this.txtRemarks.BackColor = System.Drawing.SystemColors.Window;
+            this.txtRemarks.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtRemarks.ErrorMessage = "";
+            this.txtRemarks.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtRemarks.Location = new System.Drawing.Point(67, 433);
+            this.txtRemarks.MaxLength = 70;
+            this.txtRemarks.Multiline = true;
+            this.txtRemarks.Name = "txtRemarks";
+            this.txtRemarks.Size = new System.Drawing.Size(528, 53);
+            this.txtRemarks.TabIndex = 7;
+            // 
+            // btnSave
+            // 
+            this.btnSave.BackColor = System.Drawing.Color.Transparent;
+            this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
+            this.btnSave.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnSave.ForeColor = System.Drawing.Color.White;
+            this.btnSave.Location = new System.Drawing.Point(655, 501);
+            this.btnSave.Name = "btnSave";
+            this.btnSave.Size = new System.Drawing.Size(85, 30);
+            this.btnSave.TabIndex = 8;
+            this.btnSave.Text = "保存(&S)";
+            this.btnSave.UseVisualStyleBackColor = false;
+            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+            // 
+            // btnCancel
+            // 
+            this.btnCancel.BackColor = System.Drawing.Color.Transparent;
+            this.btnCancel.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnCancel.BackgroundImage")));
+            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+            this.btnCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnCancel.ForeColor = System.Drawing.Color.White;
+            this.btnCancel.Location = new System.Drawing.Point(746, 501);
+            this.btnCancel.Name = "btnCancel";
+            this.btnCancel.Size = new System.Drawing.Size(85, 30);
+            this.btnCancel.TabIndex = 9;
+            this.btnCancel.Text = "关闭";
+            this.btnCancel.UseVisualStyleBackColor = false;
+            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+            // 
+            // lblResponsible
+            // 
+            this.lblResponsible.AutoSize = true;
+            this.lblResponsible.BackColor = System.Drawing.Color.Transparent;
+            this.lblResponsible.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblResponsible.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lblResponsible.Location = new System.Drawing.Point(12, 126);
+            this.lblResponsible.Name = "lblResponsible";
+            this.lblResponsible.Size = new System.Drawing.Size(53, 12);
+            this.lblResponsible.TabIndex = 36;
+            this.lblResponsible.Text = "产品详情";
+            // 
+            // dgvResponsible
+            // 
+            this.dgvResponsible.AllowUserToAddRows = false;
+            this.dgvResponsible.AllowUserToDeleteRows = false;
+            this.dgvResponsible.AllowUserToModifyRows = true;
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+            this.dgvResponsible.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvResponsible.Anchor = System.Windows.Forms.AnchorStyles.None;
+            this.dgvResponsible.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            this.dgvResponsible.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
+            this.dgvResponsible.CellHeight = 23;
+            this.dgvResponsible.ChildNodeColumnName = null;
+            this.dgvResponsible.ChildNodeColumnText = null;
+            this.dgvResponsible.ColumnDeep = 1;
+            this.dgvResponsible.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvResponsible.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+            this.dgvResponsible.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvResponsible.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.StaffCode,
+            this.UJobsName});
+            this.dgvResponsible.ColumnTreeView = null;
+            this.dgvResponsible.ContextMenuVisible = ((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags)((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.Refine | Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.FileOut)));
+            this.dgvResponsible.DynamicColumnName = "";
+            this.dgvResponsible.EnableHeadersVisualStyles = false;
+            this.dgvResponsible.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvResponsible.FormatQuantityColumns = null;
+            this.dgvResponsible.HasNode = false;
+            this.dgvResponsible.HorizontalMergeColumn = null;
+            this.dgvResponsible.IsAutoCountSum = true;
+            this.dgvResponsible.IsAutoResizeColumns = false;
+            this.dgvResponsible.IsClickF12 = false;
+            this.dgvResponsible.IsOpenMergeCellFlag = false;
+            this.dgvResponsible.IsSubTotalFlag = false;
+            this.dgvResponsible.IsTopDeep = false;
+            this.dgvResponsible.Location = new System.Drawing.Point(70, 126);
+            this.dgvResponsible.MergeColumnNames = null;
+            this.dgvResponsible.MergeDetailColumnNames = null;
+            this.dgvResponsible.MergeDetailOnlyColumn = null;
+            this.dgvResponsible.MergeOnlyColumn = null;
+            this.dgvResponsible.Name = "dgvResponsible";
+            this.dgvResponsible.ReadOnly = true;
+            this.dgvResponsible.RefreshAtHscroll = false;
+            this.dgvResponsible.RowHeadersWidth = 50;
+            this.dgvResponsible.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.dgvResponsible.RowsDefaultCellStyle = dataGridViewCellStyle3;
+            this.dgvResponsible.RowTemplate.Height = 21;
+            this.dgvResponsible.Size = new System.Drawing.Size(370, 262);
+            this.dgvResponsible.SortOrderColumnName = null;
+            this.dgvResponsible.TabIndex = 5;
+            this.dgvResponsible.Tag = true;
+            this.dgvResponsible.TotalSumColumns = null;
+            this.dgvResponsible.ViewRowFilter = "";
+            this.dgvResponsible.VirtualNodes = false;
+            // 
+            // StaffCode
+            // 
+            this.StaffCode.DataPropertyName = "ProductCode";
+            this.StaffCode.HeaderText = "产品条码";
+            this.StaffCode.Name = "StaffCode";
+            this.StaffCode.ReadOnly = true;
+            // 
+            // UJobsName
+            // 
+            this.UJobsName.DataPropertyName = "notes";
+            this.UJobsName.HeaderText = "备注";
+            this.UJobsName.Name = "UJobsName";
+            this.UJobsName.ReadOnly = true;
+            this.UJobsName.Width = 200;
+            // 
+            // txtBarCode
+            // 
+            this.txtBarCode.BackColor = System.Drawing.SystemColors.Window;
+            this.txtBarCode.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtBarCode.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+            this.txtBarCode.ErrorMessage = "";
+            this.txtBarCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtBarCode.ImeMode = System.Windows.Forms.ImeMode.Off;
+            this.txtBarCode.Location = new System.Drawing.Point(70, 12);
+            this.txtBarCode.MaxLength = 550;
+            this.txtBarCode.Multiline = true;
+            this.txtBarCode.Name = "txtBarCode";
+            this.txtBarCode.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+            this.txtBarCode.Size = new System.Drawing.Size(249, 108);
+            this.txtBarCode.TabIndex = 1;
+            this.txtBarCode.TextValue = "";
+            this.txtBarCode.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtBarCode_KeyPress);
+            // 
+            // cmbRreason
+            // 
+            this.cmbRreason.BackColor = System.Drawing.SystemColors.Window;
+            this.cmbRreason.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.cmbRreason.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbRreason.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmbRreason.FormattingEnabled = true;
+            this.cmbRreason.Location = new System.Drawing.Point(70, 394);
+            this.cmbRreason.Name = "cmbRreason";
+            this.cmbRreason.Size = new System.Drawing.Size(370, 20);
+            this.cmbRreason.TabIndex = 46;
+            // 
+            // lblAuditStatus
+            // 
+            this.lblAuditStatus.AutoSize = true;
+            this.lblAuditStatus.BackColor = System.Drawing.Color.Transparent;
+            this.lblAuditStatus.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblAuditStatus.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lblAuditStatus.Location = new System.Drawing.Point(12, 504);
+            this.lblAuditStatus.Name = "lblAuditStatus";
+            this.lblAuditStatus.Size = new System.Drawing.Size(53, 12);
+            this.lblAuditStatus.TabIndex = 32;
+            this.lblAuditStatus.Text = "审核状态";
+            // 
+            // cmbAuditStatus
+            // 
+            this.cmbAuditStatus.BackColor = System.Drawing.SystemColors.Window;
+            this.cmbAuditStatus.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.cmbAuditStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbAuditStatus.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmbAuditStatus.FormattingEnabled = true;
+            this.cmbAuditStatus.Location = new System.Drawing.Point(67, 501);
+            this.cmbAuditStatus.Name = "cmbAuditStatus";
+            this.cmbAuditStatus.Size = new System.Drawing.Size(144, 20);
+            this.cmbAuditStatus.TabIndex = 47;
+            // 
+            // c_Label1
+            // 
+            this.c_Label1.AutoSize = true;
+            this.c_Label1.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label1.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label1.Location = new System.Drawing.Point(446, 126);
+            this.c_Label1.Name = "c_Label1";
+            this.c_Label1.Size = new System.Drawing.Size(29, 12);
+            this.c_Label1.TabIndex = 48;
+            this.c_Label1.Text = "详情";
+            // 
+            // detailsView
+            // 
+            this.detailsView.AllowUserToAddRows = false;
+            this.detailsView.AllowUserToDeleteRows = false;
+            this.detailsView.AllowUserToModifyRows = true;
+            dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+            this.detailsView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
+            this.detailsView.Anchor = System.Windows.Forms.AnchorStyles.None;
+            this.detailsView.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            this.detailsView.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
+            this.detailsView.CellHeight = 23;
+            this.detailsView.ChildNodeColumnName = null;
+            this.detailsView.ChildNodeColumnText = null;
+            this.detailsView.ColumnDeep = 1;
+            this.detailsView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+            dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle5.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.detailsView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
+            this.detailsView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.detailsView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.dataGridViewTextBoxColumn2,
+            this.dataGridViewTextBoxColumn1});
+            this.detailsView.ColumnTreeView = null;
+            this.detailsView.ContextMenuVisible = ((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags)((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.Refine | Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.FileOut)));
+            this.detailsView.DynamicColumnName = "";
+            this.detailsView.EnableHeadersVisualStyles = false;
+            this.detailsView.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.detailsView.FormatQuantityColumns = null;
+            this.detailsView.HasNode = false;
+            this.detailsView.HorizontalMergeColumn = null;
+            this.detailsView.IsAutoCountSum = true;
+            this.detailsView.IsAutoResizeColumns = false;
+            this.detailsView.IsClickF12 = false;
+            this.detailsView.IsOpenMergeCellFlag = false;
+            this.detailsView.IsSubTotalFlag = false;
+            this.detailsView.IsTopDeep = false;
+            this.detailsView.Location = new System.Drawing.Point(481, 126);
+            this.detailsView.MergeColumnNames = null;
+            this.detailsView.MergeDetailColumnNames = null;
+            this.detailsView.MergeDetailOnlyColumn = null;
+            this.detailsView.MergeOnlyColumn = null;
+            this.detailsView.Name = "detailsView";
+            this.detailsView.ReadOnly = true;
+            this.detailsView.RefreshAtHscroll = false;
+            this.detailsView.RowHeadersWidth = 50;
+            this.detailsView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.detailsView.RowsDefaultCellStyle = dataGridViewCellStyle6;
+            this.detailsView.RowTemplate.Height = 21;
+            this.detailsView.Size = new System.Drawing.Size(367, 262);
+            this.detailsView.SortOrderColumnName = null;
+            this.detailsView.TabIndex = 49;
+            this.detailsView.Tag = true;
+            this.detailsView.TotalSumColumns = null;
+            this.detailsView.ViewRowFilter = "";
+            this.detailsView.VirtualNodes = false;
+            // 
+            // dataGridViewTextBoxColumn2
+            // 
+            this.dataGridViewTextBoxColumn2.DataPropertyName = "ProductCode";
+            this.dataGridViewTextBoxColumn2.HeaderText = "产品条码";
+            this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+            this.dataGridViewTextBoxColumn2.ReadOnly = true;
+            // 
+            // dataGridViewTextBoxColumn1
+            // 
+            this.dataGridViewTextBoxColumn1.DataPropertyName = "notes";
+            this.dataGridViewTextBoxColumn1.HeaderText = "详情";
+            this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+            this.dataGridViewTextBoxColumn1.ReadOnly = true;
+            this.dataGridViewTextBoxColumn1.Width = 200;
+            // 
+            // c_Label2
+            // 
+            this.c_Label2.AutoSize = true;
+            this.c_Label2.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label2.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label2.Location = new System.Drawing.Point(341, 16);
+            this.c_Label2.Name = "c_Label2";
+            this.c_Label2.Size = new System.Drawing.Size(191, 12);
+            this.c_Label2.TabIndex = 50;
+            this.c_Label2.Text = "注:可输入产品条码最大的数量为50";
+            // 
+            // F_PM_1107
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.CancelButton = this.btnCancel;
+            this.ClientSize = new System.Drawing.Size(860, 555);
+            this.Controls.Add(this.c_Label2);
+            this.Controls.Add(this.detailsView);
+            this.Controls.Add(this.c_Label1);
+            this.Controls.Add(this.cmbAuditStatus);
+            this.Controls.Add(this.cmbRreason);
+            this.Controls.Add(this.txtBarCode);
+            this.Controls.Add(this.dgvResponsible);
+            this.Controls.Add(this.lblResponsible);
+            this.Controls.Add(this.btnCancel);
+            this.Controls.Add(this.btnSave);
+            this.Controls.Add(this.txtRemarks);
+            this.Controls.Add(this.lblAuditStatus);
+            this.Controls.Add(this.lblRemarks);
+            this.Controls.Add(this.lblRreason);
+            this.Controls.Add(this.lblBarCode);
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
+            this.IsSaveFormSize = false;
+            this.MaximizeBox = false;
+            this.MinimizeBox = false;
+            this.Name = "F_PM_1107";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.StatusSizingGrip = false;
+            this.Text = "F_PM_1107";
+            this.Load += new System.EventHandler(this.F_PM_1107_Load);
+            this.Controls.SetChildIndex(this.lblBarCode, 0);
+            this.Controls.SetChildIndex(this.lblRreason, 0);
+            this.Controls.SetChildIndex(this.lblRemarks, 0);
+            this.Controls.SetChildIndex(this.lblAuditStatus, 0);
+            this.Controls.SetChildIndex(this.txtRemarks, 0);
+            this.Controls.SetChildIndex(this.btnSave, 0);
+            this.Controls.SetChildIndex(this.btnCancel, 0);
+            this.Controls.SetChildIndex(this.lblResponsible, 0);
+            this.Controls.SetChildIndex(this.dgvResponsible, 0);
+            this.Controls.SetChildIndex(this.txtBarCode, 0);
+            this.Controls.SetChildIndex(this.cmbRreason, 0);
+            this.Controls.SetChildIndex(this.cmbAuditStatus, 0);
+            this.Controls.SetChildIndex(this.c_Label1, 0);
+            this.Controls.SetChildIndex(this.detailsView, 0);
+            this.Controls.SetChildIndex(this.c_Label2, 0);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvResponsible)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.detailsView)).EndInit();
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private Basics.BaseControls.C_Label lblBarCode;
+        private Basics.BaseControls.C_Label lblRreason;
+        private Basics.BaseControls.C_Label lblRemarks;
+        private Basics.BaseControls.C_TextBox txtRemarks;
+        private Basics.BaseControls.C_Button btnSave;
+        private Basics.BaseControls.C_Button btnCancel;
+        private Basics.BaseControls.C_Label lblResponsible;
+        private Basics.BaseControls.C_DataGridView dgvResponsible;
+        private Basics.BaseControls.C_TXT_BarCode txtBarCode;
+        private Basics.BaseControls.C_ComboBox cmbRreason;
+        private Basics.BaseControls.C_Label lblAuditStatus;
+        private Basics.BaseControls.C_ComboBox cmbAuditStatus;
+        private Basics.BaseControls.C_Label c_Label1;
+        private Basics.BaseControls.C_DataGridView detailsView;
+        private Basics.BaseControls.C_Label c_Label2;
+        private System.Windows.Forms.DataGridViewTextBoxColumn StaffCode;
+        private System.Windows.Forms.DataGridViewTextBoxColumn UJobsName;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
+    }
+}

+ 96 - 79
DK.Client/PMModule/F_PM_1107.Designer.cs

@@ -28,12 +28,12 @@
         private void InitializeComponent()
         {
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_PM_1107));
-            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();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle();
             this.lblBarCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.lblRreason = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.lblRemarks = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
@@ -42,17 +42,18 @@
             this.btnCancel = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
             this.lblResponsible = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.dgvResponsible = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
-            this.txtBarCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_BarCode();
+            this.StaffCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.UJobsName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.txtBarCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
             this.cmbRreason = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
             this.lblAuditStatus = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.cmbAuditStatus = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
             this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.detailsView = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
-            this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.StaffCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.UJobsName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.button1 = new System.Windows.Forms.Button();
             ((System.ComponentModel.ISupportInitialize)(this.dgvResponsible)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.detailsView)).BeginInit();
             this.SuspendLayout();
@@ -64,7 +65,7 @@
             this.lblBarCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblBarCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.lblBarCode.IsMustInput = true;
-            this.lblBarCode.Location = new System.Drawing.Point(12, 16);
+            this.lblBarCode.Location = new System.Drawing.Point(12, 32);
             this.lblBarCode.Name = "lblBarCode";
             this.lblBarCode.Size = new System.Drawing.Size(53, 12);
             this.lblBarCode.TabIndex = 0;
@@ -77,7 +78,7 @@
             this.lblRreason.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblRreason.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.lblRreason.IsMustInput = true;
-            this.lblRreason.Location = new System.Drawing.Point(12, 402);
+            this.lblRreason.Location = new System.Drawing.Point(341, 35);
             this.lblRreason.Name = "lblRreason";
             this.lblRreason.Size = new System.Drawing.Size(53, 12);
             this.lblRreason.TabIndex = 31;
@@ -89,7 +90,7 @@
             this.lblRemarks.BackColor = System.Drawing.Color.Transparent;
             this.lblRemarks.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblRemarks.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblRemarks.Location = new System.Drawing.Point(12, 460);
+            this.lblRemarks.Location = new System.Drawing.Point(365, 98);
             this.lblRemarks.Name = "lblRemarks";
             this.lblRemarks.Size = new System.Drawing.Size(29, 12);
             this.lblRemarks.TabIndex = 32;
@@ -101,11 +102,12 @@
             this.txtRemarks.BackgroundColor = System.Drawing.SystemColors.Window;
             this.txtRemarks.ErrorMessage = "";
             this.txtRemarks.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtRemarks.Location = new System.Drawing.Point(47, 433);
-            this.txtRemarks.MaxLength = 70;
+            this.txtRemarks.Location = new System.Drawing.Point(400, 98);
+            this.txtRemarks.MaxLength = 500;
             this.txtRemarks.Multiline = true;
             this.txtRemarks.Name = "txtRemarks";
-            this.txtRemarks.Size = new System.Drawing.Size(548, 53);
+            this.txtRemarks.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+            this.txtRemarks.Size = new System.Drawing.Size(357, 104);
             this.txtRemarks.TabIndex = 7;
             // 
             // btnSave
@@ -114,7 +116,7 @@
             this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
             this.btnSave.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnSave.ForeColor = System.Drawing.Color.White;
-            this.btnSave.Location = new System.Drawing.Point(647, 504);
+            this.btnSave.Location = new System.Drawing.Point(672, 500);
             this.btnSave.Name = "btnSave";
             this.btnSave.Size = new System.Drawing.Size(85, 30);
             this.btnSave.TabIndex = 8;
@@ -129,7 +131,7 @@
             this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
             this.btnCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnCancel.ForeColor = System.Drawing.Color.White;
-            this.btnCancel.Location = new System.Drawing.Point(746, 501);
+            this.btnCancel.Location = new System.Drawing.Point(763, 500);
             this.btnCancel.Name = "btnCancel";
             this.btnCancel.Size = new System.Drawing.Size(85, 30);
             this.btnCancel.TabIndex = 9;
@@ -143,7 +145,7 @@
             this.lblResponsible.BackColor = System.Drawing.Color.Transparent;
             this.lblResponsible.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblResponsible.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblResponsible.Location = new System.Drawing.Point(12, 126);
+            this.lblResponsible.Location = new System.Drawing.Point(11, 232);
             this.lblResponsible.Name = "lblResponsible";
             this.lblResponsible.Size = new System.Drawing.Size(53, 12);
             this.lblResponsible.TabIndex = 36;
@@ -154,8 +156,8 @@
             this.dgvResponsible.AllowUserToAddRows = false;
             this.dgvResponsible.AllowUserToDeleteRows = false;
             this.dgvResponsible.AllowUserToModifyRows = true;
-            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
-            this.dgvResponsible.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle49.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+            this.dgvResponsible.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle49;
             this.dgvResponsible.Anchor = System.Windows.Forms.AnchorStyles.None;
             this.dgvResponsible.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
             this.dgvResponsible.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
@@ -164,14 +166,14 @@
             this.dgvResponsible.ChildNodeColumnText = null;
             this.dgvResponsible.ColumnDeep = 1;
             this.dgvResponsible.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
-            dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
-            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvResponsible.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle50.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+            dataGridViewCellStyle50.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle50.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle50.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle50.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle50.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvResponsible.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle50;
             this.dgvResponsible.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvResponsible.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.StaffCode,
@@ -190,7 +192,7 @@
             this.dgvResponsible.IsOpenMergeCellFlag = false;
             this.dgvResponsible.IsSubTotalFlag = false;
             this.dgvResponsible.IsTopDeep = false;
-            this.dgvResponsible.Location = new System.Drawing.Point(70, 126);
+            this.dgvResponsible.Location = new System.Drawing.Point(70, 232);
             this.dgvResponsible.MergeColumnNames = null;
             this.dgvResponsible.MergeDetailColumnNames = null;
             this.dgvResponsible.MergeDetailOnlyColumn = null;
@@ -200,8 +202,8 @@
             this.dgvResponsible.RefreshAtHscroll = false;
             this.dgvResponsible.RowHeadersWidth = 50;
             this.dgvResponsible.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
-            this.dgvResponsible.RowsDefaultCellStyle = dataGridViewCellStyle3;
+            dataGridViewCellStyle51.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.dgvResponsible.RowsDefaultCellStyle = dataGridViewCellStyle51;
             this.dgvResponsible.RowTemplate.Height = 21;
             this.dgvResponsible.Size = new System.Drawing.Size(370, 262);
             this.dgvResponsible.SortOrderColumnName = null;
@@ -211,6 +213,21 @@
             this.dgvResponsible.ViewRowFilter = "";
             this.dgvResponsible.VirtualNodes = false;
             // 
+            // StaffCode
+            // 
+            this.StaffCode.DataPropertyName = "ProductCode";
+            this.StaffCode.HeaderText = "产品条码";
+            this.StaffCode.Name = "StaffCode";
+            this.StaffCode.ReadOnly = true;
+            // 
+            // UJobsName
+            // 
+            this.UJobsName.DataPropertyName = "notes";
+            this.UJobsName.HeaderText = "备注";
+            this.UJobsName.Name = "UJobsName";
+            this.UJobsName.ReadOnly = true;
+            this.UJobsName.Width = 200;
+            // 
             // txtBarCode
             // 
             this.txtBarCode.BackColor = System.Drawing.SystemColors.Window;
@@ -219,12 +236,12 @@
             this.txtBarCode.ErrorMessage = "";
             this.txtBarCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtBarCode.ImeMode = System.Windows.Forms.ImeMode.Off;
-            this.txtBarCode.Location = new System.Drawing.Point(70, 12);
-            this.txtBarCode.MaxLength = 550;
+            this.txtBarCode.Location = new System.Drawing.Point(70, 32);
+            this.txtBarCode.MaxLength = 9000;
             this.txtBarCode.Multiline = true;
             this.txtBarCode.Name = "txtBarCode";
             this.txtBarCode.ScrollBars = System.Windows.Forms.ScrollBars.Both;
-            this.txtBarCode.Size = new System.Drawing.Size(249, 108);
+            this.txtBarCode.Size = new System.Drawing.Size(192, 194);
             this.txtBarCode.TabIndex = 1;
             this.txtBarCode.TextValue = "";
             this.txtBarCode.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtBarCode_KeyPress);
@@ -236,9 +253,9 @@
             this.cmbRreason.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cmbRreason.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.cmbRreason.FormattingEnabled = true;
-            this.cmbRreason.Location = new System.Drawing.Point(67, 394);
+            this.cmbRreason.Location = new System.Drawing.Point(400, 32);
             this.cmbRreason.Name = "cmbRreason";
-            this.cmbRreason.Size = new System.Drawing.Size(528, 20);
+            this.cmbRreason.Size = new System.Drawing.Size(357, 20);
             this.cmbRreason.TabIndex = 46;
             // 
             // lblAuditStatus
@@ -246,8 +263,9 @@
             this.lblAuditStatus.AutoSize = true;
             this.lblAuditStatus.BackColor = System.Drawing.Color.Transparent;
             this.lblAuditStatus.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblAuditStatus.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblAuditStatus.Location = new System.Drawing.Point(12, 504);
+            this.lblAuditStatus.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.lblAuditStatus.IsMustInput = true;
+            this.lblAuditStatus.Location = new System.Drawing.Point(341, 68);
             this.lblAuditStatus.Name = "lblAuditStatus";
             this.lblAuditStatus.Size = new System.Drawing.Size(53, 12);
             this.lblAuditStatus.TabIndex = 32;
@@ -260,7 +278,7 @@
             this.cmbAuditStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cmbAuditStatus.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.cmbAuditStatus.FormattingEnabled = true;
-            this.cmbAuditStatus.Location = new System.Drawing.Point(67, 501);
+            this.cmbAuditStatus.Location = new System.Drawing.Point(400, 65);
             this.cmbAuditStatus.Name = "cmbAuditStatus";
             this.cmbAuditStatus.Size = new System.Drawing.Size(144, 20);
             this.cmbAuditStatus.TabIndex = 47;
@@ -271,19 +289,19 @@
             this.c_Label1.BackColor = System.Drawing.Color.Transparent;
             this.c_Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.c_Label1.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.c_Label1.Location = new System.Drawing.Point(446, 126);
+            this.c_Label1.Location = new System.Drawing.Point(446, 232);
             this.c_Label1.Name = "c_Label1";
             this.c_Label1.Size = new System.Drawing.Size(29, 12);
             this.c_Label1.TabIndex = 48;
-            this.c_Label1.Text = "详情";
+            this.c_Label1.Text = "结果";
             // 
             // detailsView
             // 
             this.detailsView.AllowUserToAddRows = false;
             this.detailsView.AllowUserToDeleteRows = false;
             this.detailsView.AllowUserToModifyRows = true;
-            dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
-            this.detailsView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle52.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+            this.detailsView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle52;
             this.detailsView.Anchor = System.Windows.Forms.AnchorStyles.None;
             this.detailsView.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
             this.detailsView.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
@@ -292,14 +310,14 @@
             this.detailsView.ChildNodeColumnText = null;
             this.detailsView.ColumnDeep = 1;
             this.detailsView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
-            dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle5.ForeColor = System.Drawing.Color.White;
-            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.detailsView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle53.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+            dataGridViewCellStyle53.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle53.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle53.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle53.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle53.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.detailsView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle53;
             this.detailsView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.detailsView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn2,
@@ -318,7 +336,7 @@
             this.detailsView.IsOpenMergeCellFlag = false;
             this.detailsView.IsSubTotalFlag = false;
             this.detailsView.IsTopDeep = false;
-            this.detailsView.Location = new System.Drawing.Point(481, 126);
+            this.detailsView.Location = new System.Drawing.Point(481, 232);
             this.detailsView.MergeColumnNames = null;
             this.detailsView.MergeDetailColumnNames = null;
             this.detailsView.MergeDetailOnlyColumn = null;
@@ -328,8 +346,8 @@
             this.detailsView.RefreshAtHscroll = false;
             this.detailsView.RowHeadersWidth = 50;
             this.detailsView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
-            this.detailsView.RowsDefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle54.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.detailsView.RowsDefaultCellStyle = dataGridViewCellStyle54;
             this.detailsView.RowTemplate.Height = 21;
             this.detailsView.Size = new System.Drawing.Size(367, 262);
             this.detailsView.SortOrderColumnName = null;
@@ -339,18 +357,6 @@
             this.detailsView.ViewRowFilter = "";
             this.detailsView.VirtualNodes = false;
             // 
-            // c_Label2
-            // 
-            this.c_Label2.AutoSize = true;
-            this.c_Label2.BackColor = System.Drawing.Color.Transparent;
-            this.c_Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.c_Label2.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.c_Label2.Location = new System.Drawing.Point(341, 16);
-            this.c_Label2.Name = "c_Label2";
-            this.c_Label2.Size = new System.Drawing.Size(191, 12);
-            this.c_Label2.TabIndex = 50;
-            this.c_Label2.Text = "注:可输入产品条码最大的数量为50";
-            // 
             // dataGridViewTextBoxColumn2
             // 
             this.dataGridViewTextBoxColumn2.DataPropertyName = "ProductCode";
@@ -366,20 +372,27 @@
             this.dataGridViewTextBoxColumn1.ReadOnly = true;
             this.dataGridViewTextBoxColumn1.Width = 200;
             // 
-            // StaffCode
+            // c_Label2
             // 
-            this.StaffCode.DataPropertyName = "ProductCode";
-            this.StaffCode.HeaderText = "产品条码";
-            this.StaffCode.Name = "StaffCode";
-            this.StaffCode.ReadOnly = true;
+            this.c_Label2.AutoSize = true;
+            this.c_Label2.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label2.ForeColor = System.Drawing.Color.Red;
+            this.c_Label2.Location = new System.Drawing.Point(71, 12);
+            this.c_Label2.Name = "c_Label2";
+            this.c_Label2.Size = new System.Drawing.Size(191, 12);
+            this.c_Label2.TabIndex = 50;
+            this.c_Label2.Text = "注:可输入产品条码最大的数量为50";
             // 
-            // UJobsName
+            // button1
             // 
-            this.UJobsName.DataPropertyName = "notes";
-            this.UJobsName.HeaderText = "备注";
-            this.UJobsName.Name = "UJobsName";
-            this.UJobsName.ReadOnly = true;
-            this.UJobsName.Width = 200;
+            this.button1.Location = new System.Drawing.Point(268, 30);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(66, 23);
+            this.button1.TabIndex = 51;
+            this.button1.Text = "清除";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
             // 
             // F_PM_1107
             // 
@@ -387,6 +400,7 @@
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.CancelButton = this.btnCancel;
             this.ClientSize = new System.Drawing.Size(860, 555);
+            this.Controls.Add(this.button1);
             this.Controls.Add(this.c_Label2);
             this.Controls.Add(this.detailsView);
             this.Controls.Add(this.c_Label1);
@@ -426,6 +440,7 @@
             this.Controls.SetChildIndex(this.c_Label1, 0);
             this.Controls.SetChildIndex(this.detailsView, 0);
             this.Controls.SetChildIndex(this.c_Label2, 0);
+            this.Controls.SetChildIndex(this.button1, 0);
             ((System.ComponentModel.ISupportInitialize)(this.dgvResponsible)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.detailsView)).EndInit();
             this.ResumeLayout(false);
@@ -443,7 +458,8 @@
         private Basics.BaseControls.C_Button btnCancel;
         private Basics.BaseControls.C_Label lblResponsible;
         private Basics.BaseControls.C_DataGridView dgvResponsible;
-        private Basics.BaseControls.C_TXT_BarCode txtBarCode;
+        //private Basics.BaseControls.C_TXT_BarCode txtBarCode;
+        private Basics.BaseControls.C_TextBox txtBarCode;
         private Basics.BaseControls.C_ComboBox cmbRreason;
         private Basics.BaseControls.C_Label lblAuditStatus;
         private Basics.BaseControls.C_ComboBox cmbAuditStatus;
@@ -454,5 +470,6 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn UJobsName;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
+        private System.Windows.Forms.Button button1;
     }
 }

+ 16 - 6
DK.Client/PMModule/F_PM_1107.cs

@@ -539,19 +539,24 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 		{
 			try
 			{
-				//清除所有产品条码
-				ReportingLosses.Clear();
-				GroutingScrapProducts.Clear();
 				if ((int)e.KeyChar == 13 && (this.txtBarCode.Text != "" && this.txtBarCode.Text != string.Empty && this.txtBarCode.Text != null)) // 按了回车键
 				{
+					//var sss = SplitLong11(this.txtBarCode.Text);
+					var sss = this.txtBarCode.Lines;
+					//清除所有产品条码
+					ReportingLosses.Clear();
+					GroutingScrapProducts.Clear();
 					var dt = new DataTable();
 					//备注
 					dt.Columns.Add("notes"); 
 					//产品编码
 					dt.Columns.Add("ProductCode"); 
-					var sss = SplitLong11(this.txtBarCode.Text);
 					foreach (var item in sss)
 					{
+						if (string.IsNullOrWhiteSpace(item))
+						{
+							continue;
+						}
 						_barCodeRow = null;
 						string pubg = GroutingScrapProduct(item);
 						if ("NEXT" == pubg)
@@ -1129,6 +1134,11 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 			return pdList;
 		}
 
-		#endregion 
-	}
+        #endregion
+
+        private void button1_Click(object sender, EventArgs e)
+        {
+			this.txtBarCode.Clear();
+        }
+    }
 }