username@email.com
2024-12-16 176106cf1be8bb0dfd9921180b26d7cc9efb7a3d
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);