From 21a248a0cf76b6f05fcaac6f90975ef15ab607a1 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 18 十二月 2024 09:24:10 +0800
Subject: [PATCH] 公文纸,试卷

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs
index b5fce9b..fa22046 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs
@@ -72,7 +72,12 @@
                 {
                     var model = bll_EC_OrderBasicBLL.SelectModelById(models[0].Keyid.Value);
                     name = models[0].BuyerName;
-                    this.selBusinessManager.Value = model.BusinessManagerId.HasValue? model.BusinessManagerId.Value.ToString():"";
+                    OA_CorporateClients oA_CorporateClients = _oA_CorporateClientsBLL.GetModel(models[0].BuyerId);
+                    if (oA_CorporateClients != null)
+                    {
+                        this.selBusinessManager.Value = oA_CorporateClients.BusinessManagerId.HasValue ? oA_CorporateClients.BusinessManagerId.Value.ToString() : "";
+                    }
+                    
                 }
                 total = models.Sum(x=>x.SumPrice)??0;
                 txtZengjianmoney.Value = "0";

--
Gitblit v1.9.1