From a0b3492010949e0d044892b9bb6456b51ae0d458 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期日, 26 一月 2025 12:14:19 +0800
Subject: [PATCH] 从“专版工单”发起生成的“纸张采购”中增加显示“印件名称”

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx.cs |   46 +++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 41 insertions(+), 5 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx.cs
index c4fbc6d..7979ea0 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx.cs
@@ -36,6 +36,9 @@
         public string printCount = "";
         public string[] Width = new string[7];
         public string[] Lenth = new string[7];
+        public string xialapr = "";
+        public string orderIdstrrrr = "";
+
         //鍒濆鍖�
         public AgSpecialOrderEdit()
         {
@@ -81,6 +84,12 @@
                 {
                     PressesDeskHtml += "<option value='" + item.ParName + "'>" + item.ParName + "</option>";
                 }
+            }
+            var sss = bll_EC_MemberDictionaryBLL.SelectListByMemberIdAndParType(CurrentUser.MemberId, "鐗堟潗瑙勬牸");
+            foreach (var eC_MemberDictionary in sss)
+            {
+                xialapr += " <div class=\"xialaprp\">" + eC_MemberDictionary.ParName + "</div>";
+
             }
             if (m_EC_MemberDictionaryList_o != null && m_EC_MemberDictionaryList_o.Count > 0)
             {
@@ -160,6 +169,7 @@
                 return false;
             }
 
+            orderIdstrrrr = orderIdStr;
             EC_OrderPrintParameterBLL _eC_OrderPrintParameterBLL = new EC_OrderPrintParameterBLL();
             EC_OrderPrintParameter _eC_OrderPrintParameter = _eC_OrderPrintParameterBLL.GetModel(orderId.Value);
             InquiryCommonModel _inquiryCommonModel = null;
@@ -229,8 +239,10 @@
             {
                 m_EC_SpecialForumsList = new List<EC_SpecialForums>();
                 EC_SpecialForums m_EC_SpecialForums = new EC_SpecialForums();
+                //m_EC_SpecialForums.PSF_Note = _inquiryCommonModel.AfterWorksDemand;
                 m_EC_SpecialForums.PSF_Forumsid = 1;
                 m_EC_SpecialForumsList.Add(m_EC_SpecialForums);
+                this.txtPSO_Work.InnerText = _inquiryCommonModel.AfterWorksDemand;
             }
             this.RepClientList.DataSource = m_EC_SpecialForumsList;
             this.RepClientList.DataBind();
@@ -346,6 +358,7 @@
                 string[] PSF_PrintedColorPositive = Request["PSF_PrintedColorPositive"].ToString2().Split(',');
                 string[] PSF_PrintedColorRear = Request["PSF_PrintedColorRear"].ToString2().Split(',');
                 string[] PSF_Typesetting = Request["PSF_Typesetting"].ToString2().Split(',');
+                string[] PSF_Typesettinghide = Request["PSF_Typesettinghide"].ToString2().Split(',');
                 string[] PSF_PrintedCount = Request["PSF_PrintedCount"].ToString2().Split(',');
                 string[] PSF_PrintedPositive = Request["PSF_PrintedPositive"].ToString2().Split(',');
                 string[] PSF_LastNum = Request["PSF_LastNum"].ToString2().Split(',');
@@ -365,6 +378,7 @@
                 string[] PSF_BigPaperCount = Request["PSF_BigPaperCount"].ToString2().Split(',');
                 string[] PSF_OpenSpecifications = Request["PSF_OpenSpecifications"].ToString2().Split(',');
                 string[] PSF_OpenWidth = Request["PSF_OpenWidth"].ToString2().Split(',');
+                string[] PSF_OpenWidthName = Request["PSF_OpenWidthName"].ToString2().Split(',');
                 string[] PSF_OpenLength = Request["PSF_OpenLength"].ToString2().Split(',');
 
                 string[] selPlateType = Request["selPlateType"].ToString2().Split(',');
@@ -435,7 +449,15 @@
                     m_EC_SpecialForums.PSF_PressesDesk = PSF_PressesDesk[i].ToString2().Replace("锛�+-+锛�", ",");
                     m_EC_SpecialForums.PSF_PrintedColorPositive = PSF_PrintedColorPositive[i].ToString2().Replace("锛�+-+锛�", ",");
                     m_EC_SpecialForums.PSF_PrintedColorRear = PSF_PrintedColorRear[i].ToString2().Replace("锛�+-+锛�", ",");
-                    m_EC_SpecialForums.PSF_Typesetting = PSF_Typesetting[i].ToString2().Replace("锛�+-+锛�", ",");
+                    if (PSF_PressesDesk[i].IndexOf("鏁扮爜") >= 0)
+                    {
+                        m_EC_SpecialForums.PSF_Typesetting = PSF_Typesettinghide[i].ToString2().Replace("锛�+-+锛�", ",");
+                    }
+                    else
+                    {
+                        m_EC_SpecialForums.PSF_Typesetting = PSF_Typesetting[i].ToString2().Replace("锛�+-+锛�", ",");
+                    }
+                       
                     
                     if (PSF_PrintedCount[i].ToInt32() == null)
                     {
@@ -484,16 +506,30 @@
                     //}
                     m_EC_SpecialForums.PSF_BigPaperCount = 0;
                     m_EC_SpecialForums.PSF_OpenSpecifications = PSF_OpenSpecifications[i].ToString2().Replace("锛�+-+锛�", ",");
-                    
-                    if (PSF_OpenWidth[i].ToInt32() == null)
+                    if (PSF_PressesDesk[i].IndexOf("杞浆")>=0)
                     {
-                        m_EC_SpecialForums.PSF_OpenWidth = 0;
+                        if (PSF_OpenWidthName[i].ToInt32() == null)
+                        {
+                            m_EC_SpecialForums.PSF_OpenWidth = 0;
+                        }
+                        else
+                        {
+                            m_EC_SpecialForums.PSF_OpenWidth = PSF_OpenWidthName[i].ToInt32();
+                        }
                     }
                     else
                     {
-                        m_EC_SpecialForums.PSF_OpenWidth = PSF_OpenWidth[i].ToInt32();
+                        if (PSF_OpenWidth[i].ToInt32() == null)
+                        {
+                            m_EC_SpecialForums.PSF_OpenWidth = 0;
+                        }
+                        else
+                        {
+                            m_EC_SpecialForums.PSF_OpenWidth = PSF_OpenWidth[i].ToInt32();
+                        }
                     }
                    
+                   
                     if (PSF_OpenLength[i].ToInt32() == null)
                     {
                         m_EC_SpecialForums.PSF_OpenLength = 0;

--
Gitblit v1.9.1