Преглед изворни кода

成型盘点可按照成型工号和成型线

konghe пре 1 година
родитељ
комит
82bebe8b34

+ 493 - 435
DK.Client/PMModule/F_PM_2602.Designer.cs

@@ -28,445 +28,499 @@
         /// </summary>
         private void InitializeComponent()
         {
-			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_PM_2602));
-			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();
-			this.txtRemarks = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
-			this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.btnClose = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
-			this.btnSave = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
-			this.chkDateTime = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
-			this.dtpDateEnd = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DateTimePicker();
-			this.dtpDateStart = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DateTimePicker();
-			this.lblAccountDateEnd = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.txtInvoiceName = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
-			this.dgvFunctionUsers = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
-			this.UserCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
-			this.UserName = new System.Windows.Forms.DataGridViewTextBoxColumn();
-			this.UserID = new System.Windows.Forms.DataGridViewTextBoxColumn();
-			this.c_Label3 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.c_Label4 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.txtBUILDINGNO = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_CodeEx();
-			this.txtFLOORNO = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_CodeEx();
-			this.c_Label5 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.c_Label6 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.lblGoodsType = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.scbGoodsType = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoodsType();
-			this.scbGoods = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoods();
-			this.lblGoods = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			((System.ComponentModel.ISupportInitialize)(this.dgvFunctionUsers)).BeginInit();
-			this.SuspendLayout();
-			// 
-			// 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(82, 118);
-			this.txtRemarks.MaxLength = 500;
-			this.txtRemarks.Multiline = true;
-			this.txtRemarks.Name = "txtRemarks";
-			this.txtRemarks.ScrollBars = System.Windows.Forms.ScrollBars.Both;
-			this.txtRemarks.Size = new System.Drawing.Size(378, 89);
-			this.txtRemarks.TabIndex = 9;
-			this.txtRemarks.TextValue = "";
-			// 
-			// 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.Location = new System.Drawing.Point(44, 118);
-			this.c_Label1.Name = "c_Label1";
-			this.c_Label1.Size = new System.Drawing.Size(29, 12);
-			this.c_Label1.TabIndex = 8;
-			this.c_Label1.Text = "备注";
-			// 
-			// btnClose
-			// 
-			this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-			this.btnClose.BackColor = System.Drawing.Color.Transparent;
-			this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
-			this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
-			this.btnClose.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.btnClose.ForeColor = System.Drawing.Color.White;
-			this.btnClose.Location = new System.Drawing.Point(376, 420);
-			this.btnClose.Name = "btnClose";
-			this.btnClose.Size = new System.Drawing.Size(85, 30);
-			this.btnClose.TabIndex = 6;
-			this.btnClose.Text = "关闭";
-			this.btnClose.UseVisualStyleBackColor = false;
-			// 
-			// btnSave
-			// 
-			this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-			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(285, 420);
-			this.btnSave.Name = "btnSave";
-			this.btnSave.Size = new System.Drawing.Size(85, 30);
-			this.btnSave.TabIndex = 5;
-			this.btnSave.Text = "保存(&S)";
-			this.btnSave.UseVisualStyleBackColor = false;
-			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
-			// 
-			// chkDateTime
-			// 
-			this.chkDateTime.AutoSize = true;
-			this.chkDateTime.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.chkDateTime.Location = new System.Drawing.Point(5, 39);
-			this.chkDateTime.Name = "chkDateTime";
-			this.chkDateTime.Size = new System.Drawing.Size(72, 16);
-			this.chkDateTime.TabIndex = 33;
-			this.chkDateTime.Text = "注浆时间";
-			this.chkDateTime.UseVisualStyleBackColor = true;
-			this.chkDateTime.CheckedChanged += new System.EventHandler(this.chkDateTime_CheckedChanged);
-			// 
-			// dtpDateEnd
-			// 
-			this.dtpDateEnd.CustomFormat = "yyyy-MM-dd HH:mm:ss";
-			this.dtpDateEnd.Enabled = false;
-			this.dtpDateEnd.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.dtpDateEnd.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
-			this.dtpDateEnd.Location = new System.Drawing.Point(299, 37);
-			this.dtpDateEnd.Name = "dtpDateEnd";
-			this.dtpDateEnd.Size = new System.Drawing.Size(161, 21);
-			this.dtpDateEnd.TabIndex = 31;
-			// 
-			// dtpDateStart
-			// 
-			this.dtpDateStart.CustomFormat = "yyyy-MM-dd HH:mm:ss";
-			this.dtpDateStart.Enabled = false;
-			this.dtpDateStart.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.dtpDateStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
-			this.dtpDateStart.Location = new System.Drawing.Point(81, 37);
-			this.dtpDateStart.Name = "dtpDateStart";
-			this.dtpDateStart.Size = new System.Drawing.Size(153, 21);
-			this.dtpDateStart.TabIndex = 30;
-			// 
-			// lblAccountDateEnd
-			// 
-			this.lblAccountDateEnd.AutoSize = true;
-			this.lblAccountDateEnd.BackColor = System.Drawing.Color.Transparent;
-			this.lblAccountDateEnd.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.lblAccountDateEnd.ForeColor = System.Drawing.SystemColors.ControlText;
-			this.lblAccountDateEnd.Location = new System.Drawing.Point(256, 43);
-			this.lblAccountDateEnd.Name = "lblAccountDateEnd";
-			this.lblAccountDateEnd.Size = new System.Drawing.Size(17, 12);
-			this.lblAccountDateEnd.TabIndex = 32;
-			this.lblAccountDateEnd.Text = "至";
-			// 
-			// 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.Location = new System.Drawing.Point(22, 14);
-			this.c_Label2.Name = "c_Label2";
-			this.c_Label2.Size = new System.Drawing.Size(53, 12);
-			this.c_Label2.TabIndex = 8;
-			this.c_Label2.Text = "盘点单名";
-			// 
-			// txtInvoiceName
-			// 
-			this.txtInvoiceName.BackColor = System.Drawing.SystemColors.Window;
-			this.txtInvoiceName.BackgroundColor = System.Drawing.SystemColors.Window;
-			this.txtInvoiceName.ErrorMessage = "";
-			this.txtInvoiceName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.txtInvoiceName.Location = new System.Drawing.Point(81, 8);
-			this.txtInvoiceName.MaxLength = 100;
-			this.txtInvoiceName.Multiline = true;
-			this.txtInvoiceName.Name = "txtInvoiceName";
-			this.txtInvoiceName.Size = new System.Drawing.Size(379, 23);
-			this.txtInvoiceName.TabIndex = 9;
-			this.txtInvoiceName.TextValue = "";
-			// 
-			// dgvFunctionUsers
-			// 
-			this.dgvFunctionUsers.AllowUserToModifyRows = true;
-			dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
-			this.dgvFunctionUsers.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
-			this.dgvFunctionUsers.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_PM_2602));
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            this.txtRemarks = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
+            this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.btnClose = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
+            this.btnSave = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
+            this.chkDateTime = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
+            this.dtpDateEnd = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DateTimePicker();
+            this.dtpDateStart = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DateTimePicker();
+            this.lblAccountDateEnd = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.txtInvoiceName = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
+            this.dgvFunctionUsers = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
+            this.UserCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.UserName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.UserID = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.c_Label3 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_Label4 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.txtBUILDINGNO = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_CodeEx();
+            this.txtFLOORNO = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_CodeEx();
+            this.c_Label5 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_Label6 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.lblGoodsType = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.scbGoodsType = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoodsType();
+            this.scbGoods = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoods();
+            this.lblGoods = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.scbUser = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbUser();
+            this.c_Label7 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_Label8 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.scbGroutingLine = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGroutingLine();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvFunctionUsers)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // 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(81, 165);
+            this.txtRemarks.MaxLength = 500;
+            this.txtRemarks.Multiline = true;
+            this.txtRemarks.Name = "txtRemarks";
+            this.txtRemarks.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+            this.txtRemarks.Size = new System.Drawing.Size(378, 49);
+            this.txtRemarks.TabIndex = 9;
+            this.txtRemarks.TextValue = "";
+            // 
+            // 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.Location = new System.Drawing.Point(43, 165);
+            this.c_Label1.Name = "c_Label1";
+            this.c_Label1.Size = new System.Drawing.Size(29, 12);
+            this.c_Label1.TabIndex = 8;
+            this.c_Label1.Text = "备注";
+            // 
+            // btnClose
+            // 
+            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnClose.BackColor = System.Drawing.Color.Transparent;
+            this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
+            this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+            this.btnClose.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnClose.ForeColor = System.Drawing.Color.White;
+            this.btnClose.Location = new System.Drawing.Point(419, 494);
+            this.btnClose.Name = "btnClose";
+            this.btnClose.Size = new System.Drawing.Size(85, 30);
+            this.btnClose.TabIndex = 6;
+            this.btnClose.Text = "关闭";
+            this.btnClose.UseVisualStyleBackColor = false;
+            // 
+            // btnSave
+            // 
+            this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            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(329, 494);
+            this.btnSave.Name = "btnSave";
+            this.btnSave.Size = new System.Drawing.Size(85, 30);
+            this.btnSave.TabIndex = 5;
+            this.btnSave.Text = "保存(&S)";
+            this.btnSave.UseVisualStyleBackColor = false;
+            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+            // 
+            // chkDateTime
+            // 
+            this.chkDateTime.AutoSize = true;
+            this.chkDateTime.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.chkDateTime.Location = new System.Drawing.Point(5, 39);
+            this.chkDateTime.Name = "chkDateTime";
+            this.chkDateTime.Size = new System.Drawing.Size(72, 16);
+            this.chkDateTime.TabIndex = 33;
+            this.chkDateTime.Text = "注浆时间";
+            this.chkDateTime.UseVisualStyleBackColor = true;
+            this.chkDateTime.CheckedChanged += new System.EventHandler(this.chkDateTime_CheckedChanged);
+            // 
+            // dtpDateEnd
+            // 
+            this.dtpDateEnd.CustomFormat = "yyyy-MM-dd HH:mm:ss";
+            this.dtpDateEnd.Enabled = false;
+            this.dtpDateEnd.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtpDateEnd.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
+            this.dtpDateEnd.Location = new System.Drawing.Point(299, 37);
+            this.dtpDateEnd.Name = "dtpDateEnd";
+            this.dtpDateEnd.Size = new System.Drawing.Size(161, 21);
+            this.dtpDateEnd.TabIndex = 31;
+            // 
+            // dtpDateStart
+            // 
+            this.dtpDateStart.CustomFormat = "yyyy-MM-dd HH:mm:ss";
+            this.dtpDateStart.Enabled = false;
+            this.dtpDateStart.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtpDateStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
+            this.dtpDateStart.Location = new System.Drawing.Point(81, 37);
+            this.dtpDateStart.Name = "dtpDateStart";
+            this.dtpDateStart.Size = new System.Drawing.Size(153, 21);
+            this.dtpDateStart.TabIndex = 30;
+            // 
+            // lblAccountDateEnd
+            // 
+            this.lblAccountDateEnd.AutoSize = true;
+            this.lblAccountDateEnd.BackColor = System.Drawing.Color.Transparent;
+            this.lblAccountDateEnd.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblAccountDateEnd.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lblAccountDateEnd.Location = new System.Drawing.Point(256, 43);
+            this.lblAccountDateEnd.Name = "lblAccountDateEnd";
+            this.lblAccountDateEnd.Size = new System.Drawing.Size(17, 12);
+            this.lblAccountDateEnd.TabIndex = 32;
+            this.lblAccountDateEnd.Text = "至";
+            // 
+            // 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.Location = new System.Drawing.Point(22, 14);
+            this.c_Label2.Name = "c_Label2";
+            this.c_Label2.Size = new System.Drawing.Size(53, 12);
+            this.c_Label2.TabIndex = 8;
+            this.c_Label2.Text = "盘点单名";
+            // 
+            // txtInvoiceName
+            // 
+            this.txtInvoiceName.BackColor = System.Drawing.SystemColors.Window;
+            this.txtInvoiceName.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtInvoiceName.ErrorMessage = "";
+            this.txtInvoiceName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtInvoiceName.Location = new System.Drawing.Point(81, 8);
+            this.txtInvoiceName.MaxLength = 100;
+            this.txtInvoiceName.Multiline = true;
+            this.txtInvoiceName.Name = "txtInvoiceName";
+            this.txtInvoiceName.Size = new System.Drawing.Size(379, 23);
+            this.txtInvoiceName.TabIndex = 9;
+            this.txtInvoiceName.TextValue = "";
+            // 
+            // dgvFunctionUsers
+            // 
+            this.dgvFunctionUsers.AllowUserToModifyRows = true;
+            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+            this.dgvFunctionUsers.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
+            this.dgvFunctionUsers.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-			this.dgvFunctionUsers.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
-			this.dgvFunctionUsers.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
-			this.dgvFunctionUsers.CellHeight = 23;
-			this.dgvFunctionUsers.ChildNodeColumnName = null;
-			this.dgvFunctionUsers.ChildNodeColumnText = null;
-			this.dgvFunctionUsers.ColumnDeep = 1;
-			this.dgvFunctionUsers.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.dgvFunctionUsers.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
-			this.dgvFunctionUsers.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-			this.dgvFunctionUsers.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.dgvFunctionUsers.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            this.dgvFunctionUsers.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
+            this.dgvFunctionUsers.CellHeight = 23;
+            this.dgvFunctionUsers.ChildNodeColumnName = null;
+            this.dgvFunctionUsers.ChildNodeColumnText = null;
+            this.dgvFunctionUsers.ColumnDeep = 1;
+            this.dgvFunctionUsers.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+            dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle7.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvFunctionUsers.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
+            this.dgvFunctionUsers.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvFunctionUsers.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.UserCode,
             this.UserName,
             this.UserID});
