增加消费金额
This commit is contained in:
1 parent
a215590703
commit
c07b31c92b
3 files changed
+84
-53
No files matched your search
+79
-44
@@ -30,9 +30,9 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.pbQrcode = new System.Windows.Forms.PictureBox();
|
this.pbQrcode = new System.Windows.Forms.PictureBox();
|
||||||
this.btnRefresh = new DevComponents.DotNetBar.PanelEx();
|
this.btnRefresh = new DevComponents.DotNetBar.PanelEx();
|
||||||
@@ -45,6 +45,8 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
this.btnBalanceTopUp = new DevComponents.DotNetBar.PanelEx();
|
this.btnBalanceTopUp = new DevComponents.DotNetBar.PanelEx();
|
||||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||||
this.ucGroupBoxEx1 = new Work.UserComponents.UcGroupBoxEx(this.components);
|
this.ucGroupBoxEx1 = new Work.UserComponents.UcGroupBoxEx(this.components);
|
||||||
|
this.rangeUsedAramt = new System.Windows.Forms.Label();
|
||||||
|
this.label9 = new System.Windows.Forms.Label();
|
||||||
this.exportRecord = new System.Windows.Forms.LinkLabel();
|
this.exportRecord = new System.Windows.Forms.LinkLabel();
|
||||||
this.balanceArmt = new System.Windows.Forms.Label();
|
this.balanceArmt = new System.Windows.Forms.Label();
|
||||||
this.label10 = new System.Windows.Forms.Label();
|
this.label10 = new System.Windows.Forms.Label();
|
||||||
@@ -73,8 +75,9 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
this.statusBarUserControl1 = new Work.UserControls.StatusBarUserControl();
|
this.statusBarUserControl1 = new Work.UserControls.StatusBarUserControl();
|
||||||
this.ucSplitPage1 = new Work.UserControls.UcSplitPage();
|
this.ucSplitPage1 = new Work.UserControls.UcSplitPage();
|
||||||
this.label9 = new System.Windows.Forms.Label();
|
this.label11 = new System.Windows.Forms.Label();
|
||||||
this.rangeUsedAramt = new System.Windows.Forms.Label();
|
this.consumptionArmt = new System.Windows.Forms.Label();
|
||||||
|
this.label13 = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pbQrcode)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pbQrcode)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||||
@@ -278,7 +281,7 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
//
|
//
|
||||||
this.splitContainer2.Panel2.Controls.Add(this.splitContainer3);
|
this.splitContainer2.Panel2.Controls.Add(this.splitContainer3);
|
||||||
this.splitContainer2.Size = new System.Drawing.Size(1164, 529);
|
this.splitContainer2.Size = new System.Drawing.Size(1164, 529);
|
||||||
this.splitContainer2.SplitterDistance = 86;
|
this.splitContainer2.SplitterDistance = 99;
|
||||||
this.splitContainer2.TabIndex = 1163;
|
this.splitContainer2.TabIndex = 1163;
|
||||||
//
|
//
|
||||||
// ucGroupBoxEx1
|
// ucGroupBoxEx1
|
||||||
@@ -288,6 +291,9 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
this.ucGroupBoxEx1.BorderStyle = Work.UserComponents.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
this.ucGroupBoxEx1.BorderStyle = Work.UserComponents.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||||
|
this.ucGroupBoxEx1.Controls.Add(this.label13);
|
||||||
|
this.ucGroupBoxEx1.Controls.Add(this.consumptionArmt);
|
||||||
|
this.ucGroupBoxEx1.Controls.Add(this.label11);
|
||||||
this.ucGroupBoxEx1.Controls.Add(this.rangeUsedAramt);
|
this.ucGroupBoxEx1.Controls.Add(this.rangeUsedAramt);
|
||||||
this.ucGroupBoxEx1.Controls.Add(this.label9);
|
this.ucGroupBoxEx1.Controls.Add(this.label9);
|
||||||
this.ucGroupBoxEx1.Controls.Add(this.exportRecord);
|
this.ucGroupBoxEx1.Controls.Add(this.exportRecord);
|
||||||
@@ -307,16 +313,33 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
this.ucGroupBoxEx1.Controls.Add(this.cmbType);
|
this.ucGroupBoxEx1.Controls.Add(this.cmbType);
|
||||||
this.ucGroupBoxEx1.Location = new System.Drawing.Point(-2, 2);
|
this.ucGroupBoxEx1.Location = new System.Drawing.Point(-2, 2);
|
||||||
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
|
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
|
||||||
this.ucGroupBoxEx1.Size = new System.Drawing.Size(1166, 84);
|
this.ucGroupBoxEx1.Size = new System.Drawing.Size(1166, 97);
|
||||||
this.ucGroupBoxEx1.TabIndex = 0;
|
this.ucGroupBoxEx1.TabIndex = 0;
|
||||||
this.ucGroupBoxEx1.TabStop = false;
|
this.ucGroupBoxEx1.TabStop = false;
|
||||||
this.ucGroupBoxEx1.Text = "查询条件";
|
this.ucGroupBoxEx1.Text = "查询条件";
|
||||||
this.ucGroupBoxEx1.Enter += new System.EventHandler(this.ucGroupBoxEx1_Enter);
|
this.ucGroupBoxEx1.Enter += new System.EventHandler(this.ucGroupBoxEx1_Enter);
|
||||||
//
|
//
|
||||||
|
// rangeUsedAramt
|
||||||
|
//
|
||||||
|
this.rangeUsedAramt.Location = new System.Drawing.Point(943, 64);
|
||||||
|
this.rangeUsedAramt.Name = "rangeUsedAramt";
|
||||||
|
this.rangeUsedAramt.Size = new System.Drawing.Size(67, 17);
|
||||||
|
this.rangeUsedAramt.TabIndex = 1176;
|
||||||
|
this.rangeUsedAramt.Text = "1000.00";
|
||||||
|
//
|
||||||
|
// label9
|
||||||
|
//
|
||||||
|
this.label9.AutoSize = true;
|
||||||
|
this.label9.Location = new System.Drawing.Point(869, 64);
|
||||||
|
this.label9.Name = "label9";
|
||||||
|
this.label9.Size = new System.Drawing.Size(68, 17);
|
||||||
|
this.label9.TabIndex = 1175;
|
||||||
|
this.label9.Text = "使用余额:";
|
||||||
|
//
|
||||||
// exportRecord
|
// exportRecord
|
||||||
//
|
//
|
||||||
this.exportRecord.AutoSize = true;
|
this.exportRecord.AutoSize = true;
|
||||||
this.exportRecord.Location = new System.Drawing.Point(1093, 47);
|
this.exportRecord.Location = new System.Drawing.Point(1089, 65);
|
||||||
this.exportRecord.Name = "exportRecord";
|
this.exportRecord.Name = "exportRecord";
|
||||||
this.exportRecord.Size = new System.Drawing.Size(56, 17);
|
this.exportRecord.Size = new System.Drawing.Size(56, 17);
|
||||||
this.exportRecord.TabIndex = 1171;
|
this.exportRecord.TabIndex = 1171;
|
||||||
@@ -326,7 +349,7 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
//
|
//
|
||||||
// balanceArmt
|
// balanceArmt
|
||||||
//
|
//
|
||||||
this.balanceArmt.Location = new System.Drawing.Point(1020, 36);
|
this.balanceArmt.Location = new System.Drawing.Point(944, 40);
|
||||||
this.balanceArmt.Name = "balanceArmt";
|
this.balanceArmt.Name = "balanceArmt";
|
||||||
this.balanceArmt.Size = new System.Drawing.Size(67, 17);
|
this.balanceArmt.Size = new System.Drawing.Size(67, 17);
|
||||||
this.balanceArmt.TabIndex = 1167;
|
this.balanceArmt.TabIndex = 1167;
|
||||||
@@ -335,7 +358,7 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
// label10
|
// label10
|
||||||
//
|
//
|
||||||
this.label10.AutoSize = true;
|
this.label10.AutoSize = true;
|
||||||
this.label10.Location = new System.Drawing.Point(959, 36);
|
this.label10.Location = new System.Drawing.Point(870, 41);
|
||||||
this.label10.Name = "label10";
|
this.label10.Name = "label10";
|
||||||
this.label10.Size = new System.Drawing.Size(68, 17);
|
this.label10.Size = new System.Drawing.Size(68, 17);
|
||||||
this.label10.TabIndex = 1166;
|
this.label10.TabIndex = 1166;
|
||||||
@@ -343,7 +366,7 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
//
|
//
|
||||||
// rechargeArmtTotal
|
// rechargeArmtTotal
|
||||||
//
|
//
|
||||||
this.rechargeArmtTotal.Location = new System.Drawing.Point(1020, 14);
|
this.rechargeArmtTotal.Location = new System.Drawing.Point(943, 18);
|
||||||
this.rechargeArmtTotal.Name = "rechargeArmtTotal";
|
this.rechargeArmtTotal.Name = "rechargeArmtTotal";
|
||||||
this.rechargeArmtTotal.Size = new System.Drawing.Size(67, 17);
|
this.rechargeArmtTotal.Size = new System.Drawing.Size(67, 17);
|
||||||
this.rechargeArmtTotal.TabIndex = 1165;
|
this.rechargeArmtTotal.TabIndex = 1165;
|
||||||
@@ -352,7 +375,7 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
// label8
|
// label8
|
||||||
//
|
//
|
||||||
this.label8.AutoSize = true;
|
this.label8.AutoSize = true;
|
||||||
this.label8.Location = new System.Drawing.Point(959, 14);
|
this.label8.Location = new System.Drawing.Point(869, 18);
|
||||||
this.label8.Name = "label8";
|
this.label8.Name = "label8";
|
||||||
this.label8.Size = new System.Drawing.Size(68, 17);
|
this.label8.Size = new System.Drawing.Size(68, 17);
|
||||||
this.label8.TabIndex = 1164;
|
this.label8.TabIndex = 1164;
|
||||||
@@ -396,7 +419,7 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnSearch.Location = new System.Drawing.Point(888, 34);
|
this.btnSearch.Location = new System.Drawing.Point(796, 35);
|
||||||
this.btnSearch.Name = "btnSearch";
|
this.btnSearch.Name = "btnSearch";
|
||||||
this.btnSearch.Size = new System.Drawing.Size(62, 23);
|
this.btnSearch.Size = new System.Drawing.Size(62, 23);
|
||||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -416,14 +439,14 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
//
|
//
|
||||||
// dtpTimeEnd
|
// dtpTimeEnd
|
||||||
//
|
//
|
||||||
this.dtpTimeEnd.Location = new System.Drawing.Point(772, 34);
|
this.dtpTimeEnd.Location = new System.Drawing.Point(670, 49);
|
||||||
this.dtpTimeEnd.Name = "dtpTimeEnd";
|
this.dtpTimeEnd.Name = "dtpTimeEnd";
|
||||||
this.dtpTimeEnd.Size = new System.Drawing.Size(111, 23);
|
this.dtpTimeEnd.Size = new System.Drawing.Size(111, 23);
|
||||||
this.dtpTimeEnd.TabIndex = 1149;
|
this.dtpTimeEnd.TabIndex = 1149;
|
||||||
//
|
//
|
||||||
// dtpTimeBegin
|
// dtpTimeBegin
|
||||||
//
|
//
|
||||||
this.dtpTimeBegin.Location = new System.Drawing.Point(656, 34);
|
this.dtpTimeBegin.Location = new System.Drawing.Point(670, 24);
|
||||||
this.dtpTimeBegin.Name = "dtpTimeBegin";
|
this.dtpTimeBegin.Name = "dtpTimeBegin";
|
||||||
this.dtpTimeBegin.Size = new System.Drawing.Size(111, 23);
|
this.dtpTimeBegin.Size = new System.Drawing.Size(111, 23);
|
||||||
this.dtpTimeBegin.TabIndex = 1148;
|
this.dtpTimeBegin.TabIndex = 1148;
|
||||||
@@ -431,7 +454,7 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
// label5
|
// label5
|
||||||
//
|
//
|
||||||
this.label5.AutoSize = true;
|
this.label5.AutoSize = true;
|
||||||
this.label5.Location = new System.Drawing.Point(600, 37);
|
this.label5.Location = new System.Drawing.Point(613, 27);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.Size = new System.Drawing.Size(56, 17);
|
this.label5.Size = new System.Drawing.Size(56, 17);
|
||||||
this.label5.TabIndex = 1147;
|
this.label5.TabIndex = 1147;
|
||||||
@@ -480,8 +503,8 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
//
|
//
|
||||||
this.splitContainer3.Panel2.Controls.Add(this.statusBarUserControl1);
|
this.splitContainer3.Panel2.Controls.Add(this.statusBarUserControl1);
|
||||||
this.splitContainer3.Panel2.Controls.Add(this.ucSplitPage1);
|
this.splitContainer3.Panel2.Controls.Add(this.ucSplitPage1);
|
||||||
this.splitContainer3.Size = new System.Drawing.Size(1164, 439);
|
this.splitContainer3.Size = new System.Drawing.Size(1164, 426);
|
||||||
this.splitContainer3.SplitterDistance = 410;
|
this.splitContainer3.SplitterDistance = 397;
|
||||||
this.splitContainer3.TabIndex = 1163;
|
this.splitContainer3.TabIndex = 1163;
|
||||||
//
|
//
|
||||||
// pictureBox2
|
// pictureBox2
|
||||||
@@ -499,20 +522,20 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
//
|
//
|
||||||
this.dgvPayment.AllowUserToAddRows = false;
|
this.dgvPayment.AllowUserToAddRows = false;
|
||||||
this.dgvPayment.AllowUserToDeleteRows = false;
|
this.dgvPayment.AllowUserToDeleteRows = false;
|
||||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
this.dgvPayment.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
this.dgvPayment.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
|
||||||
this.dgvPayment.AutoRowNumber = true;
|
this.dgvPayment.AutoRowNumber = true;
|
||||||
this.dgvPayment.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
this.dgvPayment.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||||
this.dgvPayment.BackgroundColor = System.Drawing.Color.White;
|
this.dgvPayment.BackgroundColor = System.Drawing.Color.White;
|
||||||
this.dgvPayment.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
this.dgvPayment.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||||
this.dgvPayment.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
this.dgvPayment.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||||
this.dgvPayment.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dgvPayment.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dgvPayment.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.dgvPayment.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.colCheck,
|
this.colCheck,
|
||||||
@@ -528,7 +551,7 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
this.dgvPayment.Name = "dgvPayment";
|
this.dgvPayment.Name = "dgvPayment";
|
||||||
this.dgvPayment.ReadOnly = true;
|
this.dgvPayment.ReadOnly = true;
|
||||||
this.dgvPayment.RowTemplate.Height = 23;
|
this.dgvPayment.RowTemplate.Height = 23;
|
||||||
this.dgvPayment.Size = new System.Drawing.Size(1162, 406);
|
this.dgvPayment.Size = new System.Drawing.Size(1162, 393);
|
||||||
this.dgvPayment.TabIndex = 1162;
|
this.dgvPayment.TabIndex = 1162;
|
||||||
this.dgvPayment.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPayment_CellContentClick);
|
this.dgvPayment.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPayment_CellContentClick);
|
||||||
//
|
//
|
||||||
@@ -556,8 +579,8 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
//
|
//
|
||||||
// colAmount
|
// colAmount
|
||||||
//
|
//
|
||||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.colAmount.DefaultCellStyle = dataGridViewCellStyle3;
|
this.colAmount.DefaultCellStyle = dataGridViewCellStyle6;
|
||||||
this.colAmount.FillWeight = 60F;
|
this.colAmount.FillWeight = 60F;
|
||||||
this.colAmount.HeaderText = "金额";
|
this.colAmount.HeaderText = "金额";
|
||||||
this.colAmount.Name = "colAmount";
|
this.colAmount.Name = "colAmount";
|
||||||
@@ -617,22 +640,31 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
this.ucSplitPage1.PageChange += new System.Action<object>(this.ucSplitPage1_PageChange);
|
this.ucSplitPage1.PageChange += new System.Action<object>(this.ucSplitPage1_PageChange);
|
||||||
this.ucSplitPage1.Load += new System.EventHandler(this.ucSplitPage1_Load);
|
this.ucSplitPage1.Load += new System.EventHandler(this.ucSplitPage1_Load);
|
||||||
//
|
//
|
||||||
// label9
|
// label11
|
||||||
//
|
//
|
||||||
this.label9.AutoSize = true;
|
this.label11.AutoSize = true;
|
||||||
this.label9.Location = new System.Drawing.Point(959, 59);
|
this.label11.Location = new System.Drawing.Point(1016, 18);
|
||||||
this.label9.Name = "label9";
|
this.label11.Name = "label11";
|
||||||
this.label9.Size = new System.Drawing.Size(68, 17);
|
this.label11.Size = new System.Drawing.Size(68, 17);
|
||||||
this.label9.TabIndex = 1175;
|
this.label11.TabIndex = 1180;
|
||||||
this.label9.Text = "使用余额:";
|
this.label11.Text = "消费总额:";
|
||||||
//
|
//
|
||||||
// rangeUsedAramt
|
// consumptionArmt
|
||||||
//
|
//
|
||||||
this.rangeUsedAramt.Location = new System.Drawing.Point(1020, 59);
|
this.consumptionArmt.Location = new System.Drawing.Point(1078, 18);
|
||||||
this.rangeUsedAramt.Name = "rangeUsedAramt";
|
this.consumptionArmt.Name = "consumptionArmt";
|
||||||
this.rangeUsedAramt.Size = new System.Drawing.Size(67, 17);
|
this.consumptionArmt.Size = new System.Drawing.Size(67, 17);
|
||||||
this.rangeUsedAramt.TabIndex = 1176;
|
this.consumptionArmt.TabIndex = 1181;
|
||||||
this.rangeUsedAramt.Text = "1000.00";
|
this.consumptionArmt.Text = "1000.00";
|
||||||
|
//
|
||||||
|
// label13
|
||||||
|
//
|
||||||
|
this.label13.AutoSize = true;
|
||||||
|
this.label13.Location = new System.Drawing.Point(614, 50);
|
||||||
|
this.label13.Name = "label13";
|
||||||
|
this.label13.Size = new System.Drawing.Size(56, 17);
|
||||||
|
this.label13.TabIndex = 1182;
|
||||||
|
this.label13.Text = "截至时间";
|
||||||
//
|
//
|
||||||
// WXGetBalanceQrCodeForm
|
// WXGetBalanceQrCodeForm
|
||||||
//
|
//
|
||||||
@@ -718,5 +750,8 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
private System.Windows.Forms.LinkLabel exportRecord;
|
private System.Windows.Forms.LinkLabel exportRecord;
|
||||||
private System.Windows.Forms.Label rangeUsedAramt;
|
private System.Windows.Forms.Label rangeUsedAramt;
|
||||||
private System.Windows.Forms.Label label9;
|
private System.Windows.Forms.Label label9;
|
||||||
|
private System.Windows.Forms.Label label13;
|
||||||
|
private System.Windows.Forms.Label consumptionArmt;
|
||||||
|
private System.Windows.Forms.Label label11;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -206,6 +206,11 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
rechargeArmtTotal.Text = BaseClass.RechargeAmountTotal.ToString("N2");
|
rechargeArmtTotal.Text = BaseClass.RechargeAmountTotal.ToString("N2");
|
||||||
balanceArmt.Text = BaseClass.Balance.ToString("N2");
|
balanceArmt.Text = BaseClass.Balance.ToString("N2");
|
||||||
rangeUsedAramt.Text = paymentList.Sum(a => a.amount).ToString("N2");
|
rangeUsedAramt.Text = paymentList.Sum(a => a.amount).ToString("N2");
|
||||||
|
List<int> types = new List<int> { 16, 20, 23, 24, 26, 31 };
|
||||||
|
consumptionArmt.Text =
|
||||||
|
(paymentList.Where(a => types.Contains(a.type.Value)).Sum(a => a.amount)
|
||||||
|
- paymentList.Where(a => a.type == 23).Sum(a => a.amount))
|
||||||
|
.ToString("N2"); // paymentList.Sum(a => a.amount).ToString("N2");
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -117,15 +117,6 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<metadata name="btnRefresh.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>289, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="btnBalanceTopUp.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>130, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="btnSearch.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>17, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="colCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="colCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
Reference in new issue
Block a user