From 4ddba64becec3891e4682ec92f0066ab571d9422 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 23 十二月 2024 10:52:21 +0800 Subject: [PATCH] 提交 --- CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs | 13 ++++--------- 1 files changed, 4 insertions(+), 9 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..a6797ee 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(); + + } -- Gitblit v1.9.1