diff --git a/UICode/CustPOSendMailUI/WebPart/CustPOSendMailUIFormWebPartCodeBehindExtend.cs b/UICode/CustPOSendMailUI/WebPart/CustPOSendMailUIFormWebPartCodeBehindExtend.cs index c62b8c1..5551f5b 100644 --- a/UICode/CustPOSendMailUI/WebPart/CustPOSendMailUIFormWebPartCodeBehindExtend.cs +++ b/UICode/CustPOSendMailUI/WebPart/CustPOSendMailUIFormWebPartCodeBehindExtend.cs @@ -318,7 +318,10 @@ namespace UFIDA.U9.Cust.WC.CustPOSendMailUI mailMessage += @" "; - message.CC.Add(PurMail);//采购员抄送人邮箱 + if (!string.IsNullOrEmpty(PurMail)) + { + message.CC.Add(PurMail);//采购员抄送人邮箱 + } message.CC.Add("yu.zhou@panawincn.com");//采购经理抄送人邮箱 message.Body = mailMessage;// mailContent;//邮件内容