From ebd639c929bd5c05859b6b414787e3440cdcd4bc Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 20 十二月 2024 12:21:42 +0800
Subject: [PATCH] 财务管理 -》外协付款 批量付款
---
CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
index 1ebb739..f826db9 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs
@@ -81,11 +81,28 @@
var fukuanshenqing = _fukuanshenqingBLL.GetModelByKeyid(id.ToInt32().Value);
if (fukuanshenqing != null)
{
- var oA_Suppliers = oA_SuppliersBLL.getSingleSupplier(fukuanshenqing.SupplierId.ToString());
- this.txtPaymentUnit.Value = oA_Suppliers.Name;
+ if (!string.IsNullOrWhiteSpace(fukuanshenqing.Huming))
+ {
+ this.txtPaymentUnit.Value = fukuanshenqing.Huming;
+ }
+ 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.Keyid.Value = id;
- this.txtSupplierId.Value = oA_Suppliers.Keyid.ToString();
+
this.txtYouwufapiao.Value = fukuanshenqing.YouwufapiaoName;
--
Gitblit v1.9.1