店铺考核提供备注功能 微信带货助手采集功能
This commit is contained in:
1 parent
4fa1fc03ca
commit
119b2f4f3e
64 files changed
+7940
-908
No files matched your search
@@ -115,6 +115,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
var data = "";
|
||||
|
||||
data = UserLogin.GetSignaturex() + "&search_db_ids=" + prodDbId;
|
||||
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.Contains("爆款数据"))
|
||||
data += "&special_prod_type=普通商品,书籍,爆款数据";
|
||||
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
|
||||
+29
-19
@@ -155,6 +155,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colEdit = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colAddTimes = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSelectTotalCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colViewUv = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_notes = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colHeadWords = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -1033,7 +1034,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.cmbSort.FormattingEnabled = true;
|
||||
this.cmbSort.Items.AddRange(new object[] {
|
||||
"入库时间",
|
||||
"认领总数"});
|
||||
"曝光量"});
|
||||
this.cmbSort.Location = new System.Drawing.Point(399, 40);
|
||||
this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSort.Name = "cmbSort";
|
||||
@@ -1565,6 +1566,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colEdit,
|
||||
this.colAddTimes,
|
||||
this.colSelectTotalCount,
|
||||
this.colViewUv,
|
||||
this.colSaleCount,
|
||||
this.col_notes,
|
||||
this.colHeadWords,
|
||||
@@ -1762,9 +1764,16 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colSelectTotalCount.ReadOnly = true;
|
||||
this.colSelectTotalCount.Visible = false;
|
||||
//
|
||||
// colViewUv
|
||||
//
|
||||
this.colViewUv.FillWeight = 60F;
|
||||
this.colViewUv.HeaderText = "曝光量";
|
||||
this.colViewUv.Name = "colViewUv";
|
||||
this.colViewUv.ReadOnly = true;
|
||||
//
|
||||
// colSaleCount
|
||||
//
|
||||
this.colSaleCount.FillWeight = 80F;
|
||||
this.colSaleCount.FillWeight = 60F;
|
||||
this.colSaleCount.HeaderText = "销量";
|
||||
this.colSaleCount.Name = "colSaleCount";
|
||||
this.colSaleCount.ReadOnly = true;
|
||||
@@ -2014,6 +2023,23 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.ComboBox cmbCat3;
|
||||
private UserComponent.UcCheckBox chkWXComplateProd;
|
||||
private DevComponents.DotNetBar.PanelEx btnReturnSecretData;
|
||||
private System.Windows.Forms.ComboBox cmbHasReturn;
|
||||
private System.Windows.Forms.Label label18;
|
||||
private DevComponents.DotNetBar.PanelEx btnUpdateReturnServerData;
|
||||
private UserComponent.UcCheckBox ucCheckBox1;
|
||||
private System.Windows.Forms.DateTimePicker dtpEnd;
|
||||
private System.Windows.Forms.DateTimePicker dtpStart;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
private TemuKJD.UserControls.UcTabControlMetro ucTabControlMetro1;
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private System.Windows.Forms.TabPage tabPage3;
|
||||
private System.Windows.Forms.TabPage tabPage2;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||
private System.Windows.Forms.ComboBox cmbPddRelation;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private DevComponents.DotNetBar.PanelEx btnExportIdImg;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
|
||||
@@ -2035,6 +2061,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colEdit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTimes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSelectTotalCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colViewUv;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSaleCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_notes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colHeadWords;
|
||||
@@ -2048,22 +2075,5 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_edit;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_delete;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_select_product;
|
||||
private UserComponent.UcCheckBox chkWXComplateProd;
|
||||
private DevComponents.DotNetBar.PanelEx btnReturnSecretData;
|
||||
private System.Windows.Forms.ComboBox cmbHasReturn;
|
||||
private System.Windows.Forms.Label label18;
|
||||
private DevComponents.DotNetBar.PanelEx btnUpdateReturnServerData;
|
||||
private UserComponent.UcCheckBox ucCheckBox1;
|
||||
private System.Windows.Forms.DateTimePicker dtpEnd;
|
||||
private System.Windows.Forms.DateTimePicker dtpStart;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
private TemuKJD.UserControls.UcTabControlMetro ucTabControlMetro1;
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private System.Windows.Forms.TabPage tabPage3;
|
||||
private System.Windows.Forms.TabPage tabPage2;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||
private System.Windows.Forms.ComboBox cmbPddRelation;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private DevComponents.DotNetBar.PanelEx btnExportIdImg;
|
||||
}
|
||||
}
|
||||
@@ -144,6 +144,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.pbLoading.Visible = true;
|
||||
this.dgvDbProduct.Rows.Clear();
|
||||
lstTemuDbProduct.Clear();
|
||||
dgvDbProduct.Columns["colViewUv"].Visible = false;
|
||||
}));
|
||||
}
|
||||
else
|
||||
@@ -151,6 +152,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.pbLoading.Visible = true;
|
||||
this.dgvDbProduct.Rows.Clear();
|
||||
lstTemuDbProduct.Clear();
|
||||
dgvDbProduct.Columns["colViewUv"].Visible = false;
|
||||
}
|
||||
Task.Run(() =>
|
||||
{
|
||||
@@ -170,6 +172,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// 清除整个Bitmap为白色
|
||||
g.Clear(Color.White);
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (lstTemuDbProduct.Any(p => p.view_uv != null))
|
||||
dgvDbProduct.Columns["colViewUv"].Visible = true;
|
||||
}));
|
||||
foreach (var prod in lstTemuDbProduct)
|
||||
{
|
||||
string catName = prod.cat_name ?? prod.cat_id;
|
||||
@@ -229,6 +236,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"编辑",
|
||||
prod.select_count,
|
||||
prod.select_total_count,
|
||||
prod.view_uv,
|
||||
prod.sale_count_text, // 销售数量
|
||||
prod.notes,
|
||||
prod.head_words,
|
||||
@@ -397,6 +405,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
{
|
||||
data += "&sort_field=select_total_count";
|
||||
}
|
||||
else if (this.cmbSort.Text == "曝光量")
|
||||
{
|
||||
data += "&sort_field=view_uv";
|
||||
}
|
||||
if (!this.txtRealCoid.Text.Trim().IsNullOrEmpty())
|
||||
{
|
||||
data += "&real_coid=" + this.txtRealCoid.Text.Trim();
|
||||
|
||||
@@ -180,6 +180,9 @@
|
||||
<metadata name="colSelectTotalCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colViewUv.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSaleCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
@@ -30,17 +30,16 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle89 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle90 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle91 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle92 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle93 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle94 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle95 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle96 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.cmbCatSelect3 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect2 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect1 = new System.Windows.Forms.ComboBox();
|
||||
this.btnSeachPicUp = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -96,6 +95,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkAiImage = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.cmbCatSelect4 = new System.Windows.Forms.ComboBox();
|
||||
this.chkSetCats = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.cmbCatSelect3 = new System.Windows.Forms.ComboBox();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.chkRelation = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.cmbCateFilter3 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
@@ -147,9 +147,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.txtUpgradeVersionName = new System.Windows.Forms.TextBox();
|
||||
this.btnGetCats = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkImgChanceTest = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtLowPriceSkuPrice = new System.Windows.Forms.TextBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.txtLowPriceSkuName = new System.Windows.Forms.TextBox();
|
||||
this.pbSkuImg = new System.Windows.Forms.PictureBox();
|
||||
this.chk15996 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
@@ -171,6 +169,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.pbUpgradeVersion = new System.Windows.Forms.PictureBox();
|
||||
this.lblUpgradeVersion = new System.Windows.Forms.Label();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colSelectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -198,6 +197,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkImgChanceTest = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
@@ -316,18 +316,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.ucGroupBoxEx2.TabStop = false;
|
||||
this.ucGroupBoxEx2.Text = "商品上传";
|
||||
//
|
||||
// cmbCatSelect3
|
||||
//
|
||||
this.cmbCatSelect3.DropDownWidth = 150;
|
||||
this.cmbCatSelect3.FormattingEnabled = true;
|
||||
this.cmbCatSelect3.Location = new System.Drawing.Point(793, 106);
|
||||
this.cmbCatSelect3.Name = "cmbCatSelect3";
|
||||
this.cmbCatSelect3.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect3.TabIndex = 894;
|
||||
this.cmbCatSelect3.Visible = false;
|
||||
this.cmbCatSelect3.SelectedIndexChanged += new System.EventHandler(this.cmbCatSelect3_SelectedIndexChanged);
|
||||
this.cmbCatSelect3.TextChanged += new System.EventHandler(this.cmbCatSelect3_TextChanged);
|
||||
//
|
||||
// cmbCatSelect2
|
||||
//
|
||||
this.cmbCatSelect2.DropDownWidth = 150;
|
||||
@@ -1055,6 +1043,18 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkSetCats.UseVisualStyleBackColor = true;
|
||||
this.chkSetCats.Visible = false;
|
||||
//
|
||||
// cmbCatSelect3
|
||||
//
|
||||
this.cmbCatSelect3.DropDownWidth = 150;
|
||||
this.cmbCatSelect3.FormattingEnabled = true;
|
||||
this.cmbCatSelect3.Location = new System.Drawing.Point(793, 106);
|
||||
this.cmbCatSelect3.Name = "cmbCatSelect3";
|
||||
this.cmbCatSelect3.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect3.TabIndex = 894;
|
||||
this.cmbCatSelect3.Visible = false;
|
||||
this.cmbCatSelect3.SelectedIndexChanged += new System.EventHandler(this.cmbCatSelect3_SelectedIndexChanged);
|
||||
this.cmbCatSelect3.TextChanged += new System.EventHandler(this.cmbCatSelect3_TextChanged);
|
||||
//
|
||||
// ucGroupBoxEx4
|
||||
//
|
||||
this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -1661,19 +1661,19 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle89.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle89;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvShop.AutoRowNumber = true;
|
||||
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle90.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle90.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle90.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle90.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle90.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle90.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle90.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle90;
|
||||
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.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -1824,18 +1824,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnGetCats.Visible = false;
|
||||
this.btnGetCats.Click += new System.EventHandler(this.btnGetCats_Click);
|
||||
//
|
||||
// chkImgChanceTest
|
||||
//
|
||||
this.chkImgChanceTest.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.chkImgChanceTest.AutoSize = true;
|
||||
this.chkImgChanceTest.Location = new System.Drawing.Point(120, 2);
|
||||
this.chkImgChanceTest.Name = "chkImgChanceTest";
|
||||
this.chkImgChanceTest.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkImgChanceTest.TabIndex = 846;
|
||||
this.chkImgChanceTest.Text = "模拟传款调试";
|
||||
this.chkImgChanceTest.UseVisualStyleBackColor = true;
|
||||
this.chkImgChanceTest.Visible = false;
|
||||
//
|
||||
// txtLowPriceSkuPrice
|
||||
//
|
||||
this.txtLowPriceSkuPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -1848,16 +1836,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.txtLowPriceSkuPrice.Visible = false;
|
||||
this.txtLowPriceSkuPrice.TextChanged += new System.EventHandler(this.txtLowPriceSkuPrice_TextChanged);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel2.Location = new System.Drawing.Point(345, 217);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(881, 123);
|
||||
this.panel2.TabIndex = 842;
|
||||
//
|
||||
// txtLowPriceSkuName
|
||||
//
|
||||
this.txtLowPriceSkuName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -2128,23 +2106,33 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.lblUpgradeVersion.Visible = false;
|
||||
this.lblUpgradeVersion.Click += new System.EventHandler(this.lblUpgradeVersion_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel2.Location = new System.Drawing.Point(345, 217);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(881, 123);
|
||||
this.panel2.TabIndex = 842;
|
||||
//
|
||||
// dgvSelectProduct
|
||||
//
|
||||
this.dgvSelectProduct.AllowUserToAddRows = false;
|
||||
this.dgvSelectProduct.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle91.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle91;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dgvSelectProduct.AutoRowNumber = true;
|
||||
this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvSelectProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle92.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle92.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle92.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle92.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle92.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle92.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle92.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle92;
|
||||
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.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheck,
|
||||
@@ -2206,8 +2194,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colSupplierName
|
||||
//
|
||||
dataGridViewCellStyle93.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle93;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.colSupplierName.Frozen = true;
|
||||
this.colSupplierName.HeaderText = "店铺名称";
|
||||
this.colSupplierName.Name = "colSupplierName";
|
||||
@@ -2285,8 +2273,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colProductName
|
||||
//
|
||||
dataGridViewCellStyle94.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle94;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.colProductName.HeaderText = "商品标题";
|
||||
this.colProductName.Name = "colProductName";
|
||||
this.colProductName.ReadOnly = true;
|
||||
@@ -2346,8 +2334,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colAddTime
|
||||
//
|
||||
dataGridViewCellStyle95.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle95;
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.colAddTime.FillWeight = 80F;
|
||||
this.colAddTime.HeaderText = "上传时间";
|
||||
this.colAddTime.Name = "colAddTime";
|
||||
@@ -2355,8 +2343,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colOpResult
|
||||
//
|
||||
dataGridViewCellStyle96.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colOpResult.DefaultCellStyle = dataGridViewCellStyle96;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colOpResult.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.colOpResult.HeaderText = "操作结果";
|
||||
this.colOpResult.Name = "colOpResult";
|
||||
this.colOpResult.ReadOnly = true;
|
||||
@@ -2444,6 +2432,18 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.panelEx1.Text = "停止当前操作";
|
||||
this.panelEx1.Visible = false;
|
||||
//
|
||||
// chkImgChanceTest
|
||||
//
|
||||
this.chkImgChanceTest.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.chkImgChanceTest.AutoSize = true;
|
||||
this.chkImgChanceTest.Location = new System.Drawing.Point(120, 2);
|
||||
this.chkImgChanceTest.Name = "chkImgChanceTest";
|
||||
this.chkImgChanceTest.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkImgChanceTest.TabIndex = 846;
|
||||
this.chkImgChanceTest.Text = "模拟传款调试";
|
||||
this.chkImgChanceTest.UseVisualStyleBackColor = true;
|
||||
this.chkImgChanceTest.Visible = false;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
|
||||
@@ -305,7 +305,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
Task.Run(() =>
|
||||
{
|
||||
// 同时刷新下商品分组
|
||||
PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter, "", "", BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin");
|
||||
string addUserName = BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin";
|
||||
if (BaseClass.GroupId != 3)
|
||||
addUserName = BaseClass.ParentAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
|
||||
PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter, "", "", addUserName);
|
||||
|
||||
// 刷新类目信息
|
||||
GetPddProductCate();
|
||||
@@ -1684,7 +1687,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
prodParam.origin_is_pre_sale = 0;
|
||||
|
||||
var extCode = dbProd.ext_code.IsNullOrEmpty() ? prodInfo.detail.out_goods_sn : dbProd.ext_code;
|
||||
if (extCode.IsNullOrEmpty() || extCode.Length < 4)
|
||||
if (extCode.IsNullOrEmpty() || extCode.Length <= 10)
|
||||
extCode = "EC1" + dbProd.spu_id + "A";
|
||||
prodParam.out_goods_sn = extCode; //prodInfo.detail.out_goods_sn;
|
||||
|
||||
@@ -6259,7 +6262,10 @@ Content-Type: image/jpeg
|
||||
data += "&in_spu_ids=" + txtIdFilter.Text;
|
||||
data += "&in_groups=" + cmbGroupFilter.Text;
|
||||
|
||||
data += "&add_user_name=" + (BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin");
|
||||
string addUserName = BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin";
|
||||
if (BaseClass.GroupId != 3)
|
||||
addUserName = BaseClass.ParentAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
|
||||
data += "&add_user_name=" + addUserName;
|
||||
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
{
|
||||
@@ -7573,7 +7579,7 @@ Content-Type: image/jpeg
|
||||
pddApi.Data["market_price"] = prodInfo.detail.market_price;
|
||||
|
||||
var extCode = dbProd.ext_code.IsNullOrEmpty() ? prodInfo.detail.out_goods_sn : dbProd.ext_code;
|
||||
if (extCode.IsNullOrEmpty() || extCode.Length < 4)
|
||||
if (extCode.IsNullOrEmpty() || extCode.Length <= 10)
|
||||
extCode = "EC1" + dbProd.spu_id + "A";
|
||||
pddApi.Data["out_goods_id"] = extCode;
|
||||
|
||||
@@ -9873,7 +9879,7 @@ Content-Type: image/jpeg
|
||||
pddApi.Data["order_limit"] = prodRstObj["order_limit"];
|
||||
pddApi.Data["origin_country_id"] = prodRstObj["origin_country_id"];
|
||||
var extCode = dbProd.ext_code.IsNullOrEmpty() ? prodInfo.detail.out_goods_sn : dbProd.ext_code;
|
||||
if (extCode.IsNullOrEmpty() || extCode.Length < 4)
|
||||
if (extCode.IsNullOrEmpty() || extCode.Length <= 10)
|
||||
extCode = "EC1" + dbProd.spu_id + "A";
|
||||
pddApi.Data["out_goods_id"] = extCode; //prodRstObj["out_goods_id"];
|
||||
if (!prodRstObj["out_source_goods_id"].IsJTokenNullOrEmpty())
|
||||
|
||||
Reference in new issue
Block a user