雅琪诺MES智能条码管理系统
jhz
2022-06-30 0d3b2bd4edaa7385e4ff96370c877be237af054b
包装单保留班组和操作员
2个文件已修改
166 ■■■■ 已修改文件
SCM/单据资料/Sc_PackUnionBill.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/单据资料/Sc_PackUnionBill.designer.cs 152 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/单据资料/Sc_PackUnionBill.cs
@@ -48,12 +48,24 @@
        //娓呯┖鐣岄潰
        public void Sub_ClearBill()
        {
            Int64 sGroupID = DBUtility.ClsPub.isLong(txtHGroupID.Tag);
            string sGroupName = DBUtility.ClsPub.isStrNull(txtHGroupID.Text);
            Int64 sEmpID = DBUtility.ClsPub.isLong(txtHEmpID.Tag);
            string sEmpName = DBUtility.ClsPub.isStrNull(txtHEmpID.Text);
            Int64 sEmpID2 = DBUtility.ClsPub.isLong(txtHEmpID2.Tag);
            string sEmpName2 = DBUtility.ClsPub.isStrNull(txtHEmpID2.Text);
            //娓呯┖鐣岄潰
            ClsPub1.Sub_ClearBill(groupBox4);
            ClsPub1.Sub_ClearBill1(tabPage3);
            ClsPub1.Sub_ClearBill1(tabPage1);
            //ClsPub1.Sub_ClearBill1(tabPage4);    
            txtHGroupID.Tag = sGroupID;
            txtHGroupID.Text = sGroupName;
            txtHEmpID.Tag = sEmpID;
            txtHEmpID.Text = sEmpName;
            txtHEmpID2.Tag = sEmpID2;
            txtHEmpID2.Text = sEmpName2;
            //浠庢湇鍔″櫒  鑾峰緱鍗曟嵁鍙稩D鍜屽崟鎹彿
            string s = "";
            if (oWeb.get_MaxBillNoAndID(HBillType, ref HBillNo, ref HInterID, ref s))
SCM/单据资料/Sc_PackUnionBill.designer.cs
@@ -44,7 +44,13 @@
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.gbUp = new System.Windows.Forms.GroupBox();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.txtHEmpID = new System.Windows.Forms.TextBox();
            this.cmdHEmp2 = new System.Windows.Forms.Button();
            this.label39 = new System.Windows.Forms.Label();
            this.txtHEmpID2 = new System.Windows.Forms.TextBox();
            this.label40 = new System.Windows.Forms.Label();
            this.lblHBWeight = new System.Windows.Forms.Label();
            this.cmdHEmpID = new System.Windows.Forms.Button();
            this.txtHUnitID = new System.Windows.Forms.TextBox();
            this.txtHZBarCode = new System.Windows.Forms.TextBox();
            this.txtHMSourceBillNo = new System.Windows.Forms.TextBox();
@@ -90,14 +96,12 @@
            this.label2 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.txtHEmpID = new System.Windows.Forms.TextBox();
            this.txtHOWNERID = new System.Windows.Forms.TextBox();
            this.txtHDeptID = new System.Windows.Forms.TextBox();
            this.dtpHMakeDate = new System.Windows.Forms.DateTimePicker();
            this.txtHMaker = new System.Windows.Forms.TextBox();
            this.txtHWorkCenterID = new System.Windows.Forms.TextBox();
            this.txtHProcessID = new System.Windows.Forms.TextBox();
            this.cmdHEmpID = new System.Windows.Forms.Button();
            this.label31 = new System.Windows.Forms.Label();
            this.cmdHOWNERID = new System.Windows.Forms.Button();
            this.label32 = new System.Windows.Forms.Label();
@@ -149,10 +153,6 @@
            this.btnBLQK = new System.Windows.Forms.Button();
            this.button4 = new System.Windows.Forms.Button();
            this.timer3 = new System.Windows.Forms.Timer(this.components);
            this.cmdHEmp2 = new System.Windows.Forms.Button();
            this.label39 = new System.Windows.Forms.Label();
            this.txtHEmpID2 = new System.Windows.Forms.TextBox();
            this.label40 = new System.Windows.Forms.Label();
            this.Tool.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit();
@@ -355,6 +355,64 @@
            this.groupBox4.TabIndex = 137;
            this.groupBox4.TabStop = false;
            // 
            // txtHEmpID
            //
            this.txtHEmpID.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID.Location = new System.Drawing.Point(1259, 19);
            this.txtHEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHEmpID.Name = "txtHEmpID";
            this.txtHEmpID.ReadOnly = true;
            this.txtHEmpID.Size = new System.Drawing.Size(137, 36);
            this.txtHEmpID.TabIndex = 154;
            this.txtHEmpID.TextChanged += new System.EventHandler(this.txtHEmpID_TextChanged);
            //
            // cmdHEmp2
            //
            this.cmdHEmp2.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmp2.Image")));
            this.cmdHEmp2.Location = new System.Drawing.Point(1403, 58);
            this.cmdHEmp2.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHEmp2.Name = "cmdHEmp2";
            this.cmdHEmp2.Size = new System.Drawing.Size(43, 40);
            this.cmdHEmp2.TabIndex = 161;
            this.cmdHEmp2.UseVisualStyleBackColor = true;
            this.cmdHEmp2.Click += new System.EventHandler(this.cmdHEmp2_Click);
            //
            // label39
            //
            this.label39.AutoSize = true;
            this.label39.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label39.ForeColor = System.Drawing.Color.Black;
            this.label39.Location = new System.Drawing.Point(1163, 66);
            this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(59, 20);
            this.label39.TabIndex = 159;
            this.label39.Text = "鑱屽憳2";
            //
            // txtHEmpID2
            //
            this.txtHEmpID2.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID2.Location = new System.Drawing.Point(1259, 60);
            this.txtHEmpID2.Margin = new System.Windows.Forms.Padding(4);
            this.txtHEmpID2.Name = "txtHEmpID2";
            this.txtHEmpID2.ReadOnly = true;
            this.txtHEmpID2.Size = new System.Drawing.Size(137, 36);
            this.txtHEmpID2.TabIndex = 160;
            //
            // label40
            //
            this.label40.AutoSize = true;
            this.label40.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label40.ForeColor = System.Drawing.Color.Black;
            this.label40.Location = new System.Drawing.Point(1163, 25);
            this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(59, 20);
            this.label40.TabIndex = 156;
            this.label40.Text = "鑱屽憳1";
            //
            // lblHBWeight
            // 
            this.lblHBWeight.BackColor = System.Drawing.Color.Silver;
@@ -365,6 +423,17 @@
            this.lblHBWeight.TabIndex = 140;
            this.lblHBWeight.Text = "0";
            this.lblHBWeight.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // cmdHEmpID
            //
            this.cmdHEmpID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID.Image")));
            this.cmdHEmpID.Location = new System.Drawing.Point(1403, 14);
            this.cmdHEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHEmpID.Name = "cmdHEmpID";
            this.cmdHEmpID.Size = new System.Drawing.Size(43, 40);
            this.cmdHEmpID.TabIndex = 155;
            this.cmdHEmpID.UseVisualStyleBackColor = true;
            this.cmdHEmpID.Click += new System.EventHandler(this.cmdHEmpID_Click);
            // 
            // txtHUnitID
            // 
@@ -937,19 +1006,6 @@
            this.tabPage1.TabIndex = 2;
            this.tabPage1.Text = "鍏朵粬淇℃伅";
            // 
            // txtHEmpID
            //
            this.txtHEmpID.Enabled = false;
            this.txtHEmpID.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID.Location = new System.Drawing.Point(1259, 19);
            this.txtHEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.txtHEmpID.Name = "txtHEmpID";
            this.txtHEmpID.ReadOnly = true;
            this.txtHEmpID.Size = new System.Drawing.Size(137, 36);
            this.txtHEmpID.TabIndex = 154;
            this.txtHEmpID.TextChanged += new System.EventHandler(this.txtHEmpID_TextChanged);
            //
            // txtHOWNERID
            // 
            this.txtHOWNERID.Enabled = false;
@@ -1019,18 +1075,6 @@
            this.txtHProcessID.Size = new System.Drawing.Size(240, 36);
            this.txtHProcessID.TabIndex = 142;
            this.txtHProcessID.TextChanged += new System.EventHandler(this.txtHProcessID_TextChanged);
            //
            // cmdHEmpID
            //
            this.cmdHEmpID.Enabled = false;
            this.cmdHEmpID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID.Image")));
            this.cmdHEmpID.Location = new System.Drawing.Point(1403, 14);
            this.cmdHEmpID.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHEmpID.Name = "cmdHEmpID";
            this.cmdHEmpID.Size = new System.Drawing.Size(43, 40);
            this.cmdHEmpID.TabIndex = 155;
            this.cmdHEmpID.UseVisualStyleBackColor = true;
            this.cmdHEmpID.Click += new System.EventHandler(this.cmdHEmpID_Click);
            // 
            // label31
            // 
@@ -1680,52 +1724,6 @@
            // 
            this.timer3.Interval = 1000;
            this.timer3.Tick += new System.EventHandler(this.timer3_Tick);
            //
            // cmdHEmp2
            //
            this.cmdHEmp2.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmp2.Image")));
            this.cmdHEmp2.Location = new System.Drawing.Point(1403, 58);
            this.cmdHEmp2.Margin = new System.Windows.Forms.Padding(4);
            this.cmdHEmp2.Name = "cmdHEmp2";
            this.cmdHEmp2.Size = new System.Drawing.Size(43, 40);
            this.cmdHEmp2.TabIndex = 161;
            this.cmdHEmp2.UseVisualStyleBackColor = true;
            this.cmdHEmp2.Click += new System.EventHandler(this.cmdHEmp2_Click);
            //
            // label39
            //
            this.label39.AutoSize = true;
            this.label39.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label39.ForeColor = System.Drawing.Color.Black;
            this.label39.Location = new System.Drawing.Point(1163, 66);
            this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(59, 20);
            this.label39.TabIndex = 159;
            this.label39.Text = "鑱屽憳2";
            //
            // txtHEmpID2
            //
            this.txtHEmpID2.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID2.Location = new System.Drawing.Point(1259, 60);
            this.txtHEmpID2.Margin = new System.Windows.Forms.Padding(4);
            this.txtHEmpID2.Name = "txtHEmpID2";
            this.txtHEmpID2.ReadOnly = true;
            this.txtHEmpID2.Size = new System.Drawing.Size(137, 36);
            this.txtHEmpID2.TabIndex = 160;
            //
            // label40
            //
            this.label40.AutoSize = true;
            this.label40.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label40.ForeColor = System.Drawing.Color.Black;
            this.label40.Location = new System.Drawing.Point(1163, 25);
            this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(59, 20);
            this.label40.TabIndex = 156;
            this.label40.Text = "鑱屽憳1";
            // 
            // Sc_PackUnionBill
            //