From e67b811c4601e7a68c2a980cab2982aebf44c60c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 03 四月 2026 08:46:43 +0800
Subject: [PATCH] 减号要选择性的删除。每行都要有减号 完成 现在的“印刷数量”就是新版格式的“生产数量”,放在“生产要求”前面,跟生产要求一行 完成 消耗格子的宽度适当缩小点 完成
---
CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderDetail.aspx.cs | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 50 insertions(+), 6 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderDetail.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderDetail.aspx.cs
index 018f7c0..f72e33f 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderDetail.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderDetail.aspx.cs
@@ -20,6 +20,8 @@
{
EC_SpecialOrdersBLL bll_EC_SpecialOrdersBLL = null;
string orderIdStr = string.Empty;
+ public string PrintTypeId = "";
+ public string therowspan = "";
//鍒濆鍖�
public AgSpecialOrderDetail()
{
@@ -95,7 +97,7 @@
{
_inquiryCommonModel = SerializationHelper.DeSerialize(typeof(InquiryCommonModel), _eC_OrderPrintParameter.PrintParameter) as InquiryCommonModel;
}
-
+ PrintTypeId = _eC_OrderBasic.PrintTypeId.ToString();
#endregion
EC_SpecialOrders m_EC_SpecialOrders = bll_EC_SpecialOrdersBLL.GetModelByOrderId(orderId);
@@ -120,10 +122,10 @@
{
this.txtPSO_Work_o.InnerText = m_EC_SpecialOrders.PSO_Work;
}
-
+ this.txtPSO_Work_o_TR.Visible = false;
if (string.IsNullOrEmpty(m_EC_SpecialOrders.PSO_Remarks))
{
- this.txtPSO_Remarks_o_TR.Visible = false;
+ // this.txtPSO_Remarks_o_TR.Visible = false;
}
else
{
@@ -131,6 +133,7 @@
}
this.spanOrderNum.InnerText = _eC_OrderBasic.SellerOrderId;
+ this.spanPrintNum.InnerText = m_EC_SpecialOrders.OrderNum.ToString2() ;
//this.spanOrderType.InnerText = _eC_OrderBasic.OrderType.Name;
this.spanOrderTitle.InnerText = _eC_OrderBasic.DocumentName;
this.spanOrderDeliveryTime.InnerText = _eC_OrderBasic.DeliveryTime == null ? "" : _eC_OrderBasic.DeliveryTime.Value.ToString("yyyy-MM-dd HH:mm");
@@ -149,11 +152,11 @@
if (_eC_OrderBasic.PrintTypeId == 13)
{
- this.spanOrderPrintDemand.InnerText = "鍗板埛鏁伴噺锛�(" + _inquiryCommonModel.PrintBoxNumber + "娆�,姣忔" + _eC_OrderBasic.OrderExtend.PrintNum + "鐩�)锛�" + _inquiryCommonModel.PrintDemand;
+ this.spanOrderPrintDemand.InnerHtml = "鍗板埛鏁伴噺锛�(" + _inquiryCommonModel.PrintBoxNumber + "娆�,姣忔" + _eC_OrderBasic.OrderExtend.PrintNum + "鐩�)锛�" + _inquiryCommonModel.PrintDemand;
}
else
{
- this.spanOrderPrintDemand.InnerText = "鍗板埛鏁伴噺锛�(" + _eC_OrderBasic.OrderExtend.PrintNum + ")锛�" + _inquiryCommonModel.PrintDemand;
+ this.spanOrderPrintDemand.InnerHtml = "鍗板埛鏁伴噺锛�(" + _eC_OrderBasic.OrderExtend.PrintNum + ")锛�" + _inquiryCommonModel.PrintDemand;
}
this.spanOrderAfterWorksDemand.InnerText = _inquiryCommonModel.AfterWorksDemand;
@@ -177,10 +180,51 @@
{
eC_SpecialForums.shifouxianshi = "display:none;";
}
-
+
+ if (eC_SpecialForums.PSF_PressesDesk.IndexOf("涓庡叾浠栬鍗曞悎鐗�") >= 0 )
+ {
+ eC_SpecialForums.shifouxianshi = "display:none;";
+ eC_SpecialForums.shifouxianshiheban = "display:none;";
+ eC_SpecialForums.shifouqitadingdan = "";
+ }
+ else
+ {
+ eC_SpecialForums.shifouqitadingdan = "display:none;";
+ }
+
+ if (eC_SpecialForums.PSF_PressesDesk.IndexOf("杞浆") >= 0)
+ {
+ eC_SpecialForums.shifouxianshilunzhuan = "display:none;";
+
+ }
+ else
+ {
+ eC_SpecialForums.shifouxianshilunzhuan = "";
+ }
+
}
this.RepClientList.DataSource = m_EC_SpecialForumsList;
this.RepClientList.DataBind();
+
+
+ List<EC_SpecialHoudaos> m_EC_SpecialHoudaosList = bll_EC_SpecialOrdersBLL.GetEC_SpecialHoudaosListByKeyid(m_EC_SpecialOrders.Keyid) as List<EC_SpecialHoudaos>;
+ this.RepeaterHoudaoList.DataSource = m_EC_SpecialHoudaosList;
+ this.RepeaterHoudaoList.DataBind();
+
+ if (m_EC_SpecialHoudaosList == null || m_EC_SpecialHoudaosList.Count <= 0)
+ {
+ this.Tr1.Visible = false;
+ }
+ if(m_EC_SpecialHoudaosList != null)
+ {
+ therowspan = (m_EC_SpecialHoudaosList.Count + 1) + "";
+ }
+ else
+ {
+ therowspan = "1";
+ }
+
+
return true;
}
/// <summary>
--
Gitblit v1.9.1