username@email.com
2025-04-23 d34ca25b9754e49b2d1220ff9f0de6af9b734d99
CY_ECommercePlatform/CY.WebForm/Pages/business/SHejiOrderEdit.aspx.cs
@@ -670,18 +670,16 @@
            else if (PrintTypeId == 6)
            {
                eC_OrderExtend.Shejicount = 1;// Request["printCount"].ToString().ToInt32();
                eC_OrderExtend.Shejileixing = this.SelShejileixing6.Value.ToInt32();
                if (eC_OrderExtend.Shejileixing != 8)
                {
                eC_OrderExtend.Shejirenyuan = this.SelShejirenyuan6.Value.ToInt32();
                var oA_Staff = oA_StaffBLL.GetModelByKeyid(eC_OrderExtend.Shejirenyuan);
                if (oA_Staff != null)
                {
                    eC_OrderExtend.ShejirenyuanName = oA_Staff.Name;
                }
                eC_OrderExtend.Shejileixing = this.SelShejileixing6.Value.ToInt32();
                eC_OrderExtend.ShejileixingName = this.shejileixing(eC_OrderExtend.Shejileixing.Value.ToString());
                eC_OrderExtend.Danshuangmian = this.SelDanshuangmian6.Value;
                eC_OrderExtend.Shejiyaoqiu = this.txtShejiyaoqiu6.Value;
                eC_OrderExtend.ShejiStatus = 2;
                var shejijijian = bll_OA_ShejijijianBLLBLL.GetModelByformid(CurrentUser.MemberId, PrintTypeId.ToString(), "1", eC_OrderExtend.Shejileixing.ToString(), null).FirstOrDefault();
                if (shejijijian != null)
                {
@@ -691,6 +689,23 @@
                        eC_OrderExtend.ShejiSumPrice = eC_OrderExtend.ShejiUnitPrice * eC_OrderExtend.Shejicount;
                    }
                }
                }
                else
                {
                    eC_OrderExtend.Shejirenyuan = 0;
                    eC_OrderExtend.ShejirenyuanName = "";
                    eC_OrderExtend.ShejiUnitPrice = 0;
                    eC_OrderExtend.ShejiSumPrice = 0;
                }
                eC_OrderExtend.ShejileixingName = this.shejileixing(eC_OrderExtend.Shejileixing.Value.ToString());
                eC_OrderExtend.Danshuangmian = this.SelDanshuangmian6.Value;
                eC_OrderExtend.Shejiyaoqiu = this.txtShejiyaoqiu6.Value;
                eC_OrderExtend.ShejiStatus = 2;
                int insidePageNum = 1;
                if (Request["hidInsidePageNum"] != null)
