雅琪诺MES智能条码管理系统
jingh
2021-03-10 aaf61dbf97e6d7faaa7568aa30ac23668cab6095
销售裁切不良评审单
5个文件已修改
148 ■■■■ 已修改文件
SCM/单据资料/Sc_ICMOReportToBarCode.cs 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/单据资料/Sc_ICMOReportToBarCode.designer.cs 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/生产管理/Gy_BadReasonList.Designer.cs 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/生产管理/Gy_BadReasonList.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/生产管理/Gy_BadReasonList.resx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/µ¥¾Ý×ÊÁÏ/Sc_ICMOReportToBarCode.cs
@@ -1423,12 +1423,24 @@
        private void btnBLHB_Click(object sender, EventArgs e)
        {
            if(HSourceInterID<=0)
            {
                MessageBox.Show("没有选单!");
                return;
            }
            Gy_BadReasonList oGy_BadReasonList = new Gy_BadReasonList();
            oGy_BadReasonList.sSourceTypeName = HSourceBillType;
            oGy_BadReasonList.ShowDialog();
            if (oGy_BadReasonList.ISOK == 1)
            {
                txtHReasonList.Text = "";
                txtHReasonList.Text = oGy_BadReasonList.txtHBadReason.Text;
                if (HSourceBillType == "生产订单") //销售裁切
                {
                    txtHBadQty.Text = oGy_BadReasonList.txtHBadQty.Text;
                }
                if (SaveBadReasonBill())
                {
                    MessageBox.Show("保存不良原因成功!");
@@ -1501,6 +1513,7 @@
                oQC_NoPassProdCheckBillMain.HDate = DateTime.Today;
                oQC_NoPassProdCheckBillMain.HSourceID = DBUtility.ClsPub.isLong(txtHSourceID.Tag);
                oQC_NoPassProdCheckBillMain.HMaterID = DBUtility.ClsPub.isLong(txtHMaterNumber.Tag);
                oQC_NoPassProdCheckBillMain.HGroupName = txtHGroupID.Text;
                oQC_NoPassProdCheckBillMain.HProcID = DBUtility.ClsPub.isLong(0);
                oQC_NoPassProdCheckBillMain.HWorkCenterID = DBUtility.ClsPub.isLong(0);
                oQC_NoPassProdCheckBillMain.HICMOInterID = 0;
@@ -1508,13 +1521,21 @@
                oQC_NoPassProdCheckBillMain.HInStockQty = 0;
                oQC_NoPassProdCheckBillMain.HCheckQty = 0;
                oQC_NoPassProdCheckBillMain.HRightQty = 0;
                oQC_NoPassProdCheckBillMain.HBadQty = DBUtility.ClsPub.isDoule(txtHDQQty.Text);
                if (HSourceBillType == "生产订单") //销售裁切
                {
                    oQC_NoPassProdCheckBillMain.HBadQty = DBUtility.ClsPub.isDoule(txtHBadQty.Text);
                    oQC_NoPassProdCheckBillMain.HNote = "销售裁切";
                }
                else
                {
                    oQC_NoPassProdCheckBillMain.HBadQty = DBUtility.ClsPub.isDoule(txtHDQQty.Text);
                    oQC_NoPassProdCheckBillMain.HNote = "在线检验";
                }
                oQC_NoPassProdCheckBillMain.HPlanQty = 0;
                oQC_NoPassProdCheckBillMain.HBadPNL = 0;
                oQC_NoPassProdCheckBillMain.HPlanPNL = 0;
                oQC_NoPassProdCheckBillMain.HFirstCheckEmp = 0;
                oQC_NoPassProdCheckBillMain.HCheckerResult = txtHReasonList.Text;
                oQC_NoPassProdCheckBillMain.HNote = "在线检验";
                oQC_NoPassProdCheckBillMain.HProcExchInterID = HSourceInterID;//源单主内码
                oQC_NoPassProdCheckBillMain.HProcExchEntryID = HSourceEntryID;//源单子内码
                oQC_NoPassProdCheckBillMain.HProcExchBillNo = HSourceBillTypeID;//源单类型
SCM/µ¥¾Ý×ÊÁÏ/Sc_ICMOReportToBarCode.designer.cs
@@ -159,6 +159,9 @@
            this.label12 = new System.Windows.Forms.Label();
            this.button4 = new System.Windows.Forms.Button();
            this.timer3 = new System.Windows.Forms.Timer(this.components);
            this.tabPage5 = new System.Windows.Forms.TabPage();
            this.txtHBadQty = new System.Windows.Forms.TextBox();
            this.label33 = new System.Windows.Forms.Label();
            this.Tool.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit();
@@ -184,6 +187,7 @@
            ((System.ComponentModel.ISupportInitialize)(this.grdSub)).BeginInit();
            this.groupBox3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.tabPage5.SuspendLayout();
            this.SuspendLayout();
            // 
            // Tool
@@ -333,6 +337,7 @@
            // 
            this.tabControl3.Controls.Add(this.tabPage3);
            this.tabControl3.Controls.Add(this.tabPage4);
            this.tabControl3.Controls.Add(this.tabPage5);
            this.tabControl3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl3.Location = new System.Drawing.Point(4, 141);
            this.tabControl3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
@@ -1081,13 +1086,12 @@
            // 
            this.grdEmp.BackgroundColor = System.Drawing.Color.White;
            this.grdEmp.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdEmp.Dock = System.Windows.Forms.DockStyle.Right;
            this.grdEmp.Location = new System.Drawing.Point(1264, 0);
            this.grdEmp.Location = new System.Drawing.Point(1241, 17);
            this.grdEmp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.grdEmp.Name = "grdEmp";
            this.grdEmp.RowHeadersWidth = 51;
            this.grdEmp.RowTemplate.Height = 27;
            this.grdEmp.Size = new System.Drawing.Size(83, 182);
            this.grdEmp.Size = new System.Drawing.Size(83, 35);
            this.grdEmp.TabIndex = 150;
            this.grdEmp.Visible = false;
            // 
@@ -1656,7 +1660,6 @@
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.btnBLBD);
            this.tabPage2.Controls.Add(this.grdSub);
            this.tabPage2.Controls.Add(this.groupBox3);
            this.tabPage2.Location = new System.Drawing.Point(4, 25);
@@ -1671,7 +1674,7 @@
            // btnBLBD
            // 
            this.btnBLBD.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btnBLBD.Location = new System.Drawing.Point(1085, 58);
            this.btnBLBD.Location = new System.Drawing.Point(254, 18);
            this.btnBLBD.Margin = new System.Windows.Forms.Padding(4);
            this.btnBLBD.Name = "btnBLBD";
            this.btnBLBD.Size = new System.Drawing.Size(149, 66);
@@ -1702,6 +1705,7 @@
            // groupBox3
            // 
            this.groupBox3.BackColor = System.Drawing.Color.Lavender;
            this.groupBox3.Controls.Add(this.btnBLBD);
            this.groupBox3.Controls.Add(this.txtHReasonList);
            this.groupBox3.Controls.Add(this.pictureBox1);
            this.groupBox3.Controls.Add(this.btnBLHB);
@@ -1804,6 +1808,37 @@
            this.timer3.Interval = 300;
            this.timer3.Tick += new System.EventHandler(this.timer3_Tick);
            // 
            // tabPage5
            //
            this.tabPage5.BackColor = System.Drawing.Color.Lavender;
            this.tabPage5.Controls.Add(this.txtHBadQty);
            this.tabPage5.Controls.Add(this.label33);
            this.tabPage5.Location = new System.Drawing.Point(4, 25);
            this.tabPage5.Name = "tabPage5";
            this.tabPage5.Size = new System.Drawing.Size(1347, 182);
            this.tabPage5.TabIndex = 2;
            this.tabPage5.Text = "其他信息";
            //
            // txtHBadQty
            //
            this.txtHBadQty.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBadQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBadQty.Location = new System.Drawing.Point(148, 22);
            this.txtHBadQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBadQty.Name = "txtHBadQty";
            this.txtHBadQty.Size = new System.Drawing.Size(137, 36);
            this.txtHBadQty.TabIndex = 115;
            //
            // label33
            //
            this.label33.AutoSize = true;
            this.label33.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label33.Location = new System.Drawing.Point(37, 22);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(89, 20);
            this.label33.TabIndex = 114;
            this.label33.Text = "不良米数";
            //
            // Sc_ICMOReportToBarCode
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
@@ -1855,6 +1890,8 @@
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.tabPage5.ResumeLayout(false);
            this.tabPage5.PerformLayout();
            this.ResumeLayout(false);
        }
@@ -1990,5 +2027,8 @@
        private System.Windows.Forms.Button cmdNext;
        private System.Windows.Forms.Label lblHCusModel;
        private System.Windows.Forms.TextBox txtHCusModel;
        private System.Windows.Forms.TabPage tabPage5;
        private System.Windows.Forms.Label label33;
        public System.Windows.Forms.TextBox txtHBadQty;
    }
}
SCM/Éú²ú¹ÜÀí/Gy_BadReasonList.Designer.cs
@@ -48,6 +48,7 @@
            this.cmdHOK = new System.Windows.Forms.Button();
            this.cmdCancel = new System.Windows.Forms.Button();
            this.tabControl2 = new System.Windows.Forms.TabControl();
            this.txtHBadQty = new System.Windows.Forms.TextBox();
            this.tabPage3.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabControl1.SuspendLayout();
