From 048d0ab2b506a2ea20ba93edbba10e024e3abee5 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 27 三月 2025 09:16:48 +0800 Subject: [PATCH] 作业本金额计算修改 --- CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanshenqing.aspx.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanshenqing.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanshenqing.aspx.cs index c02b213..c95197e 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanshenqing.aspx.cs +++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanshenqing.aspx.cs @@ -98,12 +98,12 @@ this.txtSupplierName.Value = corporateClients.OutVendorName; this.selSuppliersss.Value = corporateClients.Keyid.ToString(); - var sss = _OA_SuppliersBLL.getSupplierTable(CurrentUser.MemberId).Select("Name = '"+ corporateClients.OutVendorName + "'"); - if (sss.Length > 0) + var sss = _OA_SuppliersBLL.getSupplierByFirmId(CurrentUser.MemberId, corporateClients.OutVendorName.Trim()).ToList(); + if (sss.Count > 0) { - this.txtHuming.Value = sss[0]["Huming"].ToString(); - this.txtBank.Value = sss[0]["Bank"].ToString(); - this.txtAccountID.Value = sss[0]["AccountID"].ToString(); + this.txtHuming.Value = sss[0].Huming;// ["Huming"].ToString(); + this.txtBank.Value = sss[0].Bank; //["Bank"].ToString(); + this.txtAccountID.Value = sss[0].AccountID;//["AccountID"].ToString(); } } -- Gitblit v1.9.1