WarM/ÌõÂë´òÓ¡/Kf_WeighToBarCode_StationOutBill.cs
@@ -594,6 +594,11 @@
                MessageBox.Show("工序不允许为空,请先输入流水号后回车确认!", "提示");
                return false;
            }
            else if (DBUtility.ClsPub.isInt(txtHProcNo.Text) == 0)
            {
                MessageBox.Show("请输入正确流水号!", "提示");
                return false;
            }
            else if (DBUtility.ClsPub.isLong(txtHSourceID.Tag) == 0)
            {
                MessageBox.Show("生产资源不允许为空,请先选择生产资源!", "提示");
@@ -973,13 +978,13 @@
        {
            if (e.KeyCode == Keys.Return)
            {
                if (txtHProcNo.Text == "")
                if (DBUtility.ClsPub.isLong(txtHProcNo.Text) == 0)
                {
                    MessageBox.Show("流水号为空,请输入流水号!");
                    MessageBox.Show("流水号为空或所输入流水号不正确,请重新输入流水号!");
                    return;
                }
                //根据转卡主ID、流水号带出流转卡上相应工序、班组、工作中心、生产资源
                DataSet Ds = oCn.RunProcReturn("exec h_p_KF_GetBCPWeighSource_HProcNo " + HProcessExchangeInterID.ToString() + "," + txtHProcNo.Text, "h_p_KF_GetBCPWeighSource_HProcNo");
                DataSet Ds = oCn.RunProcReturn("exec h_p_KF_GetBCPWeighSource_HProcNo2 " + HProcessExchangeInterID.ToString() + "," + DBUtility.ClsPub.isLong(txtHProcNo.Text) + ",'" + DBUtility.ClsPub.CurUserID + "'", "h_p_KF_GetBCPWeighSource_HProcNo2");
                if (Ds == null || Ds.Tables[0].Rows.Count == 0)
                {
                    txtHProcNo.Text = "";
@@ -991,7 +996,7 @@
                    txtHGroupID.Text = "";
                    txtHSourceID.Tag = 0;
                    txtHSourceID.Text = "";
                    MessageBox.Show("所输入流水号不在当前工序流转卡下,请重新输入流水号!");
                    MessageBox.Show("所输入流水号不在当前工序流转卡下或用户未关联该流水号所对应相关工序,请重新输入流水号!");
                    return;
                }
                else