-			this.dgvFunctionUsers.ColumnTreeView = null;
-			this.dgvFunctionUsers.ContextMenuVisible = Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.None;
-			dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-			dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
-			dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
-			dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-			dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-			dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-			this.dgvFunctionUsers.DefaultCellStyle = dataGridViewCellStyle3;
-			this.dgvFunctionUsers.DynamicColumnName = "";
-			this.dgvFunctionUsers.EnableHeadersVisualStyles = false;
-			this.dgvFunctionUsers.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.dgvFunctionUsers.FormatQuantityColumns = null;
-			this.dgvFunctionUsers.HorizontalMergeColumn = null;
-			this.dgvFunctionUsers.IsAutoCountSum = true;
-			this.dgvFunctionUsers.IsAutoResizeColumns = false;
-			this.dgvFunctionUsers.IsClickF12 = false;
-			this.dgvFunctionUsers.IsOpenMergeCellFlag = false;
-			this.dgvFunctionUsers.IsSubTotalFlag = false;
-			this.dgvFunctionUsers.IsTopDeep = false;
-			this.dgvFunctionUsers.Location = new System.Drawing.Point(83, 213);
-			this.dgvFunctionUsers.MergeColumnNames = null;
-			this.dgvFunctionUsers.MergeDetailColumnNames = null;
-			this.dgvFunctionUsers.MergeDetailOnlyColumn = null;
-			this.dgvFunctionUsers.MergeOnlyColumn = null;
-			this.dgvFunctionUsers.MultiSelect = false;
-			this.dgvFunctionUsers.Name = "dgvFunctionUsers";
-			this.dgvFunctionUsers.RefreshAtHscroll = false;
-			dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-			dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
-			dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
-			dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-			dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-			dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-			this.dgvFunctionUsers.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
-			this.dgvFunctionUsers.RowHeadersWidth = 50;
-			this.dgvFunctionUsers.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-			dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
-			this.dgvFunctionUsers.RowsDefaultCellStyle = dataGridViewCellStyle5;
-			this.dgvFunctionUsers.RowTemplate.Height = 21;
-			this.dgvFunctionUsers.Size = new System.Drawing.Size(377, 201);
-			this.dgvFunctionUsers.SortOrderColumnName = null;
-			this.dgvFunctionUsers.TabIndex = 35;
-			this.dgvFunctionUsers.Tag = true;
-			this.dgvFunctionUsers.TotalSumColumns = null;
-			this.dgvFunctionUsers.ViewRowFilter = "";
-			this.dgvFunctionUsers.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvFunctionUsers_CellBeginEdit);
-			this.dgvFunctionUsers.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvFunctionUsers_CellValueChanged);
-			this.dgvFunctionUsers.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.dgvFunctionUsers_UserDeletingRow);
-			// 
-			// UserCode
-			// 
-			this.UserCode.DataPropertyName = "UserCode";
-			this.UserCode.HeaderText = "用户编码";
-			this.UserCode.Name = "UserCode";
-			this.UserCode.Width = 80;
-			// 
-			// UserName
-			// 
-			this.UserName.DataPropertyName = "UserName";
-			this.UserName.HeaderText = "用户名称";
-			this.UserName.Name = "UserName";
-			this.UserName.ReadOnly = true;
-			this.UserName.Width = 80;
-			// 
-			// UserID
-			// 
-			this.UserID.DataPropertyName = "UserID";
-			this.UserID.HeaderText = "UserID";
-			this.UserID.Name = "UserID";
-			this.UserID.Visible = false;
-			// 
-			// c_Label3
-			// 
-			this.c_Label3.AutoSize = true;
-			this.c_Label3.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label3.Location = new System.Drawing.Point(20, 216);
-			this.c_Label3.Name = "c_Label3";
-			this.c_Label3.Size = new System.Drawing.Size(53, 12);
-			this.c_Label3.TabIndex = 8;
-			this.c_Label3.Text = "盘点工号";
-			// 
-			// c_Label4
-			// 
-			this.c_Label4.AutoSize = true;
-			this.c_Label4.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label4.Location = new System.Drawing.Point(44, 93);
-			this.c_Label4.Name = "c_Label4";
-			this.c_Label4.Size = new System.Drawing.Size(29, 12);
-			this.c_Label4.TabIndex = 8;
-			this.c_Label4.Text = "楼号";
-			// 
-			// txtBUILDINGNO
-			// 
-			this.txtBUILDINGNO.BackColor = System.Drawing.SystemColors.Window;
-			this.txtBUILDINGNO.BackgroundColor = System.Drawing.SystemColors.Window;
-			this.txtBUILDINGNO.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
-			this.txtBUILDINGNO.ErrorMessage = "";
-			this.txtBUILDINGNO.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.txtBUILDINGNO.ImeMode = System.Windows.Forms.ImeMode.Off;
-			this.txtBUILDINGNO.Location = new System.Drawing.Point(83, 89);
-			this.txtBUILDINGNO.Name = "txtBUILDINGNO";
-			this.txtBUILDINGNO.Size = new System.Drawing.Size(116, 21);
-			this.txtBUILDINGNO.TabIndex = 37;
-			this.txtBUILDINGNO.TextValue = "";
-			this.txtBUILDINGNO.TextChanged += new System.EventHandler(this.dkProcedureSearchBox_TextChanged);
-			// 
-			// txtFLOORNO
-			// 
-			this.txtFLOORNO.BackColor = System.Drawing.SystemColors.Window;
-			this.txtFLOORNO.BackgroundColor = System.Drawing.SystemColors.Window;
-			this.txtFLOORNO.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
-			this.txtFLOORNO.ErrorMessage = "";
-			this.txtFLOORNO.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.txtFLOORNO.ImeMode = System.Windows.Forms.ImeMode.Off;
-			this.txtFLOORNO.Location = new System.Drawing.Point(242, 89);
-			this.txtFLOORNO.Name = "txtFLOORNO";
-			this.txtFLOORNO.Size = new System.Drawing.Size(116, 21);
-			this.txtFLOORNO.TabIndex = 37;
-			this.txtFLOORNO.TextValue = "";
-			this.txtFLOORNO.TextChanged += new System.EventHandler(this.dkProcedureSearchBox_TextChanged);
-			// 
-			// c_Label5
-			// 
-			this.c_Label5.AutoSize = true;
-			this.c_Label5.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label5.Location = new System.Drawing.Point(205, 92);
-			this.c_Label5.Name = "c_Label5";
-			this.c_Label5.Size = new System.Drawing.Size(29, 12);
-			this.c_Label5.TabIndex = 8;
-			this.c_Label5.Text = "楼层";
-			// 
-			// c_Label6
-			// 
-			this.c_Label6.AutoSize = true;
-			this.c_Label6.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label6.Location = new System.Drawing.Point(365, 89);
-			this.c_Label6.Name = "c_Label6";
-			this.c_Label6.Size = new System.Drawing.Size(95, 24);
-			this.c_Label6.TabIndex = 8;
-			this.c_Label6.Text = "多个用[,]号分割\r\nA,B,C  /  1,2,3";
-			// 
-			// lblGoodsType
-			// 
-			this.lblGoodsType.AutoSize = true;
-			this.lblGoodsType.BackColor = System.Drawing.SystemColors.Control;
-			this.lblGoodsType.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.lblGoodsType.ForeColor = System.Drawing.SystemColors.ControlText;
-			this.lblGoodsType.Location = new System.Drawing.Point(24, 66);
-			this.lblGoodsType.Name = "lblGoodsType";
-			this.lblGoodsType.Size = new System.Drawing.Size(53, 12);
-			this.lblGoodsType.TabIndex = 39;
-			this.lblGoodsType.Text = "产品类别";
-			// 
-			// scbGoodsType
-			// 
-			this.scbGoodsType.CheckedData = null;
-			this.scbGoodsType.IsOnlyDisplayEnd = false;
-			this.scbGoodsType.Location = new System.Drawing.Point(81, 62);
-			this.scbGoodsType.Name = "scbGoodsType";
-			this.scbGoodsType.Size = new System.Drawing.Size(153, 21);
-			this.scbGoodsType.TabIndex = 38;
-			// 
-			// scbGoods
-			// 
-			this.scbGoods.CheckedData = null;
-			this.scbGoods.DisplayMember = "GoodsCode";
-			this.scbGoods.Location = new System.Drawing.Point(299, 62);
-			this.scbGoods.MultiSelect = true;
-			this.scbGoods.Name = "scbGoods";
-			this.scbGoods.Size = new System.Drawing.Size(161, 21);
-			this.scbGoods.TabIndex = 41;
-			// 
-			// lblGoods
-			// 
-			this.lblGoods.AutoSize = true;
-			this.lblGoods.BackColor = System.Drawing.Color.Transparent;
-			this.lblGoods.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.lblGoods.ForeColor = System.Drawing.SystemColors.ControlText;
-			this.lblGoods.Location = new System.Drawing.Point(240, 66);
-			this.lblGoods.Name = "lblGoods";
-			this.lblGoods.Size = new System.Drawing.Size(53, 12);
-			this.lblGoods.TabIndex = 40;
-			this.lblGoods.Text = "产品编码";
-			// 
-			// F_PM_2602
-			// 
-			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
-			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-			this.CancelButton = this.btnClose;
-			this.ClientSize = new System.Drawing.Size(473, 480);
-			this.Controls.Add(this.scbGoods);
-			this.Controls.Add(this.lblGoods);
-			this.Controls.Add(this.lblGoodsType);
-			this.Controls.Add(this.scbGoodsType);
-			this.Controls.Add(this.txtFLOORNO);
-			this.Controls.Add(this.txtBUILDINGNO);
-			this.Controls.Add(this.dgvFunctionUsers);
-			this.Controls.Add(this.chkDateTime);
-			this.Controls.Add(this.dtpDateEnd);
-			this.Controls.Add(this.dtpDateStart);
-			this.Controls.Add(this.lblAccountDateEnd);
-			this.Controls.Add(this.txtInvoiceName);
-			this.Controls.Add(this.txtRemarks);
-			this.Controls.Add(this.btnClose);
-			this.Controls.Add(this.c_Label3);
-			this.Controls.Add(this.c_Label2);
-			this.Controls.Add(this.c_Label6);
-			this.Controls.Add(this.c_Label5);
-			this.Controls.Add(this.c_Label4);
-			this.Controls.Add(this.c_Label1);
-			this.Controls.Add(this.btnSave);
-			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
-			this.IsSaveFormSize = false;
-			this.MaximizeBox = false;
-			this.MinimizeBox = false;
-			this.Name = "F_PM_2602";
-			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-			this.StatusSizingGrip = false;
-			this.Text = "新建盘点单";
-			this.Load += new System.EventHandler(this.F_PM_2102_Load);
-			this.Controls.SetChildIndex(this.btnSave, 0);
-			this.Controls.SetChildIndex(this.c_Label1, 0);
-			this.Controls.SetChildIndex(this.c_Label4, 0);
-			this.Controls.SetChildIndex(this.c_Label5, 0);
-			this.Controls.SetChildIndex(this.c_Label6, 0);
-			this.Controls.SetChildIndex(this.c_Label2, 0);
-			this.Controls.SetChildIndex(this.c_Label3, 0);
-			this.Controls.SetChildIndex(this.btnClose, 0);
-			this.Controls.SetChildIndex(this.txtRemarks, 0);
-			this.Controls.SetChildIndex(this.txtInvoiceName, 0);
-			this.Controls.SetChildIndex(this.lblAccountDateEnd, 0);
-			this.Controls.SetChildIndex(this.dtpDateStart, 0);
-			this.Controls.SetChildIndex(this.dtpDateEnd, 0);
-			this.Controls.SetChildIndex(this.chkDateTime, 0);
-			this.Controls.SetChildIndex(this.dgvFunctionUsers, 0);
-			this.Controls.SetChildIndex(this.txtBUILDINGNO, 0);
-			this.Controls.SetChildIndex(this.txtFLOORNO, 0);
-			this.Controls.SetChildIndex(this.scbGoodsType, 0);
-			this.Controls.SetChildIndex(this.lblGoodsType, 0);
-			this.Controls.SetChildIndex(this.lblGoods, 0);
-			this.Controls.SetChildIndex(this.scbGoods, 0);
-			((System.ComponentModel.ISupportInitialize)(this.dgvFunctionUsers)).EndInit();
-			this.ResumeLayout(false);
-			this.PerformLayout();
+            this.dgvFunctionUsers.ColumnTreeView = null;
+            this.dgvFunctionUsers.ContextMenuVisible = Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.None;
+            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.dgvFunctionUsers.DefaultCellStyle = dataGridViewCellStyle8;
+            this.dgvFunctionUsers.DynamicColumnName = "";
+            this.dgvFunctionUsers.EnableHeadersVisualStyles = false;
+            this.dgvFunctionUsers.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvFunctionUsers.FormatQuantityColumns = null;
+            this.dgvFunctionUsers.HorizontalMergeColumn = null;
+            this.dgvFunctionUsers.IsAutoCountSum = true;
+            this.dgvFunctionUsers.IsAutoResizeColumns = false;
+            this.dgvFunctionUsers.IsClickF12 = false;
+            this.dgvFunctionUsers.IsOpenMergeCellFlag = false;
+            this.dgvFunctionUsers.IsSubTotalFlag = false;
+            this.dgvFunctionUsers.IsTopDeep = false;
+            this.dgvFunctionUsers.Location = new System.Drawing.Point(83, 239);
+            this.dgvFunctionUsers.MergeColumnNames = null;
+            this.dgvFunctionUsers.MergeDetailColumnNames = null;
+            this.dgvFunctionUsers.MergeDetailOnlyColumn = null;
+            this.dgvFunctionUsers.MergeOnlyColumn = null;
+            this.dgvFunctionUsers.MultiSelect = false;
+            this.dgvFunctionUsers.Name = "dgvFunctionUsers";
+            this.dgvFunctionUsers.RefreshAtHscroll = false;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvFunctionUsers.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
+            this.dgvFunctionUsers.RowHeadersWidth = 50;
+            this.dgvFunctionUsers.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.dgvFunctionUsers.RowsDefaultCellStyle = dataGridViewCellStyle10;
+            this.dgvFunctionUsers.RowTemplate.Height = 21;
+            this.dgvFunctionUsers.Size = new System.Drawing.Size(421, 230);
+            this.dgvFunctionUsers.SortOrderColumnName = null;
+            this.dgvFunctionUsers.TabIndex = 35;
+            this.dgvFunctionUsers.Tag = true;
+            this.dgvFunctionUsers.TotalSumColumns = null;
+            this.dgvFunctionUsers.ViewRowFilter = "";
+            this.dgvFunctionUsers.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvFunctionUsers_CellBeginEdit);
+            this.dgvFunctionUsers.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvFunctionUsers_CellValueChanged);
+            this.dgvFunctionUsers.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.dgvFunctionUsers_UserDeletingRow);
+            // 
+            // UserCode
+            // 
+            this.UserCode.DataPropertyName = "UserCode";
+            this.UserCode.HeaderText = "用户编码";
+            this.UserCode.Name = "UserCode";
+            this.UserCode.Width = 80;
+            // 
+            // UserName
+            // 
+            this.UserName.DataPropertyName = "UserName";
+            this.UserName.HeaderText = "用户名称";
+            this.UserName.Name = "UserName";
+            this.UserName.ReadOnly = true;
+            this.UserName.Width = 80;
+            // 
+            // UserID
+            // 
+            this.UserID.DataPropertyName = "UserID";
+            this.UserID.HeaderText = "UserID";
+            this.UserID.Name = "UserID";
+            this.UserID.Visible = false;
+            // 
+            // c_Label3
+            // 
+            this.c_Label3.AutoSize = true;
+            this.c_Label3.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label3.Location = new System.Drawing.Point(20, 239);
+            this.c_Label3.Name = "c_Label3";
+            this.c_Label3.Size = new System.Drawing.Size(53, 12);
+            this.c_Label3.TabIndex = 8;
+            this.c_Label3.Text = "盘点工号";
+            // 
+            // c_Label4
+            // 
+            this.c_Label4.AutoSize = true;
+            this.c_Label4.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label4.Location = new System.Drawing.Point(43, 136);
+            this.c_Label4.Name = "c_Label4";
+            this.c_Label4.Size = new System.Drawing.Size(29, 12);
+            this.c_Label4.TabIndex = 8;
+            this.c_Label4.Text = "楼号";
+            // 
+            // txtBUILDINGNO
+            // 
+            this.txtBUILDINGNO.BackColor = System.Drawing.SystemColors.Window;
+            this.txtBUILDINGNO.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtBUILDINGNO.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+            this.txtBUILDINGNO.ErrorMessage = "";
+            this.txtBUILDINGNO.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtBUILDINGNO.ImeMode = System.Windows.Forms.ImeMode.Off;
+            this.txtBUILDINGNO.Location = new System.Drawing.Point(82, 136);
+            this.txtBUILDINGNO.Name = "txtBUILDINGNO";
+            this.txtBUILDINGNO.Size = new System.Drawing.Size(116, 21);
+            this.txtBUILDINGNO.TabIndex = 37;
+            this.txtBUILDINGNO.TextValue = "";
+            this.txtBUILDINGNO.TextChanged += new System.EventHandler(this.dkProcedureSearchBox_TextChanged);
+            // 
+            // txtFLOORNO
+            // 
+            this.txtFLOORNO.BackColor = System.Drawing.SystemColors.Window;
+            this.txtFLOORNO.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtFLOORNO.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+            this.txtFLOORNO.ErrorMessage = "";
+            this.txtFLOORNO.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtFLOORNO.ImeMode = System.Windows.Forms.ImeMode.Off;
+            this.txtFLOORNO.Location = new System.Drawing.Point(241, 136);
+            this.txtFLOORNO.Name = "txtFLOORNO";
+            this.txtFLOORNO.Size = new System.Drawing.Size(116, 21);
+            this.txtFLOORNO.TabIndex = 37;
+            this.txtFLOORNO.TextValue = "";
+            this.txtFLOORNO.TextChanged += new System.EventHandler(this.dkProcedureSearchBox_TextChanged);
+            // 
+            // c_Label5
+            // 
+            this.c_Label5.AutoSize = true;
+            this.c_Label5.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label5.Location = new System.Drawing.Point(206, 136);
+            this.c_Label5.Name = "c_Label5";
+            this.c_Label5.Size = new System.Drawing.Size(29, 12);
+            this.c_Label5.TabIndex = 8;
+            this.c_Label5.Text = "楼层";
+            // 
+            // c_Label6
+            // 
+            this.c_Label6.AutoSize = true;
+            this.c_Label6.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label6.Location = new System.Drawing.Point(364, 136);
+            this.c_Label6.Name = "c_Label6";
+            this.c_Label6.Size = new System.Drawing.Size(95, 24);
+            this.c_Label6.TabIndex = 8;
+            this.c_Label6.Text = "多个用[,]号分割\r\nA,B,C  /  1,2,3";
+            // 
+            // lblGoodsType
+            // 
+            this.lblGoodsType.AutoSize = true;
+            this.lblGoodsType.BackColor = System.Drawing.SystemColors.Control;
+            this.lblGoodsType.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblGoodsType.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lblGoodsType.Location = new System.Drawing.Point(24, 66);
+            this.lblGoodsType.Name = "lblGoodsType";
+            this.lblGoodsType.Size = new System.Drawing.Size(53, 12);
+            this.lblGoodsType.TabIndex = 39;
+            this.lblGoodsType.Text = "产品类别";
+            // 
+            // scbGoodsType
+            // 
+            this.scbGoodsType.CheckedData = null;
+            this.scbGoodsType.IsOnlyDisplayEnd = false;
+            this.scbGoodsType.Location = new System.Drawing.Point(81, 62);
+            this.scbGoodsType.Name = "scbGoodsType";
+            this.scbGoodsType.Size = new System.Drawing.Size(153, 21);
+            this.scbGoodsType.TabIndex = 38;
+            // 
+            // scbGoods
+            // 
+            this.scbGoods.CheckedData = null;
+            this.scbGoods.DisplayMember = "GoodsCode";
+            this.scbGoods.Location = new System.Drawing.Point(299, 62);
+            this.scbGoods.MultiSelect = true;
+            this.scbGoods.Name = "scbGoods";
+            this.scbGoods.Size = new System.Drawing.Size(161, 21);
+            this.scbGoods.TabIndex = 41;
+            // 
+            // lblGoods
+            // 
+            this.lblGoods.AutoSize = true;
+            this.lblGoods.BackColor = System.Drawing.Color.Transparent;
+            this.lblGoods.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblGoods.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lblGoods.Location = new System.Drawing.Point(240, 66);
+            this.lblGoods.Name = "lblGoods";
+            this.lblGoods.Size = new System.Drawing.Size(53, 12);
+            this.lblGoods.TabIndex = 40;
+            this.lblGoods.Text = "产品编码";
+            // 
+            // scbUser
+            // 
+            this.scbUser.CheckedData = null;
+            this.scbUser.DisplayMember = "UserCode";
+            this.scbUser.IsWorker = false;
+            this.scbUser.Location = new System.Drawing.Point(299, 98);
+            this.scbUser.Name = "scbUser";
+            this.scbUser.Size = new System.Drawing.Size(161, 21);
+            this.scbUser.TabIndex = 45;
+            // 
+            // c_Label7
+            // 
+            this.c_Label7.AutoSize = true;
+            this.c_Label7.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label7.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label7.Location = new System.Drawing.Point(240, 102);
+            this.c_Label7.Name = "c_Label7";
+            this.c_Label7.Size = new System.Drawing.Size(53, 12);
+            this.c_Label7.TabIndex = 44;
+            this.c_Label7.Text = "成型工号";
+            // 
+            // c_Label8
+            // 
+            this.c_Label8.AutoSize = true;
+            this.c_Label8.BackColor = System.Drawing.SystemColors.Control;
+            this.c_Label8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label8.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label8.Location = new System.Drawing.Point(12, 102);
+            this.c_Label8.Name = "c_Label8";
+            this.c_Label8.Size = new System.Drawing.Size(65, 12);
+            this.c_Label8.TabIndex = 43;
+            this.c_Label8.Text = "成型线编码";
+            // 
+            // scbGroutingLine
+            // 
+            this.scbGroutingLine.CheckedData = null;
+            this.scbGroutingLine.Location = new System.Drawing.Point(81, 98);
+            this.scbGroutingLine.Name = "scbGroutingLine";
+            this.scbGroutingLine.Size = new System.Drawing.Size(153, 21);
+            this.scbGroutingLine.TabIndex = 42;
+            // 
+            // F_PM_2602
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.CancelButton = this.btnClose;
+            this.ClientSize = new System.Drawing.Size(517, 549);
+            this.Controls.Add(this.scbUser);
+            this.Controls.Add(this.c_Label7);
+            this.Controls.Add(this.c_Label8);
+            this.Controls.Add(this.scbGroutingLine);
+            this.Controls.Add(this.scbGoods);
+            this.Controls.Add(this.lblGoods);
+            this.Controls.Add(this.lblGoodsType);
+            this.Controls.Add(this.scbGoodsType);
+            this.Controls.Add(this.txtFLOORNO);
+            this.Controls.Add(this.txtBUILDINGNO);
+            this.Controls.Add(this.dgvFunctionUsers);
+            this.Controls.Add(this.chkDateTime);
+            this.Controls.Add(this.dtpDateEnd);
+            this.Controls.Add(this.dtpDateStart);
+            this.Controls.Add(this.lblAccountDateEnd);
+            this.Controls.Add(this.txtInvoiceName);
+            this.Controls.Add(this.txtRemarks);
+            this.Controls.Add(this.btnClose);
+            this.Controls.Add(this.c_Label3);
+            this.Controls.Add(this.c_Label2);
+            this.Controls.Add(this.c_Label6);
+            this.Controls.Add(this.c_Label5);
+            this.Controls.Add(this.c_Label4);
+            this.Controls.Add(this.c_Label1);
+            this.Controls.Add(this.btnSave);
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
+            this.IsSaveFormSize = false;
+            this.MaximizeBox = false;
+            this.MinimizeBox = false;
+            this.Name = "F_PM_2602";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.StatusSizingGrip = false;
+            this.Text = "新建盘点单";
+            this.Load += new System.EventHandler(this.F_PM_2102_Load);
+            this.Controls.SetChildIndex(this.btnSave, 0);
+            this.Controls.SetChildIndex(this.c_Label1, 0);
+            this.Controls.SetChildIndex(this.c_Label4, 0);
+            this.Controls.SetChildIndex(this.c_Label5, 0);
+            this.Controls.SetChildIndex(this.c_Label6, 0);
+            this.Controls.SetChildIndex(this.c_Label2, 0);
+            this.Controls.SetChildIndex(this.c_Label3, 0);
+            this.Controls.SetChildIndex(this.btnClose, 0);
+            this.Controls.SetChildIndex(this.txtRemarks, 0);
+            this.Controls.SetChildIndex(this.txtInvoiceName, 0);
+            this.Controls.SetChildIndex(this.lblAccountDateEnd, 0);
+            this.Controls.SetChildIndex(this.dtpDateStart, 0);
+            this.Controls.SetChildIndex(this.dtpDateEnd, 0);
+            this.Controls.SetChildIndex(this.chkDateTime, 0);
+            this.Controls.SetChildIndex(this.dgvFunctionUsers, 0);
+            this.Controls.SetChildIndex(this.txtBUILDINGNO, 0);
+            this.Controls.SetChildIndex(this.txtFLOORNO, 0);
+            this.Controls.SetChildIndex(this.scbGoodsType, 0);
+            this.Controls.SetChildIndex(this.lblGoodsType, 0);
+            this.Controls.SetChildIndex(this.lblGoods, 0);
+            this.Controls.SetChildIndex(this.scbGoods, 0);
+            this.Controls.SetChildIndex(this.scbGroutingLine, 0);
+            this.Controls.SetChildIndex(this.c_Label8, 0);
+            this.Controls.SetChildIndex(this.c_Label7, 0);
+            this.Controls.SetChildIndex(this.scbUser, 0);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvFunctionUsers)).EndInit();
+            this.ResumeLayout(false);
+            this.PerformLayout();
 
         }
 
