微信商品回采功能
This commit is contained in:
1 parent
3db584fe1e
commit
d9900452f2
35 files changed
+4850
-696
No files matched your search
+89
-62
@@ -41,6 +41,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.chkUseWXComplateProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkSaveBound = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkAiShortTitle = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
@@ -88,17 +89,16 @@ 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.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.txtExtCodeFilter = new System.Windows.Forms.TextBox();
|
||||
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.lblExtCodeFilter = new System.Windows.Forms.Label();
|
||||
this.lblGroupFilter = new System.Windows.Forms.Label();
|
||||
this.lblIdFilter = new System.Windows.Forms.Label();
|
||||
this.cmbCateFilter2 = new System.Windows.Forms.ComboBox();
|
||||
@@ -134,7 +134,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnRefreshNum = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtExtCodeFilter = new System.Windows.Forms.TextBox();
|
||||
this.pbLoadingShop = new System.Windows.Forms.PictureBox();
|
||||
this.lblExtCodeFilter = new System.Windows.Forms.Label();
|
||||
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -240,6 +242,7 @@ 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.chkUseWXComplateProd);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkSaveBound);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkAiShortTitle);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label6);
|
||||
@@ -289,10 +292,21 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx2.TabStop = false;
|
||||
this.ucGroupBoxEx2.Text = "商品上传";
|
||||
//
|
||||
// chkUseWXComplateProd
|
||||
//
|
||||
this.chkUseWXComplateProd.Location = new System.Drawing.Point(727, 42);
|
||||
this.chkUseWXComplateProd.Name = "chkUseWXComplateProd";
|
||||
this.chkUseWXComplateProd.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkUseWXComplateProd.TabIndex = 876;
|
||||
this.chkUseWXComplateProd.Text = "使用回采数据";
|
||||
this.chkUseWXComplateProd.UseVisualStyleBackColor = true;
|
||||
this.chkUseWXComplateProd.Visible = false;
|
||||
this.chkUseWXComplateProd.CheckedChanged += new System.EventHandler(this.chkUseWXComplateProd_CheckedChanged);
|
||||
//
|
||||
// chkSaveBound
|
||||
//
|
||||
this.chkSaveBound.AutoSize = true;
|
||||
this.chkSaveBound.Location = new System.Drawing.Point(806, 136);
|
||||
this.chkSaveBound.Location = new System.Drawing.Point(791, 136);
|
||||
this.chkSaveBound.Name = "chkSaveBound";
|
||||
this.chkSaveBound.Size = new System.Drawing.Size(111, 21);
|
||||
this.chkSaveBound.TabIndex = 863;
|
||||
@@ -306,11 +320,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkAiShortTitle.AutoSize = true;
|
||||
this.chkAiShortTitle.Checked = true;
|
||||
this.chkAiShortTitle.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkAiShortTitle.Location = new System.Drawing.Point(653, 42);
|
||||
this.chkAiShortTitle.Location = new System.Drawing.Point(638, 42);
|
||||
this.chkAiShortTitle.Name = "chkAiShortTitle";
|
||||
this.chkAiShortTitle.Size = new System.Drawing.Size(147, 21);
|
||||
this.chkAiShortTitle.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkAiShortTitle.TabIndex = 862;
|
||||
this.chkAiShortTitle.Text = "AI短标题加入商品标题";
|
||||
this.chkAiShortTitle.Text = "AI优化标题";
|
||||
this.chkAiShortTitle.UseVisualStyleBackColor = true;
|
||||
this.chkAiShortTitle.CheckedChanged += new System.EventHandler(this.chkAiShotTitle_CheckedChanged);
|
||||
//
|
||||
@@ -341,7 +355,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkHighestPriceSku.AutoSize = true;
|
||||
this.chkHighestPriceSku.Checked = true;
|
||||
this.chkHighestPriceSku.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkHighestPriceSku.Location = new System.Drawing.Point(582, 16);
|
||||
this.chkHighestPriceSku.Location = new System.Drawing.Point(567, 16);
|
||||
this.chkHighestPriceSku.Name = "chkHighestPriceSku";
|
||||
this.chkHighestPriceSku.Size = new System.Drawing.Size(119, 21);
|
||||
this.chkHighestPriceSku.TabIndex = 739;
|
||||
@@ -352,7 +366,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtFilterBoundMax
|
||||
//
|
||||
this.txtFilterBoundMax.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtFilterBoundMax.Location = new System.Drawing.Point(648, 134);
|
||||
this.txtFilterBoundMax.Location = new System.Drawing.Point(633, 134);
|
||||
this.txtFilterBoundMax.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtFilterBoundMax.Name = "txtFilterBoundMax";
|
||||
this.txtFilterBoundMax.Size = new System.Drawing.Size(49, 25);
|
||||
@@ -363,7 +377,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label23
|
||||
//
|
||||
this.label23.AutoSize = true;
|
||||
this.label23.Location = new System.Drawing.Point(621, 138);
|
||||
this.label23.Location = new System.Drawing.Point(606, 138);
|
||||
this.label23.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label23.Name = "label23";
|
||||
this.label23.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -373,7 +387,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtFilterBoundMin
|
||||
//
|
||||
this.txtFilterBoundMin.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtFilterBoundMin.Location = new System.Drawing.Point(571, 134);
|
||||
this.txtFilterBoundMin.Location = new System.Drawing.Point(556, 134);
|
||||
this.txtFilterBoundMin.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtFilterBoundMin.Name = "txtFilterBoundMin";
|
||||
this.txtFilterBoundMin.Size = new System.Drawing.Size(49, 25);
|
||||
@@ -384,7 +398,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtTitleHeadWord
|
||||
//
|
||||
this.txtTitleHeadWord.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtTitleHeadWord.Location = new System.Drawing.Point(514, 40);
|
||||
this.txtTitleHeadWord.Location = new System.Drawing.Point(499, 40);
|
||||
this.txtTitleHeadWord.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtTitleHeadWord.MaxLength = 15;
|
||||
this.txtTitleHeadWord.Name = "txtTitleHeadWord";
|
||||
@@ -398,7 +412,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnFilterBound.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnFilterBound.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnFilterBound.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnFilterBound.Location = new System.Drawing.Point(742, 135);
|
||||
this.btnFilterBound.Location = new System.Drawing.Point(727, 135);
|
||||
this.btnFilterBound.Name = "btnFilterBound";
|
||||
this.btnFilterBound.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnFilterBound.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -423,7 +437,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSameSpecPrice.AutoSize = true;
|
||||
this.chkSameSpecPrice.Checked = true;
|
||||
this.chkSameSpecPrice.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkSameSpecPrice.Location = new System.Drawing.Point(701, 16);
|
||||
this.chkSameSpecPrice.Location = new System.Drawing.Point(686, 16);
|
||||
this.chkSameSpecPrice.Name = "chkSameSpecPrice";
|
||||
this.chkSameSpecPrice.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkSameSpecPrice.TabIndex = 745;
|
||||
@@ -434,7 +448,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label22
|
||||
//
|
||||
this.label22.AutoSize = true;
|
||||
this.label22.Location = new System.Drawing.Point(448, 45);
|
||||
this.label22.Location = new System.Drawing.Point(433, 45);
|
||||
this.label22.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -444,7 +458,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtShippingPriceTimes
|
||||
//
|
||||
this.txtShippingPriceTimes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtShippingPriceTimes.Location = new System.Drawing.Point(344, 135);
|
||||
this.txtShippingPriceTimes.Location = new System.Drawing.Point(329, 135);
|
||||
this.txtShippingPriceTimes.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtShippingPriceTimes.Name = "txtShippingPriceTimes";
|
||||
this.txtShippingPriceTimes.Size = new System.Drawing.Size(32, 23);
|
||||
@@ -454,7 +468,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(697, 138);
|
||||
this.label12.Location = new System.Drawing.Point(682, 138);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -465,7 +479,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(307, 138);
|
||||
this.label13.Location = new System.Drawing.Point(292, 138);
|
||||
this.label13.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(41, 17);
|
||||
@@ -475,7 +489,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(448, 138);
|
||||
this.label1.Location = new System.Drawing.Point(433, 138);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(128, 17);
|
||||
@@ -485,7 +499,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(811, 112);
|
||||
this.label18.Location = new System.Drawing.Point(796, 112);
|
||||
this.label18.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(54, 17);
|
||||
@@ -494,7 +508,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtPreDays
|
||||
//
|
||||
this.txtPreDays.Location = new System.Drawing.Point(778, 109);
|
||||
this.txtPreDays.Location = new System.Drawing.Point(763, 109);
|
||||
this.txtPreDays.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtPreDays.Name = "txtPreDays";
|
||||
this.txtPreDays.Size = new System.Drawing.Size(33, 23);
|
||||
@@ -505,7 +519,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkPreSale
|
||||
//
|
||||
this.chkPreSale.AutoSize = true;
|
||||
this.chkPreSale.Location = new System.Drawing.Point(686, 110);
|
||||
this.chkPreSale.Location = new System.Drawing.Point(671, 110);
|
||||
this.chkPreSale.Name = "chkPreSale";
|
||||
this.chkPreSale.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkPreSale.TabIndex = 789;
|
||||
@@ -518,7 +532,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSkipUploaded.AutoSize = true;
|
||||
this.chkSkipUploaded.Checked = true;
|
||||
this.chkSkipUploaded.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkSkipUploaded.Location = new System.Drawing.Point(451, 110);
|
||||
this.chkSkipUploaded.Location = new System.Drawing.Point(436, 110);
|
||||
this.chkSkipUploaded.Name = "chkSkipUploaded";
|
||||
this.chkSkipUploaded.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkSkipUploaded.TabIndex = 755;
|
||||
@@ -529,7 +543,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(539, 18);
|
||||
this.label5.Location = new System.Drawing.Point(524, 18);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(40, 17);
|
||||
@@ -538,7 +552,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtMinPrice
|
||||
//
|
||||
this.txtMinPrice.Location = new System.Drawing.Point(514, 15);
|
||||
this.txtMinPrice.Location = new System.Drawing.Point(499, 15);
|
||||
this.txtMinPrice.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtMinPrice.Name = "txtMinPrice";
|
||||
this.txtMinPrice.Size = new System.Drawing.Size(25, 23);
|
||||
@@ -549,7 +563,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(448, 18);
|
||||
this.label8.Location = new System.Drawing.Point(433, 18);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -560,7 +574,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.txtReplaceText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtReplaceText.Location = new System.Drawing.Point(514, 67);
|
||||
this.txtReplaceText.Location = new System.Drawing.Point(499, 67);
|
||||
this.txtReplaceText.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtReplaceText.Multiline = true;
|
||||
this.txtReplaceText.Name = "txtReplaceText";
|
||||
@@ -572,7 +586,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(448, 72);
|
||||
this.label3.Location = new System.Drawing.Point(433, 72);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -582,7 +596,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkUpDraft
|
||||
//
|
||||
this.chkUpDraft.AutoSize = true;
|
||||
this.chkUpDraft.Location = new System.Drawing.Point(586, 110);
|
||||
this.chkUpDraft.Location = new System.Drawing.Point(571, 110);
|
||||
this.chkUpDraft.Name = "chkUpDraft";
|
||||
this.chkUpDraft.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkUpDraft.TabIndex = 769;
|
||||
@@ -631,11 +645,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.chkAddMorePriceFirst.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkAddMorePriceFirst.AutoSize = true;
|
||||
this.chkAddMorePriceFirst.Location = new System.Drawing.Point(201, 136);
|
||||
this.chkAddMorePriceFirst.Location = new System.Drawing.Point(199, 136);
|
||||
this.chkAddMorePriceFirst.Name = "chkAddMorePriceFirst";
|
||||
this.chkAddMorePriceFirst.Size = new System.Drawing.Size(111, 21);
|
||||
this.chkAddMorePriceFirst.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkAddMorePriceFirst.TabIndex = 625;
|
||||
this.chkAddMorePriceFirst.Text = "加价时先加再乘";
|
||||
this.chkAddMorePriceFirst.Text = "加价先加再乘";
|
||||
this.chkAddMorePriceFirst.UseVisualStyleBackColor = true;
|
||||
this.chkAddMorePriceFirst.CheckedChanged += new System.EventHandler(this.chkAddMorePriceFirst_CheckedChanged);
|
||||
//
|
||||
@@ -696,7 +710,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.panel4.Controls.Add(this.panel3);
|
||||
this.panel4.Location = new System.Drawing.Point(76, 17);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(366, 114);
|
||||
this.panel4.Size = new System.Drawing.Size(350, 114);
|
||||
this.panel4.TabIndex = 577;
|
||||
//
|
||||
// panel3
|
||||
@@ -709,7 +723,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.panel3.Controls.Add(this.fPnlPriceRule);
|
||||
this.panel3.Location = new System.Drawing.Point(1, 1);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(364, 112);
|
||||
this.panel3.Size = new System.Drawing.Size(348, 112);
|
||||
this.panel3.TabIndex = 541;
|
||||
//
|
||||
// fPnlPriceRule
|
||||
@@ -872,7 +886,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtStockNum
|
||||
//
|
||||
this.txtStockNum.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtStockNum.Location = new System.Drawing.Point(410, 135);
|
||||
this.txtStockNum.Location = new System.Drawing.Point(395, 135);
|
||||
this.txtStockNum.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtStockNum.Name = "txtStockNum";
|
||||
this.txtStockNum.Size = new System.Drawing.Size(32, 23);
|
||||
@@ -884,7 +898,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(379, 138);
|
||||
this.label4.Location = new System.Drawing.Point(364, 138);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -919,17 +933,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
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.txtExtCodeFilter);
|
||||
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.lblExtCodeFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblGroupFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblIdFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter2);
|
||||
@@ -955,6 +968,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.TabStop = false;
|
||||
this.ucGroupBoxEx4.Text = "待传商品";
|
||||
//
|
||||
// chkWXComplateProd
|
||||
//
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(180, 103);
|
||||
this.chkWXComplateProd.Name = "chkWXComplateProd";
|
||||
this.chkWXComplateProd.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkWXComplateProd.TabIndex = 807;
|
||||
this.chkWXComplateProd.Text = "微信回采商品";
|
||||
this.chkWXComplateProd.UseVisualStyleBackColor = true;
|
||||
this.chkWXComplateProd.Visible = false;
|
||||
//
|
||||
// txtAddCount
|
||||
//
|
||||
this.txtAddCount.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
@@ -996,16 +1019,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.pbSelectProd.Visible = false;
|
||||
this.pbSelectProd.Click += new System.EventHandler(this.pbSelectProd_Click);
|
||||
//
|
||||
// txtExtCodeFilter
|
||||
//
|
||||
this.txtExtCodeFilter.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtExtCodeFilter.Location = new System.Drawing.Point(178, 101);
|
||||
this.txtExtCodeFilter.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtExtCodeFilter.Name = "txtExtCodeFilter";
|
||||
this.txtExtCodeFilter.Size = new System.Drawing.Size(92, 25);
|
||||
this.txtExtCodeFilter.TabIndex = 555;
|
||||
this.txtExtCodeFilter.Visible = false;
|
||||
//
|
||||
// cmbCateFilter3
|
||||
//
|
||||
this.cmbCateFilter3.FormattingEnabled = true;
|
||||
@@ -1037,7 +1050,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtIdFilter
|
||||
//
|
||||
this.txtIdFilter.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtIdFilter.Location = new System.Drawing.Point(47, 101);
|
||||
this.txtIdFilter.Location = new System.Drawing.Point(47, 100);
|
||||
this.txtIdFilter.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtIdFilter.Name = "txtIdFilter";
|
||||
this.txtIdFilter.Size = new System.Drawing.Size(92, 25);
|
||||
@@ -1057,17 +1070,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbJstInitSet.TabIndex = 697;
|
||||
this.cmbJstInitSet.Text = "已设置";
|
||||
//
|
||||
// lblExtCodeFilter
|
||||
//
|
||||
this.lblExtCodeFilter.AutoSize = true;
|
||||
this.lblExtCodeFilter.Location = new System.Drawing.Point(147, 105);
|
||||
this.lblExtCodeFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblExtCodeFilter.Name = "lblExtCodeFilter";
|
||||
this.lblExtCodeFilter.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblExtCodeFilter.TabIndex = 560;
|
||||
this.lblExtCodeFilter.Text = "货号";
|
||||
this.lblExtCodeFilter.Visible = false;
|
||||
//
|
||||
// lblGroupFilter
|
||||
//
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
@@ -1082,7 +1084,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblIdFilter
|
||||
//
|
||||
this.lblIdFilter.AutoSize = true;
|
||||
this.lblIdFilter.Location = new System.Drawing.Point(27, 105);
|
||||
this.lblIdFilter.Location = new System.Drawing.Point(27, 104);
|
||||
this.lblIdFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblIdFilter.Name = "lblIdFilter";
|
||||
this.lblIdFilter.Size = new System.Drawing.Size(21, 17);
|
||||
@@ -1304,10 +1306,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// chkSkipQualification
|
||||
//
|
||||
this.chkSkipQualification.AutoSize = true;
|
||||
this.chkSkipQualification.Location = new System.Drawing.Point(14, 133);
|
||||
this.chkSkipQualification.Name = "chkSkipQualification";
|
||||
this.chkSkipQualification.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkSkipQualification.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkSkipQualification.TabIndex = 806;
|
||||
this.chkSkipQualification.Text = "跳过资质商品";
|
||||
this.chkSkipQualification.UseVisualStyleBackColor = true;
|
||||
@@ -1626,7 +1627,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.Controls.Add(this.btnRefreshNum);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.txtExtCodeFilter);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.pbLoadingShop);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.lblExtCodeFilter);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
|
||||
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
|
||||
//
|
||||
@@ -1670,6 +1673,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnRefreshNum.Visible = false;
|
||||
this.btnRefreshNum.Click += new System.EventHandler(this.btnRefreshNum_Click);
|
||||
//
|
||||
// txtExtCodeFilter
|
||||
//
|
||||
this.txtExtCodeFilter.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtExtCodeFilter.Location = new System.Drawing.Point(249, 34);
|
||||
this.txtExtCodeFilter.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtExtCodeFilter.Name = "txtExtCodeFilter";
|
||||
this.txtExtCodeFilter.Size = new System.Drawing.Size(92, 25);
|
||||
this.txtExtCodeFilter.TabIndex = 555;
|
||||
this.txtExtCodeFilter.Visible = false;
|
||||
//
|
||||
// pbLoadingShop
|
||||
//
|
||||
this.pbLoadingShop.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
@@ -1682,6 +1695,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.pbLoadingShop.TabStop = false;
|
||||
this.pbLoadingShop.Visible = false;
|
||||
//
|
||||
// lblExtCodeFilter
|
||||
//
|
||||
this.lblExtCodeFilter.AutoSize = true;
|
||||
this.lblExtCodeFilter.Location = new System.Drawing.Point(218, 38);
|
||||
this.lblExtCodeFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblExtCodeFilter.Name = "lblExtCodeFilter";
|
||||
this.lblExtCodeFilter.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblExtCodeFilter.TabIndex = 560;
|
||||
this.lblExtCodeFilter.Text = "货号";
|
||||
this.lblExtCodeFilter.Visible = false;
|
||||
//
|
||||
// dgvShop
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
@@ -2266,6 +2290,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
|
||||
this.splitContainer3.ResumeLayout(false);
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel1.PerformLayout();
|
||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||
this.splitContainer2.Panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
@@ -2428,5 +2453,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private UserComponent.UcCheckBox chkSaveBound;
|
||||
private UserComponent.UcCheckBox chkAiShortTitle;
|
||||
private UserComponent.UcCheckBox chkSkipQualification;
|
||||
private UserComponent.UcCheckBox chkWXComplateProd;
|
||||
private UserComponent.UcCheckBox chkUseWXComplateProd;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1129,11 +1129,39 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
List<JSTDownProdSkuInfo> downSkuExistLst = JsonHelper.DeserializeJsonToList<JSTDownProdSkuInfo>(JsonHelper.JObjectParse(result)["data"].ParseToString());
|
||||
|
||||
// 查询作废库有没有
|
||||
url = BaseClass.BuildPDDObjString("product/get_product_spu_id_list");
|
||||
Thread.Sleep(500);
|
||||
data = UserLogin.GetSignaturex();
|
||||
data += "&search_secret_spu_ids=" + string.Join(",", extCodeLst.Distinct());
|
||||
data += "&wx_safe_status=" + "违规商品";
|
||||
result = GetHtml.PostUtf8(url, data);
|
||||
if (!result.Contains("\"code\":200"))
|
||||
result = GetHtml.PostUtf8(url, data);
|
||||
if (!result.Contains("\"code\":200"))
|
||||
{
|
||||
var errMsg = BaseRegex.GetStringJson(ref result, "msg");
|
||||
if (string.IsNullOrEmpty(errMsg))
|
||||
errMsg = result;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rowLstTmp)
|
||||
{
|
||||
row.Cells["colOpResult"].Value = "查询商品违规错误:" + errMsg;
|
||||
}
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
List<KJDDBProduct> downDbProdExistLst = JsonHelper.DeserializeJsonToList<KJDDBProduct>(JsonHelper.JObjectParse(result)["data"].ParseToString());
|
||||
|
||||
foreach (var row in rowLstTmp)
|
||||
{
|
||||
var extCode = row.Cells["colExtCode"].Value.ParseToString();
|
||||
var neewDownSkuLst = downSkuExistLst.Where(se => se.secret_spu_id == extCode).ToList();
|
||||
if (neewDownSkuLst.Count == 0)
|
||||
// 下架sku
|
||||
var needDownSkuLst = downSkuExistLst.Where(se => se.secret_spu_id == extCode).ToList();
|
||||
// 违规商品
|
||||
var needDownProdLst = downDbProdExistLst.Where(pe => pe.secret_spu_id == extCode).ToList();
|
||||
if (needDownSkuLst.Count == 0 && needDownProdLst.Count == 0)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
@@ -1143,6 +1171,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
else
|
||||
{
|
||||
if (needDownProdLst.Count > 0)
|
||||
{
|
||||
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
row.Cells["colOpResult"].Value = "正在检测同步";
|
||||
@@ -1187,7 +1219,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var jSkuStr = jSku.ParseToString();
|
||||
var itemCode = jSku["productSkuInfo"]?["skuCode"].ParseToString();
|
||||
var needDownSku = downSkuExistLst.FirstOrDefault(se =>se.secret_spu_id == extCode && se.secret_sku_id == itemCode);
|
||||
if (needDownSku != null)
|
||||
if (needDownSku != null || needDownProdLst.Count > 0)
|
||||
{
|
||||
if (//jSku["productSkuInfo"]["stockInfo"]["stockNum"].ParseToString() != "0" ||
|
||||
jSku["productSkuInfo"]["stockInfo"]["totalNum"].ParseToString() != "0" ||
|
||||
|
||||
Reference in new issue
Block a user