@@ -62,7 +63,7 @@
            this.tabPage3.Location = new System.Drawing.Point(4, 25);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage3.Size = new System.Drawing.Size(1381, 539);
            this.tabPage3.Size = new System.Drawing.Size(1381, 699);
            this.tabPage3.TabIndex = 0;
            this.tabPage3.Text = "不良原因清单";
            // 
@@ -73,7 +74,7 @@
            this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3);
            this.flowLayoutPanel1.Name = "flowLayoutPanel1";
            this.flowLayoutPanel1.Size = new System.Drawing.Size(1375, 533);
            this.flowLayoutPanel1.Size = new System.Drawing.Size(1375, 693);
            this.flowLayoutPanel1.TabIndex = 13;
            // 
            // tabPage1
@@ -92,7 +93,7 @@
            this.tabPage1.Location = new System.Drawing.Point(4, 25);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(1381, 152);
            this.tabPage1.Size = new System.Drawing.Size(1381, 93);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "产品信息";
            // 
@@ -100,7 +101,7 @@
            // 
            this.textBox3.Enabled = false;
            this.textBox3.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.textBox3.Location = new System.Drawing.Point(520, 86);
            this.textBox3.Location = new System.Drawing.Point(520, 48);
            this.textBox3.Name = "textBox3";
            this.textBox3.Size = new System.Drawing.Size(199, 36);
            this.textBox3.TabIndex = 8;
