From dfbeaf00996f22400dd0b6a11d61550da8d6d32a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 16 五月 2025 08:36:37 +0800
Subject: [PATCH] 这个查看权限这里要修改,这个部门前面加个框框,如果我没这个框框打勾,这个部门的人的名字就不出来好,我在框框部门的前面的框框里面打了勾过后。好,这个部门的人就全部出来,而且系统自动把它打起。好,我再具体哪个人那儿再那个给我再点一下,就是不打,就那样子做。

---
 CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
index f826db9..d7b231c 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
@@ -87,15 +87,10 @@
                 }
                 else
                 {
-                    if (fukuanshenqing.SupplierId > 0)
-                    {
-                        var oA_Suppliers = oA_SuppliersBLL.getSingleSupplier(fukuanshenqing.SupplierId.ToString());
-                        if (oA_Suppliers != null)
-                        {
-                            this.txtPaymentUnit.Value = oA_Suppliers.Name;
-                            this.txtSupplierId.Value = oA_Suppliers.Keyid.ToString();
-                        }
-                    }
+                    this.txtPaymentUnit.Value = fukuanshenqing.SupplierName;
+                    this.txtSupplierId.Value = fukuanshenqing.SupplierId.ToString();
+
+                   
                    
                    
                 }
@@ -156,11 +151,11 @@
                 try
                 {
                     var yishoumoney = fukuanshenqing.Yishoumoney.HasValue ? fukuanshenqing.Yishoumoney.Value : 0;
-                    fukuanshenqing.Yishoumoney = yishoumoney + money;
                     if (money >= (fukuanshenqing.Fukuanmoney - fukuanshenqing.Yishoumoney))
                     {
                         fukuanshenqing.FukuanStatus = 2;
                     }
+                    fukuanshenqing.Yishoumoney = yishoumoney + money;
                     fukuanshenqing.Updater = CurrentUser.ShortName;
                     fukuanshenqing.LastUpdateTime = DateTime.Now;
                     fukuanshenqing.Youwufapiao = Youwufapiao.ToInt32();

--
Gitblit v1.9.1