From 6d72b169d05be5e7de6b62e3dc83d495bcf18dbe Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 27 八月 2025 08:47:13 +0800 Subject: [PATCH] 20250826 作业本 新增时 后工序 装订 选项 骑马订 胶订 --- 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