代理+1 代理提现利润统计 二维码拿掉。 代理积分消耗情况统计

This commit is contained in:
wule committed 2026-07-24 11:17:56 +08:00
1 parent 558c87897e
commit bd3040efa3
69 files changed
+19415 -7071

No files matched your search

@@ -83,6 +83,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.btnPushToOutServer = new DevComponents.DotNetBar.PanelEx();
this.btnGetProdWxCate = new DevComponents.DotNetBar.PanelEx();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.cmbTime = new System.Windows.Forms.ComboBox();
this.cmbHasFission = new System.Windows.Forms.ComboBox();
this.label20 = new System.Windows.Forms.Label();
this.txtViewUvMin = new System.Windows.Forms.TextBox();
@@ -91,7 +92,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.label19 = new System.Windows.Forms.Label();
this.dtpEnd = new System.Windows.Forms.DateTimePicker();
this.dtpStart = new System.Windows.Forms.DateTimePicker();
this.chkTime = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.cmbCat2 = new System.Windows.Forms.ComboBox();
this.label16 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
@@ -872,6 +872,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.50328F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.Controls.Add(this.cmbTime, 8, 2);
this.tableLayoutPanel1.Controls.Add(this.cmbHasFission, 15, 1);
this.tableLayoutPanel1.Controls.Add(this.label20, 14, 1);
this.tableLayoutPanel1.Controls.Add(this.txtViewUvMin, 13, 1);
@@ -880,7 +881,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.tableLayoutPanel1.Controls.Add(this.label19, 12, 0);
this.tableLayoutPanel1.Controls.Add(this.dtpEnd, 11, 2);
this.tableLayoutPanel1.Controls.Add(this.dtpStart, 9, 2);
this.tableLayoutPanel1.Controls.Add(this.chkTime, 8, 2);
this.tableLayoutPanel1.Controls.Add(this.cmbCat2, 5, 2);
this.tableLayoutPanel1.Controls.Add(this.label16, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 2);
@@ -928,6 +928,20 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.tableLayoutPanel1.Size = new System.Drawing.Size(908, 105);
this.tableLayoutPanel1.TabIndex = 679;
//
// cmbTime
//
this.cmbTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbTime.FormattingEnabled = true;
this.cmbTime.Items.AddRange(new object[] {
"",
"修改时间",
"入库时间"});
this.cmbTime.Location = new System.Drawing.Point(402, 77);
this.cmbTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbTime.Name = "cmbTime";
this.cmbTime.Size = new System.Drawing.Size(56, 25);
this.cmbTime.TabIndex = 983;
//
// cmbHasFission
//
this.cmbHasFission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
@@ -1021,16 +1035,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.dtpStart.Size = new System.Drawing.Size(110, 23);
this.dtpStart.TabIndex = 978;
//
// chkTime
//
this.chkTime.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkTime.Location = new System.Drawing.Point(416, 77);
this.chkTime.Name = "chkTime";
this.chkTime.Size = new System.Drawing.Size(42, 21);
this.chkTime.TabIndex = 977;
this.chkTime.Text = "时间";
this.chkTime.UseVisualStyleBackColor = true;
//
// cmbCat2
//
this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
@@ -2207,7 +2211,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
private System.Windows.Forms.ComboBox cmbHasReturn;
private System.Windows.Forms.Label label18;
private DevComponents.DotNetBar.PanelEx btnUpdateReturnServerData;
private UserComponent.UcCheckBox chkTime;
private System.Windows.Forms.DateTimePicker dtpEnd;
private System.Windows.Forms.DateTimePicker dtpStart;
private DevComponents.DotNetBar.PanelEx panelEx1;
@@ -2266,5 +2269,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
private System.Windows.Forms.Panel panel1;
private DevComponents.DotNetBar.PanelEx btnAddUserProd;
private DevComponents.DotNetBar.PanelEx btnEditGroup;
private System.Windows.Forms.ComboBox cmbTime;
}
}
@@ -130,6 +130,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.dtpStart.Value = new DateTime(2026, 3, 12, 0, 0, 0);
this.dtpEnd.Value = new DateTime(2026, 3, 13, 13, 0, 0);
this.dtpStart.Value = DateTime.Now.Date.AddMonths(-1);
this.dtpEnd.Value = DateTime.Now.Date.AddDays(1).AddSeconds(-1);
WXDBProdUploadForm.lstWXShopTokenInfo = NaiBa.Util.Helper.ConfigHelper.LoadConfig<NaiBa.Util.ConcurrentList<WXShopTokenInfo>>("wx_shop_token_list");
@@ -187,14 +189,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms
if (lstTemuDbProduct.Any(p => p.view_uv != null))
dgvDbProduct.Columns["colViewUv"].Visible = true;
}));
foreach (var prod in lstTemuDbProduct)
foreach (var prod in lstTemuDbProduct.Reverse().ToList())
{
string catName = (prod.cat_name ?? prod.cat_id);
if (prod.wx_cat_leaf != null)
{
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_leaf.ParseToString())?.name;
if (!string.IsNullOrEmpty(catN))
{
{
catName = catN;
}
}
@@ -370,11 +372,16 @@ namespace TemuKJD.PDDForms.ProductSelectForms
data += "&min_view_uv=" + txtViewUvMin.Text.ParseToInt();
}
if (chkTime.Checked)
if (cmbTime.Text == "修改时间")
{
data += "&start_time=" + dtpStart.Value.ToString("yyyy-MM-dd HH:mm:ss");
data += "&end_time=" + dtpEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
}
if (cmbTime.Text == "入库时间")
{
data += "&add_time_begin=" + dtpStart.Value.ToString("yyyy-MM-dd HH:mm:ss");
data += "&add_time_end=" + dtpEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
}
if (cmbSourceType.Text != "厂商直采")
{