tjx
2025-10-20 44f8cff4b0cc7f72a549110170c9aa1ec8a5a6c9
入库
已修改1个文件
4 ■■■■ 文件已修改
service/Warehouse/MesInvItemInCDetailsManager.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/Warehouse/MesInvItemInCDetailsManager.cs
@@ -214,7 +214,7 @@
        // 判断货主类型
        var owner_type = wmsManager.GetOwnerType(cgddDetails.DemandOrg);
        //var owner_type = wmsManager.GetOwnerType(cgddDetails.DemandOrg);
        // if (Db.Queryable<SysOrganization>().Any(x => x.Fid == cgddDetails.DemandOrg))
        // {
        //     owner_type = "BD_OwnerOrg";
@@ -734,7 +734,7 @@
                BillNo = itemBarcodeDetails.BillNo,
                DepotId = Convert.ToInt32(mesDepost.DepotId),
                OwnerId = cgddDetails.DemandOrg,
                OwnerType = owner_type,
                // OwnerType = owner_type,
                StockOrgId = mesDepost.FSubsidiary,
                IndepUserCode = user
            }).IgnoreColumns(true).ExecuteCommand();