@@ -109,7 +110,7 @@
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.Location = new System.Drawing.Point(12, 27);
            this.label1.Location = new System.Drawing.Point(12, 10);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(135, 24);
            this.label1.TabIndex = 3;
@@ -119,7 +120,7 @@
            // 
            this.txtHBadReason.Enabled = false;
            this.txtHBadReason.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBadReason.Location = new System.Drawing.Point(175, 24);
            this.txtHBadReason.Location = new System.Drawing.Point(175, 7);
            this.txtHBadReason.Name = "txtHBadReason";
            this.txtHBadReason.Size = new System.Drawing.Size(1161, 36);
            this.txtHBadReason.TabIndex = 4;
@@ -128,7 +129,7 @@
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.Location = new System.Drawing.Point(12, 90);
            this.label2.Location = new System.Drawing.Point(12, 52);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(135, 24);
            this.label2.TabIndex = 5;
@@ -138,7 +139,7 @@
            // 
            this.textBox5.Enabled = false;
            this.textBox5.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.textBox5.Location = new System.Drawing.Point(1190, 86);
            this.textBox5.Location = new System.Drawing.Point(1190, 48);
            this.textBox5.Name = "textBox5";
            this.textBox5.Size = new System.Drawing.Size(146, 36);
            this.textBox5.TabIndex = 12;
@@ -147,7 +148,7 @@
            // 
            this.textBox2.Enabled = false;
            this.textBox2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.textBox2.Location = new System.Drawing.Point(175, 86);
            this.textBox2.Location = new System.Drawing.Point(175, 48);
            this.textBox2.Name = "textBox2";
            this.textBox2.Size = new System.Drawing.Size(176, 36);
            this.textBox2.TabIndex = 6;
@@ -156,7 +157,7 @@
            // 
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label5.Location = new System.Drawing.Point(1049, 86);
            this.label5.Location = new System.Drawing.Point(1049, 48);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(135, 24);
            this.label5.TabIndex = 11;
@@ -166,7 +167,7 @@
            // 
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label3.Location = new System.Drawing.Point(379, 86);
            this.label3.Location = new System.Drawing.Point(379, 48);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(135, 24);
            this.label3.TabIndex = 7;
@@ -176,7 +177,7 @@
            // 
            this.textBox4.Enabled = false;
            this.textBox4.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.textBox4.Location = new System.Drawing.Point(866, 86);
            this.textBox4.Location = new System.Drawing.Point(866, 48);
            this.textBox4.Name = "textBox4";
            this.textBox4.Size = new System.Drawing.Size(177, 36);
            this.textBox4.TabIndex = 10;
@@ -185,7 +186,7 @@
            // 
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.Location = new System.Drawing.Point(725, 86);
            this.label4.Location = new System.Drawing.Point(725, 48);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(135, 24);
            this.label4.TabIndex = 9;
@@ -195,17 +196,17 @@
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.tabControl1.Location = new System.Drawing.Point(0, 122);
            this.tabControl1.Location = new System.Drawing.Point(0, 97);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(1389, 181);
            this.tabControl1.Size = new System.Drawing.Size(1389, 122);
            this.tabControl1.TabIndex = 19;
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label6.Location = new System.Drawing.Point(16, 24);
            this.label6.Location = new System.Drawing.Point(12, 24);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(160, 24);
            this.label6.TabIndex = 4;
