代理+1 代理提现利润统计 二维码拿掉。 代理积分消耗情况统计
This commit is contained in:
1 parent
558c87897e
commit
bd3040efa3
69 files changed
+19415
-7071
No files matched your search
+66
-50
@@ -32,16 +32,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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.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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.chkRemoveSpecialChar = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtShippingPriceTimes = new System.Windows.Forms.TextBox();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -56,7 +58,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.fPnlPriceRule = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.ucAddPrice1 = new TemuKJD.PDDForms.ProductSelectForms.UcAddPrice();
|
||||
this.ucAddPrice2 = new TemuKJD.PDDForms.ProductSelectForms.UcAddPrice();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.lblNewAddPrice = new System.Windows.Forms.Label();
|
||||
this.txtWaitSeconds = new System.Windows.Forms.TextBox();
|
||||
this.txtAddMorePrice = new System.Windows.Forms.TextBox();
|
||||
@@ -302,6 +303,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label6);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkRemoveSpecialChar);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtShippingPriceTimes);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label13);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnStop);
|
||||
@@ -312,7 +315,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label14);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label15);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.pnlStep);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label6);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.lblNewAddPrice);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtWaitSeconds);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtAddMorePrice);
|
||||
@@ -331,6 +333,30 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx2.TabStop = false;
|
||||
this.ucGroupBoxEx2.Text = "商品上传";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(939, 15);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(56, 17);
|
||||
this.label6.TabIndex = 727;
|
||||
this.label6.Text = "额外等待";
|
||||
//
|
||||
// chkRemoveSpecialChar
|
||||
//
|
||||
this.chkRemoveSpecialChar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkRemoveSpecialChar.AutoSize = true;
|
||||
this.chkRemoveSpecialChar.Checked = true;
|
||||
this.chkRemoveSpecialChar.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkRemoveSpecialChar.Location = new System.Drawing.Point(797, 13);
|
||||
this.chkRemoveSpecialChar.Name = "chkRemoveSpecialChar";
|
||||
this.chkRemoveSpecialChar.Size = new System.Drawing.Size(147, 21);
|
||||
this.chkRemoveSpecialChar.TabIndex = 896;
|
||||
this.chkRemoveSpecialChar.Text = "移除标题前部特殊符号";
|
||||
this.chkRemoveSpecialChar.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtShippingPriceTimes
|
||||
//
|
||||
this.txtShippingPriceTimes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -394,7 +420,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkRandomCompanyProd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkRandomCompanyProd.Checked = true;
|
||||
this.chkRandomCompanyProd.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkRandomCompanyProd.Location = new System.Drawing.Point(845, 13);
|
||||
this.chkRandomCompanyProd.Location = new System.Drawing.Point(699, 13);
|
||||
this.chkRandomCompanyProd.Name = "chkRandomCompanyProd";
|
||||
this.chkRandomCompanyProd.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkRandomCompanyProd.TabIndex = 889;
|
||||
@@ -573,17 +599,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucAddPrice2.Size = new System.Drawing.Size(420, 23);
|
||||
this.ucAddPrice2.TabIndex = 13;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(939, 15);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(56, 17);
|
||||
this.label6.TabIndex = 727;
|
||||
this.label6.Text = "额外等待";
|
||||
//
|
||||
// lblNewAddPrice
|
||||
//
|
||||
this.lblNewAddPrice.AutoSize = true;
|
||||
@@ -2486,19 +2501,19 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
|
||||
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)))));
|
||||
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;
|
||||
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -2730,19 +2745,19 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.dgvSelectProduct.AllowUserToAddRows = false;
|
||||
this.dgvSelectProduct.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
|
||||
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)))));
|
||||
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;
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheck,
|
||||
@@ -2804,8 +2819,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colSupplierName
|
||||
//
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.colSupplierName.Frozen = true;
|
||||
this.colSupplierName.HeaderText = "店铺名称";
|
||||
this.colSupplierName.Name = "colSupplierName";
|
||||
@@ -2885,8 +2900,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colProductName
|
||||
//
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.colProductName.HeaderText = "商品标题";
|
||||
this.colProductName.Name = "colProductName";
|
||||
this.colProductName.ReadOnly = true;
|
||||
@@ -2894,8 +2909,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colProductCat
|
||||
//
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductCat.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductCat.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.colProductCat.HeaderText = "商品类目";
|
||||
this.colProductCat.Name = "colProductCat";
|
||||
this.colProductCat.ReadOnly = true;
|
||||
@@ -2950,8 +2965,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colAddTime
|
||||
//
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.colAddTime.HeaderText = "上传时间";
|
||||
this.colAddTime.Name = "colAddTime";
|
||||
this.colAddTime.ReadOnly = true;
|
||||
@@ -3303,5 +3318,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.Label label39;
|
||||
private UserComponent.UcCheckBox chkSameSpecPriceDown;
|
||||
private UserComponent.UcCheckBox chkLowestPriceSku;
|
||||
private UserComponent.UcCheckBox chkRemoveSpecialChar;
|
||||
}
|
||||
}
|
||||
@@ -1411,7 +1411,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
data += "&wx_safe_status=安全商品,未校验";
|
||||
if (noBanWx)
|
||||
data += "&ban_wx=0";
|
||||
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.Contains("爆款数据") || BaseClass.UserAuthority.Contains("学员数据"))
|
||||
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.Contains("爆款数据") || BaseClass.UserAuthority.Contains("学员数据") || BaseClass.ParentAuthority.Contains("学员数据"))
|
||||
data += "&special_prod_type=普通商品,爆款数据";
|
||||
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
@@ -1782,7 +1782,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
foreach (var txt in lstTitleReplaceText)
|
||||
{
|
||||
dbProd.product_name = dbProd.product_name.Replace(txt, "");
|
||||
dbProd.product_name = dbProd.product_name.Replace(txt, "");
|
||||
selectProd.product_name = selectProd.product_name.Replace(txt, "");
|
||||
}
|
||||
|
||||
var goods_name = prodJObj["detail"]["goods_name"].ParseToString();
|
||||
@@ -1813,6 +1814,55 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
prodJObj["detail"]["share_desc"] = share_desc;
|
||||
}
|
||||
// 过滤标题特殊字符
|
||||
if (chkRemoveSpecialChar.Checked)
|
||||
{
|
||||
//if (dbProd.product_name.Contains("】") && dbProd.product_name.IndexOf("】") < dbProd.product_name.Length / 2 && dbProd.product_name.Length > 10)
|
||||
// dbProd.product_name = dbProd.product_name.Substring(dbProd.product_name.IndexOf("】")).Trim('】');
|
||||
|
||||
//if (selectProd.product_name.Contains("】") && selectProd.product_name.IndexOf("】") < selectProd.product_name.Length / 2 && selectProd.product_name.Length > 10)
|
||||
// selectProd.product_name = selectProd.product_name.Substring(selectProd.product_name.IndexOf("】")).Trim('】');
|
||||
|
||||
//var goods_name = prodJObj["detail"]["goods_name"].ParseToString();
|
||||
//if (goods_name.Contains("】") && goods_name.IndexOf("】") < goods_name.Length / 2 && goods_name.Length > 10)
|
||||
// prodJObj["detail"]["goods_name"] = goods_name.Substring(goods_name.IndexOf("】")).Trim('】');
|
||||
|
||||
//if (dbProd.product_name.Contains("]") && dbProd.product_name.IndexOf("]") < dbProd.product_name.Length / 2 && dbProd.product_name.Length > 10)
|
||||
// dbProd.product_name = dbProd.product_name.Substring(dbProd.product_name.IndexOf("]")).Trim(']');
|
||||
|
||||
//if (selectProd.product_name.Contains("]") && selectProd.product_name.IndexOf("]") < selectProd.product_name.Length / 2 && selectProd.product_name.Length > 10)
|
||||
// selectProd.product_name = selectProd.product_name.Substring(selectProd.product_name.IndexOf("]")).Trim(']');
|
||||
|
||||
//goods_name = prodJObj["detail"]["goods_name"].ParseToString();
|
||||
//if (goods_name.Contains("]") && goods_name.IndexOf("]") < goods_name.Length / 2 && goods_name.Length > 10)
|
||||
// prodJObj["detail"]["goods_name"] = goods_name.Substring(goods_name.IndexOf("]")).Trim(']');
|
||||
|
||||
|
||||
//if (dbProd.product_name.Contains("}") && dbProd.product_name.IndexOf("}") < dbProd.product_name.Length / 2 && dbProd.product_name.Length > 10)
|
||||
// dbProd.product_name = dbProd.product_name.Substring(dbProd.product_name.IndexOf("}")).Trim('}');
|
||||
|
||||
//if (selectProd.product_name.Contains("}") && selectProd.product_name.IndexOf("}") < selectProd.product_name.Length / 2 && selectProd.product_name.Length > 10)
|
||||
// selectProd.product_name = selectProd.product_name.Substring(selectProd.product_name.IndexOf("}")).Trim('}');
|
||||
|
||||
//goods_name = prodJObj["detail"]["goods_name"].ParseToString();
|
||||
//if (goods_name.Contains("}") && goods_name.IndexOf("}") < goods_name.Length / 2 && goods_name.Length > 10)
|
||||
// prodJObj["detail"]["goods_name"] = goods_name.Substring(goods_name.IndexOf("}")).Trim('}');
|
||||
|
||||
var chLst = new List<char> { ']', '】', ')', ')', '}', };
|
||||
foreach (var ch in chLst)
|
||||
{
|
||||
if (dbProd.product_name.Contains(ch) && dbProd.product_name.IndexOf(ch) < dbProd.product_name.Length / 2 && dbProd.product_name.Length > 10)
|
||||
dbProd.product_name = dbProd.product_name.Substring(dbProd.product_name.IndexOf(ch)).Trim(ch);
|
||||
|
||||
if (selectProd.product_name.Contains(ch) && selectProd.product_name.IndexOf(ch) < selectProd.product_name.Length / 2 && selectProd.product_name.Length > 10)
|
||||
selectProd.product_name = selectProd.product_name.Substring(selectProd.product_name.IndexOf(ch)).Trim(ch);
|
||||
|
||||
var goods_name = prodJObj["detail"]["goods_name"].ParseToString();
|
||||
if (goods_name.Contains(ch) && goods_name.IndexOf(ch) < goods_name.Length / 2 && goods_name.Length > 10)
|
||||
prodJObj["detail"]["goods_name"] = goods_name.Substring(goods_name.IndexOf(ch)).Trim(ch);
|
||||
}
|
||||
|
||||
}
|
||||
// 替换货号
|
||||
if (!string.IsNullOrEmpty(dbProd.ext_code))
|
||||
prodJObj["detail"]["out_goods_sn"] = dbProd.ext_code;
|
||||
@@ -4342,7 +4392,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
}
|
||||
// 微信店采直接复制
|
||||
else if (dbProd.product_get_type_text == "微信店采" && upProdParam.product.info.category.FirstOrDefault()?.name != "图书")
|
||||
//else if (dbProd.product_get_type_text == "微信店采" && upProdParam.product.info.category.FirstOrDefault()?.name != "图书" &&
|
||||
// upProdParam.product.info.category.FirstOrDefault()?.name != "食品饮料")
|
||||
else if (dbProd.product_get_type_text == "微信店采" &&
|
||||
upProdParam.product.info.category.FirstOrDefault()?.name == "成人用品" && upProdParam.product.info.category[1].name != "情趣内衣")
|
||||
{
|
||||
upProdParam.product.info.qualificationList.Clear();
|
||||
if (wxEditProdInfo.product?.info?.qualificationList?.Count > 0)
|
||||
|
||||
+161
-64
@@ -144,6 +144,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.col_select_product = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.txtBatchEditNotes = new System.Windows.Forms.TextBox();
|
||||
this.btnBatchEditNotes = new DevComponents.DotNetBar.PanelEx();
|
||||
this.dtpEnd = new System.Windows.Forms.DateTimePicker();
|
||||
this.dtpStart = new System.Windows.Forms.DateTimePicker();
|
||||
this.chkTime = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -168,6 +174,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnBatchEditNotes);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.txtBatchEditNotes);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnAITitleFission);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.txtFissionProductCount);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkFissionProduct);
|
||||
@@ -186,7 +194,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1438, 686);
|
||||
this.splitContainer1.SplitterDistance = 74;
|
||||
this.splitContainer1.SplitterDistance = 115;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// btnAITitleFission
|
||||
@@ -217,7 +225,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtFissionProductCount
|
||||
//
|
||||
this.txtFissionProductCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtFissionProductCount.Location = new System.Drawing.Point(1160, 45);
|
||||
this.txtFissionProductCount.Location = new System.Drawing.Point(1160, 44);
|
||||
this.txtFissionProductCount.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtFissionProductCount.Name = "txtFissionProductCount";
|
||||
this.txtFissionProductCount.Size = new System.Drawing.Size(30, 23);
|
||||
@@ -227,7 +235,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkFissionProduct
|
||||
//
|
||||
this.chkFissionProduct.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkFissionProduct.Location = new System.Drawing.Point(1082, 46);
|
||||
this.chkFissionProduct.Location = new System.Drawing.Point(1082, 45);
|
||||
this.chkFissionProduct.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.chkFissionProduct.Name = "chkFissionProduct";
|
||||
this.chkFissionProduct.Size = new System.Drawing.Size(76, 21);
|
||||
@@ -242,7 +250,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnOut1688ProdSaveDb.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnOut1688ProdSaveDb.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnOut1688ProdSaveDb.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnOut1688ProdSaveDb.Location = new System.Drawing.Point(1324, 44);
|
||||
this.btnOut1688ProdSaveDb.Location = new System.Drawing.Point(1324, 78);
|
||||
this.btnOut1688ProdSaveDb.Name = "btnOut1688ProdSaveDb";
|
||||
this.btnOut1688ProdSaveDb.Size = new System.Drawing.Size(105, 25);
|
||||
this.btnOut1688ProdSaveDb.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -267,7 +275,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnImportPddOutData.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnImportPddOutData.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnImportPddOutData.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnImportPddOutData.Location = new System.Drawing.Point(1216, 44);
|
||||
this.btnImportPddOutData.Location = new System.Drawing.Point(1216, 78);
|
||||
this.btnImportPddOutData.Name = "btnImportPddOutData";
|
||||
this.btnImportPddOutData.Size = new System.Drawing.Size(105, 25);
|
||||
this.btnImportPddOutData.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -292,7 +300,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnSelect.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSelect.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSelect.Location = new System.Drawing.Point(997, 44);
|
||||
this.btnSelect.Location = new System.Drawing.Point(997, 43);
|
||||
this.btnSelect.Name = "btnSelect";
|
||||
this.btnSelect.Size = new System.Drawing.Size(82, 25);
|
||||
this.btnSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -454,6 +462,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.label9, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbHasFission, 11, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label8, 10, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundLessThan, 9, 1);
|
||||
@@ -478,6 +487,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbWxCat, 9, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblWxSafe, 10, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbWxSafe, 11, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkTime, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dtpStart, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dtpEnd, 3, 2);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 6);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 3;
|
||||
@@ -496,17 +508,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbHasFission.Location = new System.Drawing.Point(883, 38);
|
||||
this.cmbHasFission.Location = new System.Drawing.Point(888, 38);
|
||||
this.cmbHasFission.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHasFission.Name = "cmbHasFission";
|
||||
this.cmbHasFission.Size = new System.Drawing.Size(106, 25);
|
||||
this.cmbHasFission.Size = new System.Drawing.Size(101, 25);
|
||||
this.cmbHasFission.TabIndex = 982;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(827, 42);
|
||||
this.label8.Location = new System.Drawing.Point(832, 42);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -519,17 +531,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundLessThan.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtCatBoundLessThan.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(715, 38);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(723, 38);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(102, 25);
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(99, 25);
|
||||
this.txtCatBoundLessThan.TabIndex = 883;
|
||||
this.txtCatBoundLessThan.Text = "100000";
|
||||
//
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(651, 40);
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(659, 40);
|
||||
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(3, 5, 0, 0);
|
||||
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
|
||||
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -544,17 +556,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSPU.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtSPU.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtSPU.Location = new System.Drawing.Point(52, 3);
|
||||
this.txtSPU.Location = new System.Drawing.Point(72, 3);
|
||||
this.txtSPU.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSPU.Name = "txtSPU";
|
||||
this.txtSPU.Size = new System.Drawing.Size(102, 25);
|
||||
this.txtSPU.Size = new System.Drawing.Size(99, 25);
|
||||
this.txtSPU.TabIndex = 434;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(3, 7);
|
||||
this.label5.Location = new System.Drawing.Point(23, 7);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(49, 17);
|
||||
@@ -567,17 +579,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtProdName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtProdName.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtProdName.Location = new System.Drawing.Point(220, 3);
|
||||
this.txtProdName.Location = new System.Drawing.Point(237, 3);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(102, 25);
|
||||
this.txtProdName.Size = new System.Drawing.Size(99, 25);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(160, 7);
|
||||
this.label3.Location = new System.Drawing.Point(177, 7);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -588,7 +600,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(9, 42);
|
||||
this.label2.Location = new System.Drawing.Point(29, 42);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(43, 17);
|
||||
@@ -604,10 +616,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(52, 38);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(72, 38);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(102, 25);
|
||||
this.cmbCat1.Size = new System.Drawing.Size(99, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
@@ -619,17 +631,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundMoreThan.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtCatBoundMoreThan.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(543, 38);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(554, 38);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(102, 25);
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(99, 25);
|
||||
this.txtCatBoundMoreThan.TabIndex = 882;
|
||||
this.txtCatBoundMoreThan.Text = "1000";
|
||||
//
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(479, 40);
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(490, 40);
|
||||
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(3, 5, 0, 0);
|
||||
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
|
||||
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -642,7 +654,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(177, 42);
|
||||
this.label14.Location = new System.Drawing.Point(194, 42);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(43, 17);
|
||||
@@ -658,10 +670,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(220, 38);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(237, 38);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(102, 25);
|
||||
this.cmbCat2.Size = new System.Drawing.Size(99, 25);
|
||||
this.cmbCat2.TabIndex = 804;
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
|
||||
@@ -671,7 +683,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(328, 42);
|
||||
this.label17.Location = new System.Drawing.Point(342, 42);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(43, 17);
|
||||
@@ -687,10 +699,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(371, 38);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(385, 38);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(102, 25);
|
||||
this.cmbCat3.Size = new System.Drawing.Size(99, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
@@ -700,7 +712,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(339, 7);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(353, 7);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -717,10 +729,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"多多商品",
|
||||
"1688商品",
|
||||
"微信商品"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(371, 3);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(385, 3);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(102, 25);
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(99, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
@@ -729,7 +741,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblNotes.AutoSize = true;
|
||||
this.lblNotes.Location = new System.Drawing.Point(507, 7);
|
||||
this.lblNotes.Location = new System.Drawing.Point(518, 7);
|
||||
this.lblNotes.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.lblNotes.Name = "lblNotes";
|
||||
this.lblNotes.Size = new System.Drawing.Size(36, 17);
|
||||
@@ -742,17 +754,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtNotes.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtNotes.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtNotes.Location = new System.Drawing.Point(543, 3);
|
||||
this.txtNotes.Location = new System.Drawing.Point(554, 3);
|
||||
this.txtNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtNotes.Name = "txtNotes";
|
||||
this.txtNotes.Size = new System.Drawing.Size(102, 25);
|
||||
this.txtNotes.Size = new System.Drawing.Size(99, 25);
|
||||
this.txtNotes.TabIndex = 439;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(655, 7);
|
||||
this.label12.Location = new System.Drawing.Point(663, 7);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -768,17 +780,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(715, 3);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(723, 3);
|
||||
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxCat.Name = "cmbWxCat";
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(102, 25);
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(99, 25);
|
||||
this.cmbWxCat.TabIndex = 802;
|
||||
//
|
||||
// lblWxSafe
|
||||
//
|
||||
this.lblWxSafe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(823, 7);
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(828, 7);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -795,10 +807,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(883, 3);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(888, 3);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(106, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(101, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
@@ -806,7 +818,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(1189, 48);
|
||||
this.label7.Location = new System.Drawing.Point(1189, 47);
|
||||
this.label7.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(20, 17);
|
||||
@@ -848,15 +860,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1438, 608);
|
||||
this.splitContainer2.SplitterDistance = 579;
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1438, 567);
|
||||
this.splitContainer2.SplitterDistance = 538;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// lblRelation
|
||||
//
|
||||
this.lblRelation.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblRelation.AutoSize = true;
|
||||
this.lblRelation.Location = new System.Drawing.Point(246, 89);
|
||||
this.lblRelation.Location = new System.Drawing.Point(246, 69);
|
||||
this.lblRelation.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblRelation.Name = "lblRelation";
|
||||
this.lblRelation.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -868,7 +880,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(694, 264);
|
||||
this.pbLoading.Location = new System.Drawing.Point(694, 244);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -879,7 +891,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label16.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(22, 217);
|
||||
this.label16.Location = new System.Drawing.Point(22, 197);
|
||||
this.label16.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(69, 17);
|
||||
@@ -890,7 +902,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtRealCoid
|
||||
//
|
||||
this.txtRealCoid.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtRealCoid.Location = new System.Drawing.Point(91, 149);
|
||||
this.txtRealCoid.Location = new System.Drawing.Point(91, 129);
|
||||
this.txtRealCoid.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtRealCoid.Name = "txtRealCoid";
|
||||
this.txtRealCoid.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -900,7 +912,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtSKC
|
||||
//
|
||||
this.txtSKC.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSKC.Location = new System.Drawing.Point(91, 214);
|
||||
this.txtSKC.Location = new System.Drawing.Point(91, 194);
|
||||
this.txtSKC.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSKC.Name = "txtSKC";
|
||||
this.txtSKC.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -911,7 +923,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label13.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(23, 183);
|
||||
this.label13.Location = new System.Drawing.Point(23, 163);
|
||||
this.label13.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -922,7 +934,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtSecretStyleCode
|
||||
//
|
||||
this.txtSecretStyleCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSecretStyleCode.Location = new System.Drawing.Point(91, 57);
|
||||
this.txtSecretStyleCode.Location = new System.Drawing.Point(91, 37);
|
||||
this.txtSecretStyleCode.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSecretStyleCode.Name = "txtSecretStyleCode";
|
||||
this.txtSecretStyleCode.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -933,7 +945,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(22, 153);
|
||||
this.label1.Location = new System.Drawing.Point(22, 133);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(69, 17);
|
||||
@@ -944,7 +956,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkWXComplateProd
|
||||
//
|
||||
this.chkWXComplateProd.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(25, 253);
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(25, 233);
|
||||
this.chkWXComplateProd.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkWXComplateProd.Name = "chkWXComplateProd";
|
||||
this.chkWXComplateProd.Size = new System.Drawing.Size(87, 21);
|
||||
@@ -957,7 +969,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblGroup.AutoSize = true;
|
||||
this.lblGroup.Location = new System.Drawing.Point(270, 57);
|
||||
this.lblGroup.Location = new System.Drawing.Point(270, 37);
|
||||
this.lblGroup.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblGroup.Name = "lblGroup";
|
||||
this.lblGroup.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -969,7 +981,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(314, 54);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(314, 34);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -980,7 +992,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label15.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(47, 60);
|
||||
this.label15.Location = new System.Drawing.Point(47, 40);
|
||||
this.label15.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -991,7 +1003,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtExtCode
|
||||
//
|
||||
this.txtExtCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtExtCode.Location = new System.Drawing.Point(91, 87);
|
||||
this.txtExtCode.Location = new System.Drawing.Point(91, 67);
|
||||
this.txtExtCode.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtExtCode.Name = "txtExtCode";
|
||||
this.txtExtCode.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -1002,7 +1014,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(47, 90);
|
||||
this.label4.Location = new System.Drawing.Point(47, 70);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -1019,7 +1031,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"是",
|
||||
"否",
|
||||
"导出未拉回"});
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(91, 179);
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(91, 159);
|
||||
this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbExportToOutServer.Name = "cmbExportToOutServer";
|
||||
this.cmbExportToOutServer.Size = new System.Drawing.Size(133, 25);
|
||||
@@ -1034,7 +1046,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbRelation.Location = new System.Drawing.Point(314, 89);
|
||||
this.cmbRelation.Location = new System.Drawing.Point(314, 69);
|
||||
this.cmbRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbRelation.Name = "cmbRelation";
|
||||
this.cmbRelation.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -1048,7 +1060,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbSort.Items.AddRange(new object[] {
|
||||
"入库时间",
|
||||
"认领总数"});
|
||||
this.cmbSort.Location = new System.Drawing.Point(91, 116);
|
||||
this.cmbSort.Location = new System.Drawing.Point(91, 96);
|
||||
this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSort.Name = "cmbSort";
|
||||
this.cmbSort.Size = new System.Drawing.Size(133, 25);
|
||||
@@ -1060,7 +1072,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(47, 120);
|
||||
this.label6.Location = new System.Drawing.Point(47, 100);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -1130,7 +1142,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvDbProduct.Name = "dgvDbProduct";
|
||||
this.dgvDbProduct.ReadOnly = true;
|
||||
this.dgvDbProduct.RowTemplate.Height = 23;
|
||||
this.dgvDbProduct.Size = new System.Drawing.Size(1430, 579);
|
||||
this.dgvDbProduct.Size = new System.Drawing.Size(1430, 538);
|
||||
this.dgvDbProduct.TabIndex = 6;
|
||||
this.dgvDbProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDbProduct_CellContentClick);
|
||||
this.dgvDbProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvDbProduct_Scroll);
|
||||
@@ -1465,6 +1477,85 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.statusBar.Size = new System.Drawing.Size(1438, 25);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// txtBatchEditNotes
|
||||
//
|
||||
this.txtBatchEditNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtBatchEditNotes.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtBatchEditNotes.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtBatchEditNotes.Location = new System.Drawing.Point(1216, 43);
|
||||
this.txtBatchEditNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtBatchEditNotes.Name = "txtBatchEditNotes";
|
||||
this.txtBatchEditNotes.Size = new System.Drawing.Size(126, 25);
|
||||
this.txtBatchEditNotes.TabIndex = 1226;
|
||||
//
|
||||
// btnBatchEditNotes
|
||||
//
|
||||
this.btnBatchEditNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnBatchEditNotes.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnBatchEditNotes.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnBatchEditNotes.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnBatchEditNotes.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnBatchEditNotes.Location = new System.Drawing.Point(1345, 43);
|
||||
this.btnBatchEditNotes.Name = "btnBatchEditNotes";
|
||||
this.btnBatchEditNotes.Size = new System.Drawing.Size(84, 25);
|
||||
this.btnBatchEditNotes.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnBatchEditNotes.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnBatchEditNotes.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnBatchEditNotes.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnBatchEditNotes.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnBatchEditNotes.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnBatchEditNotes.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnBatchEditNotes.Style.GradientAngle = 90;
|
||||
this.btnBatchEditNotes.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnBatchEditNotes.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnBatchEditNotes.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnBatchEditNotes.TabIndex = 1230;
|
||||
this.btnBatchEditNotes.Text = "批量修改备注";
|
||||
this.btnBatchEditNotes.Click += new System.EventHandler(this.btnBatchEditNotes_Click);
|
||||
//
|
||||
// dtpEnd
|
||||
//
|
||||
this.dtpEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dtpEnd.CustomFormat = "yyyy-MM-dd HH:mm";
|
||||
this.dtpEnd.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dtpEnd.Location = new System.Drawing.Point(237, 76);
|
||||
this.dtpEnd.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.dtpEnd.Name = "dtpEnd";
|
||||
this.dtpEnd.Size = new System.Drawing.Size(99, 23);
|
||||
this.dtpEnd.TabIndex = 982;
|
||||
//
|
||||
// dtpStart
|
||||
//
|
||||
this.dtpStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dtpStart.CustomFormat = "yyyy-MM-dd HH:mm";
|
||||
this.dtpStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dtpStart.Location = new System.Drawing.Point(72, 76);
|
||||
this.dtpStart.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.dtpStart.Name = "dtpStart";
|
||||
this.dtpStart.Size = new System.Drawing.Size(99, 23);
|
||||
this.dtpStart.TabIndex = 981;
|
||||
//
|
||||
// chkTime
|
||||
//
|
||||
this.chkTime.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.chkTime.Location = new System.Drawing.Point(3, 77);
|
||||
this.chkTime.Name = "chkTime";
|
||||
this.chkTime.Size = new System.Drawing.Size(66, 21);
|
||||
this.chkTime.TabIndex = 980;
|
||||
this.chkTime.Text = "开始时间";
|
||||
this.chkTime.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(181, 77);
|
||||
this.label9.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(56, 17);
|
||||
this.label9.TabIndex = 885;
|
||||
this.label9.Text = "结束时间";
|
||||
//
|
||||
// WXUserCollectAuthProdListForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1598,5 +1689,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_edit;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_delete;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_select_product;
|
||||
private DevComponents.DotNetBar.PanelEx btnBatchEditNotes;
|
||||
private System.Windows.Forms.TextBox txtBatchEditNotes;
|
||||
private System.Windows.Forms.DateTimePicker dtpStart;
|
||||
private System.Windows.Forms.DateTimePicker dtpEnd;
|
||||
private UserComponent.UcCheckBox chkTime;
|
||||
private System.Windows.Forms.Label label9;
|
||||
}
|
||||
}
|
||||
@@ -51,6 +51,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void ProductListForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
dtpStart.Value = DateTime.Now.Date.AddMonths(-1);
|
||||
dtpEnd.Value = DateTime.Now.Date.AddDays(1).AddSeconds(-1);
|
||||
|
||||
//chkCatBoundLessThan.Visible = false;
|
||||
//chkCatBoundMoreThan.Visible = false;
|
||||
//tableLayoutPanel1.SetColumn(lblSourceType, 2);
|
||||
@@ -391,6 +394,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
else if (cmbRelation.Text == "是")
|
||||
data += "&is_relation=1";
|
||||
|
||||
if (chkTime.Checked)
|
||||
{
|
||||
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 (chkEditTime.Checked)
|
||||
//{
|
||||
// data += "&start_time=" + dtpStart.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
@@ -1192,5 +1201,55 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
DouBaoTitleFissionCefForm fissionCefForm = new DouBaoTitleFissionCefForm(prodList);
|
||||
fissionCefForm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnBatchEditNotes_Click(object sender, EventArgs e)
|
||||
{
|
||||
var lstProdId = dgvDbProduct.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["col_spu_id"]?.Value.ToString()).ToList();
|
||||
if (BaseMsgForm.ShowConfirm("确定批量编辑备注吗?").DialogResult == DialogResult.Cancel)
|
||||
return;
|
||||
if (lstProdId.Count == 0)
|
||||
{
|
||||
BaseMsgForm.ShowError("请选择要修改备注的商品");
|
||||
return;
|
||||
}
|
||||
|
||||
this.pbLoading.Visible = true;
|
||||
//int total = 0, successCnt = 0, failCnt = 0;
|
||||
Task.Run(() =>
|
||||
{
|
||||
var prodList = lstTemuDbProduct.Where(p => lstProdId.Contains(p.spu_id)).ToList();
|
||||
//foreach (var dbProd in prodList)
|
||||
//{
|
||||
// total++;
|
||||
// var url = BaseClass.BuildPDDObjString("product/mdy_db_product");
|
||||
// var data = UserLogin.GetSignaturex() +
|
||||
// "&db_id=" + dbProd.id + "¬es=" + this.txtBatchEditNotes.Text.Trim();
|
||||
// var html = GetHtml.PostUtf8(url, data);
|
||||
// if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
// {
|
||||
// failCnt++;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// successCnt++;
|
||||
// }
|
||||
// Thread.Sleep(100);
|
||||
//}
|
||||
var url = BaseClass.BuildPDDObjString("product/mdy_db_product");
|
||||
var data = UserLogin.GetSignaturex() +
|
||||
"&in_db_ids=" + string.Join(",", prodList.Select(p => p.id).ToList()) + "¬es=" + this.txtBatchEditNotes.Text.Trim();
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
{
|
||||
BaseMsgForm.ShowError("修改失败");
|
||||
}
|
||||
else
|
||||
{
|
||||
SearchDbProd(this.ucSplitPage1.CurrentPage);
|
||||
BaseMsgForm.ShowInfo("修改完成");
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user