From ea71208bf0d457f948edb7d16b29f94ae5dd3def Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 24 十二月 2025 12:10:53 +0800
Subject: [PATCH] 就是受理,生产之后就不能修改,撤销工单之后就可以修改

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

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx.cs
index 9debbd0..e0a766b 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx.cs
@@ -104,6 +104,11 @@
             }
 
             EC_OrderBasic _eC_OrderBasic = _eC_OrderBasicBLL.SelectModelById(orderId.Value);
+            if(_eC_OrderBasic.OrderState != 1)
+            {
+                JavaScript.MessageBox("鍙湁鐘舵�佷负宸蹭笅鍗曠殑璁㈠崟鎵嶈兘淇敼锛�", this, "window.location = 'OrderList.aspx';");
+                return;
+            }
             this.txtKeyid.Value = MyConvert.ConvertToString(_eC_OrderBasic.Keyid);
             this.txtOrderId.Value = MyConvert.ConvertToString(_eC_OrderBasic.SellerOrderId);
             this.txtCustormerName.Value = MyConvert.ConvertToString(_eC_OrderBasic.BuyerName);
@@ -279,6 +284,7 @@
             _oA_CustomerCommunications.AccountManagerId = m_OA_CorporateClients.AccountManagerId;
             _oA_CustomerCommunications.BusinessManagerId = m_OA_CorporateClients.BusinessManagerId;
             _oA_CustomerCommunications.CompanyName = m_OA_CorporateClients.CompanyName;
+            _oA_CustomerCommunications.Note = m_OA_CorporateClients.Note;
             Response.Write(null == _oA_CustomerCommunications ? "" : JsonHelper.GetJsonStringByObject(_oA_CustomerCommunications));
         }
 

--
Gitblit v1.9.1