From 176106cf1be8bb0dfd9921180b26d7cc9efb7a3d Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 16 十二月 2024 08:52:39 +0800 Subject: [PATCH] 外协付款申请功能 --- CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs index 0c907bc..73fcd00 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs +++ b/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs @@ -82,6 +82,8 @@ this.txtName.Value = supplier.Name; this.txtOfficersMobile.Value = supplier.OfficersMobile; this.txtOfficersQQ.Value = supplier.OfficersQQ; + this.txtBank.Value = supplier.Bank; + this.txtAccountID.Value = supplier.AccountID; this.txtPostcode.Value = supplier.Postcode; this.txtQQ.Value = supplier.QQ; this.txtRegisterCapital.Value = supplier.RegisterCapital.ToString2(); @@ -221,6 +223,8 @@ supplier.Name = this.txtName.Value; supplier.OfficersMobile = this.txtOfficersMobile.Value; supplier.OfficersQQ = this.txtOfficersQQ.Value; + supplier.Bank = this.txtBank.Value; + supplier.AccountID = this.txtAccountID.Value; supplier.Postcode = this.txtPostcode.Value; supplier.QQ = this.txtQQ.Value; supplier.RegisterCapital = (string.IsNullOrEmpty(this.txtRegisterCapital.Value) ? "0" : this.txtRegisterCapital.Value).ToInt32(); @@ -243,7 +247,15 @@ supplier.LastUpdateTime = System.DateTime.Now; if (_OA_SuppliersBLL.InsertModel(supplier)) { - JavaScript.MessageBox("鏂板鎴愬姛", this,true,true); + if (!string.IsNullOrEmpty(Request["flasss"])) + { + JavaScript.MessageBoxCloseAndRefreshparent("鏂板鎴愬姛", this); + } + else + { + JavaScript.MessageBox("鏂板鎴愬姛", this, true, true); + } + } else JavaScript.MessageBox("娣诲姞澶辫触", this); -- Gitblit v1.9.1