From f2a3e67d3ad970670b10cb394298bc0940ae699a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 05 八月 2025 14:32:34 +0800
Subject: [PATCH] 20250805 作业本的总数量,单价在保存的时候再计算一次
---
CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs
index 7b5b7dd..17f899b 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs
@@ -144,7 +144,12 @@
rptOrder.DataSource = result;
rptOrder.DataBind();
-
+ this.Spanjineheji.InnerText = string.Format("{0:F2}", result.Sum(x => x.SumPrice));
+ this.Spanyishou.InnerText = string.Format("{0:F2}", result.Sum(x => x.TradingSingle.PayedMoney));
+ this.Spanweishou.InnerText = string.Format("{0:F2}", result.Sum(x => x.UnPayedMoney));
+
+
+
return true;
}
--
Gitblit v1.9.1