From 9dec67fc7bd6064995d4f9fdc937d0cf9e592012 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 18 三月 2026 13:01:58 +0800
Subject: [PATCH] 20260318 除“书刊”、“画册”外,其他所有订单类型的“构件”和“P数”默认空白

---
 CY_ECommercePlatform/CY.WebForm/Pages/front/AdvertisingCup.aspx.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/front/AdvertisingCup.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/front/AdvertisingCup.aspx.cs
index 8c67c79..507e9fc 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/front/AdvertisingCup.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/front/AdvertisingCup.aspx.cs
@@ -1,4 +1,5 @@
-锘縰sing System;
+锘縰sing CY.BLL.Sys;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Web;
@@ -15,7 +16,12 @@
             if (!IsPostBack)
             {
                 if (Request["PrintTypeId"] != null)
-                PrintTypeId = int.Parse(Request["PrintTypeId"].ToString());
+                    PrintTypeId = int.Parse(Request["PrintTypeId"].ToString());
+
+                Sys_DictionaryBLL _sys_DictionaryBLL = new Sys_DictionaryBLL();//瀛楀吀涓氬姟閫昏緫鎿嶄綔绫诲璞�
+                this.ysUnit.DataSource = _sys_DictionaryBLL.GetDataByType("鍗板埛鍗曚綅").Where(x => x.MeanValue == 4);
+                this.ysUnit.DataBind();
+                this.ysUnit.Value = "4";
             }
         }
     }

--
Gitblit v1.9.1