@@ -496,5 +550,9 @@
 		private Controls.SearchBox.ScbGoodsType scbGoodsType;
 		private Controls.SearchBox.ScbGoods scbGoods;
 		private Basics.BaseControls.C_Label lblGoods;
-	}
+        private Controls.SearchBox.ScbUser scbUser;
+        private Basics.BaseControls.C_Label c_Label7;
+        private Basics.BaseControls.C_Label c_Label8;
+        private Controls.SearchBox.ScbGroutingLine scbGroutingLine;
+    }
 }

+ 3 - 1
DK.Client/PMModule/F_PM_2602.cs

@@ -182,6 +182,7 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 		{
 			try
 			{
+
 				// 自动生成的备注会超长
 				if (this.txtRemarks.Text.Length > 500)
 				{
@@ -190,7 +191,6 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 					this.txtRemarks.Focus();
 					return;
 				}
-
 				// 删除空白行
 				DataRow[] rows = this._dtGrid.Select("userid is null");
 				if (rows != null && rows.Length > 0)
@@ -215,6 +215,8 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 				{
 					cre.Properties["GoodsCodeList"] = this.scbGoods.CheckedPKMember;
 					cre.Properties["GoodsTypeCode"] = scbGoodsType.SearchedValue + "";
+					cre.Properties["UserID"] = this.scbUser.CheckedPKMember;
+					cre.Properties["GroutingLine"] = scbGroutingLine.SearchedValue + "";
 					if (chkDateTime.Checked)
 					{
 						cre.Properties["DateBegin"] = this.dtpDateStart.Value;

+ 6 - 0
DK.Service/PMModuleService/PMModuleLogic.cs

@@ -4940,6 +4940,8 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleService
 
                     //2021-05-15 xuwei add
                     "  AND gdd.BEGINNINGFLAG = '0' \n" +
+                    "  AND gdd.UserID = :UserID \n" +
+                    "  AND gdd.GROUTINGLINECODE = :GroutingLine \n" +
 
                     "  AND gdd.deliverflag = '0'\n" +
                     "  AND gdd.scrapflag = '0'\n" +
@@ -4967,6 +4969,10 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleService
                             cre.Properties["GoodsCodeList"],ParameterDirection.Input),
                         new OracleParameter(":GoodsTypeCode",OracleDbType.NVarchar2,
                             cre.Properties["GoodsTypeCode"],ParameterDirection.Input),
+                        new OracleParameter(":UserID",OracleDbType.NVarchar2,
+                            cre.Properties["UserID"],ParameterDirection.Input),
+                        new OracleParameter(":GroutingLine",OracleDbType.NVarchar2,
+                            cre.Properties["GroutingLine"],ParameterDirection.Input),
                     };
                     returnRows += oracleTrConn.ExecuteNonQuery(sql, paras);
                     #endregion