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/financial/InvoicingShouruqueren.aspx.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/financial/InvoicingShouruqueren.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/financial/InvoicingShouruqueren.aspx.cs
index ae5e110..2885989 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/financial/InvoicingShouruqueren.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/financial/InvoicingShouruqueren.aspx.cs
@@ -265,11 +265,15 @@
                         }
 
                     }
-               
 
-                    
+                    if (a_Kaipiaoshenqing != null)
+                    {
+                        a_Kaipiaoshenqing.Huikuanmoney = (a_Kaipiaoshenqing.Huikuanmoney.HasValue ? a_Kaipiaoshenqing.Huikuanmoney.Value : 0) + this.txtReceiveMoney.Value.ToDecimal2();
+                        isWin = oA_KaipiaoshenqingBLL.UpdateModel(a_Kaipiaoshenqing);
+                    }
 
-                 
+
+
                     scope.Complete();
                 }
                 catch (Exception ex)

--
Gitblit v1.9.1