微信app采集
This commit is contained in:
1 parent
52220daa8b
commit
2f61dc1cdd
67 files changed
+6197
-1118
No files matched your search
+101
-98
@@ -89,23 +89,23 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.chkStepAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnProdDb = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkWXComplateProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtAddCount = new System.Windows.Forms.TextBox();
|
||||
this.txtSearchGoodsName = new System.Windows.Forms.TextBox();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.pbSelectProd = new System.Windows.Forms.PictureBox();
|
||||
this.cmbSourceType = new System.Windows.Forms.ComboBox();
|
||||
this.cmbJstInitSet = new System.Windows.Forms.ComboBox();
|
||||
this.lblSourceType = new System.Windows.Forms.Label();
|
||||
this.cmbCateFilter3 = new System.Windows.Forms.ComboBox();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
|
||||
this.txtIdFilter = new System.Windows.Forms.TextBox();
|
||||
this.cmbJstInitSet = new System.Windows.Forms.ComboBox();
|
||||
this.lblGroupFilter = new System.Windows.Forms.Label();
|
||||
this.lblIdFilter = new System.Windows.Forms.Label();
|
||||
this.cmbCateFilter2 = new System.Windows.Forms.ComboBox();
|
||||
this.lblJstInitSet = new System.Windows.Forms.Label();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.cmbSourceType = new System.Windows.Forms.ComboBox();
|
||||
this.lblSourceType = new System.Windows.Forms.Label();
|
||||
this.btnClearFilter = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblGoodsCount = new System.Windows.Forms.Label();
|
||||
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
|
||||
@@ -117,6 +117,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnRandomAdd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkSevenDays = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkSkipQualification = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.lblJstInitSet = new System.Windows.Forms.Label();
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnRefreshAuthor = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSelectOffline = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -185,7 +186,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btnProdDb = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -938,24 +938,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkWXComplateProd);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtAddCount);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtSearchGoodsName);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label20);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.pbSelectProd);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbSourceType);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbJstInitSet);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter3);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label21);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbGroupFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtIdFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbJstInitSet);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblGroupFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblIdFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter2);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblJstInitSet);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label19);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbSourceType);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblSourceType);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnClearFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblGoodsCount);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbWxSafe);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblWxSafe);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnClearUpload);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter1);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label2);
|
||||
@@ -963,6 +957,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnRandomAdd);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkSevenDays);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkSkipQualification);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblSourceType);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblGroupFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblWxSafe);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label20);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblJstInitSet);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblIdFilter);
|
||||
this.ucGroupBoxEx4.Location = new System.Drawing.Point(162, 2);
|
||||
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165);
|
||||
@@ -970,6 +970,30 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.TabStop = false;
|
||||
this.ucGroupBoxEx4.Text = "待传商品";
|
||||
//
|
||||
// btnProdDb
|
||||
//
|
||||
this.btnProdDb.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnProdDb.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnProdDb.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnProdDb.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnProdDb.Location = new System.Drawing.Point(368, 131);
|
||||
this.btnProdDb.Name = "btnProdDb";
|
||||
this.btnProdDb.Size = new System.Drawing.Size(33, 25);
|
||||
this.btnProdDb.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnProdDb.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnProdDb.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnProdDb.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnProdDb.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnProdDb.Style.GradientAngle = 90;
|
||||
this.btnProdDb.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnProdDb.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.TabIndex = 820;
|
||||
this.btnProdDb.Text = "选品";
|
||||
this.btnProdDb.Click += new System.EventHandler(this.btnProdDb_Click);
|
||||
//
|
||||
// chkWXComplateProd
|
||||
//
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(180, 103);
|
||||
@@ -993,7 +1017,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtSearchGoodsName
|
||||
//
|
||||
this.txtSearchGoodsName.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtSearchGoodsName.Location = new System.Drawing.Point(47, 74);
|
||||
this.txtSearchGoodsName.Location = new System.Drawing.Point(178, 47);
|
||||
this.txtSearchGoodsName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtSearchGoodsName.Name = "txtSearchGoodsName";
|
||||
this.txtSearchGoodsName.Size = new System.Drawing.Size(223, 25);
|
||||
@@ -1002,12 +1026,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(4, 78);
|
||||
this.label20.Location = new System.Drawing.Point(147, 51);
|
||||
this.label20.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(44, 17);
|
||||
this.label20.Size = new System.Drawing.Size(32, 17);
|
||||
this.label20.TabIndex = 794;
|
||||
this.label20.Text = "商品名";
|
||||
this.label20.Text = "标题";
|
||||
//
|
||||
// pbSelectProd
|
||||
//
|
||||
@@ -1021,6 +1045,53 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.pbSelectProd.Visible = false;
|
||||
this.pbSelectProd.Click += new System.EventHandler(this.pbSelectProd_Click);
|
||||
//
|
||||
// cmbSourceType
|
||||
//
|
||||
this.cmbSourceType.FormattingEnabled = true;
|
||||
this.cmbSourceType.Items.AddRange(new object[] {
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"微信小店",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(47, 74);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbSourceType.TabIndex = 673;
|
||||
this.cmbSourceType.Text = "厂商直采";
|
||||
this.cmbSourceType.Visible = false;
|
||||
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_TextChanged);
|
||||
//
|
||||
// cmbJstInitSet
|
||||
//
|
||||
this.cmbJstInitSet.FormattingEnabled = true;
|
||||
this.cmbJstInitSet.Items.AddRange(new object[] {
|
||||
"",
|
||||
"已设置",
|
||||
"未设置"});
|
||||
this.cmbJstInitSet.Location = new System.Drawing.Point(309, 74);
|
||||
this.cmbJstInitSet.Name = "cmbJstInitSet";
|
||||
this.cmbJstInitSet.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbJstInitSet.TabIndex = 697;
|
||||
this.cmbJstInitSet.Text = "已设置";
|
||||
this.cmbJstInitSet.Visible = false;
|
||||
//
|
||||
// lblSourceType
|
||||
//
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(16, 78);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblSourceType.TabIndex = 672;
|
||||
this.lblSourceType.Text = "来源";
|
||||
this.lblSourceType.Visible = false;
|
||||
//
|
||||
// cmbCateFilter3
|
||||
//
|
||||
this.cmbCateFilter3.FormattingEnabled = true;
|
||||
@@ -1043,7 +1114,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// cmbGroupFilter
|
||||
//
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(309, 74);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(178, 74);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbGroupFilter.TabIndex = 641;
|
||||
@@ -1059,23 +1130,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtIdFilter.TabIndex = 652;
|
||||
this.txtIdFilter.Visible = false;
|
||||
//
|
||||
// cmbJstInitSet
|
||||
//
|
||||
this.cmbJstInitSet.FormattingEnabled = true;
|
||||
this.cmbJstInitSet.Items.AddRange(new object[] {
|
||||
"",
|
||||
"已设置",
|
||||
"未设置"});
|
||||
this.cmbJstInitSet.Location = new System.Drawing.Point(178, 47);
|
||||
this.cmbJstInitSet.Name = "cmbJstInitSet";
|
||||
this.cmbJstInitSet.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbJstInitSet.TabIndex = 697;
|
||||
this.cmbJstInitSet.Text = "已设置";
|
||||
//
|
||||
// lblGroupFilter
|
||||
//
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(278, 78);
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(147, 78);
|
||||
this.lblGroupFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblGroupFilter.Name = "lblGroupFilter";
|
||||
this.lblGroupFilter.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1103,16 +1161,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCateFilter2.TabIndex = 708;
|
||||
this.cmbCateFilter2.SelectedIndexChanged += new System.EventHandler(this.cmbCateFilter2_SelectedIndexChanged);
|
||||
//
|
||||
// lblJstInitSet
|
||||
//
|
||||
this.lblJstInitSet.AutoSize = true;
|
||||
this.lblJstInitSet.Location = new System.Drawing.Point(147, 51);
|
||||
this.lblJstInitSet.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblJstInitSet.Name = "lblJstInitSet";
|
||||
this.lblJstInitSet.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblJstInitSet.TabIndex = 696;
|
||||
this.lblJstInitSet.Text = "分销";
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
@@ -1123,38 +1171,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label19.TabIndex = 707;
|
||||
this.label19.Text = "类目2";
|
||||
//
|
||||
// cmbSourceType
|
||||
//
|
||||
this.cmbSourceType.FormattingEnabled = true;
|
||||
this.cmbSourceType.Items.AddRange(new object[] {
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"微信店采",
|
||||
"店铺采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(309, 47);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbSourceType.TabIndex = 673;
|
||||
this.cmbSourceType.Text = "厂商直采";
|
||||
this.cmbSourceType.Visible = false;
|
||||
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_TextChanged);
|
||||
//
|
||||
// lblSourceType
|
||||
//
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(278, 50);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblSourceType.TabIndex = 672;
|
||||
this.lblSourceType.Text = "来源";
|
||||
this.lblSourceType.Visible = false;
|
||||
//
|
||||
// btnClearFilter
|
||||
//
|
||||
this.btnClearFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1317,6 +1333,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSkipQualification.Text = "跳过资质商品";
|
||||
this.chkSkipQualification.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblJstInitSet
|
||||
//
|
||||
this.lblJstInitSet.AutoSize = true;
|
||||
this.lblJstInitSet.Location = new System.Drawing.Point(278, 78);
|
||||
this.lblJstInitSet.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblJstInitSet.Name = "lblJstInitSet";
|
||||
this.lblJstInitSet.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblJstInitSet.TabIndex = 696;
|
||||
this.lblJstInitSet.Text = "分销";
|
||||
this.lblJstInitSet.Visible = false;
|
||||
//
|
||||
// ucGroupBoxEx1
|
||||
//
|
||||
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -2263,30 +2290,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.panel1.Size = new System.Drawing.Size(873, 86);
|
||||
this.panel1.TabIndex = 189;
|
||||
//
|
||||
// btnProdDb
|
||||
//
|
||||
this.btnProdDb.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnProdDb.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnProdDb.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnProdDb.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnProdDb.Location = new System.Drawing.Point(368, 131);
|
||||
this.btnProdDb.Name = "btnProdDb";
|
||||
this.btnProdDb.Size = new System.Drawing.Size(33, 25);
|
||||
this.btnProdDb.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnProdDb.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnProdDb.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnProdDb.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnProdDb.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnProdDb.Style.GradientAngle = 90;
|
||||
this.btnProdDb.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnProdDb.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.TabIndex = 820;
|
||||
this.btnProdDb.Text = "选品";
|
||||
this.btnProdDb.Click += new System.EventHandler(this.btnProdDb_Click);
|
||||
//
|
||||
// WXDBProdUploadForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
|
||||
@@ -280,14 +280,20 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//lblExtCodeFilter.Visible = true;
|
||||
//txtExtCodeFilter.Visible = true;
|
||||
|
||||
txtIdFilter.Visible = true;
|
||||
cmbSourceType.Visible = true;
|
||||
cmbGroupFilter.Visible = true;
|
||||
lblIdFilter.Visible = true;
|
||||
txtIdFilter.Visible = true;
|
||||
lblSourceType.Visible = true;
|
||||
cmbSourceType.Visible = true;
|
||||
lblGroupFilter.Visible = true;
|
||||
cmbGroupFilter.Visible = true;
|
||||
lblJstInitSet.Visible = true;
|
||||
cmbJstInitSet.Visible = true;
|
||||
}
|
||||
|
||||
if (BaseClass.UserAuthority.ParseToString().Contains("货源选择"))
|
||||
{
|
||||
cmbSourceType.Visible = true;
|
||||
}
|
||||
if (BaseClass.UserAuthority.ParseToString().Contains("微信回采"))
|
||||
{
|
||||
chkWXComplateProd.Visible = true;
|
||||
@@ -1368,6 +1374,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 微信小店app
|
||||
if (dbProd.product_get_type_text == "微信小店")
|
||||
{
|
||||
string convertRst = "";
|
||||
var ob = new PDDProdFormConverter().WXClientToPddConvert(out convertRst, dbProd);
|
||||
if (!string.IsNullOrEmpty(convertRst))
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + convertRst + "\"}";
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 将产品数据初始化成微信小店支持的参数
|
||||
JObject prodJObj = new JObject();
|
||||
try
|
||||
@@ -2734,6 +2750,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
foreach (var propInfo in prodInfo.property.goods_properties)
|
||||
{
|
||||
if (propInfo.name == "单件净含量")
|
||||
{
|
||||
|
||||
}
|
||||
if (propInfo.values.Count == 0)
|
||||
continue;
|
||||
|
||||
@@ -2871,6 +2891,30 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
attrValue = "常规";
|
||||
else if (attrValueLst.Contains("通用"))
|
||||
attrValue = "通用";
|
||||
else if (attrValueLst.Contains("国产"))
|
||||
attrValue = "国产";
|
||||
else if (attr.value.Contains("绒丝;羽毛;白鸭绒;白鹅绒;灰鸭绒;灰鹅绒;鸭毛片;鹅毛片"))
|
||||
{
|
||||
attrValue = "绒丝";
|
||||
}
|
||||
else if (attr.name == "是否进口")
|
||||
{
|
||||
attrValue = "非进口";
|
||||
if (attr.value == "是;否")
|
||||
attrValue = "否";
|
||||
}
|
||||
else if (attr.name == "商品产地")
|
||||
{
|
||||
attrValue = "中国大陆";
|
||||
}
|
||||
else if (attr.name == "产地")
|
||||
{
|
||||
attrValue = "中国大陆";
|
||||
}
|
||||
else if (attrValueLst.Any(v => v.Contains("%")))
|
||||
{
|
||||
attrValue = attrValueLst.FirstOrDefault();
|
||||
}
|
||||
else
|
||||
attrValue = attrValueLst.Where(v => !"真丝、蚕丝、香云纱、羊绒、羊毛、羊羔绒、羊羔毛、羽绒、皮草".Contains(v)).OrderBy(x => Guid.NewGuid()).FirstOrDefault();
|
||||
}
|
||||
@@ -2895,6 +2939,29 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
attrValue = "10 g";
|
||||
else if (attr.value == "kg")
|
||||
attrValue = "1 kg";
|
||||
//else if (attr.value == "g;kg;ml;L")
|
||||
// attrValue = "100 g";
|
||||
//else if (attr.value == "cm")
|
||||
// attrValue = "20 cm";
|
||||
//else if (attr.value.Contains("岁以上") && attr.value.Contains("个月以上"))
|
||||
// attrValue = "7 岁以上";
|
||||
//else if (attr.value == "只;个")
|
||||
// attrValue = "1 个";
|
||||
else if (attr.value == "ml")
|
||||
{
|
||||
if ((propInfo.values.FirstOrDefault()?.value).ParseToString().EndsWith(attr.value))
|
||||
attrValue = propInfo.values.FirstOrDefault()?.value;
|
||||
else
|
||||
attr.value = "100 ml";
|
||||
}
|
||||
else if (attr.value == "g;kg;ml;L")
|
||||
{
|
||||
var propInfoValue = (propInfo.values.FirstOrDefault()?.value).ParseToString();
|
||||
if (propInfoValue.EndsWith("g") || propInfoValue.EndsWith("kg") || propInfoValue.EndsWith("ml") || propInfoValue.EndsWith("L"))
|
||||
attrValue = propInfo.values.FirstOrDefault()?.value;
|
||||
else
|
||||
attr.value = "100 g";
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(attrValue))
|
||||
@@ -3041,6 +3108,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
attrValue = "20 cm";
|
||||
else if (attr.value.Contains("岁以上") && attr.value.Contains("个月以上"))
|
||||
attrValue = "7 岁以上";
|
||||
else if (attr.value == "只;个")
|
||||
attrValue = "1 个";
|
||||
else if (attr.value == "ml")
|
||||
attrValue = "100 ml";
|
||||
}
|
||||
|
||||
var wxPropParam = new wxPropParam();
|
||||
@@ -3731,6 +3802,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
upProdParam.product.info.extraService.freightInsurance = 0;
|
||||
}
|
||||
if (upProdParam.product.info.category[0].name == "珠宝首饰" || upProdParam.product.info.category[1].name == "时尚饰品")
|
||||
{
|
||||
upProdParam.product.info.extraService.fakeOnePayFour = 1;
|
||||
}
|
||||
|
||||
if (cell != null)
|
||||
{
|
||||
@@ -4599,10 +4674,20 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void cmbSourceType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "微信店采")
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
fillPddCate();
|
||||
else
|
||||
fillWxCate();
|
||||
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text) && cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家")
|
||||
{
|
||||
cmbJstInitSet.Text = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
cmbJstInitSet.Text = "已设置";
|
||||
}
|
||||
}
|
||||
|
||||
private void cmbSourceType_TextChanged(object sender, EventArgs e)
|
||||
|
||||
+171
-97
@@ -55,19 +55,24 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnSetShop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSelect = new DevComponents.DotNetBar.PanelEx();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.ucCheckBox1 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtCatBoundLessThan = new System.Windows.Forms.TextBox();
|
||||
this.txtCatBoundMoreThan = new System.Windows.Forms.TextBox();
|
||||
this.chkCatBoundLessThan = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkCatBoundMoreThan = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.cmbCat3 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCat3 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.cmbCat2 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCat2 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.cmbCat1 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCat1 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.txtProdName = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.lblWxSafe = new System.Windows.Forms.Label();
|
||||
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
|
||||
this.cmbSourceType = new System.Windows.Forms.ComboBox();
|
||||
this.lblSourceType = new System.Windows.Forms.Label();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnStopStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlSetShop = new System.Windows.Forms.Panel();
|
||||
@@ -107,9 +112,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.txtExtCode = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.cmbSourceType = new System.Windows.Forms.ComboBox();
|
||||
this.cmbExportToOutServer = new System.Windows.Forms.ComboBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.cmbSort = new System.Windows.Forms.ComboBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.dgvDbProduct = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
@@ -126,6 +129,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.col_skc_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMainCate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_cat_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCatBound = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_ext_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colStyleCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colGroup = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -192,10 +196,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.lblSetShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblSetShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblSetShop.ForeColor = System.Drawing.Color.DarkOrange;
|
||||
this.lblSetShop.Location = new System.Drawing.Point(1083, 45);
|
||||
this.lblSetShop.Location = new System.Drawing.Point(1094, 45);
|
||||
this.lblSetShop.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblSetShop.Name = "lblSetShop";
|
||||
this.lblSetShop.Size = new System.Drawing.Size(337, 17);
|
||||
this.lblSetShop.Size = new System.Drawing.Size(326, 17);
|
||||
this.lblSetShop.TabIndex = 718;
|
||||
this.lblSetShop.Text = "指定店铺:";
|
||||
this.lblSetShop.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||
@@ -269,7 +273,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.ucCheckBox1, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundLessThan, 5, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundMoreThan, 3, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundLessThan, 4, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundMoreThan, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 8, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 9, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbCat3, 7, 0);
|
||||
@@ -282,6 +289,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblWxSafe, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbWxSafe, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbSourceType, 7, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblSourceType, 6, 1);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 3;
|
||||
@@ -291,17 +300,51 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1193, 105);
|
||||
this.tableLayoutPanel1.TabIndex = 679;
|
||||
//
|
||||
// ucCheckBox1
|
||||
// txtCatBoundLessThan
|
||||
//
|
||||
this.ucCheckBox1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.ucCheckBox1.Location = new System.Drawing.Point(280, 42);
|
||||
this.ucCheckBox1.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.ucCheckBox1.Name = "ucCheckBox1";
|
||||
this.ucCheckBox1.Size = new System.Drawing.Size(87, 21);
|
||||
this.ucCheckBox1.TabIndex = 815;
|
||||
this.ucCheckBox1.Text = "微信回采商品";
|
||||
this.ucCheckBox1.UseVisualStyleBackColor = true;
|
||||
this.ucCheckBox1.Visible = false;
|
||||
this.txtCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(625, 41);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(201, 23);
|
||||
this.txtCatBoundLessThan.TabIndex = 883;
|
||||
this.txtCatBoundLessThan.Text = "100000";
|
||||
this.txtCatBoundLessThan.Visible = false;
|
||||
//
|
||||
// txtCatBoundMoreThan
|
||||
//
|
||||
this.txtCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(348, 41);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(201, 23);
|
||||
this.txtCatBoundMoreThan.TabIndex = 882;
|
||||
this.txtCatBoundMoreThan.Text = "1000";
|
||||
this.txtCatBoundMoreThan.Visible = false;
|
||||
//
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(558, 42);
|
||||
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
|
||||
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
|
||||
this.chkCatBoundLessThan.TabIndex = 882;
|
||||
this.chkCatBoundLessThan.Text = "保证金≤";
|
||||
this.chkCatBoundLessThan.UseVisualStyleBackColor = true;
|
||||
this.chkCatBoundLessThan.CheckedChanged += new System.EventHandler(this.chkCatBoundLessThan_CheckedChanged);
|
||||
//
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(281, 42);
|
||||
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
|
||||
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
|
||||
this.chkCatBoundMoreThan.TabIndex = 815;
|
||||
this.chkCatBoundMoreThan.Text = "保证金≥";
|
||||
this.chkCatBoundMoreThan.UseVisualStyleBackColor = true;
|
||||
this.chkCatBoundMoreThan.CheckedChanged += new System.EventHandler(this.chkCatBoundMoreThan_CheckedChanged);
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
@@ -356,19 +399,25 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// cmbCat3
|
||||
//
|
||||
this.cmbCat3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat3.DefaultText = "全部";
|
||||
this.cmbCat3.DropDownHeight = 1;
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(884, 5);
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(883, 7);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(200, 25);
|
||||
this.cmbCat3.Size = new System.Drawing.Size(201, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCateFilter3_SelectedIndexChanged);
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
this.cmbCat3.TextChanged += new System.EventHandler(this.cmbCat3_MultiSelectChanged);
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(833, 9);
|
||||
this.label17.Location = new System.Drawing.Point(832, 9);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(51, 17);
|
||||
@@ -378,19 +427,25 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// cmbCat2
|
||||
//
|
||||
this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat2.DefaultText = "全部";
|
||||
this.cmbCat2.DropDownHeight = 1;
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(627, 5);
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(625, 7);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(200, 25);
|
||||
this.cmbCat2.Size = new System.Drawing.Size(201, 25);
|
||||
this.cmbCat2.TabIndex = 804;
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCateFilter2_SelectedIndexChanged);
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
|
||||
this.cmbCat2.TextChanged += new System.EventHandler(this.cmbCat2_MultiSelectChanged);
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(576, 9);
|
||||
this.label14.Location = new System.Drawing.Point(574, 9);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(51, 17);
|
||||
@@ -400,19 +455,25 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// cmbCat1
|
||||
//
|
||||
this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat1.DefaultText = "全部";
|
||||
this.cmbCat1.DropDownHeight = 1;
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(370, 5);
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(348, 7);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(200, 25);
|
||||
this.cmbCat1.Size = new System.Drawing.Size(201, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCateFilter1_SelectedIndexChanged);
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
this.cmbCat1.TextChanged += new System.EventHandler(this.cmbCat1_MultiSelectChanged);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(319, 9);
|
||||
this.label2.Location = new System.Drawing.Point(297, 9);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(51, 17);
|
||||
@@ -425,7 +486,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtProdName.Location = new System.Drawing.Point(71, 6);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(200, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(201, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label3
|
||||
@@ -459,13 +520,49 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 40);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(200, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(201, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
// cmbSourceType
|
||||
//
|
||||
this.cmbSourceType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbSourceType.FormattingEnabled = true;
|
||||
this.cmbSourceType.Items.AddRange(new object[] {
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"微信小店",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(883, 42);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(201, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.Text = "厂商直采";
|
||||
this.cmbSourceType.Visible = false;
|
||||
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
//
|
||||
// lblSourceType
|
||||
//
|
||||
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(839, 44);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(44, 17);
|
||||
this.lblSourceType.TabIndex = 651;
|
||||
this.lblSourceType.Text = "来源:";
|
||||
this.lblSourceType.Visible = false;
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -497,9 +594,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer2.Panel1.Controls.Add(this.label15);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.txtExtCode);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.label4);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.cmbSourceType);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.cmbExportToOutServer);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.label10);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.cmbSort);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.label6);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvDbProduct);
|
||||
@@ -519,7 +614,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnStopStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStopStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStopStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStopStop.Location = new System.Drawing.Point(88, 413);
|
||||
this.btnStopStop.Location = new System.Drawing.Point(88, 383);
|
||||
this.btnStopStop.Name = "btnStopStop";
|
||||
this.btnStopStop.Size = new System.Drawing.Size(76, 25);
|
||||
this.btnStopStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -806,7 +901,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label16.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(19, 300);
|
||||
this.label16.Location = new System.Drawing.Point(19, 270);
|
||||
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);
|
||||
@@ -817,7 +912,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(88, 205);
|
||||
this.txtRealCoid.Location = new System.Drawing.Point(88, 175);
|
||||
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);
|
||||
@@ -827,7 +922,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(88, 297);
|
||||
this.txtSKC.Location = new System.Drawing.Point(88, 267);
|
||||
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);
|
||||
@@ -842,7 +937,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(88, 266);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(88, 236);
|
||||
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxCat.Name = "cmbWxCat";
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(133, 25);
|
||||
@@ -854,7 +949,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label13.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(20, 239);
|
||||
this.label13.Location = new System.Drawing.Point(20, 209);
|
||||
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);
|
||||
@@ -866,7 +961,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label12.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(20, 270);
|
||||
this.label12.Location = new System.Drawing.Point(20, 240);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -877,7 +972,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtSPU
|
||||
//
|
||||
this.txtSPU.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSPU.Location = new System.Drawing.Point(88, 55);
|
||||
this.txtSPU.Location = new System.Drawing.Point(88, 54);
|
||||
this.txtSPU.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSPU.Name = "txtSPU";
|
||||
this.txtSPU.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -887,7 +982,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(88, 84);
|
||||
this.txtSecretStyleCode.Location = new System.Drawing.Point(88, 83);
|
||||
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);
|
||||
@@ -898,7 +993,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(19, 209);
|
||||
this.label1.Location = new System.Drawing.Point(19, 179);
|
||||
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);
|
||||
@@ -909,7 +1004,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkWXComplateProd
|
||||
//
|
||||
this.chkWXComplateProd.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(88, 386);
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(88, 356);
|
||||
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);
|
||||
@@ -922,7 +1017,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblGroup.AutoSize = true;
|
||||
this.lblGroup.Location = new System.Drawing.Point(44, 357);
|
||||
this.lblGroup.Location = new System.Drawing.Point(44, 327);
|
||||
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);
|
||||
@@ -934,7 +1029,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblNotes.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblNotes.AutoSize = true;
|
||||
this.lblNotes.Location = new System.Drawing.Point(44, 329);
|
||||
this.lblNotes.Location = new System.Drawing.Point(44, 299);
|
||||
this.lblNotes.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblNotes.Name = "lblNotes";
|
||||
this.lblNotes.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -946,7 +1041,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(88, 355);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(88, 325);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(133, 25);
|
||||
@@ -957,7 +1052,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(31, 58);
|
||||
this.label5.Location = new System.Drawing.Point(31, 57);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(57, 17);
|
||||
@@ -968,7 +1063,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtNotes
|
||||
//
|
||||
this.txtNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtNotes.Location = new System.Drawing.Point(88, 326);
|
||||
this.txtNotes.Location = new System.Drawing.Point(88, 296);
|
||||
this.txtNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtNotes.Name = "txtNotes";
|
||||
this.txtNotes.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -979,7 +1074,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label15.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(44, 87);
|
||||
this.label15.Location = new System.Drawing.Point(44, 86);
|
||||
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);
|
||||
@@ -990,7 +1085,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(88, 114);
|
||||
this.txtExtCode.Location = new System.Drawing.Point(88, 113);
|
||||
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);
|
||||
@@ -1001,7 +1096,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(44, 117);
|
||||
this.label4.Location = new System.Drawing.Point(44, 116);
|
||||
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);
|
||||
@@ -1009,28 +1104,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label4.Text = "货号:";
|
||||
this.label4.Visible = false;
|
||||
//
|
||||
// cmbSourceType
|
||||
//
|
||||
this.cmbSourceType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbSourceType.FormattingEnabled = true;
|
||||
this.cmbSourceType.Items.AddRange(new object[] {
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(88, 174);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(133, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.Text = "厂商直采";
|
||||
this.cmbSourceType.Visible = false;
|
||||
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
//
|
||||
// cmbExportToOutServer
|
||||
//
|
||||
this.cmbExportToOutServer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1040,7 +1113,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"是",
|
||||
"否",
|
||||
"导出未拉回"});
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(88, 235);
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(88, 205);
|
||||
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);
|
||||
@@ -1048,18 +1121,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbExportToOutServer.Text = "是";
|
||||
this.cmbExportToOutServer.Visible = false;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(44, 178);
|
||||
this.label10.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(44, 17);
|
||||
this.label10.TabIndex = 651;
|
||||
this.label10.Text = "来源:";
|
||||
this.label10.Visible = false;
|
||||
//
|
||||
// cmbSort
|
||||
//
|
||||
this.cmbSort.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1067,7 +1128,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbSort.Items.AddRange(new object[] {
|
||||
"入库时间",
|
||||
"认领总数"});
|
||||
this.cmbSort.Location = new System.Drawing.Point(88, 143);
|
||||
this.cmbSort.Location = new System.Drawing.Point(88, 142);
|
||||
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);
|
||||
@@ -1079,7 +1140,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(44, 147);
|
||||
this.label6.Location = new System.Drawing.Point(44, 146);
|
||||
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);
|
||||
@@ -1120,6 +1181,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.col_skc_id,
|
||||
this.colMainCate,
|
||||
this.col_cat_name,
|
||||
this.colCatBound,
|
||||
this.col_ext_code,
|
||||
this.colStyleCode,
|
||||
this.colGroup,
|
||||
@@ -1261,6 +1323,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.col_cat_name.Name = "col_cat_name";
|
||||
this.col_cat_name.ReadOnly = true;
|
||||
//
|
||||
// colCatBound
|
||||
//
|
||||
this.colCatBound.FillWeight = 50F;
|
||||
this.colCatBound.HeaderText = "类目保证金";
|
||||
this.colCatBound.Name = "colCatBound";
|
||||
this.colCatBound.ReadOnly = true;
|
||||
//
|
||||
// col_ext_code
|
||||
//
|
||||
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
@@ -1483,6 +1552,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.Name = "WXUserProdListForm";
|
||||
this.Text = "产品数据库";
|
||||
this.TitleText = "产品数据库";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.WXUserProdListForm_FormClosing);
|
||||
this.Load += new System.EventHandler(this.ProductListForm_Load);
|
||||
this.VisibleChanged += new System.EventHandler(this.ProductListForm_VisibleChanged);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PDDDBProdListForm_KeyDown);
|
||||
@@ -1535,16 +1605,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.ComboBox cmbGroupFilter;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.ComboBox cmbSourceType;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label lblSourceType;
|
||||
private System.Windows.Forms.Label lblWxSafe;
|
||||
private System.Windows.Forms.ComboBox cmbWxSafe;
|
||||
private System.Windows.Forms.ComboBox cmbWxCat;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.ComboBox cmbExportToOutServer;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private System.Windows.Forms.ComboBox cmbCat2;
|
||||
private UserComponent.UcComboBoxMutiSelect cmbCat2;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.ComboBox cmbCat1;
|
||||
private UserComponent.UcComboBoxMutiSelect cmbCat1;
|
||||
private DevComponents.DotNetBar.PanelEx btnStopStop;
|
||||
private System.Windows.Forms.TextBox txtSecretStyleCode;
|
||||
private System.Windows.Forms.Label label15;
|
||||
@@ -1552,9 +1622,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.TextBox txtRealCoid;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.ComboBox cmbCat3;
|
||||
private UserComponent.UcComboBoxMutiSelect cmbCat3;
|
||||
private UserComponent.UcCheckBox chkWXComplateProd;
|
||||
private UserComponent.UcCheckBox ucCheckBox1;
|
||||
private UserComponent.UcCheckBox chkCatBoundMoreThan;
|
||||
private System.Windows.Forms.Panel pnlSetShop;
|
||||
private UserComponent.DataGridViewEx dgvSelectShop;
|
||||
private DevComponents.DotNetBar.PanelEx btnCancel;
|
||||
@@ -1588,6 +1658,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_skc_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMainCate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_cat_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colCatBound;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_ext_code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colStyleCode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colGroup;
|
||||
@@ -1609,5 +1680,8 @@ 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 System.Windows.Forms.TextBox txtCatBoundLessThan;
|
||||
private System.Windows.Forms.TextBox txtCatBoundMoreThan;
|
||||
private UserComponent.UcCheckBox chkCatBoundLessThan;
|
||||
}
|
||||
}
|
||||
@@ -102,6 +102,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
ucSplitPage1.cmbPageSize.Items.Add(1000);
|
||||
ucSplitPage1.cmbPageSize.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
ucSplitPage1.cmbPageSize.SelectedIndex = 0;
|
||||
|
||||
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.Contains("货源选择"))
|
||||
{
|
||||
lblSourceType.Visible = true;
|
||||
cmbSourceType.Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnSearch_Click(object sender, EventArgs e)
|
||||
@@ -206,6 +212,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
prod.skc_id,
|
||||
prod.main_cat_name ?? prod.main_cat_id,
|
||||
catName.Split('>').LastOrDefault()?.Trim(),
|
||||
GlobalConfig.WxCatBoundList.FirstOrDefault(cb => cb.leaf_id == prod.wx_cat_leaf)?.cat_bound,
|
||||
prod.ext_code,
|
||||
(prod.secret_spu_id + " " + prod.real_spu_id + " " + prod.real_coid).Trim(),
|
||||
prod.group,
|
||||
@@ -322,31 +329,46 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// data += "&end_time=" + dtpEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
//}
|
||||
|
||||
if (cmbSourceType.Text != "厂商直采")
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
{
|
||||
data += "&search_cat1=" + cmbCat1.Text.Trim();
|
||||
data += "&search_cat=" + cmbCat2.Text.Trim();
|
||||
data += "&search_cat1=" + (cmbCat1.Text.Trim() == "全部" ? "" : cmbCat1.Text.Trim());
|
||||
data += "&search_cat=" + (cmbCat2.Text.Trim() == "全部" ? "" : cmbCat2.Text.Trim());
|
||||
}
|
||||
else
|
||||
{
|
||||
var cate1 = GlobalConfig.WxCatList.FirstOrDefault(c => c.level == 1 && c.name == cmbCat1.Text.Trim());
|
||||
var cates2 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate1?.cat_id).ToList();
|
||||
var cate2 = cates2.FirstOrDefault(c => c.level == 2 && c.name == cmbCat2.Text.Trim());
|
||||
var cates3 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate2?.cat_id).ToList();
|
||||
var cate3 = cates3.FirstOrDefault(c => c.level == 3 && c.name == cmbCat3.Text.Trim());
|
||||
var selectCate1 = GlobalConfig.WxCatList.Where(c => c.level == 1 && (/*cmbCat1.Text.Trim() == cmbCat1.DefaultText ||*/ (";" + cmbCat1.Text.Trim() + ";").Contains(";" + c.name + ";"))).ToList();
|
||||
var cates2 = GlobalConfig.WxCatList.Where(c => selectCate1.Any(c1 => c.f_cat_id == c1.cat_id)).ToList();
|
||||
var selectCate2 = cates2.Where(c => c.level == 2 && (/*cmbCat2.Text.Trim() == cmbCat2.DefaultText ||*/ (";" + cmbCat2.Text.Trim() + ";").Contains(";" + c.name + ";"))).ToList();
|
||||
var cates3 = GlobalConfig.WxCatList.Where(c => selectCate2.Any(c2 => c.f_cat_id == c2.cat_id)).ToList();
|
||||
var selectCate3 = cates3.Where(c => c.level == 3 && (/*cmbCat3.Text.Trim() == cmbCat3.DefaultText ||*/ (";" + cmbCat3.Text.Trim() + ";").Contains(";" + c.name + ";"))).ToList();
|
||||
|
||||
if (!string.IsNullOrEmpty(cmbCat1.Text) && cate1 != null)
|
||||
data += "&wx_cat_1=" + cate1.cat_id;
|
||||
if (!string.IsNullOrEmpty(cmbCat1.Text) && selectCate1?.Count > 0)
|
||||
data += "&wx_cat_1=" + string.Join(",", selectCate1.Select(c => c.cat_id).ToList());
|
||||
//else if (chkSkipQualification.Checked)
|
||||
//{
|
||||
// // 厂商直采普通店铺不要随特殊商品
|
||||
// data += "&wx_cat_1=" + string.Join(",", GlobalConfig.WxCatList.Where(c => c.level == 1 && !(c.name == "图书" || c.name == "食品饮料" || c.name == "成人用品"))
|
||||
// .Select(c => c.cat_id));
|
||||
//}
|
||||
if (!string.IsNullOrEmpty(cmbCat2.Text) && cate2 != null)
|
||||
data += "&wx_cat_2=" + cate2.cat_id;
|
||||
if (!string.IsNullOrEmpty(cmbCat3.Text) && cate3 != null)
|
||||
data += "&wx_cat_3=" + cate3.cat_id;
|
||||
if (!string.IsNullOrEmpty(cmbCat2.Text) && selectCate2?.Count > 0)
|
||||
data += "&wx_cat_2=" + string.Join(",", selectCate2.Select(c => c.cat_id).ToList());
|
||||
if (!string.IsNullOrEmpty(cmbCat3.Text) && selectCate3?.Count > 0)
|
||||
data += "&wx_cat_3=" + string.Join(",", selectCate3.Select(c => c.cat_id).ToList());
|
||||
|
||||
if (chkCatBoundMoreThan.Checked || chkCatBoundLessThan.Checked)
|
||||
{
|
||||
var catBoundLst = GlobalConfig.WxCatBoundList.ToList();
|
||||
if (chkCatBoundMoreThan.Checked)
|
||||
{
|
||||
catBoundLst = catBoundLst.Where(cb => cb.cat_bound >= txtCatBoundMoreThan.Text.Trim().ParseToInt()).ToList();
|
||||
}
|
||||
if (chkCatBoundLessThan.Checked)
|
||||
{
|
||||
catBoundLst = catBoundLst.Where(cb => cb.cat_bound <= txtCatBoundLessThan.Text.Trim().ParseToInt()).ToList();
|
||||
}
|
||||
data += "&wx_cat_leaf=" + string.Join(",", catBoundLst.Select(c => c.leaf_id).ToList());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(txtSecretStyleCode.Text.Trim()))
|
||||
@@ -442,8 +464,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void pnlEmpty_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.cmbCat1.Text = "";
|
||||
this.cmbCat2.Text = "";
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.txtExtCode.Text = "";
|
||||
this.txtProdName.Text = "";
|
||||
this.txtSKC.Text = "";
|
||||
@@ -458,46 +481,64 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtSecretStyleCode.Text = "";
|
||||
}
|
||||
|
||||
private void cmbCateFilter1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
private void cmbCat1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void cmbCat2_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void cmbCat3_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void cmbCat1_MultiSelectChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbSourceType.Text != "厂商直采")
|
||||
return;
|
||||
|
||||
cmbCat2.Text = "";
|
||||
cmbCat2.Items.Clear();
|
||||
var cate1 = GlobalConfig.WxCatList.FirstOrDefault(c => c.level == 1 && c.name == cmbCat1.Text.Trim());
|
||||
var cates2 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate1?.cat_id).ToList();
|
||||
foreach (var cate2 in cates2)
|
||||
{
|
||||
cmbCat2.Items.Add(cate2.name);
|
||||
}
|
||||
|
||||
cmbCat3.Text = "";
|
||||
cmbCat3.Items.Clear();
|
||||
var selectCate1 = GlobalConfig.WxCatList.Where(c => c.level == 1 && (cmbCat1.Text.Trim() == cmbCat1.DefaultText || (";" + cmbCat1.Text.Trim() + ";").Contains(";" + c.name + ";"))).ToList();
|
||||
var cates2 = GlobalConfig.WxCatList.Where(c => selectCate1.Any(c1 => c.f_cat_id == c1.cat_id)).ToList();
|
||||
//foreach (var cate2 in cates2)
|
||||
//{
|
||||
// cmbCat2.Items.Add(cate2.name);
|
||||
//}
|
||||
cmbCat2.Items.AddRange(cates2.Select(c => c.name).ToArray());
|
||||
}
|
||||
|
||||
private void cmbCateFilter2_SelectedIndexChanged(object sender, EventArgs e)
|
||||
private void cmbCat2_MultiSelectChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbSourceType.Text != "厂商直采")
|
||||
return;
|
||||
|
||||
cmbCat3.Text = "";
|
||||
cmbCat3.Items.Clear();
|
||||
var cate1 = GlobalConfig.WxCatList.FirstOrDefault(c => c.level == 1 && c.name == cmbCat1.Text.Trim());
|
||||
var cates2 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate1?.cat_id).ToList();
|
||||
var cate2 = cates2.FirstOrDefault(c => c.level == 2 && c.name == cmbCat2.Text.Trim());
|
||||
var cates3 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate2?.cat_id).ToList();
|
||||
foreach (var cate3 in cates3)
|
||||
{
|
||||
cmbCat3.Items.Add(cate3.name);
|
||||
}
|
||||
var selectCate1 = GlobalConfig.WxCatList.Where(c => c.level == 1 && (cmbCat1.Text.Trim() == cmbCat1.DefaultText || (";" + cmbCat1.Text.Trim() + ";").Contains(";" + c.name + ";"))).ToList();
|
||||
var cates2 = GlobalConfig.WxCatList.Where(c => selectCate1.Any(c1 => c.f_cat_id == c1.cat_id)).ToList();
|
||||
var selectCate2 = cates2.Where(c => c.level == 2 && (cmbCat2.Text.Trim() == cmbCat1.DefaultText || (";" + cmbCat2.Text.Trim() + ";").Contains(c.name))).ToList();
|
||||
var cates3 = GlobalConfig.WxCatList.Where(c => selectCate2.Any(c2 => c.f_cat_id == c2.cat_id)).ToList();
|
||||
//foreach (var cate3 in cates3)
|
||||
//{
|
||||
// cmbCat3.Items.Add(cate3.name);
|
||||
//}
|
||||
cmbCat3.Items.AddRange(cates3.Select(c => c.name).ToArray());
|
||||
}
|
||||
|
||||
private void cmbCateFilter3_SelectedIndexChanged(object sender, EventArgs e)
|
||||
private void cmbCat3_MultiSelectChanged(object sender, EventArgs e)
|
||||
{
|
||||
var cate1 = GlobalConfig.WxCatList.FirstOrDefault(c => c.level == 1 && c.name == cmbCat1.Text.Trim());
|
||||
var cates2 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate1?.cat_id).ToList();
|
||||
var cate2 = cates2.FirstOrDefault(c => c.level == 2 && c.name == cmbCat1.Text.Trim());
|
||||
var cates3 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate2?.cat_id).ToList();
|
||||
var cate3 = cates3.FirstOrDefault(c => c.level == 3 && c.name == cmbCat1.Text.Trim());
|
||||
//var cate1 = GlobalConfig.WxCatList.FirstOrDefault(c => c.level == 1 && c.name == cmbCat1.Text.Trim());
|
||||
//var cates2 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate1?.cat_id).ToList();
|
||||
//var cate2 = cates2.FirstOrDefault(c => c.level == 2 && c.name == cmbCat1.Text.Trim());
|
||||
//var cates3 = GlobalConfig.WxCatList.Where(c => c.f_cat_id == cate2?.cat_id).ToList();
|
||||
//var cate3 = cates3.FirstOrDefault(c => c.level == 3 && c.name == cmbCat1.Text.Trim());
|
||||
}
|
||||
|
||||
private void dgvDbProduct_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
@@ -732,11 +773,26 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void cmbSourceType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (cmbSourceType.Text != "厂商直采")
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
{
|
||||
fillPddCate();
|
||||
}
|
||||
else
|
||||
{
|
||||
fillWxCate();
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text) && cmbSourceType.Text != "厂商直采")
|
||||
{
|
||||
cmbExportToOutServer.Text = "";
|
||||
cmbWxCat.Text = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
cmbExportToOutServer.Text = "是";
|
||||
cmbWxCat.Text = "是";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -777,9 +833,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbCat1.Items.Clear();
|
||||
cmbCat2.Items.Clear();
|
||||
cmbCat3.Items.Clear();
|
||||
cmbCat1.Text = "";
|
||||
cmbCat2.Text = "";
|
||||
cmbCat3.Text = "";
|
||||
cmbCat1.Text = "全部";
|
||||
cmbCat2.Text = "全部";
|
||||
cmbCat3.Text = "全部";
|
||||
foreach (var item in pdd_product_cates.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries))
|
||||
{
|
||||
cmbCat1.Items.Add(item);
|
||||
@@ -792,9 +848,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbCat1.Items.Clear();
|
||||
cmbCat2.Items.Clear();
|
||||
cmbCat3.Items.Clear();
|
||||
cmbCat1.Text = "";
|
||||
cmbCat2.Text = "";
|
||||
cmbCat3.Text = "";
|
||||
cmbCat1.Text = "全部";
|
||||
cmbCat2.Text = "全部";
|
||||
cmbCat3.Text = "全部";
|
||||
foreach (var cate in GlobalConfig.WxCatList.Where(c => c.level == 1).ToList())
|
||||
{
|
||||
cmbCat1.Items.Add(cate.name);
|
||||
@@ -928,5 +984,21 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbFilterShopNotes.Text = cmbFilterShopNotes.DefaultText;
|
||||
cmbFilterShopGroups.Text = cmbFilterShopGroups.DefaultText;
|
||||
}
|
||||
|
||||
private void chkCatBoundMoreThan_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
txtCatBoundMoreThan.Visible = chkCatBoundMoreThan.Checked;
|
||||
}
|
||||
|
||||
private void chkCatBoundLessThan_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
txtCatBoundLessThan.Visible = chkCatBoundLessThan.Checked;
|
||||
}
|
||||
|
||||
private void WXUserProdListForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
this.Hide();
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -177,6 +177,9 @@
|
||||
<metadata name="col_cat_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colCatBound.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_ext_code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
Reference in new issue
Block a user