@@ -213,6 +214,7 @@
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.txtHBadQty);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.cmdHClear);
            this.groupBox1.Controls.Add(this.cmdHOK);
@@ -220,14 +222,14 @@
            this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupBox1.Location = new System.Drawing.Point(0, 0);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(1389, 122);
            this.groupBox1.Size = new System.Drawing.Size(1389, 97);
            this.groupBox1.TabIndex = 18;
            this.groupBox1.TabStop = false;
            // 
            // cmdHClear
            // 
            this.cmdHClear.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cmdHClear.Location = new System.Drawing.Point(819, 24);
            this.cmdHClear.Location = new System.Drawing.Point(819, 17);
            this.cmdHClear.Name = "cmdHClear";
            this.cmdHClear.Size = new System.Drawing.Size(149, 71);
            this.cmdHClear.TabIndex = 0;
@@ -238,7 +240,7 @@
            // cmdHOK
            // 
            this.cmdHOK.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cmdHOK.Location = new System.Drawing.Point(999, 24);
            this.cmdHOK.Location = new System.Drawing.Point(1004, 17);
            this.cmdHOK.Name = "cmdHOK";
            this.cmdHOK.Size = new System.Drawing.Size(133, 71);
            this.cmdHOK.TabIndex = 1;
@@ -249,7 +251,7 @@
            // cmdCancel
            // 
            this.cmdCancel.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cmdCancel.Location = new System.Drawing.Point(1176, 24);
            this.cmdCancel.Location = new System.Drawing.Point(1176, 17);
            this.cmdCancel.Name = "cmdCancel";
            this.cmdCancel.Size = new System.Drawing.Size(140, 71);
            this.cmdCancel.TabIndex = 2;
@@ -261,18 +263,28 @@
            // 
            this.tabControl2.Controls.Add(this.tabPage3);
            this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl2.Location = new System.Drawing.Point(0, 303);
            this.tabControl2.Location = new System.Drawing.Point(0, 219);
            this.tabControl2.Name = "tabControl2";
            this.tabControl2.SelectedIndex = 0;
            this.tabControl2.Size = new System.Drawing.Size(1389, 568);
            this.tabControl2.Size = new System.Drawing.Size(1389, 728);
            this.tabControl2.TabIndex = 20;
            //
            // txtHBadQty
            //
            this.txtHBadQty.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBadQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBadQty.Location = new System.Drawing.Point(401, 25);
            this.txtHBadQty.Margin = new System.Windows.Forms.Padding(4);
            this.txtHBadQty.Name = "txtHBadQty";
            this.txtHBadQty.Size = new System.Drawing.Size(216, 53);
            this.txtHBadQty.TabIndex = 117;
            // 
            // Gy_BadReasonList
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Lavender;
            this.ClientSize = new System.Drawing.Size(1389, 871);
            this.ClientSize = new System.Drawing.Size(1389, 947);
            this.ControlBox = false;
            this.Controls.Add(this.tabControl2);
            this.Controls.Add(this.tabControl1);
@@ -316,5 +328,6 @@
        private System.Windows.Forms.Button cmdCancel;
        private System.Windows.Forms.TabControl tabControl2;
        public System.Windows.Forms.TextBox txtHBadReason;
        public System.Windows.Forms.TextBox txtHBadQty;
    }
}
SCM/Éú²ú¹ÜÀí/Gy_BadReasonList.cs
@@ -25,6 +25,7 @@
        public SCM.WMSWeb.WebService1 oWeb = new SCM.WMSWeb.WebService1();
        private static Dictionary<string, int> BlDic;
        public int ISOK = 0;
        public string sSourceTypeName = "";
        private void Gy_BadReasonList_Load(object sender, EventArgs e)
        {
@@ -50,6 +51,14 @@
            {
                MessageBox.Show("请选择不良原因后提交", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }
            if (sSourceTypeName == "生产订单")
            {
                if (DBUtility.ClsPub.isDoule(txtHBadQty.Text) <= 0)
                {
                    MessageBox.Show("请输入不良米数!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    return;
                }
            }
            ISOK = 1;
            this.Visible = false;
@@ -97,6 +106,7 @@
                button.Click += new EventHandler(Btn_Click);//使用事件函数句柄指向一个具体的函数
                flowLayoutPanel1.Controls.Add(button);
            }
            label6.Text = label6.Text + sSourceTypeName;
        }
SCM/Éú²ú¹ÜÀí/Gy_BadReasonList.resx
@@ -112,9 +112,9 @@
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
</root>