yangle
2023-09-14 27b9cc5fa781f8376a863517d3979d0a201e43e9
WarM/ÌõÂë´òÓ¡/Kf_WeighToBarCode_StationOutBill.cs
@@ -391,8 +391,10 @@
                        ",0,0,0,0,0,0,0,0,0" +
                        ",0,0,''," + sHBarCodeInterID.ToString() + "," + HStockOrgID.ToString() +
                        ") ");
                    }
                        ////回填流转卡关联数量
                        //oCn.RunProc("exec h_p_Mes_ProcessExchangeRelationQty_Out " + sInterID + ",1");
                    }
                    //回填已生单状态
                    oCn.RunProc("Update KF_BCPWeighSource_Temp set HRelationInterID=1 where HInterID= " + HInterID.ToString());
                    MessageBox.Show("生成工序出站汇报单成功!", "提示");
@@ -587,9 +589,14 @@
                MessageBox.Show("请输入包号!", "提示");
                return false;
            }
            else if (DBUtility.ClsPub.isDoule(txtHProcID.Tag) == 0)
            else if (DBUtility.ClsPub.isLong(txtHProcID.Tag) == 0)
            {
                MessageBox.Show("请先选择工序!", "提示");
                MessageBox.Show("工序不允许为空,请先输入流水号后回车确认!", "提示");
                return false;
            }
            else if (DBUtility.ClsPub.isLong(txtHSourceID.Tag) == 0)
            {
                MessageBox.Show("生产资源不允许为空,请先选择生产资源!", "提示");
                return false;
            }