Commit 63b94ffe authored by 吴春's avatar 吴春
parents c8687e04 7a1fc48d
...@@ -3251,7 +3251,7 @@ namespace REBORN.Services.SellService ...@@ -3251,7 +3251,7 @@ namespace REBORN.Services.SellService
x.PassportNo, x.PassportNo,
x.Tel x.Tel
}), }),
SupplierModel = new { SupplierId = model?.SupplierModel?.ID ?? 0, SupplierName = model?.SupplierModel?.Name ?? "", CompanyName = model?.SupplierModel?.CompanyName ?? "", DutyParagraph = model?.SupplierModel?.DutyParagraph ?? "", CompanyPhone = model?.SupplierModel?.CompanyPhone ?? "", OpeningBank = model?.SupplierModel?.OpeningBank ?? "", BankNo = model?.SupplierModel?.BankNo ?? "" }, SupplierModel = new { SupplierId = model?.SupplierModel?.ID ?? 0, SupplierName = model?.SupplierModel?.Name ?? "", Tel = model?.SupplierModel?.Tel ?? "", Contact = model?.SupplierModel?.Contact ?? "", CompanyName = model?.SupplierModel?.CompanyName ?? "", DutyParagraph = model?.SupplierModel?.DutyParagraph ?? "", CompanyPhone = model?.SupplierModel?.CompanyPhone ?? "", OpeningBank = model?.SupplierModel?.OpeningBank ?? "", BankNo = model?.SupplierModel?.BankNo ?? "" },
AppointOPList = model.AppointOPList?.Select(z => new { z.OPId, OPName = CacheManager.User.RbUserCache.GetUserLoginInfo(z.OPId.ToString())?.emName ?? "" }), AppointOPList = model.AppointOPList?.Select(z => new { z.OPId, OPName = CacheManager.User.RbUserCache.GetUserLoginInfo(z.OPId.ToString())?.emName ?? "" }),
AppointOPIdList = model.AppointOPList?.Select(x => x.OPId).Distinct().ToList() AppointOPIdList = model.AppointOPList?.Select(x => x.OPId).Distinct().ToList()
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment