From c4867cf5e5f78cfb924a3048bd0c4232d4a1e986 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 19 十二月 2024 08:33:44 +0800
Subject: [PATCH] 新增审批 付款申请 再付款申请中操作其他付款付款 生产管理里边点采购的供应商修改
---
CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 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..fbe26e9 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/procurement/SuppliersEdit.aspx.cs
@@ -54,7 +54,7 @@
selCooperativeStateId.DataBind();
selSuppliersLevelId.DataSource = _Sys_DictionaryBLL.GetDataByType("渚涘簲鍟嗙骇鍒�");
selSuppliersLevelId.DataBind();
- selSuppliersTypeId.DataSource = _Sys_DictionaryBLL.GetDataByType("渚涘簲鍟嗙被鍒� ");
+ selSuppliersTypeId.DataSource = _Sys_DictionaryBLL.GetDataByType("渚涘簲鍟嗙被鍒� ").OrderBy(x=>x.LastUpdateTime);
selSuppliersTypeId.DataBind();
}
@@ -82,6 +82,9 @@
this.txtName.Value = supplier.Name;
this.txtOfficersMobile.Value = supplier.OfficersMobile;
this.txtOfficersQQ.Value = supplier.OfficersQQ;
+ this.txtBank.Value = supplier.Bank;
+ this.txtHuming.Value = supplier.Huming;
+ this.txtAccountID.Value = supplier.AccountID;
this.txtPostcode.Value = supplier.Postcode;
this.txtQQ.Value = supplier.QQ;
this.txtRegisterCapital.Value = supplier.RegisterCapital.ToString2();
@@ -221,6 +224,17 @@
supplier.Name = this.txtName.Value;
supplier.OfficersMobile = this.txtOfficersMobile.Value;
supplier.OfficersQQ = this.txtOfficersQQ.Value;
+ if (!string.IsNullOrEmpty(this.txtHuming.Value))
+ {
+ supplier.Huming = this.txtHuming.Value;
+ }
+ else
+ {
+ supplier.Huming = this.txtName.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 +257,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