From fa8310bfd01c7f3123077d6d2f6a96a92645a034 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 09 四月 2026 08:43:30 +0800
Subject: [PATCH] 板材填了就减少库存 根据 板材规格 数量(张)和 发版套数 算出库存需要减少的量,减少库存 完成
---
CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx.cs | 10 ++++++++++
1 files changed, 10 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..669a060 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx.cs
@@ -104,6 +104,15 @@
}
EC_OrderBasic _eC_OrderBasic = _eC_OrderBasicBLL.SelectModelById(orderId.Value);
+ if(CurrentUser.TrueLoginId != "00001")
+ {
+ 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 +288,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