From 72b668c965a3f5308d1a388296eb4c3f8fb7be72 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 12 九月 2025 08:46:01 +0800
Subject: [PATCH] 批量入库,操作成功关闭窗口 完成
---
CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
index 58a86b2..26592f9 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
@@ -139,7 +139,7 @@
}
- if (molingmoney.HasValue)
+ if (molingmoney.HasValue && molingmoney.Value > 0)
{
if((money + molingmoney.Value ) != (fukuanshenqing.Fukuanmoney - fukuanshenqing.Yishoumoney))
{
@@ -171,7 +171,7 @@
fukuanshenqing.FukuanStatus = 2;
}
- if (molingmoney.HasValue)
+ if (molingmoney.HasValue && molingmoney.Value > 0)
{
if ((money + molingmoney.Value) >= (fukuanshenqing.Fukuanmoney - fukuanshenqing.Yishoumoney))
{
@@ -205,12 +205,7 @@
firmAccount.AllExpenses = this.txtMoney.Value.ToDecimal2() + firmAccount.AllExpenses;
firmAccount.Balance = firmAccount.Balance - this.txtMoney.Value.ToDecimal2();
sddd = _OA_FirmAccountRecordBLL.AddModel(firmAccountRecord, firmAccount);
- }
-
-
- if (sddd)
- {
if (!string.IsNullOrEmpty(this.selSubject.Value))
{
var oA_SubjectSet = _OA_SubjectSetBLL.getSingleSubject(firmAccountRecord.SubjectId);
@@ -252,6 +247,13 @@
}
}
+ }
+
+
+
+ if (sddd)
+ {
+
scope.Complete();
JavaScript.MessageBox("浠樻鎴愬姛", this, true, true);
--
Gitblit v1.9.1