结算页面 刷新去除 结算改刷新

This commit is contained in:
chfei committed 2026-09-20 19:06:23 +08:00
1 parent 652e7bc6e1
commit 2bb20fc107
2 files changed
+30 -58

No files matched your search

+14 -42
View File
@@ -30,8 +30,8 @@ namespace TemuKJD.WXForms.ShopForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXShopOemWithdrawalForm));
this.panel1 = new System.Windows.Forms.Panel();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
@@ -67,7 +67,6 @@ namespace TemuKJD.WXForms.ShopForms
this.colPayTradeNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.bt_RefreshAmount = new DevComponents.DotNetBar.PanelEx();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
@@ -137,7 +136,6 @@ namespace TemuKJD.WXForms.ShopForms
//
this.ucGroupBox1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBox1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBox1.Controls.Add(this.bt_RefreshAmount);
this.ucGroupBox1.Controls.Add(this.btnRefreshBalance);
this.ucGroupBox1.Controls.Add(this.lblWithdrawnLabel);
this.ucGroupBox1.Controls.Add(this.lblTotalWithdrawn);
@@ -160,7 +158,7 @@ namespace TemuKJD.WXForms.ShopForms
this.btnRefreshBalance.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshBalance.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRefreshBalance.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshBalance.Location = new System.Drawing.Point(1146, 41);
this.btnRefreshBalance.Location = new System.Drawing.Point(702, 42);
this.btnRefreshBalance.Name = "btnRefreshBalance";
this.btnRefreshBalance.Size = new System.Drawing.Size(60, 23);
this.btnRefreshBalance.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -176,7 +174,7 @@ namespace TemuKJD.WXForms.ShopForms
this.btnRefreshBalance.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshBalance.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnRefreshBalance.TabIndex = 6;
this.btnRefreshBalance.Text = "结算";
this.btnRefreshBalance.Text = "刷新";
this.btnRefreshBalance.Click += new System.EventHandler(this.btnRefreshBalance_Click);
//
// lblWithdrawnLabel
@@ -419,20 +417,20 @@ namespace TemuKJD.WXForms.ShopForms
//
this.dgvWithdrawal.AllowUserToAddRows = false;
this.dgvWithdrawal.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvWithdrawal.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvWithdrawal.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvWithdrawal.AutoRowNumber = true;
this.dgvWithdrawal.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvWithdrawal.BackgroundColor = System.Drawing.Color.White;
this.dgvWithdrawal.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvWithdrawal.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvWithdrawal.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvWithdrawal.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvWithdrawal.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colNo,
@@ -545,31 +543,6 @@ namespace TemuKJD.WXForms.ShopForms
this.statusBar.Size = new System.Drawing.Size(1218, 25);
this.statusBar.TabIndex = 1;
//
// bt_RefreshAmount
//
this.bt_RefreshAmount.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.bt_RefreshAmount.Cursor = System.Windows.Forms.Cursors.Hand;
this.bt_RefreshAmount.DisabledBackColor = System.Drawing.Color.Empty;
this.bt_RefreshAmount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.bt_RefreshAmount.Location = new System.Drawing.Point(694, 42);
this.bt_RefreshAmount.Name = "bt_RefreshAmount";
this.bt_RefreshAmount.Size = new System.Drawing.Size(60, 23);
this.bt_RefreshAmount.Style.Alignment = System.Drawing.StringAlignment.Center;
this.bt_RefreshAmount.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.bt_RefreshAmount.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.bt_RefreshAmount.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.bt_RefreshAmount.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.bt_RefreshAmount.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.bt_RefreshAmount.Style.ForeColor.Color = System.Drawing.Color.White;
this.bt_RefreshAmount.Style.GradientAngle = 90;
this.bt_RefreshAmount.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.bt_RefreshAmount.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.bt_RefreshAmount.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.bt_RefreshAmount.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.bt_RefreshAmount.TabIndex = 13;
this.bt_RefreshAmount.Text = "刷新";
this.bt_RefreshAmount.Click += new System.EventHandler(this.bt_RefreshAmount_Click);
//
// WXShopOemWithdrawalForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -641,6 +614,5 @@ namespace TemuKJD.WXForms.ShopForms
private System.Windows.Forms.DataGridViewTextBoxColumn colAuditRemark;
private System.Windows.Forms.DataGridViewTextBoxColumn colAuditTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colPayTradeNo;
private DevComponents.DotNetBar.PanelEx bt_RefreshAmount;
}
}
@@ -223,22 +223,22 @@ namespace TemuKJD.WXForms.ShopForms
#region 事件
private async void bt_RefreshAmount_Click(object sender, EventArgs e)
{
try
{
bt_RefreshAmount.Enabled = false;
await RefreshOMEAmount();
}
catch (Exception ex)
{
BaseMsgForm.ShowError(ex.Message);
}
finally
{
bt_RefreshAmount.Enabled = true;
}
}
//private async void bt_RefreshAmount_Click(object sender, EventArgs e)
//{
// try
// {
// bt_RefreshAmount.Enabled = false;
// await RefreshOMEAmount();
// }
// catch (Exception ex)
// {
// BaseMsgForm.ShowError(ex.Message);
// }
// finally
// {
// bt_RefreshAmount.Enabled = true;
// }
//}
/// <summary>刷新可提现总额等账户统计</summary>
private async void btnRefreshBalance_Click(object sender, EventArgs e)