南骏 池
2025-02-06 34012288573b87c2250cc4236d5b23ea17b6fb8a
1.其他出库优化
2.其他出库条码限制取消
已修改2个文件
4 ■■■■ 文件已修改
entity/MesInvItemOutItems.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/Warehouse/MesItemQtrkManager.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
entity/MesInvItemOutItems.cs
@@ -221,7 +221,7 @@
    ///     物料投料单ID(发料扫码使用)
    /// </summary>
    [SugarColumn(ColumnName = "item_dabid")]
    public int? ItemDabid { get; set; }
    public Guid? ItemDabid { get; set; }
    /// <summary>
    ///     应该是到货明细表的guid
service/Warehouse/MesItemQtrkManager.cs
@@ -131,7 +131,7 @@
        if (barcode == null) throw new Exception("条码不存在,请核对!");
        if (barcode.ComeFlg != 3) throw new Exception("条码不是其他入库条码,无法用其他入库!");
        //if (barcode.ComeFlg != 3) throw new Exception("条码不是其他入库条码,无法用其他入库!");
        // 验证条码是否已在库存中
        var stockCount = Db.Queryable<MesInvItemStocks>()