@@ -705,15 +720,15 @@
                eC_OrderExtend.Shejicountneiye = PageNumneiye;// Request["printCount"].ToString().ToInt32();
                eC_OrderExtend.Shejileixingneiye = this.SelShejileixingneiye6.Value.ToInt32();
                if (eC_OrderExtend.Shejileixingneiye != 8)
                {
                eC_OrderExtend.Shejirenyuanneiye = this.SelShejirenyuanneiye6.Value.ToInt32();
                var oA_Staff1 = oA_StaffBLL.GetModelByKeyid(eC_OrderExtend.Shejirenyuanneiye);
                if (oA_Staff1 != null)
                {
                    eC_OrderExtend.ShejirenyuanNameneiye = oA_Staff1.Name;
                }
                eC_OrderExtend.Shejileixingneiye = this.SelShejileixingneiye6.Value.ToInt32();
                eC_OrderExtend.ShejileixingNameneiye = this.shejileixing(eC_OrderExtend.Shejileixingneiye.Value.ToString());
                eC_OrderExtend.Shejiyaoqiuneiye = this.txtShejiyaoqiuneiye6.Value;
                var shejijijian1 = bll_OA_ShejijijianBLLBLL.GetModelByformid(CurrentUser.MemberId, PrintTypeId.ToString(), "2", eC_OrderExtend.Shejileixingneiye.ToString(), null).FirstOrDefault();
                if (shejijijian1 != null)
@@ -725,21 +740,33 @@
                    }
                }
            }
                else
                {
                    eC_OrderExtend.Shejirenyuanneiye = 0;
                    eC_OrderExtend.ShejirenyuanNameneiye = "";
                    eC_OrderExtend.ShejiUnitPriceneiye = 0;
                    eC_OrderExtend.ShejiSumPriceneiye = 0;
                }
                eC_OrderExtend.ShejileixingNameneiye = this.shejileixing(eC_OrderExtend.Shejileixingneiye.Value.ToString());
                eC_OrderExtend.Shejiyaoqiuneiye = this.txtShejiyaoqiuneiye6.Value;
            }
            else if (PrintTypeId == 15)
            {
                eC_OrderExtend.Shejicount = 1;// Request["printCount"].ToString().ToInt32();
                eC_OrderExtend.Shejileixing = this.SelShejileixing15.Value.ToInt32();
                if (eC_OrderExtend.Shejileixing != 8)
                {
                eC_OrderExtend.Shejirenyuan = this.SelShejirenyuan15.Value.ToInt32();
                var oA_Staff = oA_StaffBLL.GetModelByKeyid(eC_OrderExtend.Shejirenyuan);
                if (oA_Staff != null)
                {
                    eC_OrderExtend.ShejirenyuanName = oA_Staff.Name;
                }
                eC_OrderExtend.Shejileixing = this.SelShejileixing15.Value.ToInt32();
                eC_OrderExtend.ShejileixingName = this.shejileixing(eC_OrderExtend.Shejileixing.Value.ToString());
                eC_OrderExtend.Danshuangmian = this.SelDanshuangmian15.Value;
                eC_OrderExtend.Shejiyaoqiu = this.txtShejiyaoqiu15.Value;
                eC_OrderExtend.ShejiStatus = 2;
                var shejijijian = bll_OA_ShejijijianBLLBLL.GetModelByformid(CurrentUser.MemberId, PrintTypeId.ToString(), "1", eC_OrderExtend.Shejileixing.ToString(), null).FirstOrDefault();
                if (shejijijian != null)
                {
@@ -749,6 +776,22 @@
                        eC_OrderExtend.ShejiSumPrice = eC_OrderExtend.ShejiUnitPrice * eC_OrderExtend.Shejicount;
                    }
                }
                }
                else
                {
                    eC_OrderExtend.Shejirenyuan = 0;
                    eC_OrderExtend.ShejirenyuanName = "";
                    eC_OrderExtend.ShejiUnitPrice = 0;
                    eC_OrderExtend.ShejiSumPrice = 0;
                }
                eC_OrderExtend.ShejileixingName = this.shejileixing(eC_OrderExtend.Shejileixing.Value.ToString());
                eC_OrderExtend.Danshuangmian = this.SelDanshuangmian15.Value;
                eC_OrderExtend.Shejiyaoqiu = this.txtShejiyaoqiu15.Value;
                eC_OrderExtend.ShejiStatus = 2;
@@ -762,16 +805,16 @@
                        PageNumneiye += Request["pageNum" + i].ToInt32().HasValue ? Request["pageNum" + i].ToInt32().Value : 0;
                }
                eC_OrderExtend.Shejicountneiye = PageNumneiye;// Request["printCount"].ToString().ToInt32();
                eC_OrderExtend.Shejileixingneiye = this.SelShejileixingneiye15.Value.ToInt32();
                if (eC_OrderExtend.Shejileixingneiye != 8)
                {
                eC_OrderExtend.Shejirenyuanneiye = this.SelShejirenyuanneiye15.Value.ToInt32();
                var oA_Staff1 = oA_StaffBLL.GetModelByKeyid(eC_OrderExtend.Shejirenyuanneiye);
                if (oA_Staff1 != null)
                {
                    eC_OrderExtend.ShejirenyuanNameneiye = oA_Staff1.Name;
                }
                eC_OrderExtend.Shejileixingneiye = this.SelShejileixingneiye15.Value.ToInt32();
                eC_OrderExtend.ShejileixingNameneiye = this.shejileixing(eC_OrderExtend.Shejileixingneiye.Value.ToString());
                eC_OrderExtend.Shejiyaoqiuneiye = this.txtShejiyaoqiuneiye15.Value;
                var shejijijian1 = bll_OA_ShejijijianBLLBLL.GetModelByformid(CurrentUser.MemberId, PrintTypeId.ToString(), "2", eC_OrderExtend.Shejileixingneiye.ToString(), null).FirstOrDefault();
                if (shejijijian1 != null)
                {
@@ -782,6 +825,21 @@
                    }
                }
            }
                else
                {
                    eC_OrderExtend.Shejirenyuanneiye = 0;
                    eC_OrderExtend.ShejirenyuanNameneiye = "";
                    eC_OrderExtend.ShejiUnitPriceneiye = 0;
                    eC_OrderExtend.ShejiSumPriceneiye = 0;
                }
                eC_OrderExtend.ShejileixingNameneiye = this.shejileixing(eC_OrderExtend.Shejileixingneiye.Value.ToString());
                eC_OrderExtend.Shejiyaoqiuneiye = this.txtShejiyaoqiuneiye15.Value;
            }
            else if (PrintTypeId == 14)
            {
                eC_OrderExtend.Shejicount = 1;// Request["printCount"].ToString().ToInt32();