From fa0043f004f1c666d1873436a980e0c90ff09054 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 25 八月 2025 15:59:43 +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