生产入库(源单:生产汇报单)模块,非多源单模式扫码增加控制,只能扫描对应源单条码
1个文件已修改
14 ■■■■■ 已修改文件
CLOUDWEB/WebService1.asmx.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CLOUDWEB/WebService1.asmx.cs
@@ -31469,6 +31469,19 @@
                    }
                    else
                    {
                        if (HSourceBillNo != "" && SourceFlag == true)
                        {
                            if (HBillType == "1202") //生产入库时 条码主内码、子内码和源单主内码、子内码必须一致
                            {
                                if (dal.omodel_View.HSourceInterID != DBUtility.ClsPub.isLong(ds2.Tables[0].Rows[0]["HSourceInterID"])
                                    && dal.omodel_View.HSourceEntryID != DBUtility.ClsPub.isLong(ds2.Tables[0].Rows[0]["HSourceEntryID"])
                                    )
                                {
                                    sErrMsg = "该条码的源单与扫描的源单不一致,请确认无误后重新扫描!";
                                    return false;
                                }
                            }
                        }
                        dal.omodel_View.HSourceBillNo = DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HSourceBillNo"]);
                        dal.omodel_View.HSourceEntryID = DBUtility.ClsPub.isLong(ds2.Tables[0].Rows[0]["HSourceEntryID"]);
                        dal.omodel_View.HSourceInterID = DBUtility.ClsPub.isLong(ds2.Tables[0].Rows[0]["HSourceInterID"]);
@@ -33164,6 +33177,7 @@
        #endregion
        #region 模具条码处理方法
        #region 扫描模具源单条码