diff --git a/KJDService/KJD_WebService/KJD_WebService.csproj.user b/KJDService/KJD_WebService/KJD_WebService.csproj.user
index 4bcdc04..1b87364 100644
--- a/KJDService/KJD_WebService/KJD_WebService.csproj.user
+++ b/KJDService/KJD_WebService/KJD_WebService.csproj.user
@@ -8,7 +8,7 @@
- Release|Any CPU
+ Debug|Any CPU
ShowAllFiles
diff --git a/TEMUKJD/KJD.csproj b/TEMUKJD/KJD.csproj
index 9a6690c..ba3a4e7 100644
--- a/TEMUKJD/KJD.csproj
+++ b/TEMUKJD/KJD.csproj
@@ -173,11 +173,11 @@
JstBanPlatformForm.cs
-
+
Form
-
- PDDDBProdEditNotesForm.cs
+
+ WXUserCollectAuthProdEditNotesForm.cs
Form
@@ -324,6 +324,12 @@
WXOrderConsignmentForm.cs
+
+ Form
+
+
+ WXProdClearNoVisit260606Form.cs
+
Form
@@ -1321,8 +1327,8 @@
JstBanPlatformForm.cs
-
- PDDDBProdEditNotesForm.cs
+
+ WXUserCollectAuthProdEditNotesForm.cs
PDDGetChanceProdByImgForm.cs
@@ -1411,6 +1417,9 @@
WXOrderConsignmentForm.cs
+
+ WXProdClearNoVisit260606Form.cs
+
WXProdClearNoVisitForm.cs
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdEditNotesForm.Designer.cs b/TEMUKJD/PDDForms/ProductSelectForms/WXUserCollectAuthProdEditNotesForm.Designer.cs
similarity index 66%
rename from TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdEditNotesForm.Designer.cs
rename to TEMUKJD/PDDForms/ProductSelectForms/WXUserCollectAuthProdEditNotesForm.Designer.cs
index 99ae309..e604e6d 100644
--- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdEditNotesForm.Designer.cs
+++ b/TEMUKJD/PDDForms/ProductSelectForms/WXUserCollectAuthProdEditNotesForm.Designer.cs
@@ -1,6 +1,6 @@
namespace TemuKJD.PDDForms.ProductSelectForms
{
- partial class PDDDBProdEditNotesForm
+ partial class WXUserCollectAuthProdEditNotesForm
{
///
/// Required designer variable.
@@ -28,8 +28,10 @@
///
private void InitializeComponent()
{
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PDDDBProdEditNotesForm));
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXUserCollectAuthProdEditNotesForm));
this.panel2 = new System.Windows.Forms.Panel();
+ this.label7 = new System.Windows.Forms.Label();
+ this.txtFissionWords = new DevComponents.DotNetBar.Controls.TextBoxX();
this.btnOK1 = new DevComponents.DotNetBar.PanelEx();
this.btnEditDetail = new DevComponents.DotNetBar.PanelEx();
this.txtProductName = new System.Windows.Forms.TextBox();
@@ -39,8 +41,14 @@
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label8 = new System.Windows.Forms.Label();
this.txtNotes = new DevComponents.DotNetBar.Controls.TextBoxX();
- this.label7 = new System.Windows.Forms.Label();
- this.txtFissionWords = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.label2 = new System.Windows.Forms.Label();
+ this.cmbCat1 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
+ this.label14 = new System.Windows.Forms.Label();
+ this.cmbCat2 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
+ this.label17 = new System.Windows.Forms.Label();
+ this.cmbCat3 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
+ this.label4 = new System.Windows.Forms.Label();
+ this.cmbCatLeaf = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
@@ -48,6 +56,14 @@
// panel2
//
this.panel2.BackColor = System.Drawing.Color.White;
+ this.panel2.Controls.Add(this.cmbCatLeaf);
+ this.panel2.Controls.Add(this.label4);
+ this.panel2.Controls.Add(this.label2);
+ this.panel2.Controls.Add(this.cmbCat1);
+ this.panel2.Controls.Add(this.label14);
+ this.panel2.Controls.Add(this.cmbCat2);
+ this.panel2.Controls.Add(this.label17);
+ this.panel2.Controls.Add(this.cmbCat3);
this.panel2.Controls.Add(this.label7);
this.panel2.Controls.Add(this.txtFissionWords);
this.panel2.Controls.Add(this.btnOK1);
@@ -62,9 +78,44 @@
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(1, 33);
this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(464, 511);
+ this.panel2.Size = new System.Drawing.Size(464, 572);
this.panel2.TabIndex = 1;
//
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Location = new System.Drawing.Point(34, 387);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(56, 17);
+ this.label7.TabIndex = 659;
+ this.label7.Text = "裂变标题";
+ //
+ // txtFissionWords
+ //
+ this.txtFissionWords.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ //
+ //
+ //
+ this.txtFissionWords.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtFissionWords.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtFissionWords.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtFissionWords.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtFissionWords.Border.Class = "CrumbBarBackgroundKey";
+ this.txtFissionWords.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtFissionWords.Border.PaddingBottom = 2;
+ this.txtFissionWords.Border.PaddingLeft = 2;
+ this.txtFissionWords.Border.PaddingRight = 2;
+ this.txtFissionWords.Border.PaddingTop = 2;
+ this.txtFissionWords.Location = new System.Drawing.Point(90, 387);
+ this.txtFissionWords.Multiline = true;
+ this.txtFissionWords.Name = "txtFissionWords";
+ this.txtFissionWords.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+ this.txtFissionWords.Size = new System.Drawing.Size(337, 123);
+ this.txtFissionWords.TabIndex = 658;
+ this.txtFissionWords.WatermarkText = "一行一个";
+ //
// btnOK1
//
this.btnOK1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
@@ -72,7 +123,7 @@
this.btnOK1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOK1.DisabledBackColor = System.Drawing.Color.Empty;
this.btnOK1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnOK1.Location = new System.Drawing.Point(381, 467);
+ this.btnOK1.Location = new System.Drawing.Point(381, 528);
this.btnOK1.Name = "btnOK1";
this.btnOK1.Size = new System.Drawing.Size(46, 26);
this.btnOK1.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -97,7 +148,7 @@
this.btnEditDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEditDetail.DisabledBackColor = System.Drawing.Color.Empty;
this.btnEditDetail.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnEditDetail.Location = new System.Drawing.Point(31, 467);
+ this.btnEditDetail.Location = new System.Drawing.Point(34, 528);
this.btnEditDetail.Name = "btnEditDetail";
this.btnEditDetail.Size = new System.Drawing.Size(85, 26);
this.btnEditDetail.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -137,7 +188,7 @@
// label3
//
this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(31, 204);
+ this.label3.Location = new System.Drawing.Point(34, 204);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(56, 17);
this.label3.TabIndex = 392;
@@ -146,7 +197,7 @@
// label1
//
this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(31, 169);
+ this.label1.Location = new System.Drawing.Point(34, 169);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 17);
this.label1.TabIndex = 390;
@@ -166,7 +217,7 @@
// label8
//
this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(31, 258);
+ this.label8.Location = new System.Drawing.Point(34, 329);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(56, 17);
this.label8.TabIndex = 386;
@@ -189,55 +240,124 @@
this.txtNotes.Border.PaddingLeft = 2;
this.txtNotes.Border.PaddingRight = 2;
this.txtNotes.Border.PaddingTop = 2;
- this.txtNotes.Location = new System.Drawing.Point(90, 258);
+ this.txtNotes.Location = new System.Drawing.Point(90, 329);
this.txtNotes.Multiline = true;
this.txtNotes.Name = "txtNotes";
this.txtNotes.Size = new System.Drawing.Size(337, 47);
this.txtNotes.TabIndex = 385;
//
- // label7
+ // label2
//
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(31, 318);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(56, 17);
- this.label7.TabIndex = 659;
- this.label7.Text = "裂变标题";
+ this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(47, 262);
+ this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(43, 17);
+ this.label2.TabIndex = 812;
+ this.label2.Text = " 类目1";
//
- // txtFissionWords
+ // cmbCat1
//
- this.txtFissionWords.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.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.IntegralHeight = false;
+ this.cmbCat1.Location = new System.Drawing.Point(90, 258);
+ this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
+ this.cmbCat1.Name = "cmbCat1";
+ this.cmbCat1.Size = new System.Drawing.Size(133, 25);
+ this.cmbCat1.TabIndex = 815;
+ this.cmbCat1.Text = "全部";
//
+ // label14
//
+ this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
+ this.label14.AutoSize = true;
+ this.label14.Location = new System.Drawing.Point(251, 262);
+ this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(43, 17);
+ this.label14.TabIndex = 813;
+ this.label14.Text = " 类目2";
//
- this.txtFissionWords.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
- this.txtFissionWords.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
- this.txtFissionWords.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
- this.txtFissionWords.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
- this.txtFissionWords.Border.Class = "CrumbBarBackgroundKey";
- this.txtFissionWords.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.txtFissionWords.Border.PaddingBottom = 2;
- this.txtFissionWords.Border.PaddingLeft = 2;
- this.txtFissionWords.Border.PaddingRight = 2;
- this.txtFissionWords.Border.PaddingTop = 2;
- this.txtFissionWords.Location = new System.Drawing.Point(90, 318);
- this.txtFissionWords.Multiline = true;
- this.txtFissionWords.Name = "txtFissionWords";
- this.txtFissionWords.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.txtFissionWords.Size = new System.Drawing.Size(337, 129);
- this.txtFissionWords.TabIndex = 658;
- this.txtFissionWords.WatermarkText = "一行一个";
+ // cmbCat2
//
- // PDDDBProdEditNotesForm
+ 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.IntegralHeight = false;
+ this.cmbCat2.Location = new System.Drawing.Point(294, 257);
+ this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
+ this.cmbCat2.Name = "cmbCat2";
+ this.cmbCat2.Size = new System.Drawing.Size(133, 25);
+ this.cmbCat2.TabIndex = 814;
+ this.cmbCat2.Text = "全部";
+ //
+ // label17
+ //
+ this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
+ this.label17.AutoSize = true;
+ this.label17.Location = new System.Drawing.Point(47, 296);
+ this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
+ this.label17.Name = "label17";
+ this.label17.Size = new System.Drawing.Size(43, 17);
+ this.label17.TabIndex = 816;
+ this.label17.Text = " 类目3";
+ //
+ // 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.IntegralHeight = false;
+ this.cmbCat3.Location = new System.Drawing.Point(90, 293);
+ this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
+ this.cmbCat3.Name = "cmbCat3";
+ this.cmbCat3.Size = new System.Drawing.Size(133, 25);
+ this.cmbCat3.TabIndex = 817;
+ this.cmbCat3.Text = "全部";
+ //
+ // label4
+ //
+ this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(238, 296);
+ this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(56, 17);
+ this.label4.TabIndex = 821;
+ this.label4.Text = "叶子类目";
+ //
+ // cmbCatLeaf
+ //
+ this.cmbCatLeaf.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
+ this.cmbCatLeaf.DefaultText = "全部";
+ this.cmbCatLeaf.DropDownHeight = 1;
+ this.cmbCatLeaf.DropDownWidth = 1;
+ this.cmbCatLeaf.FormattingEnabled = true;
+ this.cmbCatLeaf.IntegralHeight = false;
+ this.cmbCatLeaf.Location = new System.Drawing.Point(294, 293);
+ this.cmbCatLeaf.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
+ this.cmbCatLeaf.Name = "cmbCatLeaf";
+ this.cmbCatLeaf.Size = new System.Drawing.Size(133, 25);
+ this.cmbCatLeaf.TabIndex = 822;
+ this.cmbCatLeaf.Text = "全部";
+ //
+ // WXUserCollectAuthProdEditNotesForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.ClientSize = new System.Drawing.Size(466, 545);
+ this.ClientSize = new System.Drawing.Size(466, 606);
this.Controls.Add(this.panel2);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "PDDDBProdEditNotesForm";
+ this.Name = "WXUserCollectAuthProdEditNotesForm";
this.Text = "编辑商品备注/货号";
this.TitleText = "编辑商品备注/货号";
this.Load += new System.EventHandler(this.ProductSelectListForm_Load);
@@ -263,5 +383,13 @@
private DevComponents.DotNetBar.PanelEx btnEditDetail;
private System.Windows.Forms.Label label7;
private DevComponents.DotNetBar.Controls.TextBoxX txtFissionWords;
+ private UserComponent.UcComboBoxMutiSelect cmbCatLeaf;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label2;
+ private UserComponent.UcComboBoxMutiSelect cmbCat1;
+ private System.Windows.Forms.Label label14;
+ private UserComponent.UcComboBoxMutiSelect cmbCat2;
+ private System.Windows.Forms.Label label17;
+ private UserComponent.UcComboBoxMutiSelect cmbCat3;
}
}
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdEditNotesForm.cs b/TEMUKJD/PDDForms/ProductSelectForms/WXUserCollectAuthProdEditNotesForm.cs
similarity index 98%
rename from TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdEditNotesForm.cs
rename to TEMUKJD/PDDForms/ProductSelectForms/WXUserCollectAuthProdEditNotesForm.cs
index df6a860..1d72f99 100644
--- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdEditNotesForm.cs
+++ b/TEMUKJD/PDDForms/ProductSelectForms/WXUserCollectAuthProdEditNotesForm.cs
@@ -20,12 +20,12 @@ using TemuKJD.BLL;
namespace TemuKJD.PDDForms.ProductSelectForms
{
- public partial class PDDDBProdEditNotesForm : BaseGeneralForm
+ public partial class WXUserCollectAuthProdEditNotesForm : BaseGeneralForm
{
KJDDBProduct dbProd = null;
KJDDBProduct dbProdDetail = null;
- public PDDDBProdEditNotesForm(KJDDBProduct prod)
+ public WXUserCollectAuthProdEditNotesForm(KJDDBProduct prod)
{
InitializeComponent();
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdEditNotesForm.resx b/TEMUKJD/PDDForms/ProductSelectForms/WXUserCollectAuthProdEditNotesForm.resx
similarity index 100%
rename from TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdEditNotesForm.resx
rename to TEMUKJD/PDDForms/ProductSelectForms/WXUserCollectAuthProdEditNotesForm.resx
diff --git a/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.Designer.cs
similarity index 68%
rename from TEMUKJD/WXForms/AdminForms/WXProdComplateForm.Designer.cs
rename to TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.Designer.cs
index 56d20f9..11e5bd0 100644
--- a/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.Designer.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.Designer.cs
@@ -1,9 +1,9 @@
using TemuKJD.PDDForms.ProductSelectForms;
-namespace TemuKJD.WXForms.AdminForms
+namespace TemuKJD.WXForms.ProductForms
{
- partial class WXProdComplateForm
+ partial class WXProdClearNoVisit260606
{
///
/// Required designer variable.
@@ -32,61 +32,66 @@ namespace TemuKJD.WXForms.AdminForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.cmbSaleSort = new System.Windows.Forms.ComboBox();
+ this.label8 = new System.Windows.Forms.Label();
+ this.txtAddDays = new System.Windows.Forms.TextBox();
+ this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.panelEx6 = new DevComponents.DotNetBar.PanelEx();
- this.btnClearDgv = new DevComponents.DotNetBar.PanelEx();
- this.txtPageEnd = new System.Windows.Forms.TextBox();
- this.txtFiltSaleNumLessThan = new System.Windows.Forms.TextBox();
+ this.txtViewUv = new System.Windows.Forms.TextBox();
+ this.btnBatchRealDel = new DevComponents.DotNetBar.PanelEx();
+ this.btnBatchDel = new DevComponents.DotNetBar.PanelEx();
this.label4 = new System.Windows.Forms.Label();
- this.btnFiltSelectLessThan = new DevComponents.DotNetBar.PanelEx();
- this.txtFiltSaleNumMoreThan = new System.Windows.Forms.TextBox();
- this.btnSearchProd = new DevComponents.DotNetBar.PanelEx();
- this.cmbPreType = new System.Windows.Forms.ComboBox();
- this.btnFiltSelectMoreThan = new DevComponents.DotNetBar.PanelEx();
- this.btnClearFilter = new DevComponents.DotNetBar.PanelEx();
- this.label3 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
+ this.txtFiltSaleNum = new System.Windows.Forms.TextBox();
+ this.btnFiltSelect = new DevComponents.DotNetBar.PanelEx();
+ this.btnStopUpDownOrDel = new DevComponents.DotNetBar.PanelEx();
+ this.btnClearList = new DevComponents.DotNetBar.PanelEx();
+ this.btnDown = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.chkFailDownProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
- this.btnPromotion = new DevComponents.DotNetBar.PanelEx();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.textBox2 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
- this.textBox1 = new System.Windows.Forms.TextBox();
+ this.rb30 = new System.Windows.Forms.RadioButton();
+ this.rb7 = new System.Windows.Forms.RadioButton();
+ this.cmbOnSaleStatus = new System.Windows.Forms.ComboBox();
+ this.btnStopSearch = new DevComponents.DotNetBar.PanelEx();
+ this.txtPageEnd = new System.Windows.Forms.TextBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.btnClearFilter = new DevComponents.DotNetBar.PanelEx();
+ this.btnSearchProd = new DevComponents.DotNetBar.PanelEx();
+ this.label5 = new System.Windows.Forms.Label();
+ this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnSelectOffline = new DevComponents.DotNetBar.PanelEx();
- this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
this.btnSelectOnline = new DevComponents.DotNetBar.PanelEx();
- this.btnAddUnSelect = new DevComponents.DotNetBar.PanelEx();
- this.btnReverse = new DevComponents.DotNetBar.PanelEx();
- this.btnAddSelect = new DevComponents.DotNetBar.PanelEx();
+ this.cmbFilterShopGroup = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
this.btnEmptyShop = new DevComponents.DotNetBar.PanelEx();
+ this.btnFilterShop = new DevComponents.DotNetBar.PanelEx();
+ this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
+ this.btnReverse = new DevComponents.DotNetBar.PanelEx();
+ this.btnAddUnSelect = new DevComponents.DotNetBar.PanelEx();
+ this.cmbFilterShopNotes = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
+ this.btnAddSelect = new DevComponents.DotNetBar.PanelEx();
this.label16 = new System.Windows.Forms.Label();
this.txtFilterShopName = new System.Windows.Forms.TextBox();
this.label17 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.btnRefreshAuthor = new DevComponents.DotNetBar.PanelEx();
this.pbLoadingShop = new System.Windows.Forms.PictureBox();
- this.btnFilterShop = new DevComponents.DotNetBar.PanelEx();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colGroup = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSelectProduct = new System.Windows.Forms.DataGridViewLinkColumn();
this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
this.colApi = new System.Windows.Forms.DataGridViewLinkColumn();
@@ -96,7 +101,6 @@ namespace TemuKJD.WXForms.AdminForms
this.colRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pbLoading = new System.Windows.Forms.PictureBox();
- this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSelectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -116,12 +120,14 @@ namespace TemuKJD.WXForms.AdminForms
this.colExtCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSoldNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colViewUv = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colPayOrderCnt = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colPreSale = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colUserNotes = new System.Windows.Forms.DataGridViewLinkColumn();
this.ColDelete = new System.Windows.Forms.DataGridViewLinkColumn();
this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colCouponNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
@@ -169,262 +175,386 @@ namespace TemuKJD.WXForms.AdminForms
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
- this.splitContainer1.Size = new System.Drawing.Size(1424, 641);
+ this.splitContainer1.Size = new System.Drawing.Size(1507, 641);
this.splitContainer1.SplitterDistance = 165;
this.splitContainer1.TabIndex = 11;
//
// ucGroupBoxEx3
//
- this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
+ this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
this.ucGroupBoxEx3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx3.Controls.Add(this.cmbSaleSort);
+ this.ucGroupBoxEx3.Controls.Add(this.label8);
+ this.ucGroupBoxEx3.Controls.Add(this.txtAddDays);
+ this.ucGroupBoxEx3.Controls.Add(this.label7);
this.ucGroupBoxEx3.Controls.Add(this.label6);
- this.ucGroupBoxEx3.Controls.Add(this.label5);
- this.ucGroupBoxEx3.Controls.Add(this.panelEx6);
- this.ucGroupBoxEx3.Controls.Add(this.btnClearDgv);
- this.ucGroupBoxEx3.Controls.Add(this.txtPageEnd);
- this.ucGroupBoxEx3.Controls.Add(this.txtFiltSaleNumLessThan);
+ this.ucGroupBoxEx3.Controls.Add(this.txtViewUv);
+ this.ucGroupBoxEx3.Controls.Add(this.btnBatchRealDel);
+ this.ucGroupBoxEx3.Controls.Add(this.btnBatchDel);
this.ucGroupBoxEx3.Controls.Add(this.label4);
- this.ucGroupBoxEx3.Controls.Add(this.btnFiltSelectLessThan);
- this.ucGroupBoxEx3.Controls.Add(this.txtFiltSaleNumMoreThan);
- this.ucGroupBoxEx3.Controls.Add(this.btnSearchProd);
- this.ucGroupBoxEx3.Controls.Add(this.cmbPreType);
- this.ucGroupBoxEx3.Controls.Add(this.btnFiltSelectMoreThan);
- this.ucGroupBoxEx3.Controls.Add(this.btnClearFilter);
- this.ucGroupBoxEx3.Controls.Add(this.label3);
- this.ucGroupBoxEx3.Controls.Add(this.label2);
- this.ucGroupBoxEx3.Location = new System.Drawing.Point(162, 2);
+ this.ucGroupBoxEx3.Controls.Add(this.txtFiltSaleNum);
+ this.ucGroupBoxEx3.Controls.Add(this.btnFiltSelect);
+ this.ucGroupBoxEx3.Controls.Add(this.btnStopUpDownOrDel);
+ this.ucGroupBoxEx3.Controls.Add(this.btnClearList);
+ this.ucGroupBoxEx3.Controls.Add(this.btnDown);
+ this.ucGroupBoxEx3.Location = new System.Drawing.Point(595, 2);
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
- this.ucGroupBoxEx3.Size = new System.Drawing.Size(357, 165);
+ this.ucGroupBoxEx3.Size = new System.Drawing.Size(910, 165);
this.ucGroupBoxEx3.TabIndex = 668;
this.ucGroupBoxEx3.TabStop = false;
- this.ucGroupBoxEx3.Text = "商品查询";
+ this.ucGroupBoxEx3.Text = "商品下架";
//
- // cmbSaleSort
+ // label8
//
- this.cmbSaleSort.FormattingEnabled = true;
- this.cmbSaleSort.Items.AddRange(new object[] {
- "",
- "降序",
- "升序"});
- this.cmbSaleSort.Location = new System.Drawing.Point(64, 60);
- this.cmbSaleSort.Name = "cmbSaleSort";
- this.cmbSaleSort.Size = new System.Drawing.Size(112, 25);
- this.cmbSaleSort.TabIndex = 869;
- this.cmbSaleSort.TextChanged += new System.EventHandler(this.cmbSaleSort_TextChanged);
+ this.label8.AutoSize = true;
+ this.label8.Location = new System.Drawing.Point(426, 34);
+ this.label8.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(20, 17);
+ this.label8.TabIndex = 912;
+ this.label8.Text = "天";
+ //
+ // txtAddDays
+ //
+ this.txtAddDays.Location = new System.Drawing.Point(393, 31);
+ this.txtAddDays.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
+ this.txtAddDays.Name = "txtAddDays";
+ this.txtAddDays.Size = new System.Drawing.Size(33, 23);
+ this.txtAddDays.TabIndex = 911;
+ this.txtAddDays.Text = "7";
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Location = new System.Drawing.Point(313, 34);
+ this.label7.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(80, 17);
+ this.label7.TabIndex = 910;
+ this.label7.Text = "上架时间大于";
//
// label6
//
this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(9, 64);
- this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label6.Location = new System.Drawing.Point(203, 34);
+ this.label6.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label6.Name = "label6";
- this.label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.label6.Size = new System.Drawing.Size(56, 17);
- this.label6.TabIndex = 868;
- this.label6.Text = "销量排序";
+ this.label6.Size = new System.Drawing.Size(68, 17);
+ this.label6.TabIndex = 891;
+ this.label6.Text = "曝光量低于";
//
- // label5
+ // txtViewUv
//
- this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(256, 28);
- this.label5.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(56, 17);
- this.label5.TabIndex = 844;
- this.label5.Text = "销量小于";
+ this.txtViewUv.Location = new System.Drawing.Point(271, 31);
+ this.txtViewUv.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
+ this.txtViewUv.Name = "txtViewUv";
+ this.txtViewUv.Size = new System.Drawing.Size(33, 23);
+ this.txtViewUv.TabIndex = 890;
+ this.txtViewUv.Text = "100";
//
- // panelEx6
+ // btnBatchRealDel
//
- this.panelEx6.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx6.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx6.Location = new System.Drawing.Point(288, 127);
- this.panelEx6.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
- this.panelEx6.Name = "panelEx6";
- this.panelEx6.Size = new System.Drawing.Size(58, 25);
- this.panelEx6.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx6.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx6.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx6.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx6.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx6.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx6.Style.GradientAngle = 90;
- this.panelEx6.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx6.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx6.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx6.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx6.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.panelEx6.TabIndex = 848;
- this.panelEx6.Text = "停止查询";
- this.panelEx6.Click += new System.EventHandler(this.btnStop_Click);
+ this.btnBatchRealDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnBatchRealDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnBatchRealDel.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnBatchRealDel.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnBatchRealDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnBatchRealDel.Location = new System.Drawing.Point(804, 91);
+ this.btnBatchRealDel.Name = "btnBatchRealDel";
+ this.btnBatchRealDel.Size = new System.Drawing.Size(84, 23);
+ this.btnBatchRealDel.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnBatchRealDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnBatchRealDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnBatchRealDel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnBatchRealDel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnBatchRealDel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnBatchRealDel.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnBatchRealDel.Style.GradientAngle = 90;
+ this.btnBatchRealDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnBatchRealDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnBatchRealDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnBatchRealDel.TabIndex = 865;
+ this.btnBatchRealDel.Text = "彻底刪除";
+ this.btnBatchRealDel.Click += new System.EventHandler(this.btnBatchRealDel_Click);
//
- // btnClearDgv
+ // btnBatchDel
//
- this.btnClearDgv.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnClearDgv.CanvasColor = System.Drawing.SystemColors.Control;
- this.btnClearDgv.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnClearDgv.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnClearDgv.Location = new System.Drawing.Point(12, 127);
- this.btnClearDgv.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
- this.btnClearDgv.Name = "btnClearDgv";
- this.btnClearDgv.Size = new System.Drawing.Size(85, 25);
- this.btnClearDgv.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnClearDgv.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnClearDgv.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnClearDgv.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btnClearDgv.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnClearDgv.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btnClearDgv.Style.GradientAngle = 90;
- this.btnClearDgv.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btnClearDgv.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnClearDgv.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnClearDgv.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnClearDgv.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnClearDgv.TabIndex = 612;
- this.btnClearDgv.Text = "清空列表选中";
- this.btnClearDgv.Click += new System.EventHandler(this.btnClearDgv_Click);
+ this.btnBatchDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnBatchDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnBatchDel.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnBatchDel.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnBatchDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnBatchDel.Location = new System.Drawing.Point(804, 61);
+ this.btnBatchDel.Name = "btnBatchDel";
+ this.btnBatchDel.Size = new System.Drawing.Size(84, 23);
+ this.btnBatchDel.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnBatchDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnBatchDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnBatchDel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnBatchDel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnBatchDel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnBatchDel.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnBatchDel.Style.GradientAngle = 90;
+ this.btnBatchDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnBatchDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnBatchDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnBatchDel.TabIndex = 817;
+ this.btnBatchDel.Text = "批量刪除";
+ this.btnBatchDel.Click += new System.EventHandler(this.btnBatchDel_Click);
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(96, 34);
+ this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(68, 17);
+ this.label4.TabIndex = 801;
+ this.label4.Text = "订单数低于";
+ //
+ // txtFiltSaleNum
+ //
+ this.txtFiltSaleNum.Location = new System.Drawing.Point(164, 31);
+ this.txtFiltSaleNum.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
+ this.txtFiltSaleNum.Name = "txtFiltSaleNum";
+ this.txtFiltSaleNum.Size = new System.Drawing.Size(33, 23);
+ this.txtFiltSaleNum.TabIndex = 795;
+ this.txtFiltSaleNum.Text = "1";
+ //
+ // btnFiltSelect
+ //
+ this.btnFiltSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnFiltSelect.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnFiltSelect.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnFiltSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnFiltSelect.Location = new System.Drawing.Point(32, 31);
+ this.btnFiltSelect.Name = "btnFiltSelect";
+ this.btnFiltSelect.Size = new System.Drawing.Size(62, 23);
+ this.btnFiltSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnFiltSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnFiltSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnFiltSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnFiltSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnFiltSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnFiltSelect.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnFiltSelect.Style.GradientAngle = 90;
+ this.btnFiltSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnFiltSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnFiltSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnFiltSelect.TabIndex = 794;
+ this.btnFiltSelect.Text = "批量选择";
+ this.btnFiltSelect.Click += new System.EventHandler(this.btnFiltSelect_Click);
+ //
+ // btnStopUpDownOrDel
+ //
+ this.btnStopUpDownOrDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnStopUpDownOrDel.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnStopUpDownOrDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnStopUpDownOrDel.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnStopUpDownOrDel.Location = new System.Drawing.Point(804, 121);
+ this.btnStopUpDownOrDel.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
+ this.btnStopUpDownOrDel.Name = "btnStopUpDownOrDel";
+ this.btnStopUpDownOrDel.Size = new System.Drawing.Size(84, 23);
+ this.btnStopUpDownOrDel.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStopUpDownOrDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnStopUpDownOrDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnStopUpDownOrDel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnStopUpDownOrDel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStopUpDownOrDel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnStopUpDownOrDel.Style.GradientAngle = 90;
+ this.btnStopUpDownOrDel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStopUpDownOrDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStopUpDownOrDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStopUpDownOrDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStopUpDownOrDel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnStopUpDownOrDel.TabIndex = 546;
+ this.btnStopUpDownOrDel.Text = "停止下/刪";
+ this.btnStopUpDownOrDel.Click += new System.EventHandler(this.btnStop_Click);
+ //
+ // btnClearList
+ //
+ this.btnClearList.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnClearList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnClearList.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnClearList.Location = new System.Drawing.Point(32, 68);
+ this.btnClearList.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
+ this.btnClearList.Name = "btnClearList";
+ this.btnClearList.Size = new System.Drawing.Size(84, 23);
+ this.btnClearList.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnClearList.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnClearList.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnClearList.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnClearList.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnClearList.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnClearList.Style.GradientAngle = 90;
+ this.btnClearList.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnClearList.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnClearList.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnClearList.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnClearList.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnClearList.TabIndex = 612;
+ this.btnClearList.Text = "清空列表选中";
+ this.btnClearList.Click += new System.EventHandler(this.btnClearDgv_Click);
+ //
+ // btnDown
+ //
+ this.btnDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnDown.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnDown.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnDown.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnDown.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnDown.Location = new System.Drawing.Point(804, 31);
+ this.btnDown.Name = "btnDown";
+ this.btnDown.Size = new System.Drawing.Size(84, 23);
+ this.btnDown.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnDown.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnDown.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnDown.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnDown.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnDown.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnDown.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnDown.Style.GradientAngle = 90;
+ this.btnDown.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnDown.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnDown.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnDown.TabIndex = 517;
+ this.btnDown.Text = "批量下架";
+ this.btnDown.Click += new System.EventHandler(this.btnDown_Click);
+ //
+ // ucGroupBoxEx4
+ //
+ this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | 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.label1);
+ this.ucGroupBoxEx4.Controls.Add(this.rb30);
+ this.ucGroupBoxEx4.Controls.Add(this.rb7);
+ this.ucGroupBoxEx4.Controls.Add(this.cmbOnSaleStatus);
+ this.ucGroupBoxEx4.Controls.Add(this.btnStopSearch);
+ this.ucGroupBoxEx4.Controls.Add(this.txtPageEnd);
+ this.ucGroupBoxEx4.Controls.Add(this.label2);
+ this.ucGroupBoxEx4.Controls.Add(this.btnClearFilter);
+ this.ucGroupBoxEx4.Controls.Add(this.btnSearchProd);
+ this.ucGroupBoxEx4.Controls.Add(this.label5);
+ this.ucGroupBoxEx4.Location = new System.Drawing.Point(186, 2);
+ this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
+ this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165);
+ this.ucGroupBoxEx4.TabIndex = 666;
+ this.ucGroupBoxEx4.TabStop = false;
+ this.ucGroupBoxEx4.Text = "商品流量查询";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(215, 29);
+ this.label1.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(56, 17);
+ this.label1.TabIndex = 829;
+ this.label1.Text = "查询天数";
+ this.label1.Visible = false;
+ //
+ // rb30
+ //
+ this.rb30.AutoSize = true;
+ this.rb30.Checked = true;
+ this.rb30.Location = new System.Drawing.Point(338, 27);
+ this.rb30.Name = "rb30";
+ this.rb30.Size = new System.Drawing.Size(52, 21);
+ this.rb30.TabIndex = 828;
+ this.rb30.TabStop = true;
+ this.rb30.Text = "30天";
+ this.rb30.UseVisualStyleBackColor = true;
+ this.rb30.Visible = false;
+ //
+ // rb7
+ //
+ this.rb7.AutoSize = true;
+ this.rb7.Location = new System.Drawing.Point(285, 27);
+ this.rb7.Name = "rb7";
+ this.rb7.Size = new System.Drawing.Size(45, 21);
+ this.rb7.TabIndex = 827;
+ this.rb7.Text = "7天";
+ this.rb7.UseVisualStyleBackColor = true;
+ this.rb7.Visible = false;
+ //
+ // cmbOnSaleStatus
+ //
+ this.cmbOnSaleStatus.FormattingEnabled = true;
+ this.cmbOnSaleStatus.Items.AddRange(new object[] {
+ "全部(在售和下架)",
+ "在售",
+ "下架",
+ "审核待处理",
+ "草稿箱",
+ "回收站"});
+ this.cmbOnSaleStatus.Location = new System.Drawing.Point(68, 59);
+ this.cmbOnSaleStatus.Name = "cmbOnSaleStatus";
+ this.cmbOnSaleStatus.Size = new System.Drawing.Size(134, 25);
+ this.cmbOnSaleStatus.TabIndex = 817;
+ this.cmbOnSaleStatus.Text = "在售";
+ this.cmbOnSaleStatus.SelectedIndexChanged += new System.EventHandler(this.cmbOnSaleStatus_SelectedIndexChanged);
+ this.cmbOnSaleStatus.TextChanged += new System.EventHandler(this.cmbOnSaleStatus_TextChanged);
+ //
+ // btnStopSearch
+ //
+ this.btnStopSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnStopSearch.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnStopSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnStopSearch.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnStopSearch.Location = new System.Drawing.Point(338, 127);
+ this.btnStopSearch.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
+ this.btnStopSearch.Name = "btnStopSearch";
+ this.btnStopSearch.Size = new System.Drawing.Size(58, 25);
+ this.btnStopSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStopSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnStopSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnStopSearch.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnStopSearch.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStopSearch.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnStopSearch.Style.GradientAngle = 90;
+ this.btnStopSearch.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStopSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStopSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStopSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStopSearch.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnStopSearch.TabIndex = 805;
+ this.btnStopSearch.Text = "停止查询";
+ this.btnStopSearch.Click += new System.EventHandler(this.btnStop_Click);
//
// txtPageEnd
//
this.txtPageEnd.Font = new System.Drawing.Font("微软雅黑", 10F);
- this.txtPageEnd.Location = new System.Drawing.Point(64, 24);
+ this.txtPageEnd.Location = new System.Drawing.Point(68, 25);
this.txtPageEnd.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
this.txtPageEnd.Name = "txtPageEnd";
- this.txtPageEnd.Size = new System.Drawing.Size(112, 25);
+ this.txtPageEnd.Size = new System.Drawing.Size(134, 25);
this.txtPageEnd.TabIndex = 792;
- this.txtPageEnd.Text = "999";
+ this.txtPageEnd.Text = "9999";
this.txtPageEnd.TextChanged += new System.EventHandler(this.txtPageEnd_TextChanged);
//
- // txtFiltSaleNumLessThan
+ // label2
//
- this.txtFiltSaleNumLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtFiltSaleNumLessThan.Location = new System.Drawing.Point(312, 25);
- this.txtFiltSaleNumLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
- this.txtFiltSaleNumLessThan.Name = "txtFiltSaleNumLessThan";
- this.txtFiltSaleNumLessThan.Size = new System.Drawing.Size(33, 23);
- this.txtFiltSaleNumLessThan.TabIndex = 843;
- this.txtFiltSaleNumLessThan.Text = "1";
- //
- // label4
- //
- this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(256, 64);
- this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(56, 17);
- this.label4.TabIndex = 801;
- this.label4.Text = "销量大于";
- //
- // btnFiltSelectLessThan
- //
- this.btnFiltSelectLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnFiltSelectLessThan.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnFiltSelectLessThan.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnFiltSelectLessThan.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnFiltSelectLessThan.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnFiltSelectLessThan.Location = new System.Drawing.Point(192, 24);
- this.btnFiltSelectLessThan.Name = "btnFiltSelectLessThan";
- this.btnFiltSelectLessThan.Size = new System.Drawing.Size(62, 25);
- this.btnFiltSelectLessThan.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnFiltSelectLessThan.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnFiltSelectLessThan.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnFiltSelectLessThan.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnFiltSelectLessThan.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnFiltSelectLessThan.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnFiltSelectLessThan.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnFiltSelectLessThan.Style.GradientAngle = 90;
- this.btnFiltSelectLessThan.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnFiltSelectLessThan.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnFiltSelectLessThan.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnFiltSelectLessThan.TabIndex = 842;
- this.btnFiltSelectLessThan.Text = "批量选择";
- this.btnFiltSelectLessThan.Click += new System.EventHandler(this.btnFiltSelectLessThan_Click);
- //
- // txtFiltSaleNumMoreThan
- //
- this.txtFiltSaleNumMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtFiltSaleNumMoreThan.Location = new System.Drawing.Point(312, 61);
- this.txtFiltSaleNumMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
- this.txtFiltSaleNumMoreThan.Name = "txtFiltSaleNumMoreThan";
- this.txtFiltSaleNumMoreThan.Size = new System.Drawing.Size(33, 23);
- this.txtFiltSaleNumMoreThan.TabIndex = 795;
- this.txtFiltSaleNumMoreThan.Text = "0";
- //
- // btnSearchProd
- //
- this.btnSearchProd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnSearchProd.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnSearchProd.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnSearchProd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnSearchProd.Location = new System.Drawing.Point(164, 127);
- this.btnSearchProd.Name = "btnSearchProd";
- this.btnSearchProd.Size = new System.Drawing.Size(58, 25);
- this.btnSearchProd.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSearchProd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSearchProd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSearchProd.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnSearchProd.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnSearchProd.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnSearchProd.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnSearchProd.Style.GradientAngle = 90;
- this.btnSearchProd.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSearchProd.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnSearchProd.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnSearchProd.TabIndex = 431;
- this.btnSearchProd.Text = "商品查询";
- this.btnSearchProd.Click += new System.EventHandler(this.btnSearchProd_Click);
- //
- // cmbPreType
- //
- this.cmbPreType.FormattingEnabled = true;
- this.cmbPreType.Items.AddRange(new object[] {
- "",
- "预售",
- "非预售"});
- this.cmbPreType.Location = new System.Drawing.Point(64, 95);
- this.cmbPreType.Name = "cmbPreType";
- this.cmbPreType.Size = new System.Drawing.Size(112, 25);
- this.cmbPreType.TabIndex = 807;
- this.cmbPreType.Visible = false;
- this.cmbPreType.SelectedIndexChanged += new System.EventHandler(this.cmbPreType_SelectedIndexChanged);
- //
- // btnFiltSelectMoreThan
- //
- this.btnFiltSelectMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnFiltSelectMoreThan.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnFiltSelectMoreThan.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnFiltSelectMoreThan.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnFiltSelectMoreThan.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnFiltSelectMoreThan.Location = new System.Drawing.Point(192, 60);
- this.btnFiltSelectMoreThan.Name = "btnFiltSelectMoreThan";
- this.btnFiltSelectMoreThan.Size = new System.Drawing.Size(62, 25);
- this.btnFiltSelectMoreThan.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnFiltSelectMoreThan.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnFiltSelectMoreThan.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnFiltSelectMoreThan.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnFiltSelectMoreThan.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnFiltSelectMoreThan.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnFiltSelectMoreThan.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnFiltSelectMoreThan.Style.GradientAngle = 90;
- this.btnFiltSelectMoreThan.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnFiltSelectMoreThan.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnFiltSelectMoreThan.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnFiltSelectMoreThan.TabIndex = 794;
- this.btnFiltSelectMoreThan.Text = "批量选择";
- this.btnFiltSelectMoreThan.Click += new System.EventHandler(this.btnFiltSelectMoreThan_Click);
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(13, 29);
+ this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label2.Name = "label2";
+ this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label2.Size = new System.Drawing.Size(56, 17);
+ this.label2.TabIndex = 793;
+ this.label2.Text = "查询页数";
//
// btnClearFilter
//
+ this.btnClearFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnClearFilter.CanvasColor = System.Drawing.SystemColors.Control;
this.btnClearFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnClearFilter.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnClearFilter.Location = new System.Drawing.Point(226, 127);
+ this.btnClearFilter.Location = new System.Drawing.Point(276, 127);
this.btnClearFilter.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
this.btnClearFilter.Name = "btnClearFilter";
this.btnClearFilter.Size = new System.Drawing.Size(58, 25);
@@ -444,104 +574,40 @@ namespace TemuKJD.WXForms.AdminForms
this.btnClearFilter.Text = "清空条件";
this.btnClearFilter.Click += new System.EventHandler(this.btnClearFilter_Click);
//
- // label3
+ // btnSearchProd
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(9, 99);
- this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
- this.label3.Name = "label3";
- this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.label3.Size = new System.Drawing.Size(56, 17);
- this.label3.TabIndex = 806;
- this.label3.Text = "预售状态";
- this.label3.Visible = false;
+ this.btnSearchProd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnSearchProd.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnSearchProd.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnSearchProd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnSearchProd.Location = new System.Drawing.Point(175, 127);
+ this.btnSearchProd.Name = "btnSearchProd";
+ this.btnSearchProd.Size = new System.Drawing.Size(96, 25);
+ this.btnSearchProd.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnSearchProd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSearchProd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSearchProd.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnSearchProd.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnSearchProd.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnSearchProd.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnSearchProd.Style.GradientAngle = 90;
+ this.btnSearchProd.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnSearchProd.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnSearchProd.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnSearchProd.TabIndex = 431;
+ this.btnSearchProd.Text = "商品流量查询";
+ this.btnSearchProd.Click += new System.EventHandler(this.btnSearchProd_Click);
//
- // label2
+ // label5
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(9, 28);
- this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
- this.label2.Name = "label2";
- this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.label2.Size = new System.Drawing.Size(56, 17);
- this.label2.TabIndex = 793;
- this.label2.Text = "查询页数";
- //
- // ucGroupBoxEx4
- //
- this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.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.chkFailDownProd);
- this.ucGroupBoxEx4.Controls.Add(this.btnPromotion);
- this.ucGroupBoxEx4.Controls.Add(this.panelEx2);
- this.ucGroupBoxEx4.Location = new System.Drawing.Point(518, 2);
- this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
- this.ucGroupBoxEx4.Size = new System.Drawing.Size(904, 165);
- this.ucGroupBoxEx4.TabIndex = 666;
- this.ucGroupBoxEx4.TabStop = false;
- this.ucGroupBoxEx4.Text = "商品回采";
- //
- // chkFailDownProd
- //
- this.chkFailDownProd.AutoSize = true;
- this.chkFailDownProd.Location = new System.Drawing.Point(24, 27);
- this.chkFailDownProd.Name = "chkFailDownProd";
- this.chkFailDownProd.Size = new System.Drawing.Size(183, 21);
- this.chkFailDownProd.TabIndex = 821;
- this.chkFailDownProd.Text = "如果同步操作失败则下架商品";
- this.chkFailDownProd.UseVisualStyleBackColor = true;
- //
- // btnPromotion
- //
- this.btnPromotion.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnPromotion.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnPromotion.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnPromotion.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPromotion.Location = new System.Drawing.Point(23, 61);
- this.btnPromotion.Name = "btnPromotion";
- this.btnPromotion.Size = new System.Drawing.Size(108, 25);
- this.btnPromotion.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnPromotion.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnPromotion.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnPromotion.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnPromotion.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnPromotion.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnPromotion.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnPromotion.Style.GradientAngle = 90;
- this.btnPromotion.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnPromotion.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnPromotion.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnPromotion.TabIndex = 521;
- this.btnPromotion.Text = "批量回采商品";
- this.btnPromotion.Click += new System.EventHandler(this.btnSync_Click);
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Location = new System.Drawing.Point(135, 61);
- this.panelEx2.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(58, 25);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx2.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx2.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.panelEx2.TabIndex = 805;
- this.panelEx2.Text = "停止操作";
- this.panelEx2.Click += new System.EventHandler(this.btnStop_Click);
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(13, 63);
+ this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label5.Name = "label5";
+ this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label5.Size = new System.Drawing.Size(56, 17);
+ this.label5.TabIndex = 818;
+ this.label5.Text = "商品状态";
//
// ucGroupBoxEx1
//
@@ -549,53 +615,26 @@ namespace TemuKJD.WXForms.AdminForms
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx1.Controls.Add(this.textBox2);
- this.ucGroupBoxEx1.Controls.Add(this.label1);
- this.ucGroupBoxEx1.Controls.Add(this.textBox1);
this.ucGroupBoxEx1.Controls.Add(this.btnSelectOffline);
- this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Controls.Add(this.btnSelectOnline);
- this.ucGroupBoxEx1.Controls.Add(this.btnAddUnSelect);
- this.ucGroupBoxEx1.Controls.Add(this.btnReverse);
- this.ucGroupBoxEx1.Controls.Add(this.btnAddSelect);
+ this.ucGroupBoxEx1.Controls.Add(this.cmbFilterShopGroup);
this.ucGroupBoxEx1.Controls.Add(this.btnEmptyShop);
+ this.ucGroupBoxEx1.Controls.Add(this.btnFilterShop);
+ this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
+ this.ucGroupBoxEx1.Controls.Add(this.btnReverse);
+ this.ucGroupBoxEx1.Controls.Add(this.btnAddUnSelect);
+ this.ucGroupBoxEx1.Controls.Add(this.cmbFilterShopNotes);
+ this.ucGroupBoxEx1.Controls.Add(this.btnAddSelect);
this.ucGroupBoxEx1.Controls.Add(this.label16);
this.ucGroupBoxEx1.Controls.Add(this.txtFilterShopName);
this.ucGroupBoxEx1.Controls.Add(this.label17);
- this.ucGroupBoxEx1.Location = new System.Drawing.Point(3, 2);
+ this.ucGroupBoxEx1.Controls.Add(this.label3);
+ this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
- this.ucGroupBoxEx1.Size = new System.Drawing.Size(160, 165);
+ this.ucGroupBoxEx1.Size = new System.Drawing.Size(185, 165);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "基础";
- //
- // textBox2
- //
- this.textBox2.Font = new System.Drawing.Font("微软雅黑", 10F);
- this.textBox2.Location = new System.Drawing.Point(39, 15);
- this.textBox2.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
- this.textBox2.Name = "textBox2";
- this.textBox2.Size = new System.Drawing.Size(113, 25);
- this.textBox2.TabIndex = 828;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(8, 19);
- this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(32, 17);
- this.label1.TabIndex = 829;
- this.label1.Text = "名称";
- //
- // textBox1
- //
- this.textBox1.Font = new System.Drawing.Font("微软雅黑", 10F);
- this.textBox1.Location = new System.Drawing.Point(38, 68);
- this.textBox1.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(113, 25);
- this.textBox1.TabIndex = 825;
+ this.ucGroupBoxEx1.Text = "店铺筛选";
//
// btnSelectOffline
//
@@ -603,9 +642,9 @@ namespace TemuKJD.WXForms.AdminForms
this.btnSelectOffline.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSelectOffline.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSelectOffline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnSelectOffline.Location = new System.Drawing.Point(61, 139);
+ this.btnSelectOffline.Location = new System.Drawing.Point(59, 139);
this.btnSelectOffline.Name = "btnSelectOffline";
- this.btnSelectOffline.Size = new System.Drawing.Size(50, 20);
+ this.btnSelectOffline.Size = new System.Drawing.Size(48, 18);
this.btnSelectOffline.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSelectOffline.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSelectOffline.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -621,31 +660,6 @@ namespace TemuKJD.WXForms.AdminForms
this.btnSelectOffline.Text = "选掉线";
this.btnSelectOffline.Click += new System.EventHandler(this.btnSelectOffline_Click);
//
- // btnRefreshShop
- //
- this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnRefreshShop.Location = new System.Drawing.Point(9, 95);
- this.btnRefreshShop.Name = "btnRefreshShop";
- this.btnRefreshShop.Size = new System.Drawing.Size(102, 20);
- this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnRefreshShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnRefreshShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnRefreshShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnRefreshShop.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnRefreshShop.Style.GradientAngle = 90;
- this.btnRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnRefreshShop.TabIndex = 431;
- this.btnRefreshShop.Text = "查询店铺";
- this.btnRefreshShop.Visible = false;
- this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
- //
// btnSelectOnline
//
this.btnSelectOnline.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -654,7 +668,7 @@ namespace TemuKJD.WXForms.AdminForms
this.btnSelectOnline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSelectOnline.Location = new System.Drawing.Point(9, 139);
this.btnSelectOnline.Name = "btnSelectOnline";
- this.btnSelectOnline.Size = new System.Drawing.Size(50, 20);
+ this.btnSelectOnline.Size = new System.Drawing.Size(48, 18);
this.btnSelectOnline.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSelectOnline.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSelectOnline.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -670,87 +684,28 @@ namespace TemuKJD.WXForms.AdminForms
this.btnSelectOnline.Text = "选在线";
this.btnSelectOnline.Click += new System.EventHandler(this.btnSelectOnline_Click);
//
- // btnAddUnSelect
+ // cmbFilterShopGroup
//
- this.btnAddUnSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnAddUnSelect.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnAddUnSelect.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnAddUnSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnAddUnSelect.Location = new System.Drawing.Point(81, 117);
- this.btnAddUnSelect.Name = "btnAddUnSelect";
- this.btnAddUnSelect.Size = new System.Drawing.Size(70, 20);
- this.btnAddUnSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnAddUnSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnAddUnSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnAddUnSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnAddUnSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnAddUnSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnAddUnSelect.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnAddUnSelect.Style.GradientAngle = 90;
- this.btnAddUnSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnAddUnSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnAddUnSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnAddUnSelect.TabIndex = 746;
- this.btnAddUnSelect.Text = "弃选条件";
- this.btnAddUnSelect.Click += new System.EventHandler(this.btnAddUnSelect_Click);
- //
- // btnReverse
- //
- this.btnReverse.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnReverse.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnReverse.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnReverse.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnReverse.Location = new System.Drawing.Point(113, 139);
- this.btnReverse.Name = "btnReverse";
- this.btnReverse.Size = new System.Drawing.Size(38, 20);
- this.btnReverse.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnReverse.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnReverse.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnReverse.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnReverse.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnReverse.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnReverse.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnReverse.Style.GradientAngle = 90;
- this.btnReverse.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnReverse.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnReverse.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnReverse.TabIndex = 726;
- this.btnReverse.Text = "反选";
- this.btnReverse.Click += new System.EventHandler(this.btnReverse_Click);
- //
- // btnAddSelect
- //
- this.btnAddSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnAddSelect.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnAddSelect.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnAddSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnAddSelect.Location = new System.Drawing.Point(9, 117);
- this.btnAddSelect.Name = "btnAddSelect";
- this.btnAddSelect.Size = new System.Drawing.Size(70, 20);
- this.btnAddSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnAddSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnAddSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnAddSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnAddSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnAddSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnAddSelect.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnAddSelect.Style.GradientAngle = 90;
- this.btnAddSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnAddSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnAddSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnAddSelect.TabIndex = 742;
- this.btnAddSelect.Text = "选中条件";
- this.btnAddSelect.Click += new System.EventHandler(this.btnAddSelect_Click);
+ this.cmbFilterShopGroup.DefaultText = "全部";
+ this.cmbFilterShopGroup.DropDownHeight = 1;
+ this.cmbFilterShopGroup.DropDownWidth = 1;
+ this.cmbFilterShopGroup.FormattingEnabled = true;
+ this.cmbFilterShopGroup.IntegralHeight = false;
+ this.cmbFilterShopGroup.Location = new System.Drawing.Point(38, 92);
+ this.cmbFilterShopGroup.Name = "cmbFilterShopGroup";
+ this.cmbFilterShopGroup.Size = new System.Drawing.Size(137, 25);
+ this.cmbFilterShopGroup.TabIndex = 829;
+ this.cmbFilterShopGroup.Text = "全部";
//
// btnEmptyShop
//
this.btnEmptyShop.CanvasColor = System.Drawing.SystemColors.Control;
this.btnEmptyShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnEmptyShop.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnEmptyShop.Location = new System.Drawing.Point(113, 95);
+ this.btnEmptyShop.Location = new System.Drawing.Point(143, 139);
this.btnEmptyShop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
this.btnEmptyShop.Name = "btnEmptyShop";
- this.btnEmptyShop.Size = new System.Drawing.Size(38, 20);
+ this.btnEmptyShop.Size = new System.Drawing.Size(32, 18);
this.btnEmptyShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmptyShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmptyShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
@@ -767,10 +722,143 @@ namespace TemuKJD.WXForms.AdminForms
this.btnEmptyShop.Text = "清空";
this.btnEmptyShop.Click += new System.EventHandler(this.btnEmptyShop_Click);
//
+ // btnFilterShop
+ //
+ this.btnFilterShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnFilterShop.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnFilterShop.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnFilterShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnFilterShop.Location = new System.Drawing.Point(143, 119);
+ this.btnFilterShop.Name = "btnFilterShop";
+ this.btnFilterShop.Size = new System.Drawing.Size(32, 18);
+ this.btnFilterShop.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnFilterShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnFilterShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnFilterShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnFilterShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnFilterShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnFilterShop.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnFilterShop.Style.GradientAngle = 90;
+ this.btnFilterShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnFilterShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnFilterShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnFilterShop.TabIndex = 703;
+ this.btnFilterShop.Text = "过滤";
+ this.btnFilterShop.Click += new System.EventHandler(this.btnFilterShop_Click);
+ //
+ // btnRefreshShop
+ //
+ this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnRefreshShop.Location = new System.Drawing.Point(9, 18);
+ this.btnRefreshShop.Name = "btnRefreshShop";
+ this.btnRefreshShop.Size = new System.Drawing.Size(166, 18);
+ this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRefreshShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnRefreshShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnRefreshShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnRefreshShop.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnRefreshShop.Style.GradientAngle = 90;
+ this.btnRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnRefreshShop.TabIndex = 431;
+ this.btnRefreshShop.Text = "刷新店铺";
+ this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
+ //
+ // btnReverse
+ //
+ this.btnReverse.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnReverse.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnReverse.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnReverse.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnReverse.Location = new System.Drawing.Point(109, 139);
+ this.btnReverse.Name = "btnReverse";
+ this.btnReverse.Size = new System.Drawing.Size(32, 18);
+ this.btnReverse.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnReverse.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnReverse.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnReverse.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnReverse.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnReverse.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnReverse.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnReverse.Style.GradientAngle = 90;
+ this.btnReverse.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnReverse.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnReverse.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnReverse.TabIndex = 726;
+ this.btnReverse.Text = "反选";
+ this.btnReverse.Click += new System.EventHandler(this.btnReverse_Click);
+ //
+ // btnAddUnSelect
+ //
+ this.btnAddUnSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnAddUnSelect.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAddUnSelect.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnAddUnSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnAddUnSelect.Location = new System.Drawing.Point(76, 119);
+ this.btnAddUnSelect.Name = "btnAddUnSelect";
+ this.btnAddUnSelect.Size = new System.Drawing.Size(65, 18);
+ this.btnAddUnSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddUnSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddUnSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddUnSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnAddUnSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnAddUnSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnAddUnSelect.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnAddUnSelect.Style.GradientAngle = 90;
+ this.btnAddUnSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddUnSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddUnSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddUnSelect.TabIndex = 746;
+ this.btnAddUnSelect.Text = "弃选条件";
+ this.btnAddUnSelect.Click += new System.EventHandler(this.btnAddUnSelect_Click);
+ //
+ // cmbFilterShopNotes
+ //
+ this.cmbFilterShopNotes.DefaultText = "全部";
+ this.cmbFilterShopNotes.DropDownHeight = 1;
+ this.cmbFilterShopNotes.DropDownWidth = 1;
+ this.cmbFilterShopNotes.FormattingEnabled = true;
+ this.cmbFilterShopNotes.IntegralHeight = false;
+ this.cmbFilterShopNotes.Location = new System.Drawing.Point(38, 65);
+ this.cmbFilterShopNotes.Name = "cmbFilterShopNotes";
+ this.cmbFilterShopNotes.Size = new System.Drawing.Size(137, 25);
+ this.cmbFilterShopNotes.TabIndex = 442;
+ this.cmbFilterShopNotes.Text = "全部";
+ //
+ // btnAddSelect
+ //
+ this.btnAddSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnAddSelect.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAddSelect.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnAddSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnAddSelect.Location = new System.Drawing.Point(9, 119);
+ this.btnAddSelect.Name = "btnAddSelect";
+ this.btnAddSelect.Size = new System.Drawing.Size(65, 18);
+ this.btnAddSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnAddSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnAddSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnAddSelect.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnAddSelect.Style.GradientAngle = 90;
+ this.btnAddSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddSelect.TabIndex = 742;
+ this.btnAddSelect.Text = "加选条件";
+ this.btnAddSelect.Click += new System.EventHandler(this.btnAddSelect_Click);
+ //
// label16
//
this.label16.AutoSize = true;
- this.label16.Location = new System.Drawing.Point(7, 72);
+ this.label16.Location = new System.Drawing.Point(7, 69);
this.label16.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(32, 17);
@@ -780,22 +868,32 @@ namespace TemuKJD.WXForms.AdminForms
// txtFilterShopName
//
this.txtFilterShopName.Font = new System.Drawing.Font("微软雅黑", 10F);
- this.txtFilterShopName.Location = new System.Drawing.Point(38, 41);
+ this.txtFilterShopName.Location = new System.Drawing.Point(38, 38);
this.txtFilterShopName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
this.txtFilterShopName.Name = "txtFilterShopName";
- this.txtFilterShopName.Size = new System.Drawing.Size(113, 25);
+ this.txtFilterShopName.Size = new System.Drawing.Size(137, 25);
this.txtFilterShopName.TabIndex = 653;
//
// label17
//
this.label17.AutoSize = true;
- this.label17.Location = new System.Drawing.Point(7, 45);
+ this.label17.Location = new System.Drawing.Point(7, 42);
this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(32, 17);
this.label17.TabIndex = 699;
this.label17.Text = "名称";
//
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(7, 96);
+ this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(32, 17);
+ this.label3.TabIndex = 831;
+ this.label3.Text = "分组";
+ //
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -811,7 +909,7 @@ namespace TemuKJD.WXForms.AdminForms
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
- this.splitContainer3.Size = new System.Drawing.Size(1424, 472);
+ this.splitContainer3.Size = new System.Drawing.Size(1507, 472);
this.splitContainer3.SplitterDistance = 442;
this.splitContainer3.TabIndex = 1;
//
@@ -824,47 +922,19 @@ namespace TemuKJD.WXForms.AdminForms
//
// splitContainer2.Panel1
//
- this.splitContainer2.Panel1.Controls.Add(this.btnRefreshAuthor);
this.splitContainer2.Panel1.Controls.Add(this.pbLoadingShop);
- this.splitContainer2.Panel1.Controls.Add(this.btnFilterShop);
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.pbLoading);
- this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload);
this.splitContainer2.Panel2.Controls.Add(this.dgvSelectProduct);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
- this.splitContainer2.Size = new System.Drawing.Size(1424, 442);
+ this.splitContainer2.Size = new System.Drawing.Size(1507, 442);
this.splitContainer2.SplitterDistance = 350;
this.splitContainer2.TabIndex = 0;
//
- // btnRefreshAuthor
- //
- this.btnRefreshAuthor.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnRefreshAuthor.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnRefreshAuthor.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnRefreshAuthor.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnRefreshAuthor.Location = new System.Drawing.Point(14, 36);
- this.btnRefreshAuthor.Name = "btnRefreshAuthor";
- this.btnRefreshAuthor.Size = new System.Drawing.Size(70, 20);
- this.btnRefreshAuthor.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnRefreshAuthor.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnRefreshAuthor.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnRefreshAuthor.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnRefreshAuthor.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnRefreshAuthor.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnRefreshAuthor.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnRefreshAuthor.Style.GradientAngle = 90;
- this.btnRefreshAuthor.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnRefreshAuthor.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnRefreshAuthor.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnRefreshAuthor.TabIndex = 800;
- this.btnRefreshAuthor.Text = "刷新授权";
- this.btnRefreshAuthor.Visible = false;
- this.btnRefreshAuthor.Click += new System.EventHandler(this.btnRefreshAuthor_Click);
- //
// pbLoadingShop
//
this.pbLoadingShop.Anchor = System.Windows.Forms.AnchorStyles.None;
@@ -877,47 +947,23 @@ namespace TemuKJD.WXForms.AdminForms
this.pbLoadingShop.TabStop = false;
this.pbLoadingShop.Visible = false;
//
- // btnFilterShop
- //
- this.btnFilterShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnFilterShop.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnFilterShop.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnFilterShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnFilterShop.Location = new System.Drawing.Point(13, 62);
- this.btnFilterShop.Name = "btnFilterShop";
- this.btnFilterShop.Size = new System.Drawing.Size(102, 20);
- this.btnFilterShop.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnFilterShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnFilterShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnFilterShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnFilterShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnFilterShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnFilterShop.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnFilterShop.Style.GradientAngle = 90;
- this.btnFilterShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnFilterShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnFilterShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnFilterShop.TabIndex = 703;
- this.btnFilterShop.Text = "过滤店铺";
- this.btnFilterShop.Click += new System.EventHandler(this.btnFilterShop_Click);
- //
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
- dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.AutoRowNumber = true;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -925,6 +971,7 @@ namespace TemuKJD.WXForms.AdminForms
this.colShopId,
this.colShopName,
this.colShopNotes,
+ this.colGroup,
this.colSelectProduct,
this.colLoginStatus,
this.colApi,
@@ -946,6 +993,7 @@ namespace TemuKJD.WXForms.AdminForms
//
// colSelect
//
+ this.colSelect.Frozen = true;
this.colSelect.HeaderText = "全选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
@@ -955,6 +1003,7 @@ namespace TemuKJD.WXForms.AdminForms
//
// colShopLoginName
//
+ this.colShopLoginName.Frozen = true;
this.colShopLoginName.HeaderText = "店铺登录名";
this.colShopLoginName.Name = "colShopLoginName";
this.colShopLoginName.ReadOnly = true;
@@ -962,6 +1011,7 @@ namespace TemuKJD.WXForms.AdminForms
//
// colShopId
//
+ this.colShopId.Frozen = true;
this.colShopId.HeaderText = "店铺Id";
this.colShopId.Name = "colShopId";
this.colShopId.ReadOnly = true;
@@ -971,6 +1021,7 @@ namespace TemuKJD.WXForms.AdminForms
// colShopName
//
this.colShopName.FillWeight = 150F;
+ this.colShopName.Frozen = true;
this.colShopName.HeaderText = "店铺名称";
this.colShopName.Name = "colShopName";
this.colShopName.ReadOnly = true;
@@ -982,7 +1033,14 @@ namespace TemuKJD.WXForms.AdminForms
this.colShopNotes.HeaderText = "备注";
this.colShopNotes.Name = "colShopNotes";
this.colShopNotes.ReadOnly = true;
- this.colShopNotes.Width = 75;
+ this.colShopNotes.Width = 66;
+ //
+ // colGroup
+ //
+ this.colGroup.HeaderText = "分组";
+ this.colGroup.Name = "colGroup";
+ this.colGroup.ReadOnly = true;
+ this.colGroup.Width = 66;
//
// colSelectProduct
//
@@ -1055,7 +1113,7 @@ namespace TemuKJD.WXForms.AdminForms
//
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
- this.pbLoading.Location = new System.Drawing.Point(510, 196);
+ this.pbLoading.Location = new System.Drawing.Point(551, 196);
this.pbLoading.Name = "pbLoading";
this.pbLoading.Size = new System.Drawing.Size(50, 50);
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -1063,34 +1121,23 @@ namespace TemuKJD.WXForms.AdminForms
this.pbLoading.TabStop = false;
this.pbLoading.Visible = false;
//
- // chkTestNoAuditUpload
- //
- this.chkTestNoAuditUpload.AutoSize = true;
- this.chkTestNoAuditUpload.Location = new System.Drawing.Point(1094, 35);
- this.chkTestNoAuditUpload.Name = "chkTestNoAuditUpload";
- this.chkTestNoAuditUpload.Size = new System.Drawing.Size(123, 21);
- this.chkTestNoAuditUpload.TabIndex = 779;
- this.chkTestNoAuditUpload.Text = "测试免审提交商品";
- this.chkTestNoAuditUpload.UseVisualStyleBackColor = true;
- this.chkTestNoAuditUpload.Visible = false;
- //
// dgvSelectProduct
//
this.dgvSelectProduct.AllowUserToAddRows = false;
this.dgvSelectProduct.AllowUserToDeleteRows = false;
- dataGridViewCellStyle11.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
+ dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvSelectProduct.AutoRowNumber = true;
this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White;
this.dgvSelectProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck,
@@ -1111,12 +1158,14 @@ namespace TemuKJD.WXForms.AdminForms
this.colExtCode,
this.colPrice,
this.colSoldNum,
+ this.colViewUv,
+ this.colPayOrderCnt,
this.colMsg,
+ this.colPreSale,
this.colNotes,
this.colUserNotes,
this.ColDelete,
this.colAddTime,
- this.colCouponNum,
this.colOpResult});
this.dgvSelectProduct.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvSelectProduct.Location = new System.Drawing.Point(0, 0);
@@ -1124,7 +1173,7 @@ namespace TemuKJD.WXForms.AdminForms
this.dgvSelectProduct.Name = "dgvSelectProduct";
this.dgvSelectProduct.ReadOnly = true;
this.dgvSelectProduct.RowTemplate.Height = 23;
- this.dgvSelectProduct.Size = new System.Drawing.Size(1066, 442);
+ this.dgvSelectProduct.Size = new System.Drawing.Size(1149, 442);
this.dgvSelectProduct.TabIndex = 187;
this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
//
@@ -1151,11 +1200,12 @@ namespace TemuKJD.WXForms.AdminForms
this.colSupplierId.HeaderText = "店铺Id";
this.colSupplierId.Name = "colSupplierId";
this.colSupplierId.ReadOnly = true;
+ this.colSupplierId.Visible = false;
//
// colSupplierName
//
- dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle13;
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
this.colSupplierName.Frozen = true;
this.colSupplierName.HeaderText = "店铺名称";
this.colSupplierName.Name = "colSupplierName";
@@ -1206,7 +1256,7 @@ namespace TemuKJD.WXForms.AdminForms
this.colDraftId.ReadOnly = true;
this.colDraftId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colDraftId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.colDraftId.Width = 120;
+ this.colDraftId.Width = 115;
//
// colImgUrl
//
@@ -1243,49 +1293,74 @@ namespace TemuKJD.WXForms.AdminForms
//
// colProductName
//
- dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colProductName.DefaultCellStyle = dataGridViewCellStyle14;
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
this.colProductName.HeaderText = "商品标题";
this.colProductName.Name = "colProductName";
this.colProductName.ReadOnly = true;
- this.colProductName.Width = 150;
+ this.colProductName.Width = 120;
//
// colProductCat
//
- dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colProductCat.DefaultCellStyle = dataGridViewCellStyle15;
+ dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colProductCat.DefaultCellStyle = dataGridViewCellStyle7;
this.colProductCat.HeaderText = "商品类目";
this.colProductCat.Name = "colProductCat";
this.colProductCat.ReadOnly = true;
- this.colProductCat.Width = 90;
+ this.colProductCat.Width = 80;
//
// colExtCode
//
this.colExtCode.HeaderText = "商品货号";
this.colExtCode.Name = "colExtCode";
this.colExtCode.ReadOnly = true;
- this.colExtCode.Width = 145;
+ this.colExtCode.Width = 140;
//
// colPrice
//
this.colPrice.HeaderText = "价格";
this.colPrice.Name = "colPrice";
this.colPrice.ReadOnly = true;
- this.colPrice.Width = 60;
+ this.colPrice.Width = 50;
//
// colSoldNum
//
this.colSoldNum.HeaderText = "销量";
this.colSoldNum.Name = "colSoldNum";
this.colSoldNum.ReadOnly = true;
- this.colSoldNum.Width = 60;
+ this.colSoldNum.Visible = false;
+ this.colSoldNum.Width = 50;
+ //
+ // colViewUv
+ //
+ this.colViewUv.HeaderText = "曝光人数";
+ this.colViewUv.Name = "colViewUv";
+ this.colViewUv.ReadOnly = true;
+ this.colViewUv.Width = 80;
+ //
+ // colPayOrderCnt
+ //
+ this.colPayOrderCnt.HeaderText = "支付订单数";
+ this.colPayOrderCnt.Name = "colPayOrderCnt";
+ this.colPayOrderCnt.ReadOnly = true;
+ this.colPayOrderCnt.Width = 90;
//
// colMsg
//
+ dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colMsg.DefaultCellStyle = dataGridViewCellStyle8;
this.colMsg.HeaderText = "状态";
this.colMsg.Name = "colMsg";
this.colMsg.ReadOnly = true;
//
+ // colPreSale
+ //
+ this.colPreSale.HeaderText = "预售";
+ this.colPreSale.Name = "colPreSale";
+ this.colPreSale.ReadOnly = true;
+ this.colPreSale.Visible = false;
+ this.colPreSale.Width = 50;
+ //
// colNotes
//
this.colNotes.HeaderText = "上传备注";
@@ -1312,33 +1387,25 @@ namespace TemuKJD.WXForms.AdminForms
//
// colAddTime
//
- dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colAddTime.DefaultCellStyle = dataGridViewCellStyle16;
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colAddTime.DefaultCellStyle = dataGridViewCellStyle9;
this.colAddTime.HeaderText = "上架时间";
this.colAddTime.Name = "colAddTime";
this.colAddTime.ReadOnly = true;
this.colAddTime.Width = 80;
//
- // colCouponNum
- //
- this.colCouponNum.HeaderText = "生效券数量";
- this.colCouponNum.Name = "colCouponNum";
- this.colCouponNum.ReadOnly = true;
- this.colCouponNum.Visible = false;
- this.colCouponNum.Width = 90;
- //
// colOpResult
//
this.colOpResult.HeaderText = "操作结果";
this.colOpResult.Name = "colOpResult";
this.colOpResult.ReadOnly = true;
- this.colOpResult.Width = 260;
+ this.colOpResult.Width = 240;
//
// splitContainer4
//
- this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Right;
+ this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer4.Location = new System.Drawing.Point(349, 0);
+ this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
@@ -1349,8 +1416,8 @@ namespace TemuKJD.WXForms.AdminForms
//
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
- this.splitContainer4.Size = new System.Drawing.Size(1075, 26);
- this.splitContainer4.SplitterDistance = 837;
+ this.splitContainer4.Size = new System.Drawing.Size(1507, 26);
+ this.splitContainer4.SplitterDistance = 816;
this.splitContainer4.TabIndex = 3;
//
// statusBar
@@ -1361,7 +1428,7 @@ namespace TemuKJD.WXForms.AdminForms
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(837, 26);
+ this.statusBar.Size = new System.Drawing.Size(816, 26);
this.statusBar.TabIndex = 2;
//
// btnClear
@@ -1371,7 +1438,7 @@ namespace TemuKJD.WXForms.AdminForms
this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnClear.Location = new System.Drawing.Point(22, 2);
+ this.btnClear.Location = new System.Drawing.Point(475, 2);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(90, 21);
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -1392,11 +1459,10 @@ namespace TemuKJD.WXForms.AdminForms
//
// panelEx1
//
- this.panelEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(115, 2);
+ this.panelEx1.Location = new System.Drawing.Point(568, 2);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(115, 21);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -1415,16 +1481,16 @@ namespace TemuKJD.WXForms.AdminForms
this.panelEx1.Text = "停止当前操作";
this.panelEx1.Visible = false;
//
- // WXProdComplateForm
+ // WXProdClearNoVisit260606
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(1424, 641);
+ this.ClientSize = new System.Drawing.Size(1507, 641);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.KeyPreview = true;
- this.Name = "WXProdComplateForm";
- this.Text = "商品回采 暂时作废";
+ this.Name = "WXProdClearNoVisit260606";
+ this.Text = "微信小店 - 清理无流量";
this.Load += new System.EventHandler(this.UserSelectDbProductForm_Load);
this.VisibleChanged += new System.EventHandler(this.UserSelectDbProductForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
@@ -1443,7 +1509,6 @@ namespace TemuKJD.WXForms.AdminForms
this.splitContainer3.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
- this.splitContainer2.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pbLoadingShop)).EndInit();
@@ -1461,6 +1526,7 @@ namespace TemuKJD.WXForms.AdminForms
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
+ private UserComponent.UcGroupBoxEx ucGroupBoxEx4;
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
private DevComponents.DotNetBar.PanelEx btnRefreshShop;
private System.Windows.Forms.SplitContainer splitContainer3;
@@ -1471,10 +1537,8 @@ namespace TemuKJD.WXForms.AdminForms
private UserControls.StatusBarUserControl statusBar;
private DevComponents.DotNetBar.PanelEx btnSearchProd;
private DevComponents.DotNetBar.PanelEx btnClearFilter;
- private DevComponents.DotNetBar.PanelEx btnClearDgv;
private DevComponents.DotNetBar.PanelEx btnClear;
private DevComponents.DotNetBar.PanelEx panelEx1;
- private UserComponent.UcCheckBox chkTestNoAuditUpload;
private System.Windows.Forms.PictureBox pbLoadingShop;
private System.Windows.Forms.PictureBox pbLoading;
private System.Windows.Forms.TextBox txtFilterShopName;
@@ -1482,17 +1546,39 @@ namespace TemuKJD.WXForms.AdminForms
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label label16;
private DevComponents.DotNetBar.PanelEx btnEmptyShop;
+ private UserComponent.UcComboBoxMutiSelect cmbFilterShopNotes;
private DevComponents.DotNetBar.PanelEx btnReverse;
private DevComponents.DotNetBar.PanelEx btnAddUnSelect;
private DevComponents.DotNetBar.PanelEx btnAddSelect;
private DevComponents.DotNetBar.PanelEx btnSelectOffline;
private DevComponents.DotNetBar.PanelEx btnSelectOnline;
- private DevComponents.DotNetBar.PanelEx btnRefreshAuthor;
+ private System.Windows.Forms.TextBox txtPageEnd;
+ private System.Windows.Forms.Label label2;
+ private DevComponents.DotNetBar.PanelEx btnStopSearch;
+ private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
+ private DevComponents.DotNetBar.PanelEx btnStopUpDownOrDel;
+ private DevComponents.DotNetBar.PanelEx btnClearList;
+ private DevComponents.DotNetBar.PanelEx btnDown;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.TextBox txtFiltSaleNum;
+ private DevComponents.DotNetBar.PanelEx btnFiltSelect;
+ private DevComponents.DotNetBar.PanelEx btnBatchDel;
+ private System.Windows.Forms.ComboBox cmbOnSaleStatus;
+ private System.Windows.Forms.Label label5;
+ private DevComponents.DotNetBar.PanelEx btnBatchRealDel;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.TextBox txtViewUv;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.RadioButton rb30;
+ private System.Windows.Forms.RadioButton rb7;
+ private UserComponent.UcComboBoxMutiSelect cmbFilterShopGroup;
+ private System.Windows.Forms.Label label3;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopNotes;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colGroup;
private System.Windows.Forms.DataGridViewLinkColumn colSelectProduct;
private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus;
private System.Windows.Forms.DataGridViewLinkColumn colApi;
@@ -1501,20 +1587,9 @@ namespace TemuKJD.WXForms.AdminForms
private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleNum;
private System.Windows.Forms.DataGridViewTextBoxColumn colRemaining;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
- private System.Windows.Forms.TextBox txtPageEnd;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ComboBox cmbPreType;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.TextBox txtFiltSaleNumMoreThan;
- private DevComponents.DotNetBar.PanelEx btnFiltSelectMoreThan;
- private DevComponents.DotNetBar.PanelEx panelEx6;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.TextBox txtFiltSaleNumLessThan;
- private DevComponents.DotNetBar.PanelEx btnFiltSelectLessThan;
- private System.Windows.Forms.ComboBox cmbSaleSort;
- private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.TextBox txtAddDays;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
private System.Windows.Forms.DataGridViewTextBoxColumn colSelectId;
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
@@ -1533,19 +1608,14 @@ namespace TemuKJD.WXForms.AdminForms
private System.Windows.Forms.DataGridViewTextBoxColumn colExtCode;
private System.Windows.Forms.DataGridViewTextBoxColumn colPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colSoldNum;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colViewUv;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colPayOrderCnt;
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colPreSale;
private System.Windows.Forms.DataGridViewTextBoxColumn colNotes;
private System.Windows.Forms.DataGridViewLinkColumn colUserNotes;
private System.Windows.Forms.DataGridViewLinkColumn ColDelete;
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
- private System.Windows.Forms.DataGridViewTextBoxColumn colCouponNum;
private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx4;
- private DevComponents.DotNetBar.PanelEx btnPromotion;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private UserComponent.UcCheckBox chkFailDownProd;
- private System.Windows.Forms.TextBox textBox1;
- private System.Windows.Forms.TextBox textBox2;
- private System.Windows.Forms.Label label1;
}
}
\ No newline at end of file
diff --git a/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.cs b/TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.cs
similarity index 51%
rename from TEMUKJD/WXForms/AdminForms/WXProdComplateForm.cs
rename to TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.cs
index ec592d2..389b4c8 100644
--- a/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.cs
@@ -29,28 +29,25 @@ using AllBase.Model.Result.WXResult;
using Newtonsoft.Json;
using NaiBa.Util;
using AllBase.Model.Config;
-using TemuKJD.WXForms.ProductForms;
+using TemuKJD.BLL.Wx;
-namespace TemuKJD.WXForms.AdminForms
+namespace TemuKJD.WXForms.ProductForms
{
- public partial class WXProdComplateForm : BaseForm
+ public partial class WXProdClearNoVisit260606 : BaseForm
{
int PageBegin = 1;
- int PageEnd = 999;
- string PreType = "";
+ int PageEnd = 1000;
+ string OnSaleStatus = "在售";
+
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
public bool IsLoadComplate { get; set; } = false;
- bool isInit = false;
+ bool isInit = false;
CheckBox chkSelectAll = null;
- ConcurrentList lstShopAuthInfo = new ConcurrentList();
ConcurrentList lstWXShopTokenInfo = new ConcurrentList();
- public NaiBa.Util.ConcurrentList lstTemuDBProductSelect = new NaiBa.Util.ConcurrentList();
- //public Dictionary> dicCheckedShopIdList = new Dictionary>();
public Dictionary dicCheckedShopId = new Dictionary();
public Dictionary dicShopUpload = new Dictionary();
- public string pdd_product_cates = "";
- public WXProdComplateForm()
+ public WXProdClearNoVisit260606()
{
InitializeComponent();
}
@@ -59,32 +56,17 @@ namespace TemuKJD.WXForms.AdminForms
{
this.splitContainer1.Dock = DockStyle.Fill;
- lstShopAuthInfo = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_shop_auth_list");
- if (lstShopAuthInfo == null)
- lstShopAuthInfo = new ConcurrentList();
-
lstWXShopTokenInfo = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_shop_token_list");
if (lstWXShopTokenInfo == null)
lstWXShopTokenInfo = new ConcurrentList();
- lstTemuDBProductSelect = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_db_prod_upload_list");
- if (lstTemuDBProductSelect == null)
- lstTemuDBProductSelect = new NaiBa.Util.ConcurrentList();
-
dicCheckedShopId = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_checked_shop_dic");
if (dicCheckedShopId == null)
dicCheckedShopId = new Dictionary();
- dicShopUpload = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_shop_upload_info");
- if (dicShopUpload == null)
- dicShopUpload = new Dictionary();
-
-
chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
dgvShop.Columns["colSelect"].HeaderText = "";
- //chkSelectAll.Width = chkSelectAll.Height = 13;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
- //chkSelectAll.Checked = true;
this.dgvSelectProduct.AddSelectorColumn("colCheck");
@@ -93,103 +75,9 @@ namespace TemuKJD.WXForms.AdminForms
dgvSelectProduct.Columns["colSkuFakeImg"].Visible = false;
-//#if DEBUG
- if (BaseClass.SaLevel == 1)
- {
- //txtIdFilter.Visible = true;
- //txtExtCodeFilter.Visible = true;
- //lblIdFilter.Visible = true;
- //lblExtCodeFilter.Visible = true;
- }
-//#endif
IsLoadComplate = true;
}
- private void btnRefreshAuthor_Click(object sender, EventArgs e)
- {
- updateAuthor(true);
- }
-
- ///
- /// 升级授权
- ///
- /// 今日取过的也取
- private void updateAuthor(bool idRefreshTodayHasGet = false)
- {
- this.pbLoadingShop.Visible = true;
- Task.Run(() =>
- {
- // 店铺Id
- var updateIds = dgvShop.Rows.Cast().Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
- var selectIds = dgvShop.Rows.Cast().Where(row
- => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
- if (idRefreshTodayHasGet == true)
- updateIds = selectIds;
-
- List tList = new List();
- if (idRefreshTodayHasGet)
- lstShopAuthInfo.RemoveAll(s => updateIds.Contains(s.ShopId));
- foreach (var shop in GlobalConfig.ShopLoginList.Where(s => updateIds.Contains(s.ShopId)))
- {
- Invoke(new Action(() => { BindShop(shop, selectIds, ""); }));
- var t = Task.Run(() =>
- {
- try
- {
- if (shop.LoginStatus != "登录成功")
- {
- Invoke(new Action(() => { BindShop(shop, selectIds, "店铺掉线"); }));
- return;
- }
-
- var authInfo = lstShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shop.ShopId);
- if (idRefreshTodayHasGet || authInfo == null || authInfo?.UpdateTime.Date != DateTime.Now.Date)
- {
- lstShopAuthInfo.RemoveAll(sa => sa.ShopId == shop.ShopId);
- var rst = WXUpload.GetApiServiceList(shop);
- if (!rst.Contains("\"code\":0"))
- {
- WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
- if (shop.LoginStatus != "登录成功")
- {
- Invoke(new Action(() => { BindShop(shop, selectIds, "店铺掉线"); }));
- return;
- }
-
- lstShopAuthInfo.Add(new AuthInfo() { ShopId = shop.ShopId, UpdateTime = DateTime.Now, ExpiresTime = DateTime.Now });
- Invoke(new Action(() => { BindShop(shop, selectIds, "授权查询失败"); }));
- return;
- }
-
- foreach (var itemObj in JsonHelper.JObjectParse(rst)["itemList"])
- {
- // 找到了指定服务
- if (itemObj["serviceName"].ParseToString() == "店统领供应链-商品管理")
- {
- var expiresTick = itemObj["expireTime"].ParseToLong();
- lstShopAuthInfo.Add(new AuthInfo() { ShopId = shop.ShopId, UpdateTime = DateTime.Now, ExpiresTime = BaseClass.StampToDateTime(expiresTick.ParseToInt()) });
- Invoke(new Action(() => { BindShop(shop, selectIds, "已查询"); }));
- return;
- }
- }
- // 没找到指定服务
- lstShopAuthInfo.Add(new AuthInfo() { ShopId = shop.ShopId, UpdateTime = DateTime.Now, ExpiresTime = DateTime.Now });
- Invoke(new Action(() => { BindShop(shop, selectIds, "已查询"); }));
- }
- }
- catch (Exception ex)
- {
- }
- });
- tList.Add(t);
- while (tList.Where(ta => !ta.IsFaulted && !ta.IsCompleted).Count() >= 20) { Thread.Sleep(100); }
- }
- while (tList.Where(ta => !ta.IsFaulted && !ta.IsCompleted).Count() >= 1) { Thread.Sleep(100); }
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_shop_auth_list", lstShopAuthInfo);
- Invoke(new Action(() => { pbLoadingShop.Visible = false; }));
- });
- }
-
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
{
if (!chkSelectAll.Checked)
@@ -205,7 +93,7 @@ namespace TemuKJD.WXForms.AdminForms
foreach (DataGridViewRow row in dgvShop.Rows)
{
//if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
- if(row.Visible == true)
+ if (row.Visible == true)
row.Cells["colSelect"].Value = true;
}
}
@@ -221,32 +109,18 @@ namespace TemuKJD.WXForms.AdminForms
{
pbLoadingShop.Visible = true;
RefreshShopLogin();
+ pbLoadingShop.Visible = false;
}
private void UserSelectDbProductForm_VisibleChanged(object sender, EventArgs e)
{
if (Visible == true)
{
- //RefreshShopLogin();
+ RefreshShopLogin();
//updateAuthor();
if (!isInit)
{
- Task.Run(() =>
- {
- foreach (var shop in GlobalConfig.ShopLoginList)
- {
- //if (shop.LoginStatus == "登录成功")
- //{
- // var rst = WXPreSale.scanProductPreview(shop);
- // if (!rst.Contains("\"code\":0") && !rst.Contains("\"success\":true"))
- // {
- // WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
- // }
- //}
- }
-
- });
}
isInit = true;
@@ -272,27 +146,32 @@ namespace TemuKJD.WXForms.AdminForms
if (!string.IsNullOrEmpty(shopEntity.ShopId))
BindShop(shopEntity, selectIds);
}
- //cmbFilterShopNotes.Items.Clear();
- ////cmbFilterShopNotes.Items.Add("");
- //foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
- //{
- // cmbFilterShopNotes.Items.Add(note);
- //}
- textBox1.Text = "";
+ cmbFilterShopNotes.Items.Clear();
+ foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
+ {
+ cmbFilterShopNotes.Items.Add(note);
+ }
+ cmbFilterShopGroup.Items.Clear();
+ foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
+ {
+ cmbFilterShopGroup.Items.Add(note);
+ }
}
private void BindShop(ShopLoginInfo shopEntity, List selectShopId = null, string msg = "")
{
if (shopEntity == null)
return;
+ if (shopEntity.is_point_shop_expire)
+ return;
if (selectShopId == null)
selectShopId = new List();
bool canUse = shopEntity.LoginStatus == "登录成功";
//canUse = true; // 内部库不需要校验登录状态
- var row = dgvShop.Rows.Cast().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId);
+ var rows = dgvShop.Rows.Cast().Where(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId).ToList();
var day = DateTime.Now.ToString("yyyyMMdd").ParseToInt();
- if (row == null)
+ if (rows.Count == 0)
{
this.dgvShop.Rows.Add(
//!isInit || (selectShopId.Contains(shopEntity.ShopId) && canUse),
@@ -301,35 +180,39 @@ namespace TemuKJD.WXForms.AdminForms
shopEntity.ShopId,
shopEntity.ShopAccount,
shopEntity.Notes,
+ shopEntity.GroupName,
"选择商品",
canUse ? "在线" : "掉线",
- lstShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shopEntity.ShopId)?.ExpiresTime > DateTime.Now.AddMinutes(5) ? "可用" : "过期",
+ GlobalConfig.lstWxShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shopEntity.ShopId)?.ExpiresTime > DateTime.Now.AddMinutes(5) ? "可用" : "过期",
canUse,
- dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].DicDayUploadCount.ContainsKey(day) ?
+ dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].DicDayUploadCount.ContainsKey(day) ?
dicShopUpload[shopEntity.ShopId].DicDayUploadCount[day] : 0,
dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].OnSaleRefreshDay == DateTime.Now.ToString("yyyyMMdd").ParseToInt() ?
dicShopUpload[shopEntity.ShopId].OnSaleCount : 0,
shopEntity.AddProductRemaining,
- "",
msg
);
}
else
{
- row.Cells["colSelect"].Value = !isInit || (selectShopId.Contains(shopEntity.ShopId) && canUse);
- row.Cells["colShopLoginName"].Value = shopEntity.LoginName;
- row.Cells["colShopName"].Value = shopEntity.ShopAccount;
- row.Cells["colShopNotes"].Value = shopEntity.Notes;
- row.Cells["colLoginStatus"].Value = canUse ? "在线" : "掉线";
- row.Cells["colLoginStatus"].Style.ForeColor = canUse ? Color.Green : Color.Red;
- row.Cells["colCanUse"].Value = canUse;
- row.Cells["colApi"].Value = lstShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shopEntity.ShopId)?.ExpiresTime > DateTime.Now.AddMinutes(5) ? "可用" : "过期";
- row.Cells["colRemaining"].Value = shopEntity.AddProductRemaining;
- row.Cells["colUploadCount"].Value = dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].DicDayUploadCount.ContainsKey(day) ?
- dicShopUpload[shopEntity.ShopId].DicDayUploadCount[day] : 0;
- row.Cells["colOnSaleNum"].Value = dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].OnSaleRefreshDay == DateTime.Now.ToString("yyyyMMdd").ParseToInt() ?
- dicShopUpload[shopEntity.ShopId].OnSaleCount : 0;
- row.Cells["colMessage"].Value = msg;
+ foreach (var row in rows)
+ {
+ row.Cells["colSelect"].Value = !isInit || (selectShopId.Contains(shopEntity.ShopId) && canUse);
+ row.Cells["colShopLoginName"].Value = shopEntity.LoginName;
+ row.Cells["colShopName"].Value = shopEntity.ShopAccount;
+ row.Cells["colShopNotes"].Value = shopEntity.Notes;
+ row.Cells["colGroup"].Value = shopEntity.GroupName;
+ row.Cells["colLoginStatus"].Value = canUse ? "在线" : "掉线";
+ row.Cells["colLoginStatus"].Style.ForeColor = canUse ? Color.Green : Color.Red;
+ row.Cells["colCanUse"].Value = canUse;
+ row.Cells["colApi"].Value = GlobalConfig.lstWxShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shopEntity.ShopId)?.ExpiresTime > DateTime.Now.AddMinutes(5) ? "可用" : "过期";
+ row.Cells["colRemaining"].Value = shopEntity.AddProductRemaining;
+ row.Cells["colUploadCount"].Value = dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].DicDayUploadCount.ContainsKey(day) ?
+ dicShopUpload[shopEntity.ShopId].DicDayUploadCount[day] : 0;
+ row.Cells["colOnSaleNum"].Value = dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].OnSaleRefreshDay == DateTime.Now.ToString("yyyyMMdd").ParseToInt() ?
+ dicShopUpload[shopEntity.ShopId].OnSaleCount : 0;
+ row.Cells["colMessage"].Value = msg;
+ }
}
displayAuthStatus(shopEntity);
@@ -389,8 +272,9 @@ namespace TemuKJD.WXForms.AdminForms
{
if (WXShopListForm.Instance == null)
WXShopListForm.Instance = new WXShopListForm();
- WXAdminShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
- WXAdminShopLoginForm shopLoginForm = new WXAdminShopLoginForm(shop);
+ WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
+ WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
+ //shopLoginForm.prodUserSelectForm = this;
if (shop.LoginStatus != "登录成功")
{
shopLoginForm.openType = EnumOpenType.login;
@@ -407,7 +291,7 @@ namespace TemuKJD.WXForms.AdminForms
break;
case "colApi":
{
- WXAdminShopLoginForm shopLoginForm = new WXAdminShopLoginForm(shop);
+ WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
shopLoginForm.openType = EnumOpenType.manage;
shopLoginForm.WindowState = FormWindowState.Maximized;
shopLoginForm.InitUrl = "https://store.weixin.qq.com/shop/servicemarket/detail?serviceId=3984039898079707139";
@@ -434,7 +318,6 @@ namespace TemuKJD.WXForms.AdminForms
return;
string headerText = dgvSelectProduct.Columns[e.ColumnIndex].HeaderText;
var dbId = dgvSelectProduct.Rows[e.RowIndex].Cells["colSelectId"].Value.ParseToString();
- var dbProduct = lstTemuDBProductSelect.FirstOrDefault(p => p.id.ToString() == dbId);
var shopId = dgvSelectProduct.Rows[e.RowIndex].Cells["colSupplierId"].Value.ParseToString();
var draftId = dgvSelectProduct.Rows[e.RowIndex].Cells["colDraftId"].Value.ParseToString();
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
@@ -445,7 +328,7 @@ namespace TemuKJD.WXForms.AdminForms
break;
case "登录":
{
- WXAdminShopLoginForm shopLoginForm = new WXAdminShopLoginForm(shop);
+ WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
//shopLoginForm.prodUserSelectForm = this;
shopLoginForm.openType = EnumOpenType.login;
shopLoginForm.ShowDialog();
@@ -454,7 +337,7 @@ namespace TemuKJD.WXForms.AdminForms
break;
case "进店":
{
- WXAdminShopLoginForm shopLoginForm = new WXAdminShopLoginForm(shop);
+ WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
if (shop.LoginStatus == "登录成功")
{
@@ -490,9 +373,9 @@ namespace TemuKJD.WXForms.AdminForms
break;
}
}
-
+
private void btnStop_Click(object sender, EventArgs e)
- {
+ {
if (this.cancellationTokenSource != null)
this.cancellationTokenSource.Cancel();
}
@@ -503,19 +386,20 @@ namespace TemuKJD.WXForms.AdminForms
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
if (shopIdLst.Count <= 0)
{
- BaseMsgForm.ShowError("未勾选上传店铺!");
+ BaseMsgForm.ShowError("未勾选查询店铺!");
return;
}
btnSearchProd.Enabled = false;
pbLoading.Visible = true;
+ if (cancellationTokenSource != null)
+ cancellationTokenSource.Cancel();
cancellationTokenSource = new CancellationTokenSource();
dgvSelectProduct.Rows.Clear();
- dgvSelectProduct.Columns["colCouponNum"].Visible = false;
Task.Run(() =>
{
- GetProduct(shopIdLst);
+ GetViewUvAndProduct(shopIdLst);
Invoke(new Action(() =>
- {
+ {
this.statusBar.lblTaskStatus.Text = "商品查询完毕";
BaseMsgForm.ShowInfo("商品查询完毕");
pbLoading.Visible = false;
@@ -524,12 +408,12 @@ namespace TemuKJD.WXForms.AdminForms
}, cancellationTokenSource.Token);
}
- void GetProduct(List shopIdLst)
+ void GetViewUvAndProduct(List shopIdLst)
{
List shopLst = GlobalConfig.ShopLoginList.Where(s => shopIdLst.Contains(s.ShopId)).ToList();
- foreach(var shop in shopLst)
+ foreach (var shop in shopLst)
{
- if(cancellationTokenSource.IsCancellationRequested)
+ if (cancellationTokenSource.IsCancellationRequested)
break;
if (shop.LoginStatus != "登录成功")
@@ -539,7 +423,7 @@ namespace TemuKJD.WXForms.AdminForms
int page = PageBegin - 1;
int totalPage = 1;
- int pageSize = 50;
+ int pageSize = 10;
string nextKey = "";
while (page < totalPage && page < PageEnd)
{
@@ -548,64 +432,110 @@ namespace TemuKJD.WXForms.AdminForms
if (cancellationTokenSource.IsCancellationRequested)
break;
- string getProdOnSaleRst = "";
+ long endMs = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date) - 1;
+ long startMs = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date.AddDays(-30));
+ int dateRange = 30;
+ if (rb7.Checked)
+ {
+ endMs = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date) - 1;
+ startMs = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date.AddDays(-7));
+ dateRange = 7;
+ }
+ pageSize = 10;
+ var result = WxPlatformRecommendProdManage.getPlatformRecommend(shop, startMs, endMs, page, pageSize, dateRange);
+ if (!result.Contains("\"code\":0"))
+ {
+ ShowShopError(shop, result);
+ break;
+ }
+ totalPage = Math.Ceiling(BaseRegex.GetIntJson(ref result, "list_total") * 1m / pageSize).ParseToInt();
+ List recommendProds = new List();
+ try
+ {
+ var jArr = JsonHelper.JObjectParse(result)["data"]["data"]["list"];
+ recommendProds = JsonHelper.DeserializeJsonToList(JsonHelper.SerializeObject(jArr));
+ }
+ catch (Exception ex)
+ {
+ ShowShopError(shop, ex.Message);
+ break;
+ }
+ Thread.Sleep(Randomx.GetId(500, 1500));
- if (string.IsNullOrEmpty(PreType) && sortType == null)
- getProdOnSaleRst = WXPreSale.scanProductPreview(shop, page, nextKey, pageSize);
- else
- getProdOnSaleRst = WXPreSale.searchProduct(shop, page, null, pageSize, sortType);
+ string prodIds = string.Join(",", recommendProds.Select(r => r.product_id));
+ string getProdOnSaleRst = "";
+ int onSaleStatusCode = -1;
+ if (OnSaleStatus == "在售")
+ onSaleStatusCode = 5;
+ else if (OnSaleStatus == "下架")
+ onSaleStatusCode = 11;
+ else if (OnSaleStatus == "审核待处理")
+ onSaleStatusCode = 3;
+ else if (OnSaleStatus == "草稿箱")
+ onSaleStatusCode = 1;
+ else if (OnSaleStatus == "回收站")
+ onSaleStatusCode = 6;
+
+ pageSize = 20;
+ string spuIds = string.Join(",", recommendProds.Select(s => s.product_id).ToList());
+ getProdOnSaleRst = WXClearNoVisit260606.searchProduct(shop, 1, pageSize, spuIds, onSaleStatusCode);
Thread.Sleep(Randomx.GetId(50, 100));
if (!getProdOnSaleRst.Contains("\"success\":true"))
{
- var error = BaseRegex.GetStringJson(ref getProdOnSaleRst, "msg");
- if (string.IsNullOrEmpty(error))
- error = getProdOnSaleRst;
-
- WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
- if (shop.LoginStatus != "登录成功")
- {
- Invoke(new Action(() => { BindShop(shop, shopIdLst, "店铺掉线"); }));
- }
-
- var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
- Invoke(new Action(() => {
- if (shopRow != null)
- {
- shopRow.Cells["colOpResult"].Value = error;
- }
- }));
+ ShowShopError(shop, getProdOnSaleRst);
break;
}
try
{
var prodObjs = JsonHelper.JObjectParse(getProdOnSaleRst);
- if (page == 1 || 1 == 1)
- {
- var totalNum = prodObjs["totalNum"].ParseToInt();
- totalPage = Math.Ceiling(1m * totalNum / pageSize).ParseToInt();
- }
- nextKey = prodObjs["nextKey"].ParseToString();
+ // 按商品id查询不需要
+ //if (page == 1 || 1 == 1)
+ //{
+ // var totalNum = prodObjs["totalNum"].ParseToInt();
+ // totalPage = Math.Ceiling(1m * totalNum / pageSize).ParseToInt();
+ //}
+ //nextKey = prodObjs["nextKey"].ParseToString();
Invoke(new Action(() =>
{
this.pbLoading.Visible = true;
this.statusBar.lblTaskStatus.Text = "正在查询店铺:" + shop.ShopAccount + " " + page + "/" + Math.Min(PageEnd, totalPage);
- //this.statusBar.pgbTaskProgress.Maximum = lstTemuDBProductSelect.Count;
- //this.statusBar.UpdateProgressBar(0);
}));
foreach (JObject prod in prodObjs["productList"])
{
var pStr = JsonHelper.SerializeObject(prod);
- Invoke(new Action(() =>
+ Invoke(new Action(() =>
{
decimal? price = null;
- try { price = prod["skuList"][0]["price"].ParseToDecimal() / 100; } catch { }
+ try { price = prod["skuList"]?[0]["price"].ParseToDecimal() / 100; } catch { }
var prodId = prod["productId"].ParseToString();
if (dgvSelectProduct.Rows.Cast().Any(r => r.Cells["colDraftId"].ParseToString() == prodId))
{
-
+
}
-
+ string StatusStr = "其他";
+ if (prod["status"].ParseToInt() == 5)
+ StatusStr = "在售";
+ if (prod["status"].ParseToInt() == 11)
+ StatusStr = "下架";
+ if (prod["status"].ParseToInt() == 0)
+ {
+ StatusStr = "草稿箱";
+ if (prod["editStatus"].ParseToInt() == 3)
+ StatusStr = "审核待处理";
+ }
+ if (prod["status"].ParseToInt() == 6)
+ StatusStr = "回收站";
+ var Limit1 = pStr.Contains("同款/高度相似商品") ? "\r\n上架相似品" : "";
+ //var Limit2 = BaseRegex.GetStringJson(ref pStr, "secondLevelLabelName").ParseToString().Length > 0 ? "\r\n命中低风险规则上架" : "";
+ var Limit2 = BaseRegex.GetStringJson(ref pStr, "secondLevelLabelName").ParseToString().Length > 0 ? "\r\n低风险规则上架" : "";
+ StatusStr += Limit1 + Limit2;
+
+ var spuId = prod["productId"].ParseToString();
+ var recommendProd = recommendProds.FirstOrDefault(r => r.product_id == prod["productId"].ParseToString());
+ if (recommendProd == null)
+ recommendProd = new WXPlatformRecommendProdInfo();
+
var rowIndex = this.dgvSelectProduct.Rows.Add(
false,
"",
@@ -621,27 +551,39 @@ namespace TemuKJD.WXForms.AdminForms
"", // 替换图地址
null, // 替换图
prod["title"].ParseToString(), // 用户端显示商品原名
- (prod["recommendCategory"].IsJTokenNullOrEmpty() || prod["recommendCategory"]["categoryNames"].IsJTokenNullOrEmpty()) ?
+ (prod["recommendCategory"].IsJTokenNullOrEmpty() || prod["recommendCategory"]["categoryNames"].IsJTokenNullOrEmpty()) ?
"" : string.Join(" >> ", prod["recommendCategory"]["categoryNames"].Select(s => s.ParseToString())), // 类目名称
prod["spuCode"].ParseToString(),
- //price,
- prod["price"].ParseToDecimal() * 0.01m,
- prod["soldNum"].ParseToInt(),
- "在售" + (prod["presaleTag"].ParseToInt() == 1 ? "[预售]" : ""),
+ prod["price"].ParseToDecimal() * 0.01m, // 价格
+ prod["soldNum"].ParseToInt(), // 销量
+ recommendProd.product_view_uv,
+ recommendProd.pay_order_cnt,
+ StatusStr,
+ prod["presaleTag"].ParseToInt() == 1 ? "[预售]" : "", // 预售
"", // 备注
- "",
+ "", // 操作结果
"删除",
BaseClass.StampToDateTime(prod["lastEditDraftTime"].ParseToInt()).ToString("yy-MM-dd HH:mm"),
"");
dgvSelectProduct.Rows[rowIndex].Height = 60;
- dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Style.ForeColor = dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString().Contains("预售") ? Color.Orange : Color.Blue;
+ Color color = Color.Red;
+ if (dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString() == "在售")
+ color = Color.Blue;
+ if (dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString() == "下架")
+ color = Color.Purple;
+ if (dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString() == "草稿箱")
+ color = Color.DarkOrange;
+ if (dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString() == "回收站")
+ color = Color.Gray;
+ dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Style.ForeColor = color;
+ dgvSelectProduct.Rows[rowIndex].Cells["colPreSale"].Style.ForeColor = dgvSelectProduct.Rows[rowIndex].Cells["colPreSale"].Value.ParseToString().Contains("预售") ? Color.Green : Color.Blue;
}));
}
}
catch (Exception ex)
{
-
+
}
}
}
@@ -665,19 +607,24 @@ namespace TemuKJD.WXForms.AdminForms
private void btnClearFilter_Click(object sender, EventArgs e)
{
- txtFiltSaleNumMoreThan.Text = "0";
- txtFiltSaleNumLessThan.Text = "1";
+ cmbOnSaleStatus.Text = "在售";
+ txtPageEnd.Text = "9999";
}
private void btnFilterShop_Click(object sender, EventArgs e)
{
- foreach(DataGridViewRow row in dgvShop.Rows)
- {
- string notes = textBox1.Text.Trim().Trim(';');
- if (notes == "全部")
- notes = "";
- List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+ string notes = cmbFilterShopNotes.Text.Trim().Trim(';');
+ if (notes == "全部")
+ notes = "";
+ List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+ string group = cmbFilterShopGroup.Text.Trim().Trim(';');
+ if (group == "全部")
+ group = "";
+ List groupLst = group.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
if (!row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim()))
{
row.Visible = false;
@@ -690,6 +637,12 @@ namespace TemuKJD.WXForms.AdminForms
row.Cells["colSelect"].Value = false;
continue;
}
+ if (!string.IsNullOrWhiteSpace(group) && !groupLst.Contains(row.Cells["colGroup"].Value.ParseToString()))
+ {
+ row.Visible = false;
+ row.Cells["colSelect"].Value = false;
+ continue;
+ }
row.Visible = true;
}
}
@@ -697,13 +650,14 @@ namespace TemuKJD.WXForms.AdminForms
private void btnEmptyShop_Click(object sender, EventArgs e)
{
txtFilterShopName.Text = "";
- textBox1.Text = "";
+ cmbFilterShopNotes.Text = "全部";
+ cmbFilterShopGroup.Text = "全部";
btnFilterShop_Click(null, null);
}
private void btnReverse_Click(object sender, EventArgs e)
{
- foreach(DataGridViewRow row in dgvShop.Rows)
+ foreach (DataGridViewRow row in dgvShop.Rows)
{
if (row.Visible == true)
row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool();
@@ -712,41 +666,57 @@ namespace TemuKJD.WXForms.AdminForms
private void btnAddSelect_Click(object sender, EventArgs e)
{
- string notes = textBox1.Text.Trim().Trim(';');
+ string notes = cmbFilterShopNotes.Text.Trim().Trim(';');
if (notes == "全部")
notes = "";
List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+ string group = cmbFilterShopGroup.Text.Trim().Trim(';');
+ if (group == "全部")
+ group = "";
+ List groupLst = group.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+
foreach (DataGridViewRow row in dgvShop.Rows)
{
- if (row.Visible == true)
- {
- if (row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim()) &&
- (string.IsNullOrWhiteSpace(notes) || notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString())))
- {
- row.Cells["colSelect"].Value = true;
- }
- }
+ if (row.Visible == false)
+ continue;
+
+ if (!row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim()))
+ continue;
+ if (!string.IsNullOrWhiteSpace(notes) && !notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString()))
+ continue;
+ if (!string.IsNullOrWhiteSpace(group) && !groupLst.Contains(row.Cells["colGroup"].Value.ParseToString()))
+ continue;
+
+ row.Cells["colSelect"].Value = true;
}
}
private void btnAddUnSelect_Click(object sender, EventArgs e)
{
- string notes = textBox1.Text.Trim().Trim(';');
+ string notes = cmbFilterShopNotes.Text.Trim().Trim(';');
if (notes == "全部")
notes = "";
List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+ string group = cmbFilterShopGroup.Text.Trim().Trim(';');
+ if (group == "全部")
+ group = "";
+ List groupLst = group.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+
foreach (DataGridViewRow row in dgvShop.Rows)
{
- if (row.Visible == true)
- {
- if (row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim()) &&
- (string.IsNullOrWhiteSpace(notes) || notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString())))
- {
- row.Cells["colSelect"].Value = false;
- }
- }
+ if (row.Visible == false)
+ continue;
+
+ if (!row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim()))
+ continue;
+ if (!string.IsNullOrWhiteSpace(notes) && !notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString()))
+ continue;
+ if (!string.IsNullOrWhiteSpace(group) && !groupLst.Contains(row.Cells["colGroup"].Value.ParseToString()))
+ continue;
+
+ row.Cells["colSelect"].Value = false;
}
}
@@ -791,36 +761,7 @@ namespace TemuKJD.WXForms.AdminForms
PageEnd = txtPageEnd.Text.ParseToInt();
}
- private void cmbPreType_SelectedIndexChanged(object sender, EventArgs e)
- {
- PreType = cmbPreType.Text.Trim();
- }
-
- private void btnFiltSelectMoreThan_Click(object sender, EventArgs e)
- {
- foreach(DataGridViewRow row in dgvSelectProduct.Rows)
- {
- if (row.Cells["colSoldNum"].Value.ParseToInt() > txtFiltSaleNumMoreThan.Text.Trim().ParseToInt())
- row.Cells["colCheck"].Value = true;
- else
- row.Cells["colCheck"].Value = false;
- }
- }
-
- private void btnFiltSelectLessThan_Click(object sender, EventArgs e)
- {
- foreach (DataGridViewRow row in dgvSelectProduct.Rows)
- {
- if (row.Cells["colSoldNum"].Value.ParseToInt() >= txtFiltSaleNumLessThan.Text.Trim().ParseToInt())
- row.Cells["colCheck"].Value = false;
- else
- row.Cells["colCheck"].Value = true;
- }
- }
-
- decimal productPriceValue = 0;
-
- private void btnEndCoupon_Click(object sender, EventArgs e)
+ private void btnDown_Click(object sender, EventArgs e)
{
var rowLst = dgvSelectProduct.Rows.Cast().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
if (rowLst.Count <= 0)
@@ -828,205 +769,52 @@ namespace TemuKJD.WXForms.AdminForms
BaseMsgForm.ShowError("请勾选需要操作的商品!");
return;
}
-
- this.pbLoading.Visible = true;
- cancellationTokenSource = new CancellationTokenSource();
- dgvSelectProduct.Columns["colCouponNum"].HeaderText = "生效券数量";
- dgvSelectProduct.Columns["colCouponNum"].Visible = true;
- Task.Run(() =>
+ if (rowLst.Any(r => r.Cells["colMsg"].Value.ParseToString().Contains("在售") == false))
{
- EndProdCoupon(rowLst);
- Invoke(new Action(() =>
- {
- this.statusBar.lblTaskStatus.Text = "优惠券作废删除完毕";
- BaseMsgForm.ShowInfo("优惠券作废删除完毕");
- this.pbLoading.Visible = false;
- }));
- }, cancellationTokenSource.Token);
- }
- void EndProdCoupon(List rowLst)
- {
- Invoke(new Action(() =>
- {
- this.pbLoading.Visible = true;
- this.statusBar.lblTaskStatus.Text = "正在作废删除" + "...".Substring(0, DateTime.Now.Second % 4);
- this.statusBar.pgbTaskProgress.Maximum = rowLst.Count;
- this.statusBar.UpdateProgressBar(0);
- }));
-
- foreach (var row in rowLst)
- {
- if (cancellationTokenSource.IsCancellationRequested)
- break;
-
- Invoke(new Action(() =>
- {
- this.statusBar.lblTaskStatus.Text = "正在作废删除" + "...".Substring(0, DateTime.Now.Second % 4);
- this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1);
- row.Cells["colOpResult"].Value = "";
- row.Cells["colCouponNum"].Value = "";
- }));
-
- var prodId = row.Cells["colDraftId"].Value.ParseToString();
- var shopId = row.Cells["colSupplierId"].Value.ParseToString();
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
- if (shop == null)
- {
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "店铺不存在";
- }));
- continue;
- }
- if (shop.LoginStatus != "登录成功")
- {
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "店铺掉线";
- }));
- continue;
- }
-
- var searchCouponRst = WxCoupon.WxSearchCoupon(shop, prodId);
- Thread.Sleep(Randomx.GetId(500, 1000));
- if (searchCouponRst.Contains("biz magic invalid"))
- {
- WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
- }
- if (!searchCouponRst.Contains("\"success\":true") && !searchCouponRst.Contains("\"code\":0"))
- {
- var errmsg = BaseRegex.GetStringJson(ref searchCouponRst, "msg");
- if (string.IsNullOrWhiteSpace(errmsg))
- errmsg = searchCouponRst;
-
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = errmsg;
- }));
- continue;
- }
-
- if (searchCouponRst.Contains("\"code\":0"))
- {
- var totalNum = BaseRegex.GetStringJson(ref searchCouponRst, "totalNum");
- Invoke(new Action(() =>
- {
- row.Cells["colCouponNum"].Value = totalNum;
- }));
- if (totalNum == "0")
- {
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "商品无专属优惠券,跳过";
- }));
- continue;
- }
- try
- {
- var couponLst = JsonHelper.DeserializeJsonToList(JsonHelper.JObjectParse(searchCouponRst)["coupons"].ToString());
- string errMsg = "";
- foreach (var coupon in couponLst)
- {
- var endRst = WxCoupon.WxEndCoupon(shop, coupon.couponKey.couponId.ParseToString());
- Thread.Sleep(Randomx.GetId(100, 300));
- if (!endRst.Contains("\"code\":0"))
- {
- var err = BaseRegex.GetStringJson(ref endRst, "msg");
- if (string.IsNullOrWhiteSpace(err))
- err = endRst;
- errMsg += coupon.couponKey.couponId + " " + err + " \r\n";
- continue;
- }
- var delRst = WxCoupon.WxDelCoupon(shop, coupon.couponKey.couponId.ParseToString());
- Thread.Sleep(Randomx.GetId(100, 300));
- if (!delRst.Contains("\"code\":0"))
- {
- var err = BaseRegex.GetStringJson(ref delRst, "msg");
- if (string.IsNullOrWhiteSpace(err))
- err = delRst;
- errMsg += coupon.couponKey.couponId + " " + err + " \r\n";
- continue;
- }
- }
- if (!errMsg.IsNullOrEmpty())
- {
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "作废删除失败 " + errMsg;
- }));
- }
- else
- {
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "作废删除成功";
- }));
- }
- }
- catch (Exception ex)
- {
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "作废删除失败 优惠券格式转换失败";
- }));
- }
- }
- }
- }
-
- int? sortType = null;
- private void cmbSaleSort_TextChanged(object sender, EventArgs e)
- {
- sortType = null;
- if (cmbSaleSort.Text == "降序")
- sortType = 6;
- if (cmbSaleSort.Text == "升序")
- sortType = 5;
- }
-
- private void btnSync_Click(object sender, EventArgs e)
- {
- var rowLst = dgvSelectProduct.Rows.Cast().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
- if (rowLst.Count <= 0)
- {
- BaseMsgForm.ShowError("请勾选需要操作的商品!");
+ BaseMsgForm.ShowError("只能勾选在售商品!");
return;
}
+ if (BaseMsgForm.ShowConfirm("确认要下架商品吗?下架后如需上架需要消耗审核次数!").DialogResult != DialogResult.OK)
+ return;
+
this.pbLoading.Visible = true;
+ if (cancellationTokenSource != null && !cancellationTokenSource.IsCancellationRequested)
+ cancellationTokenSource.Cancel();
cancellationTokenSource = new CancellationTokenSource();
- dgvSelectProduct.Columns["colCouponNum"].Visible = false;
Task.Run(() =>
{
- SyncProd(rowLst);
+ SetProdDown(rowLst);
Invoke(new Action(() =>
{
- if(cancellationTokenSource.IsCancellationRequested)
+ if (cancellationTokenSource.IsCancellationRequested)
{
- this.statusBar.lblTaskStatus.Text = "商品同步中断";
- BaseMsgForm.ShowInfo("商品同步中断");
+ this.statusBar.lblTaskStatus.Text = "商品下架中断";
+ BaseMsgForm.ShowInfo("商品下架中断");
}
else
{
- this.statusBar.lblTaskStatus.Text = "商品同步完毕";
- BaseMsgForm.ShowInfo("商品同步完毕");
+ this.statusBar.lblTaskStatus.Text = "商品下架完毕";
+ BaseMsgForm.ShowInfo("商品下架完毕");
}
+
this.pbLoading.Visible = false;
}));
}, cancellationTokenSource.Token);
+
}
- void SyncProd(List rowLst)
+ void SetProdDown(List rowLst)
{
Invoke(new Action(() =>
{
this.pbLoading.Visible = true;
- this.statusBar.lblTaskStatus.Text = "正在同步" + "...".Substring(0, DateTime.Now.Second % 4);
- this.statusBar.pgbTaskProgress.Maximum = rowLst.Count;
+ this.statusBar.lblTaskStatus.Text = "正在下架" + "...".Substring(0, DateTime.Now.Second % 4);
+ this.statusBar.pgbTaskProgress.Maximum = dgvSelectProduct.Rows.Count;
this.statusBar.UpdateProgressBar(0);
}));
- while(rowLst.Count > 0)
+ while (rowLst.Count > 0)
{
if (cancellationTokenSource.IsCancellationRequested)
break;
@@ -1035,13 +823,14 @@ namespace TemuKJD.WXForms.AdminForms
var shopId = r0.Cells["colSupplierId"].Value.ParseToString();
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
var rowLstTmp = rowLst.Where(r => r.Cells["colSupplierId"].Value.ParseToString() == shopId).Take(50).ToList();
- foreach(var r in rowLstTmp)
+
+ foreach (var r in rowLstTmp)
{
rowLst.Remove(r);
Invoke(new Action(() =>
{
- this.statusBar.lblTaskStatus.Text = "正在同步" + "...".Substring(0, DateTime.Now.Second % 4);
+ this.statusBar.lblTaskStatus.Text = "正在下架" + "...".Substring(0, DateTime.Now.Second % 4);
this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1);
r.Cells["colOpResult"].Value = "";
}));
@@ -1070,168 +859,519 @@ namespace TemuKJD.WXForms.AdminForms
}
List prodIdLst = new List();
- List extCodeLst = new List();
foreach (var row in rowLstTmp)
{
var prodId = row.Cells["colDraftId"].Value.ParseToString();
- var extCode = row.Cells["colExtCode"].Value.ParseToString();
prodIdLst.Add(prodId);
- extCodeLst.Add(extCode);
}
- // 查询商品库有没有
- var url = BaseClass.BuildPDDObjString("product/get_product_spu_id_list");
- Thread.Sleep(500);
- var data = UserLogin.GetSignaturex();
- data += "&search_secret_spu_ids=" + string.Join(",", extCodeLst.Distinct());
- data += "&wx_safe_status=" + "安全商品,未校验";
- var result = GetHtml.PostUtf8(url, data);
- if (!result.Contains("\"code\":200"))
- result = GetHtml.PostUtf8(url, data);
- if (!result.Contains("\"code\":200"))
+ var downProdRst = WXClearNoVisit260606.DownProd(shop, string.Join(",", prodIdLst));
+ Thread.Sleep(Randomx.GetId(1000, 1500));
+ if (!downProdRst.Contains("\"code\":0"))
{
- var errMsg = BaseRegex.GetStringJson(ref result, "msg");
- if (string.IsNullOrEmpty(errMsg))
- errMsg = result;
+ if (downProdRst.Contains("biz magic invalid"))
+ {
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var row in rowLstTmp)
+ {
+ row.Cells["colOpResult"].Value = "店铺掉线";
+ }
+ }));
+ continue;
+ }
+ }
+
+ var errmsg = BaseRegex.GetStringJson(ref downProdRst, "msg");
+ if (string.IsNullOrWhiteSpace(errmsg))
+ errmsg = downProdRst;
+
Invoke(new Action(() =>
{
foreach (var row in rowLstTmp)
{
- row.Cells["colOpResult"].Value = "查询商品错误:" + errMsg;
+ if (downProdRst.Contains("\"code\":108002"))
+ {
+ var prodId = row.Cells["colDraftId"].Value.ParseToString();
+ if (downProdRst.Contains(prodId))
+ row.Cells["colOpResult"].Value = "下架失败,请检查商品是否已下架或不存在";
+ else
+ row.Cells["colOpResult"].Value = "下架成功";
+ }
+ else
+ row.Cells["colOpResult"].Value = errmsg;
+ }
+ }));
+ }
+
+ if (downProdRst.Contains("\"code\":0"))
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var row in rowLstTmp)
+ {
+ row.Cells["colOpResult"].Value = "下架成功";
+ }
+ }));
+ }
+ }
+ }
+
+ private void btnFiltSelect_Click(object sender, EventArgs e)
+ {
+ foreach (DataGridViewRow row in dgvSelectProduct.Rows)
+ {
+ row.Cells["colCheck"].Value = true;
+
+ if (row.Cells["colViewUv"].Value.ParseToInt() >= txtViewUv.Text.Trim().ParseToInt())
+ row.Cells["colCheck"].Value = false;
+
+ if (row.Cells["colPayOrderCnt"].Value.ParseToInt() >= txtFiltSaleNum.Text.Trim().ParseToInt())
+ row.Cells["colCheck"].Value = false;
+
+ if (row.Cells["colAddTime"].Value.ParseToString().ParseToDateTime() >= DateTime.Now.AddDays(-txtAddDays.Text.Trim().ParseToInt()))
+ row.Cells["colCheck"].Value = false;
+ }
+ }
+
+ private void btnSelectLimit1_Click(object sender, EventArgs e)
+ {
+ foreach (DataGridViewRow row in dgvSelectProduct.Rows)
+ {
+ if (row.Cells["colMsg"].Value.ParseToString().Contains("上架相似品"))
+ row.Cells["colCheck"].Value = true;
+ else
+ row.Cells["colCheck"].Value = false;
+ }
+ }
+
+ private void btnSelectLimit2_Click(object sender, EventArgs e)
+ {
+ foreach (DataGridViewRow row in dgvSelectProduct.Rows)
+ {
+ if (row.Cells["colMsg"].Value.ParseToString().Contains("低风险规则上架"))
+ row.Cells["colCheck"].Value = true;
+ else
+ row.Cells["colCheck"].Value = false;
+ }
+ }
+
+ private void cmbOnSaleStatus_SelectedIndexChanged(object sender, EventArgs e)
+ {
+
+ }
+
+ private void cmbOnSaleStatus_TextChanged(object sender, EventArgs e)
+ {
+ OnSaleStatus = cmbOnSaleStatus.Text;
+ }
+
+ private void btnBatchDel_Click(object sender, EventArgs e)
+ {
+ var rowLst = dgvSelectProduct.Rows.Cast().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
+ if (rowLst.Count <= 0)
+ {
+ BaseMsgForm.ShowError("请勾选需要操作的商品!");
+ return;
+ }
+
+ if (BaseMsgForm.ShowConfirm("确认要删除商品吗?删除后如需上架需要消耗审核次数!").DialogResult != DialogResult.OK)
+ return;
+
+ this.pbLoading.Visible = true;
+ if (cancellationTokenSource != null && !cancellationTokenSource.IsCancellationRequested)
+ cancellationTokenSource.Cancel();
+ cancellationTokenSource = new CancellationTokenSource();
+ Task.Run(() =>
+ {
+ SetProdDel(rowLst);
+ Invoke(new Action(() =>
+ {
+ if (cancellationTokenSource.IsCancellationRequested)
+ {
+ this.statusBar.lblTaskStatus.Text = "商品删除中断";
+ BaseMsgForm.ShowInfo("商品删除中断");
+ }
+ else
+ {
+ this.statusBar.lblTaskStatus.Text = "商品删除完毕";
+ BaseMsgForm.ShowInfo("商品删除完毕");
+ }
+
+ this.pbLoading.Visible = false;
+ }));
+ }, cancellationTokenSource.Token);
+
+ }
+
+ void SetProdDel(List rowLst)
+ {
+ Invoke(new Action(() =>
+ {
+ this.pbLoading.Visible = true;
+ this.statusBar.lblTaskStatus.Text = "正在删除" + "...".Substring(0, DateTime.Now.Second % 4);
+ this.statusBar.pgbTaskProgress.Maximum = dgvSelectProduct.Rows.Count;
+ this.statusBar.UpdateProgressBar(0);
+ }));
+
+ while (rowLst.Count > 0)
+ {
+ if (cancellationTokenSource.IsCancellationRequested)
+ break;
+
+ var r0 = rowLst.FirstOrDefault();
+ var shopId = r0.Cells["colSupplierId"].Value.ParseToString();
+ var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
+ var rowLstTmp = rowLst.Where(r => r.Cells["colSupplierId"].Value.ParseToString() == shopId).Take(50).ToList();
+
+ foreach (var r in rowLstTmp)
+ {
+ rowLst.Remove(r);
+
+ Invoke(new Action(() =>
+ {
+ this.statusBar.lblTaskStatus.Text = "正在删除" + "...".Substring(0, DateTime.Now.Second % 4);
+ this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1);
+ r.Cells["colOpResult"].Value = "";
+ }));
+ }
+ if (shop == null)
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var r in rowLstTmp)
+ {
+ r.Cells["colOpResult"].Value = "店铺不存在";
+ }
+ }));
+ continue;
+ }
+ if (shop.LoginStatus != "登录成功")
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var r in rowLstTmp)
+ {
+ r.Cells["colOpResult"].Value = "店铺掉线";
}
}));
continue;
}
- List complateDbProdExistLst = JsonHelper.DeserializeJsonToList(JsonHelper.JObjectParse(result)["data"].ParseToString());
+ List prodIdLst = new List();
foreach (var row in rowLstTmp)
{
- var extCode = row.Cells["colExtCode"].Value.ParseToString();
- // 是否是库存商品
- var needDownProdLst = complateDbProdExistLst.Where(pe => pe.secret_spu_id == extCode).ToList();
- if (needDownProdLst.Count == 0)
+ var prodId = row.Cells["colDraftId"].Value.ParseToString();
+ prodIdLst.Add(prodId);
+ }
+
+ var downProdRst = WXClearNoVisit260606.DelProd(shop, string.Join(",", prodIdLst));
+ Thread.Sleep(Randomx.GetId(1000, 1500));
+ if (!downProdRst.Contains("\"code\":0"))
+ {
+ if (downProdRst.Contains("biz magic invalid"))
{
- Invoke(new Action(() =>
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
{
- row.Cells["colOpResult"].Value = "数据库内没有找到该商品,跳过回采";
- }));
- continue;
- }
- else
- {
- if (needDownProdLst.Count > 0)
- {
-
- }
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "正在回采商品";
- }));
- Thread.Sleep(200);
-
- var prodId = row.Cells["colDraftId"].Value.ParseToString();
- var getEditProdRst = WXUpload.getEditProductV2(shop, prodId);
- Thread.Sleep(Randomx.GetId(50, 100));
- if (getEditProdRst.Contains("biz magic invalid"))
- {
- WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
- }
- if (!getEditProdRst.Contains("\"success\":true"))
- {
- var errmsg = BaseRegex.GetStringJson(ref getEditProdRst, "msg");
- if (string.IsNullOrWhiteSpace(errmsg))
- errmsg = getEditProdRst;
- if (shop.LoginStatus != "登录成功")
- errmsg = "店铺掉线";
-
Invoke(new Action(() =>
{
- row.Cells["colOpResult"].Value = errmsg;
+ foreach (var row in rowLstTmp)
+ {
+ row.Cells["colOpResult"].Value = "店铺掉线";
+ }
}));
continue;
}
+ }
- try
+ var errmsg = BaseRegex.GetStringJson(ref downProdRst, "msg");
+ if (string.IsNullOrWhiteSpace(errmsg))
+ errmsg = downProdRst;
+
+ Invoke(new Action(() =>
+ {
+ foreach (var row in rowLstTmp)
{
- WXGetEditProductInfoLite wxProdInfoLite = JsonHelper.DeserializeJsonToObject(getEditProdRst);
- var secret_spu_id = wxProdInfoLite.product.info.spuCode;
- if (!string.IsNullOrWhiteSpace(secret_spu_id))
+ if (downProdRst.Contains("\"code\":108002"))
{
-
+ var prodId = row.Cells["colDraftId"].Value.ParseToString();
+ if (downProdRst.Contains(prodId))
+ row.Cells["colOpResult"].Value = "删除失败,请检查商品是否已删除";
+ else
+ row.Cells["colOpResult"].Value = "删除成功";
}
else
- {
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "商品回采失败:外部编码采集失败,跳过";
- }));
- continue;
- }
+ row.Cells["colOpResult"].Value = errmsg;
}
- catch (Exception ex)
+ }));
+ }
+
+ if (downProdRst.Contains("\"code\":0"))
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var row in rowLstTmp)
{
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "商品回采失败:" + ex.Message;
- }));
- continue;
+ row.Cells["colOpResult"].Value = "删除成功";
}
-
- //DateTime tickTime = DateTime.Now.AddSeconds(0 - Randomx.GetId(10, 30));
- //int time1 = BaseClass.DateTimeToTimestampSeconds(tickTime) - Randomx.GetId(80, 150);
- //int time2 = BaseClass.DateTimeToTimestampSeconds(tickTime);
-
- //// 提交免审修改(实际生效接口)
- //var listingAuditFreeRst = WXUpload.listingAuditFree(shop, productJson, prodId, time1, time2);
- //System.Threading.Thread.Sleep(Randomx.GetId(150, 500));
- //if (!listingAuditFreeRst.Contains("\"code\":0"))
- //{
- // var errmsg = BaseRegex.GetStringJson(ref listingAuditFreeRst, "msg");
- // if (string.IsNullOrWhiteSpace(errmsg))
- // errmsg = listingAuditFreeRst;
- // if (errmsg.Contains("107232"))
- // errmsg = "图片不清晰禁止操作";
- // if (errmsg.Contains("9401083"))
- // errmsg = "店铺处罚中禁止操作";
-
- // if (getEditProdRst.Contains("biz magic invalid"))
- // {
- // WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
- // Invoke(new Action(() =>
- // {
- // row.Cells["colOpResult"].Value = "店铺掉线";
- // }));
- // continue;
- // }
-
- // if (chkFailDownProd.Checked)
- // {
- // var downProd = WXPreSale.DownProd(shop, prodId);
- // System.Threading.Thread.Sleep(Randomx.GetId(50, 100));
- // if (downProd.Contains("\"code\":0"))
- // {
- // errmsg += " 商品同步失败 已下架";
- // }
- // else
- // errmsg += " 商品同步失败 下架失败";
- // }
- // Invoke(new Action(() =>
- // {
- // row.Cells["colOpResult"].Value = errmsg;
- // }));
- // continue;
- //}
- var complateRst = "";
- if (complateRst.Contains("\"code\":0"))
- {
- Invoke(new Action(() =>
- {
- row.Cells["colOpResult"].Value = "商品回采成功";
- }));
- }
- }
+ }));
}
}
}
+
+ private void btnBatchRealDel_Click(object sender, EventArgs e)
+ {
+ var rowLst = dgvSelectProduct.Rows.Cast().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
+ if (rowLst.Count <= 0)
+ {
+ BaseMsgForm.ShowError("请勾选需要操作的商品!");
+ return;
+ }
+ if (rowLst.Any(r => r.Cells["colMsg"].Value.ParseToString().Contains("回收站") == false))
+ {
+ BaseMsgForm.ShowError("只能勾选回收站商品!");
+ return;
+ }
+
+ if (BaseMsgForm.ShowConfirm("确认要彻底删除商品吗?彻底删除后将无法再找回该商品!").DialogResult != DialogResult.OK)
+ return;
+
+ this.pbLoading.Visible = true;
+ if (cancellationTokenSource != null && !cancellationTokenSource.IsCancellationRequested)
+ cancellationTokenSource.Cancel();
+ cancellationTokenSource = new CancellationTokenSource();
+ Task.Run(() =>
+ {
+ SetProdRealDel(rowLst);
+ Invoke(new Action(() =>
+ {
+ if (cancellationTokenSource.IsCancellationRequested)
+ {
+ this.statusBar.lblTaskStatus.Text = "商品删除中断";
+ BaseMsgForm.ShowInfo("商品删除中断");
+ }
+ else
+ {
+ this.statusBar.lblTaskStatus.Text = "商品删除完毕";
+ BaseMsgForm.ShowInfo("商品删除完毕");
+ }
+
+ this.pbLoading.Visible = false;
+ }));
+ }, cancellationTokenSource.Token);
+
+ }
+
+ void SetProdRealDel(List rowLst)
+ {
+ Invoke(new Action(() =>
+ {
+ this.pbLoading.Visible = true;
+ this.statusBar.lblTaskStatus.Text = "正在彻底删除" + "...".Substring(0, DateTime.Now.Second % 4);
+ this.statusBar.pgbTaskProgress.Maximum = dgvSelectProduct.Rows.Count;
+ this.statusBar.UpdateProgressBar(0);
+ }));
+
+ while (rowLst.Count > 0)
+ {
+ if (cancellationTokenSource.IsCancellationRequested)
+ break;
+
+ var r0 = rowLst.FirstOrDefault();
+ var shopId = r0.Cells["colSupplierId"].Value.ParseToString();
+ var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
+ var rowLstTmp = rowLst.Where(r => r.Cells["colSupplierId"].Value.ParseToString() == shopId).Take(50).ToList();
+
+ foreach (var r in rowLstTmp)
+ {
+ rowLst.Remove(r);
+
+ Invoke(new Action(() =>
+ {
+ this.statusBar.lblTaskStatus.Text = "正在彻底删除" + "...".Substring(0, DateTime.Now.Second % 4);
+ this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1);
+ r.Cells["colOpResult"].Value = "";
+ }));
+ }
+ if (shop == null)
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var r in rowLstTmp)
+ {
+ r.Cells["colOpResult"].Value = "店铺不存在";
+ }
+ }));
+ continue;
+ }
+ if (shop.LoginStatus != "登录成功")
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var r in rowLstTmp)
+ {
+ r.Cells["colOpResult"].Value = "店铺掉线";
+ }
+ }));
+ continue;
+ }
+
+ List prodIdLst = new List();
+ foreach (var row in rowLstTmp)
+ {
+ var prodId = row.Cells["colDraftId"].Value.ParseToString();
+ prodIdLst.Add(prodId);
+ }
+
+ var downProdRst = WXClearNoVisit260606.RealDelProd(shop, string.Join(",", prodIdLst));
+ Thread.Sleep(Randomx.GetId(1000, 1500));
+ if (!downProdRst.Contains("\"code\":0"))
+ {
+ if (downProdRst.Contains("biz magic invalid"))
+ {
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var row in rowLstTmp)
+ {
+ row.Cells["colOpResult"].Value = "店铺掉线";
+ }
+ }));
+ continue;
+ }
+ }
+
+ var errmsg = BaseRegex.GetStringJson(ref downProdRst, "msg");
+ if (string.IsNullOrWhiteSpace(errmsg))
+ errmsg = downProdRst;
+
+ Invoke(new Action(() =>
+ {
+ foreach (var row in rowLstTmp)
+ {
+ if (downProdRst.Contains("\"code\":108002"))
+ {
+ var prodId = row.Cells["colDraftId"].Value.ParseToString();
+ if (downProdRst.Contains(prodId))
+ row.Cells["colOpResult"].Value = "彻底删除失败,请检查商品是否已删除";
+ else
+ row.Cells["colOpResult"].Value = "彻底删除成功";
+ }
+ else
+ row.Cells["colOpResult"].Value = errmsg;
+ }
+ }));
+ }
+
+ if (downProdRst.Contains("\"code\":0"))
+ {
+ Invoke(new Action(() =>
+ {
+ foreach (var row in rowLstTmp)
+ {
+ row.Cells["colOpResult"].Value = "彻底删除成功";
+ }
+ }));
+ }
+ }
+ }
+
+ void ShowShopError(ShopLoginInfo shop, string operateResult)
+ {
+ var error = BaseRegex.GetStringJson(ref operateResult, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = BaseRegex.GetStringJson(ref operateResult, "errMsg");
+ if (string.IsNullOrEmpty(error))
+ error = BaseRegex.GetStringJson(ref operateResult, "errorMsg");
+ if (string.IsNullOrEmpty(error))
+ error = operateResult;
+
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+
+ if (shop.LoginStatus != "登录成功")
+ {
+ Invoke(new Action(() => { BindShop(shop, new List { shop.ShopId }, "店铺掉线"); }));
+ }
+ else
+ {
+ Invoke(new Action(() => { BindShop(shop, new List { shop.ShopId }, error); }));
+ }
+ }
+ }
+
+ public class WXClearNoVisit260606
+ {
+ ///
+ /// -1 全部 5 在售 11 下架
+ ///
+ /// -1 全部 5 在售 11 下架
+ ///
+ public static string searchProduct(ShopLoginInfo shop, int pageNum, int pageSize = 50, string prodIds = null, int status = 5, int? sortType = null)
+ {
+ //https://store.weixin.qq.com/shop-faas/mmchannelstradeproductcore/cgi/goods/searchProduct?token=&lang=zh_CN&pageSize=20&productStatus[]=-1&productSource=[1,16,32]&searchSource=1&useNew=true&pageNum=44&status[]=5&presaleType[]=1
+ //https://store.weixin.qq.com/shop-faas/mmchannelstradeproductcore/cgi/goods/searchProduct?token=&lang=zh_CN&pageSize=20&productStatus[]=-1&productSource=[1,16,32]&searchSource=1&useNew=true&pageNum=1&status[]=-1&spuId=1000080961530,10000802736449
+ string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeproductcore/cgi/goods/searchProduct?token=&lang=zh_CN&" +
+ "pageSize=" + pageSize + "&productStatus[]=-1&productSource=[1,16,32]&searchSource=1&useNew=true&pageNum=" + pageNum + "&status[]=" + status;
+ if (prodIds != null)
+ url += "&spuId=" + prodIds;
+ if (sortType != null)
+ url += "&sortType=" + sortType;
+
+ string refere = "https://store.weixin.qq.com/shop/goods/list";
+ var result = WXHttpResponseBLL.WeiXinGetResponse(shop, url, refere);
+ return result;
+ }
+
+ ///
+ /// 下架商品
+ ///
+ ///
+ ///
+ ///
+ public static string DownProd(ShopLoginInfo shop, string prodIds)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmecnodeproductlist/cgi/goods/BatchUnListing?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/goods/list";
+ string body = @"{""ids"":[" + prodIds + @"],""uploadSource"":6}";
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
+
+
+ ///
+ /// 删除商品
+ ///
+ ///
+ ///
+ ///
+ public static string DelProd(ShopLoginInfo shop, string prodIds)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmecnodeproductlist/cgi/goods/batchDel?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/goods/list";
+ string body = @"{""ids"":[" + prodIds + @"],""uploadSource"":6}";
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
+
+ ///
+ /// 彻底删除商品
+ ///
+ ///
+ ///
+ ///
+ public static string RealDelProd(ShopLoginInfo shop, string prodIds)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmecnodeproductlist/cgi/goods/batchRealDel?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/goods/list?currentTab=PRODUCT_RECYCLE_BIN";
+ string body = @"{""ids"":[" + prodIds + @"],""uploadSource"":6}";
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
}
}
diff --git a/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.resx b/TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.resx
similarity index 94%
rename from TEMUKJD/WXForms/AdminForms/WXProdComplateForm.resx
rename to TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.resx
index df46883..ddb9faf 100644
--- a/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.resx
+++ b/TEMUKJD/WXForms/ProductForms/WXProdClearNoVisit260606Form.resx
@@ -129,6 +129,9 @@
True
+
+ True
+
True
@@ -204,9 +207,18 @@
True
+
+ True
+
+
+ True
+
True
+
+ True
+
True
@@ -219,9 +231,6 @@
True
-
- True
-
True
diff --git a/TEMUKJD/WXForms/ProductForms/WXSelectDBProdListForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXSelectDBProdListForm.Designer.cs
index 5ed8d50..97fcca8 100644
--- a/TEMUKJD/WXForms/ProductForms/WXSelectDBProdListForm.Designer.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXSelectDBProdListForm.Designer.cs
@@ -378,7 +378,7 @@ namespace TemuKJD.WXForms.ProductForms
"",
"爆款数据",
"普通商品"});
- this.cmbHot.Location = new System.Drawing.Point(869, 5);
+ this.cmbHot.Location = new System.Drawing.Point(869, 7);
this.cmbHot.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbHot.Name = "cmbHot";
this.cmbHot.Size = new System.Drawing.Size(144, 25);
@@ -460,7 +460,7 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat3.DropDownWidth = 1;
this.cmbCat3.FormattingEnabled = true;
this.cmbCat3.IntegralHeight = false;
- this.cmbCat3.Location = new System.Drawing.Point(687, 5);
+ this.cmbCat3.Location = new System.Drawing.Point(687, 7);
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat3.Name = "cmbCat3";
this.cmbCat3.Size = new System.Drawing.Size(144, 25);
@@ -488,7 +488,7 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat2.DropDownWidth = 1;
this.cmbCat2.FormattingEnabled = true;
this.cmbCat2.IntegralHeight = false;
- this.cmbCat2.Location = new System.Drawing.Point(499, 5);
+ this.cmbCat2.Location = new System.Drawing.Point(499, 7);
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat2.Name = "cmbCat2";
this.cmbCat2.Size = new System.Drawing.Size(143, 25);
@@ -516,7 +516,7 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat1.DropDownWidth = 1;
this.cmbCat1.FormattingEnabled = true;
this.cmbCat1.IntegralHeight = false;
- this.cmbCat1.Location = new System.Drawing.Point(279, 7);
+ this.cmbCat1.Location = new System.Drawing.Point(279, 5);
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat1.Name = "cmbCat1";
this.cmbCat1.Size = new System.Drawing.Size(144, 25);
@@ -580,7 +580,7 @@ namespace TemuKJD.WXForms.ProductForms
"安全+未校验",
"安全商品",
"未校验"});
- this.cmbWxSafe.Location = new System.Drawing.Point(59, 42);
+ this.cmbWxSafe.Location = new System.Drawing.Point(59, 40);
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbWxSafe.Name = "cmbWxSafe";
this.cmbWxSafe.Size = new System.Drawing.Size(144, 25);
@@ -637,7 +637,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(869, 40);
+ this.cmbGroupFilter.Location = new System.Drawing.Point(869, 42);
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbGroupFilter.Name = "cmbGroupFilter";
this.cmbGroupFilter.Size = new System.Drawing.Size(144, 25);
@@ -684,7 +684,7 @@ namespace TemuKJD.WXForms.ProductForms
"机会商品",
"以图搜品",
"多多外部数据"});
- this.cmbSourceType.Location = new System.Drawing.Point(687, 40);
+ this.cmbSourceType.Location = new System.Drawing.Point(687, 42);
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbSourceType.Name = "cmbSourceType";
this.cmbSourceType.Size = new System.Drawing.Size(144, 25);
diff --git a/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdListForm.cs b/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdListForm.cs
index b092a8c..4d6b13d 100644
--- a/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdListForm.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdListForm.cs
@@ -629,7 +629,7 @@ namespace TemuKJD.WXForms.ProductForms
case "详情":
case "编辑备注":
case "编辑/详情":
- PDDDBProdEditNotesForm editForm = new PDDDBProdEditNotesForm(dbProduct);
+ WXUserCollectAuthProdEditNotesForm editForm = new WXUserCollectAuthProdEditNotesForm(dbProduct);
editForm.ShowDialog();
dgvDbProduct.Rows[e.RowIndex].Cells["col_notes"].Value = dbProduct.notes;
dgvDbProduct.Rows[e.RowIndex].Cells["col_ext_code"].Value = dbProduct.ext_code;