From 555fde94d2044e6be823ba2ec822a8a3b5c3f964 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 30 九月 2024 16:44:07 +0800
Subject: [PATCH] 黑白印件,胶左打印修改

---
 CY_ECommercePlatform/CY.WebForm/Pages/front/InquiryOnLine.aspx.cs |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/front/InquiryOnLine.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/front/InquiryOnLine.aspx.cs
index fce0e17..08e6f35 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/front/InquiryOnLine.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/front/InquiryOnLine.aspx.cs
@@ -136,6 +136,7 @@
                 int bindingMode = -1;
                 string gildingType = string.Empty;
                 string laFeng = string.Empty;
+                int ysuint = 1;
                 if (request["hidPrintTypeId"] != null)
                     printTypeId = request["hidPrintTypeId"].ToString().ToInt32().Value;
                 if (request["printMode"] != null)
@@ -224,6 +225,10 @@
                     gildingType = request["gildingType0"].ToString();
                 if (request["LaFeng"] != null)
                     laFeng = request["LaFeng"].ToString();
+
+                if (request["ysUnit"] != null)
+                    ysuint = request["ysUnit"].ToString().ToInt32().Value;
+
                 model.PrintTypeId = printTypeId;
                 model.PrintMode = printMode;
                 model.PrintSizeId = sizeId;
@@ -231,6 +236,7 @@
                 model.GramWeight = gramWeight;
                 model.BrandId = brandId;
                 model.PrintCount = printCount;
+                model.Unit = ysuint;
                 model.SingleOrdouble = singleOrdouble;
                 if (!string.IsNullOrEmpty(works))
                 {
@@ -1442,7 +1448,12 @@
                          if(model.PrintTypeId!=27)
                          afterInfo.ParameterName = "鑳跺ご(姣忔湰" + model.PageNum.ToString() + "椤�)";
                      }
-                     afterWorkStr += afterInfo.ParameterName + "锛�";
+                    if (afterInfo.ParameterName == "鑳跺乏")
+                    {
+                        if (model.PrintTypeId == 29)
+                            afterInfo.ParameterName = "鑳跺乏(姣忔湰" + model.PaperMP.ToString() + "椤�)";
+                    }
+                    afterWorkStr += afterInfo.ParameterName + "锛�";
                  }
                  if (!string.IsNullOrEmpty(afterWorkStr))
                  {

--
Gitblit v1.9.1