username@email.com
2025-04-24 e7f2c6aa2638cde347ec1401c76a7a627cee4921
CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx.cs
@@ -27,6 +27,7 @@
        OA_InventoryBLL bll_OA_InventoryBLL = null;
        OA_OutOfStorageBLL bll_OA_OutOfStorageBLL = null;
        public Guid targetid = Guid.Empty;
        public string xialapr = "";
        //初始化
        public AgMergerOrderEdit()
@@ -92,6 +93,20 @@
            this.selFilmSpec.Items.Insert(0, new ListItem("请选择", ""));
            //this.selFilmSpec.Visible = false;
            //this.PlateSpec.DataSource = bll_EC_MemberDictionaryBLL.SelectListByMemberIdAndParType(CurrentUser.MemberId, "版材规格");
            //this.PlateSpec.DataValueField = "ParName";
            //this.PlateSpec.DataTextField = "ParName";
            //this.PlateSpec.DataBind();
            //this.PlateSpec.Items.Insert(0, new ListItem("请选择", ""));
            var sss = bll_EC_MemberDictionaryBLL.SelectListByMemberIdAndParType(CurrentUser.MemberId, "版材规格");
            foreach (var eC_MemberDictionary in sss)
            {
                xialapr += " <div class=\"xialapr\">"+ eC_MemberDictionary.ParName + "</div>";
            }
            Pagination pa = new Pagination();
            pa.PageSize = 500;
            pa.PageIndex = 1;
@@ -150,7 +165,20 @@
                    {
                        _inquiryCommonModel = SerializationHelper.DeSerialize(typeof(InquiryCommonModel), _eC_OrderPrintParameter.PrintParameter) as InquiryCommonModel;
                    }
                    _eC_OrderBasic.PrintDemandAfterWorksDemand = _inquiryCommonModel.PrintDemand + _inquiryCommonModel.AfterWorksDemand;
                    var ssss = "";
                    if (!string.IsNullOrEmpty(_inquiryCommonModel.AfterWorksDemand))
                    {
                        ssss = /*_inquiryCommonModel.PrintDemand +*/ _inquiryCommonModel.AfterWorksDemand.Replace("封面后道:", "").Replace("内页后道:", "");
                    }
                    if(_eC_OrderBasic.PrintTypeId == -1)
                    {
                        ssss = _inquiryCommonModel.PrintDemand;
                    }
                    if (!string.IsNullOrEmpty(ssss) && ssss.Length > 500)
                    {
                        ssss.Substring(0,499);
                    }
                    _eC_OrderBasic.PrintDemandAfterWorksDemand = ssss;
                    string strPrintSizeName;
                    strPrintSizeName = _inquiryCommonModel.PrintSizeName;
@@ -327,6 +355,7 @@
                RepMergerEdit.Visible = false;
                this.RepClientList.DataSource = mEC_OrderBasicList;
                this.RepClientList.DataBind();
                this.selOutFirm.Value = "-1";
            }
            return true;
        }
@@ -676,7 +705,7 @@
                    m_EC_OrderBasicNew.BuyerName = CurrentUser.Name;
                    m_EC_OrderBasicNew.Creater = CurrentUser.ShortName;
                    m_EC_OrderBasicNew.Operator = CurrentUser.ShortName;
                    m_EC_OrderBasicNew.DeliveryTime = _eC_OrderBasic.DeliveryTime.Value.ToDateTime2();
                    m_EC_OrderBasicNew.DeliveryTime = _eC_OrderBasic.DeliveryTime.ToDateTime2();
                    m_EC_OrderBasicNew.DocumentName = _eC_OrderBasic.PrintType.PrintName;
                    m_EC_OrderBasicNew.OrderTypeId = 3;
                    m_EC_OrderBasicNew.PrintTypeId = _eC_OrderBasic.PrintTypeId;