From 374ce108d737c1e4d6608989090195a7346d10ad Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 26 二月 2026 08:47:21 +0800
Subject: [PATCH] 优化格式美观度。 完成 (1)“印刷、打包、送货要求”放在右边的格子里面;右边格子拉通 (2)“单价”和“总价”的格子比例要调整适中 (3)把“印件名称”放在第一格 (1)操作中增加“问题处理”,进行处理操作  完成 (2)问题反馈除了生成在这个列表中,还要自动推送给对应订单的下单人或者送货安排(发起工作安排)的安排人,显示在他们的“工作提醒”中,处理完了就在列表中变成已完成问题处理,显示“√”,点“√”进去就显示谁处理的、什么时候处理的。  完成 生产施工单中,选“轮转印刷机”的,删除“纸张数量(张)”和“开料规格”  完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanEdit.aspx.cs |   29 +++++++++++++++++++++++------
 1 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanEdit.aspx.cs
index 0ef63b2..1cf2cda 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanEdit.aspx.cs
@@ -95,9 +95,10 @@
                 this.selBuyerId.DataBind();
                 this.selBuyerId.Items.Insert(0, new ListItem("璇烽�夋嫨", ""));
 
-             
 
-              
+                this.txtDeliverTime.Value = DateTime.Now.AddDays(1).ToString("yyyy-MM-dd");
+
+
 
             }
         }
@@ -145,6 +146,7 @@
             _oA_CustomerCommunications.DegreeImportanId = m_OA_CorporateClients.DegreeImportanId;
             _oA_CustomerCommunications.AccountManagerId = m_OA_CorporateClients.AccountManagerId;
             _oA_CustomerCommunications.BusinessManagerId = m_OA_CorporateClients.BusinessManagerId;
+            _oA_CustomerCommunications.CompanyName = m_OA_CorporateClients.CompanyName;
             Response.Write(null == _oA_CustomerCommunications ? "" : JsonHelper.GetJsonStringByObject(_oA_CustomerCommunications));
         }
 
@@ -178,7 +180,7 @@
                     SellerOrderId = ssss + (aaaaaaaaaaaa.ToInt32().Value + 1).ToString("000");
                 }
                 //this.SellerOrderId.InnerText = SellerOrderId;
-                OA_CorporateClients oA_CorporateClients = _oA_CorporateClientsBLL.SelectModelByFirmIdandMemberId(CurrentUser.MemberId, this.selBuyerId.Value.ToGuid2());
+               
 
 
                 OA_DeliverPlan oA_DeliverPlan = new OA_DeliverPlan();
@@ -186,7 +188,22 @@
                 oA_DeliverPlan.Keyid = Guid.NewGuid();
                 oA_DeliverPlan.FirmId = CurrentUser.MemberId;
                 oA_DeliverPlan.DeliverTime = DateTime.Parse(this.txtDeliverTime.Value);
-                oA_DeliverPlan.BuyerId = this.selBuyerId.Value.ToGuid2();
+                if (string.IsNullOrWhiteSpace(this.selBuyerId.Value))
+                {
+                    oA_DeliverPlan.BuyerId = Guid.Empty;
+                    oA_DeliverPlan.BusinessManagerId = 0;
+                    oA_DeliverPlan.Biddingcompany = 0;
+
+                }
+                else
+                {
+                    oA_DeliverPlan.BuyerId = this.selBuyerId.Value.ToGuid2();
+                    OA_CorporateClients oA_CorporateClients = _oA_CorporateClientsBLL.SelectModelByFirmIdandMemberId(CurrentUser.MemberId, this.selBuyerId.Value.ToGuid2());
+                    oA_DeliverPlan.BusinessManagerId = oA_CorporateClients.BusinessManagerId ?? 0;
+                    oA_DeliverPlan.Biddingcompany = oA_CorporateClients.Biddingcompany ?? 0;
+                  
+                }
+               
                 oA_DeliverPlan.DeliveredTime = null;
                 oA_DeliverPlan.Zhuyishixiang = "";
                 oA_DeliverPlan.Gongzuokaoping = "";
@@ -204,9 +221,9 @@
                 oA_DeliverPlan.Dianhua = this.txtDianhua.Value;
                 oA_DeliverPlan.Dizhi = this.txtDizhi.Value;
                 oA_DeliverPlan.Remark = this.txtRemark.Value;
-                oA_DeliverPlan.BusinessManagerId = oA_CorporateClients.BusinessManagerId ?? 0;
-                oA_DeliverPlan.Biddingcompany = oA_CorporateClients.Biddingcompany ?? 0;
+              
                 oA_DeliverPlan.shifouDelivery = 1;
+                oA_DeliverPlan.CompanyName = this.txtCompanyName.Value;
                 isWin = oA_DeliverPlanBLL.InsertModel(oA_DeliverPlan);
 
             }

--
Gitblit v1.9.1