1添加随机上传商品 2优化pdd api授权逻辑
This commit is contained in:
1 parent
07b912e9eb
commit
c0b7c2d986
34 files changed
+1651
-603
No files matched your search
+15
-11
@@ -34,9 +34,10 @@
|
||||
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("厂家商品采集");
|
||||
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Sku采集回传");
|
||||
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("1688厂家采集");
|
||||
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("地址管理");
|
||||
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("图片工具");
|
||||
System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
|
||||
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("随机厂商商品");
|
||||
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("地址管理");
|
||||
System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("图片工具");
|
||||
System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
|
||||
treeNode1,
|
||||
treeNode2,
|
||||
treeNode3,
|
||||
@@ -44,7 +45,8 @@
|
||||
treeNode5,
|
||||
treeNode6,
|
||||
treeNode7,
|
||||
treeNode8});
|
||||
treeNode8,
|
||||
treeNode9});
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
@@ -147,14 +149,16 @@
|
||||
treeNode5.Text = "Sku采集回传";
|
||||
treeNode6.Name = "1688厂家采集";
|
||||
treeNode6.Text = "1688厂家采集";
|
||||
treeNode7.Name = "地址管理";
|
||||
treeNode7.Text = "地址管理";
|
||||
treeNode8.Name = "图片工具";
|
||||
treeNode8.Text = "图片工具";
|
||||
treeNode9.Name = "超级权限管理";
|
||||
treeNode9.Text = "超级权限管理";
|
||||
treeNode7.Name = "随机厂商商品";
|
||||
treeNode7.Text = "随机厂商商品";
|
||||
treeNode8.Name = "地址管理";
|
||||
treeNode8.Text = "地址管理";
|
||||
treeNode9.Name = "图片工具";
|
||||
treeNode9.Text = "图片工具";
|
||||
treeNode10.Name = "超级权限管理";
|
||||
treeNode10.Text = "超级权限管理";
|
||||
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
|
||||
treeNode9});
|
||||
treeNode10});
|
||||
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
||||
this.tv.Size = new System.Drawing.Size(140, 446);
|
||||
this.tv.TabIndex = 1;
|
||||
|
||||
@@ -10,6 +10,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using TemuKJD.BaseForms;
|
||||
using TemuKJD.PDDForms.AdminForms;
|
||||
using TemuKJD.PDDForms.ProductSelectForms;
|
||||
using TemuKJD.ToolForms;
|
||||
|
||||
@@ -25,6 +26,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
public Lazy<Get1688ProductForm> get1688ProdForm = new Lazy<Get1688ProductForm>();
|
||||
public Lazy<ImgToolForm> imgToolForm = new Lazy<ImgToolForm>();
|
||||
public Lazy<GetAddressForm> getAddressForm = new Lazy<GetAddressForm>();
|
||||
public Lazy<RandomComProductForm> randomComProductForm = new Lazy<RandomComProductForm>();
|
||||
|
||||
public WXAdminForm()
|
||||
{
|
||||
@@ -100,6 +102,9 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
case "图片工具":
|
||||
SetForm(imgToolForm.Value);
|
||||
break;
|
||||
case "随机厂商商品":
|
||||
SetForm(randomComProductForm.Value);
|
||||
break;
|
||||
}
|
||||
//}));
|
||||
//}).Start();
|
||||
|
||||
+106
-91
@@ -32,13 +32,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
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 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();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.chkUseWXComplateProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
@@ -93,23 +93,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkWXComplateProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtAddCount = new System.Windows.Forms.TextBox();
|
||||
this.txtSearchGoodsName = new System.Windows.Forms.TextBox();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.pbSelectProd = new System.Windows.Forms.PictureBox();
|
||||
this.cmbSourceType = new System.Windows.Forms.ComboBox();
|
||||
this.cmbJstInitSet = new System.Windows.Forms.ComboBox();
|
||||
this.lblSourceType = new System.Windows.Forms.Label();
|
||||
this.cmbCateFilter3 = new System.Windows.Forms.ComboBox();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
|
||||
this.txtIdFilter = new System.Windows.Forms.TextBox();
|
||||
this.lblGroupFilter = new System.Windows.Forms.Label();
|
||||
this.lblIdFilter = new System.Windows.Forms.Label();
|
||||
this.cmbCateFilter2 = new System.Windows.Forms.ComboBox();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.btnClearFilter = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblGoodsCount = new System.Windows.Forms.Label();
|
||||
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
|
||||
this.lblWxSafe = new System.Windows.Forms.Label();
|
||||
this.btnClearUpload = new DevComponents.DotNetBar.PanelEx();
|
||||
this.cmbCateFilter1 = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
@@ -117,7 +112,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnRandomAdd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkSevenDays = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkSkipQualification = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.lblSourceType = new System.Windows.Forms.Label();
|
||||
this.lblGroupFilter = new System.Windows.Forms.Label();
|
||||
this.lblWxSafe = new System.Windows.Forms.Label();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.lblJstInitSet = new System.Windows.Forms.Label();
|
||||
this.lblIdFilter = new System.Windows.Forms.Label();
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnRefreshAuthor = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSelectOffline = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -186,6 +186,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.chkRandomCompanyProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -243,6 +244,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkRandomCompanyProd);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkUseWXComplateProd);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkSaveBound);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkAiShortTitle);
|
||||
@@ -1023,16 +1025,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtSearchGoodsName.Size = new System.Drawing.Size(223, 25);
|
||||
this.txtSearchGoodsName.TabIndex = 795;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(147, 51);
|
||||
this.label20.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(32, 17);
|
||||
this.label20.TabIndex = 794;
|
||||
this.label20.Text = "标题";
|
||||
//
|
||||
// pbSelectProd
|
||||
//
|
||||
this.pbSelectProd.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
@@ -1081,17 +1073,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbJstInitSet.Text = "已设置";
|
||||
this.cmbJstInitSet.Visible = false;
|
||||
//
|
||||
// lblSourceType
|
||||
//
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(16, 78);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblSourceType.TabIndex = 672;
|
||||
this.lblSourceType.Text = "来源";
|
||||
this.lblSourceType.Visible = false;
|
||||
//
|
||||
// cmbCateFilter3
|
||||
//
|
||||
this.cmbCateFilter3.FormattingEnabled = true;
|
||||
@@ -1130,28 +1111,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtIdFilter.TabIndex = 652;
|
||||
this.txtIdFilter.Visible = false;
|
||||
//
|
||||
// lblGroupFilter
|
||||
//
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(147, 78);
|
||||
this.lblGroupFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblGroupFilter.Name = "lblGroupFilter";
|
||||
this.lblGroupFilter.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblGroupFilter.TabIndex = 570;
|
||||
this.lblGroupFilter.Text = "分组";
|
||||
this.lblGroupFilter.Visible = false;
|
||||
//
|
||||
// lblIdFilter
|
||||
//
|
||||
this.lblIdFilter.AutoSize = true;
|
||||
this.lblIdFilter.Location = new System.Drawing.Point(27, 104);
|
||||
this.lblIdFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblIdFilter.Name = "lblIdFilter";
|
||||
this.lblIdFilter.Size = new System.Drawing.Size(21, 17);
|
||||
this.lblIdFilter.TabIndex = 651;
|
||||
this.lblIdFilter.Text = "ID";
|
||||
this.lblIdFilter.Visible = false;
|
||||
//
|
||||
// cmbCateFilter2
|
||||
//
|
||||
this.cmbCateFilter2.FormattingEnabled = true;
|
||||
@@ -1221,16 +1180,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbWxSafe.TabIndex = 675;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
// lblWxSafe
|
||||
//
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(4, 50);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(44, 17);
|
||||
this.lblWxSafe.TabIndex = 674;
|
||||
this.lblWxSafe.Text = "微安检";
|
||||
//
|
||||
// btnClearUpload
|
||||
//
|
||||
this.btnClearUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1333,6 +1282,48 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSkipQualification.Text = "跳过资质商品";
|
||||
this.chkSkipQualification.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblSourceType
|
||||
//
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(16, 78);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblSourceType.TabIndex = 672;
|
||||
this.lblSourceType.Text = "来源";
|
||||
this.lblSourceType.Visible = false;
|
||||
//
|
||||
// lblGroupFilter
|
||||
//
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(147, 78);
|
||||
this.lblGroupFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblGroupFilter.Name = "lblGroupFilter";
|
||||
this.lblGroupFilter.Size = new System.Drawing.Size(32, 17);
|
||||
this.lblGroupFilter.TabIndex = 570;
|
||||
this.lblGroupFilter.Text = "分组";
|
||||
this.lblGroupFilter.Visible = false;
|
||||
//
|
||||
// lblWxSafe
|
||||
//
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(4, 50);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(44, 17);
|
||||
this.lblWxSafe.TabIndex = 674;
|
||||
this.lblWxSafe.Text = "微安检";
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(147, 51);
|
||||
this.label20.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(32, 17);
|
||||
this.label20.TabIndex = 794;
|
||||
this.label20.Text = "标题";
|
||||
//
|
||||
// lblJstInitSet
|
||||
//
|
||||
this.lblJstInitSet.AutoSize = true;
|
||||
@@ -1344,6 +1335,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.lblJstInitSet.Text = "分销";
|
||||
this.lblJstInitSet.Visible = false;
|
||||
//
|
||||
// lblIdFilter
|
||||
//
|
||||
this.lblIdFilter.AutoSize = true;
|
||||
this.lblIdFilter.Location = new System.Drawing.Point(27, 104);
|
||||
this.lblIdFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblIdFilter.Name = "lblIdFilter";
|
||||
this.lblIdFilter.Size = new System.Drawing.Size(21, 17);
|
||||
this.lblIdFilter.TabIndex = 651;
|
||||
this.lblIdFilter.Text = "ID";
|
||||
this.lblIdFilter.Visible = false;
|
||||
//
|
||||
// ucGroupBoxEx1
|
||||
//
|
||||
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -1741,19 +1743,19 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
|
||||
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)))));
|
||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
|
||||
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,
|
||||
@@ -1973,19 +1975,19 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.dgvSelectProduct.AllowUserToAddRows = false;
|
||||
this.dgvSelectProduct.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
|
||||
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)))));
|
||||
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
||||
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,
|
||||
@@ -2046,8 +2048,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colSupplierName
|
||||
//
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.colSupplierName.Frozen = true;
|
||||
this.colSupplierName.HeaderText = "店铺名称";
|
||||
this.colSupplierName.Name = "colSupplierName";
|
||||
@@ -2125,8 +2127,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colProductName
|
||||
//
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.colProductName.HeaderText = "商品标题";
|
||||
this.colProductName.Name = "colProductName";
|
||||
this.colProductName.ReadOnly = true;
|
||||
@@ -2186,8 +2188,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colAddTime
|
||||
//
|
||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.colAddTime.HeaderText = "上传时间";
|
||||
this.colAddTime.Name = "colAddTime";
|
||||
this.colAddTime.ReadOnly = true;
|
||||
@@ -2290,6 +2292,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.panel1.Size = new System.Drawing.Size(873, 86);
|
||||
this.panel1.TabIndex = 189;
|
||||
//
|
||||
// chkRandomCompanyProd
|
||||
//
|
||||
this.chkRandomCompanyProd.Checked = true;
|
||||
this.chkRandomCompanyProd.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkRandomCompanyProd.Location = new System.Drawing.Point(856, 110);
|
||||
this.chkRandomCompanyProd.Name = "chkRandomCompanyProd";
|
||||
this.chkRandomCompanyProd.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkRandomCompanyProd.TabIndex = 889;
|
||||
this.chkRandomCompanyProd.Text = "随机工厂商品";
|
||||
this.chkRandomCompanyProd.UseVisualStyleBackColor = true;
|
||||
this.chkRandomCompanyProd.Visible = false;
|
||||
//
|
||||
// WXDBProdUploadForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -2490,5 +2504,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private UserComponent.UcCheckBox chkWXComplateProd;
|
||||
private UserComponent.UcCheckBox chkUseWXComplateProd;
|
||||
private DevComponents.DotNetBar.PanelEx btnProdDb;
|
||||
private UserComponent.UcCheckBox chkRandomCompanyProd;
|
||||
}
|
||||
}
|
||||
@@ -814,6 +814,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.statusBar.UpdateProgressBar(0);
|
||||
}));
|
||||
|
||||
// 随机厂商商品
|
||||
var url = BaseClass.BuildObjString("product/get_random_company_product_config");
|
||||
var data = UserLogin.GetSignaturex();
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
chkRandomCompanyProd.Checked = BaseRegex.GetStringJson(ref html, "is_on") == "1";
|
||||
int randomComProdInterval = Math.Max(1, BaseRegex.GetIntJson(ref html, "product_interval"));
|
||||
string randomComProdGroup = BaseRegex.GetStringJson(ref html, "product_group");
|
||||
int waitCompanyProdCnt = 0;
|
||||
List<TemuDBProductSelect> CompanyProdLst = new List<TemuDBProductSelect>();
|
||||
|
||||
NaiBa.Util.ConcurrentList<ShopLoginInfo> currentShopList = new NaiBa.Util.ConcurrentList<ShopLoginInfo>();
|
||||
while (lstTemuDBProductSelect.Count > 0)
|
||||
{
|
||||
@@ -884,13 +896,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
currentShopList.Remove(randomShop);
|
||||
break;
|
||||
}
|
||||
var selectProd = lstTemuDBProductSelect[0];
|
||||
if (randomShop != null)
|
||||
{
|
||||
selectProd.shop_id = randomShop.ShopId;
|
||||
selectProd.shop_account = randomShop.ShopAccount = randomShop.ShopAccount;
|
||||
}
|
||||
else
|
||||
if (randomShop == null)
|
||||
{
|
||||
currentShopList.Remove(randomShop);
|
||||
continue;
|
||||
@@ -898,7 +904,40 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (cancellationTokenSource.IsCancellationRequested)
|
||||
break;
|
||||
|
||||
lstTemuDBProductSelect.RemoveAt(0);
|
||||
// 每次挑选列表第一件商品
|
||||
var selectProd = lstTemuDBProductSelect[0];
|
||||
selectProd.shop_id = randomShop.ShopId;
|
||||
selectProd.shop_account = randomShop.ShopAccount;
|
||||
|
||||
// 每若干个个商品插一件黄总商品包或其他组商品
|
||||
waitCompanyProdCnt++;
|
||||
if (chkRandomCompanyProd.Checked && waitCompanyProdCnt > randomComProdInterval)
|
||||
{
|
||||
waitCompanyProdCnt = 0;
|
||||
if (CompanyProdLst.Count == 0)
|
||||
{
|
||||
int dbCompanyProdCount;
|
||||
var dbComProdLst = GetRandomCompanyProductList(out dbCompanyProdCount, randomComProdGroup);
|
||||
foreach (var comProd in dbComProdLst)
|
||||
{
|
||||
var comSelectProd = JsonHelper.DeserializeJsonToObject<TemuDBProductSelect>(JsonHelper.SerializeObject(comProd));
|
||||
comSelectProd.out_product_Id = comProd.id.ToString();
|
||||
comSelectProd.id = 1;
|
||||
if (CompanyProdLst.Count > 0)
|
||||
comSelectProd.id = CompanyProdLst.Max(p => p.id).ParseToInt() + 1;
|
||||
CompanyProdLst.Add(comSelectProd);
|
||||
}
|
||||
}
|
||||
selectProd = CompanyProdLst.FirstOrDefault();
|
||||
selectProd.shop_id = randomShop.ShopId;
|
||||
selectProd.shop_account = randomShop.ShopAccount;
|
||||
CompanyProdLst.Remove(selectProd);
|
||||
}
|
||||
else
|
||||
{
|
||||
lstTemuDBProductSelect.RemoveAt(0);
|
||||
}
|
||||
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_db_prod_upload_list", this.lstTemuDBProductSelect);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
@@ -4377,7 +4416,67 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
try
|
||||
{
|
||||
list = JsonHelper.DeserializeJsonToList<KJDDBProduct>(sProd);
|
||||
list = JsonHelper.DeserializeJsonToList<KJDDBProduct>(sProd).OrderBy(x => Randomx.GetId(999999)).ToList();
|
||||
return list;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return new List<KJDDBProduct>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 随机添加黄总厂商商品(或其他指定分组产品,由服务端控制)
|
||||
/// </summary>
|
||||
/// <param name="totalCount"></param>
|
||||
/// <param name="page"></param>
|
||||
/// <param name="pageSize"></param>
|
||||
/// <returns></returns>
|
||||
public List<KJDDBProduct> GetRandomCompanyProductList(out int totalCount, string groupName = "黄总数据包", int page = 1, int pageSize = 200)
|
||||
{
|
||||
var lstShopId = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
|
||||
|
||||
List<KJDDBProduct> list = new List<KJDDBProduct>();
|
||||
int pageCount = 1;
|
||||
totalCount = 0;
|
||||
|
||||
var url = BaseClass.BuildObjString("product/get_pdd_product_list_random");
|
||||
var data = "";
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
data = UserLogin.GetSignaturex() +
|
||||
"&page=" + 1 +
|
||||
"&page_size=" + pageSize;
|
||||
data += "&in_groups=" + groupName;
|
||||
}));
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
BaseMsgForm.ShowError("获取商品失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
|
||||
}));
|
||||
return new List<KJDDBProduct>();
|
||||
}
|
||||
|
||||
int count = BaseRegex.GetIntJson(ref html, "count");
|
||||
totalCount = count;
|
||||
pageCount = Math.Ceiling(1.0 * count / pageSize).ParseToInt();
|
||||
pageCount = Math.Max(pageCount, 1);
|
||||
|
||||
var jArr = JObject.Parse(html)["data"];
|
||||
if (jArr.Count() == 0)
|
||||
return list;
|
||||
var sProd = JsonHelper.SerializeObject(jArr);
|
||||
|
||||
try
|
||||
{
|
||||
list = JsonHelper.DeserializeJsonToList<KJDDBProduct>(sProd).OrderBy(x => Randomx.GetId(999999)).ToList();
|
||||
return list;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
+5
-5
@@ -404,7 +404,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(883, 5);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(883, 7);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(201, 25);
|
||||
@@ -432,7 +432,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(625, 5);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(625, 7);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(201, 25);
|
||||
@@ -460,7 +460,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(348, 5);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(348, 7);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(201, 25);
|
||||
@@ -520,7 +520,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 40);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(201, 25);
|
||||
@@ -541,7 +541,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(883, 40);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(883, 42);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(201, 25);
|
||||
|
||||
@@ -54,20 +54,31 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void ProductListForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.MainPath == "binxixi")
|
||||
{
|
||||
chkCatBoundLessThan.Visible = false;
|
||||
chkCatBoundMoreThan.Visible = false;
|
||||
lblWxSafe.Visible = false;
|
||||
cmbWxSafe.Visible = false;
|
||||
tableLayoutPanel1.SetColumn(lblSourceType, 0);
|
||||
tableLayoutPanel1.SetColumn(cmbSourceType, 1);
|
||||
dgvDbProduct.Columns["colCatBound"].Visible = false;
|
||||
dgvDbProduct.Columns["colWxSafe"].Visible = false;
|
||||
dgvDbProduct.Columns["colMainImg"].FillWeight = 25;
|
||||
}
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
PDDDBProdListForm.GetPDDProductGroup(new List<ComboBox> { cmbGroupFilter, });
|
||||
GetPddProductCate();
|
||||
});
|
||||
if (BaseClass.SaLevel == 1 && shop == null) // 一级管理员且不是选品状态
|
||||
{
|
||||
this.dgvDbProduct.Columns["colPriceText"].Visible = true;
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
PDDDBProdListForm.GetPDDProductGroup(new List<ComboBox> { cmbGroupFilter, });
|
||||
GetPddProductCate();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
this.dgvDbProduct.Columns["colPriceText"].Visible = true;
|
||||
|
||||
lblGroup.Visible = false;
|
||||
}
|
||||
if (BaseClass.MainPath != "binxixi")
|
||||
@@ -103,7 +114,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
ucSplitPage1.cmbPageSize.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
ucSplitPage1.cmbPageSize.SelectedIndex = 0;
|
||||
|
||||
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.Contains("货源选择"))
|
||||
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.ParseToString().Contains("货源选择"))
|
||||
{
|
||||
lblSourceType.Visible = true;
|
||||
cmbSourceType.Visible = true;
|
||||
@@ -773,14 +784,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void cmbSourceType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
{
|
||||
fillPddCate();
|
||||
}
|
||||
else
|
||||
{
|
||||
fillWxCate();
|
||||
}
|
||||
fillCate();
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text) && cmbSourceType.Text != "厂商直采")
|
||||
{
|
||||
@@ -816,17 +820,23 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (cmbSourceType.Text != "厂商直采")
|
||||
{
|
||||
fillPddCate();
|
||||
}
|
||||
else
|
||||
{
|
||||
fillWxCate();
|
||||
}
|
||||
fillCate();
|
||||
}));
|
||||
}
|
||||
|
||||
public void fillCate()
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text) &&
|
||||
cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
{
|
||||
fillPddCate();
|
||||
}
|
||||
else
|
||||
{
|
||||
fillWxCate();
|
||||
}
|
||||
}
|
||||
|
||||
public string pdd_product_cates = "";
|
||||
void fillPddCate()
|
||||
{
|
||||
|
||||
@@ -491,6 +491,7 @@
|
||||
this.btnOpenOrder.TabIndex = 465;
|
||||
this.btnOpenOrder.Text = "登录订单系统";
|
||||
this.btnOpenOrder.UseVisualStyleBackColor = false;
|
||||
this.btnOpenOrder.Visible = false;
|
||||
this.btnOpenOrder.Click += new System.EventHandler(this.btnOpenOrder_Click);
|
||||
//
|
||||
// btnAddShop
|
||||
|
||||
+1
-1
@@ -89,7 +89,7 @@
|
||||
this.splitContainer1.Panel2.Controls.Add(this.btnReload);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.chkCloseAfterLogin);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1438, 736);
|
||||
this.splitContainer1.SplitterDistance = 675;
|
||||
this.splitContainer1.SplitterDistance = 669;
|
||||
this.splitContainer1.SplitterWidth = 3;
|
||||
this.splitContainer1.TabIndex = 4;
|
||||
//
|
||||
|
||||
+131
-216
@@ -54,29 +54,27 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.cmbCat3 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.cmbCat2 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.cmbCat1 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.txtProdName = new System.Windows.Forms.TextBox();
|
||||
this.txtOrderSn = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.lblWxSafe = new System.Windows.Forms.Label();
|
||||
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.dgvDbProduct = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.dtpStartTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.dtpEndTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.txtMobile = new System.Windows.Forms.TextBox();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.col_db_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colFromShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colFromShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_product_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colOrderSn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMainImg = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.colSkuReplaceImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkuReplaceImg = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.col_spu_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colProductInfo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colRealPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_skc_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMainCate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_cat_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -102,8 +100,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.col_edit = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_delete = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_select_product = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -201,6 +197,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.btnSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSelect.TabIndex = 647;
|
||||
this.btnSelect.Text = "添加选中商品";
|
||||
this.btnSelect.Visible = false;
|
||||
this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
@@ -222,18 +219,16 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtMobile, 3, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 8, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 9, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbCat3, 7, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label17, 6, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbCat2, 5, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label14, 4, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbCat1, 3, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label2, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtProdName, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtOrderSn, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblWxSafe, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbWxSafe, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dtpEndTime, 7, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dtpStartTime, 5, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label14, 6, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label2, 4, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label17, 2, 0);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 3;
|
||||
@@ -250,9 +245,9 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.Location = new System.Drawing.Point(868, 5);
|
||||
this.btnSearch.Location = new System.Drawing.Point(851, 5);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(46, 25);
|
||||
this.btnSearch.Size = new System.Drawing.Size(65, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -265,7 +260,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.TabIndex = 643;
|
||||
this.btnSearch.Text = "搜索";
|
||||
this.btnSearch.Text = "搜索订单";
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// pnlEmpty
|
||||
@@ -274,7 +269,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(920, 5);
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(922, 5);
|
||||
this.pnlEmpty.Name = "pnlEmpty";
|
||||
this.pnlEmpty.Size = new System.Drawing.Size(46, 25);
|
||||
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -293,98 +288,47 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.pnlEmpty.Text = "清空";
|
||||
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// 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(707, 7);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(155, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
this.cmbCat3.TextChanged += new System.EventHandler(this.cmbCat3_MultiSelectChanged);
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(656, 9);
|
||||
this.label17.Location = new System.Drawing.Point(209, 9);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(51, 17);
|
||||
this.label17.Size = new System.Drawing.Size(56, 17);
|
||||
this.label17.TabIndex = 811;
|
||||
this.label17.Text = "类目3:";
|
||||
//
|
||||
// cmbCat2
|
||||
//
|
||||
this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat2.DefaultText = "全部";
|
||||
this.cmbCat2.DropDownHeight = 1;
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(495, 7);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(155, 25);
|
||||
this.cmbCat2.TabIndex = 804;
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
|
||||
this.cmbCat2.TextChanged += new System.EventHandler(this.cmbCat2_MultiSelectChanged);
|
||||
this.label17.Text = "手机号:";
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(444, 9);
|
||||
this.label14.Location = new System.Drawing.Point(633, 9);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(51, 17);
|
||||
this.label14.Size = new System.Drawing.Size(68, 17);
|
||||
this.label14.TabIndex = 784;
|
||||
this.label14.Text = "类目2:";
|
||||
//
|
||||
// cmbCat1
|
||||
//
|
||||
this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat1.DefaultText = "全部";
|
||||
this.cmbCat1.DropDownHeight = 1;
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(283, 7);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(155, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
this.cmbCat1.TextChanged += new System.EventHandler(this.cmbCat1_MultiSelectChanged);
|
||||
this.label14.Text = "结束时间:";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(232, 9);
|
||||
this.label2.Location = new System.Drawing.Point(415, 9);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(51, 17);
|
||||
this.label2.Size = new System.Drawing.Size(68, 17);
|
||||
this.label2.TabIndex = 426;
|
||||
this.label2.Text = "类目1:";
|
||||
this.label2.Text = "开始时间:";
|
||||
//
|
||||
// txtProdName
|
||||
// txtOrderSn
|
||||
//
|
||||
this.txtProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtProdName.Location = new System.Drawing.Point(71, 6);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(155, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
this.txtOrderSn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtOrderSn.Location = new System.Drawing.Point(59, 6);
|
||||
this.txtOrderSn.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtOrderSn.Name = "txtOrderSn";
|
||||
this.txtOrderSn.Size = new System.Drawing.Size(144, 23);
|
||||
this.txtOrderSn.TabIndex = 427;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
@@ -393,36 +337,9 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.label3.Location = new System.Drawing.Point(3, 9);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(68, 17);
|
||||
this.label3.Size = new System.Drawing.Size(56, 17);
|
||||
this.label3.TabIndex = 428;
|
||||
this.label3.Text = "商品标题:";
|
||||
//
|
||||
// lblWxSafe
|
||||
//
|
||||
this.lblWxSafe.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(3, 44);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(68, 17);
|
||||
this.lblWxSafe.TabIndex = 651;
|
||||
this.lblWxSafe.Text = "微信安检:";
|
||||
//
|
||||
// cmbWxSafe
|
||||
//
|
||||
this.cmbWxSafe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbWxSafe.FormattingEnabled = true;
|
||||
this.cmbWxSafe.Items.AddRange(new object[] {
|
||||
"",
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(155, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
this.label3.Text = "订单号:";
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
@@ -478,15 +395,13 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.dgvDbProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvDbProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
this.col_db_id,
|
||||
this.colFromShopId,
|
||||
this.colFromShopName,
|
||||
this.col_product_name,
|
||||
this.colShopId,
|
||||
this.colShopName,
|
||||
this.colOrderSn,
|
||||
this.colImgUrl,
|
||||
this.colMainImg,
|
||||
this.colSkuReplaceImgUrl,
|
||||
this.colSkuReplaceImg,
|
||||
this.col_spu_id,
|
||||
this.colProductInfo,
|
||||
this.colRealPrice,
|
||||
this.col_skc_id,
|
||||
this.colMainCate,
|
||||
this.col_cat_name,
|
||||
@@ -523,6 +438,56 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.dgvDbProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDbProduct_CellContentClick);
|
||||
this.dgvDbProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvDbProduct_Scroll);
|
||||
//
|
||||
// ucSplitPage1
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.ucSplitPage1.IsShowPageSize = true;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(985, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
|
||||
this.ucSplitPage1.PageSize = 100;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(453, 25);
|
||||
this.ucSplitPage1.TabIndex = 6;
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
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(1438, 25);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// dtpStartTime
|
||||
//
|
||||
this.dtpStartTime.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.dtpStartTime.Location = new System.Drawing.Point(486, 6);
|
||||
this.dtpStartTime.Name = "dtpStartTime";
|
||||
this.dtpStartTime.Size = new System.Drawing.Size(141, 23);
|
||||
this.dtpStartTime.TabIndex = 812;
|
||||
//
|
||||
// dtpEndTime
|
||||
//
|
||||
this.dtpEndTime.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.dtpEndTime.Location = new System.Drawing.Point(704, 6);
|
||||
this.dtpEndTime.Name = "dtpEndTime";
|
||||
this.dtpEndTime.Size = new System.Drawing.Size(141, 23);
|
||||
this.dtpEndTime.TabIndex = 813;
|
||||
//
|
||||
// txtMobile
|
||||
//
|
||||
this.txtMobile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtMobile.Location = new System.Drawing.Point(265, 6);
|
||||
this.txtMobile.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtMobile.Name = "txtMobile";
|
||||
this.txtMobile.Size = new System.Drawing.Size(144, 23);
|
||||
this.txtMobile.TabIndex = 428;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.FillWeight = 26F;
|
||||
@@ -532,36 +497,24 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// col_db_id
|
||||
// colShopId
|
||||
//
|
||||
this.col_db_id.FillWeight = 50F;
|
||||
this.col_db_id.HeaderText = "数据库Id";
|
||||
this.col_db_id.Name = "col_db_id";
|
||||
this.col_db_id.ReadOnly = true;
|
||||
this.col_db_id.Visible = false;
|
||||
this.colShopId.HeaderText = "店铺编号";
|
||||
this.colShopId.Name = "colShopId";
|
||||
this.colShopId.ReadOnly = true;
|
||||
this.colShopId.Visible = false;
|
||||
//
|
||||
// colFromShopId
|
||||
// colShopName
|
||||
//
|
||||
this.colFromShopId.HeaderText = "来源店铺Id";
|
||||
this.colFromShopId.Name = "colFromShopId";
|
||||
this.colFromShopId.ReadOnly = true;
|
||||
this.colFromShopId.Visible = false;
|
||||
this.colShopName.HeaderText = "店铺名称";
|
||||
this.colShopName.Name = "colShopName";
|
||||
this.colShopName.ReadOnly = true;
|
||||
//
|
||||
// colFromShopName
|
||||
// colOrderSn
|
||||
//
|
||||
this.colFromShopName.HeaderText = "来源店铺名称";
|
||||
this.colFromShopName.Name = "colFromShopName";
|
||||
this.colFromShopName.ReadOnly = true;
|
||||
this.colFromShopName.Visible = false;
|
||||
//
|
||||
// col_product_name
|
||||
//
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_product_name.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.col_product_name.FillWeight = 140F;
|
||||
this.col_product_name.HeaderText = "标题";
|
||||
this.col_product_name.Name = "col_product_name";
|
||||
this.col_product_name.ReadOnly = true;
|
||||
this.colOrderSn.HeaderText = "订单号";
|
||||
this.colOrderSn.Name = "colOrderSn";
|
||||
this.colOrderSn.ReadOnly = true;
|
||||
//
|
||||
// colImgUrl
|
||||
//
|
||||
@@ -580,32 +533,23 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.colMainImg.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colMainImg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// colSkuReplaceImgUrl
|
||||
// colProductInfo
|
||||
//
|
||||
this.colSkuReplaceImgUrl.HeaderText = "sku替换图路径";
|
||||
this.colSkuReplaceImgUrl.Name = "colSkuReplaceImgUrl";
|
||||
this.colSkuReplaceImgUrl.ReadOnly = true;
|
||||
this.colSkuReplaceImgUrl.Visible = false;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductInfo.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.colProductInfo.FillWeight = 140F;
|
||||
this.colProductInfo.HeaderText = "商品信息";
|
||||
this.colProductInfo.Name = "colProductInfo";
|
||||
this.colProductInfo.ReadOnly = true;
|
||||
//
|
||||
// colSkuReplaceImg
|
||||
//
|
||||
this.colSkuReplaceImg.FillWeight = 70F;
|
||||
this.colSkuReplaceImg.HeaderText = "sku替换图";
|
||||
this.colSkuReplaceImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
||||
this.colSkuReplaceImg.Name = "colSkuReplaceImg";
|
||||
this.colSkuReplaceImg.ReadOnly = true;
|
||||
this.colSkuReplaceImg.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSkuReplaceImg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colSkuReplaceImg.Visible = false;
|
||||
//
|
||||
// col_spu_id
|
||||
// colRealPrice
|
||||
//
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_spu_id.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.col_spu_id.HeaderText = "商品Id";
|
||||
this.col_spu_id.Name = "col_spu_id";
|
||||
this.col_spu_id.ReadOnly = true;
|
||||
this.col_spu_id.Visible = false;
|
||||
this.colRealPrice.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.colRealPrice.HeaderText = "实收款/优惠信息";
|
||||
this.colRealPrice.Name = "colRealPrice";
|
||||
this.colRealPrice.ReadOnly = true;
|
||||
this.colRealPrice.Visible = false;
|
||||
//
|
||||
// col_skc_id
|
||||
//
|
||||
@@ -825,31 +769,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.col_select_product.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.col_select_product.Visible = false;
|
||||
//
|
||||
// ucSplitPage1
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.ucSplitPage1.IsShowPageSize = true;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(985, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
|
||||
this.ucSplitPage1.PageSize = 100;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(453, 25);
|
||||
this.ucSplitPage1.TabIndex = 6;
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
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(1438, 25);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// WxOrderListForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -890,7 +809,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
private UserControls.UcSplitPage ucSplitPage1;
|
||||
private UserControls.StatusBarUserControl statusBar;
|
||||
private DevComponents.DotNetBar.PanelEx pnlEmpty;
|
||||
private System.Windows.Forms.TextBox txtProdName;
|
||||
private System.Windows.Forms.TextBox txtOrderSn;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private UserComponent.DataGridViewEx dgvDbProduct;
|
||||
@@ -898,25 +817,21 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
private DevComponents.DotNetBar.PanelEx btnSearch;
|
||||
private DevComponents.DotNetBar.PanelEx btnSelect;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.Label lblWxSafe;
|
||||
private System.Windows.Forms.ComboBox cmbWxSafe;
|
||||
private UserComponent.UcComboBoxMutiSelect cmbCat2;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private UserComponent.UcComboBoxMutiSelect cmbCat1;
|
||||
private DevComponents.DotNetBar.PanelEx btnStopStop;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private UserComponent.UcComboBoxMutiSelect cmbCat3;
|
||||
private System.Windows.Forms.Label lblCurrentShop;
|
||||
private System.Windows.Forms.DateTimePicker dtpStartTime;
|
||||
private System.Windows.Forms.DateTimePicker dtpEndTime;
|
||||
private System.Windows.Forms.TextBox txtMobile;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOrderSn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colMainImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuReplaceImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colSkuReplaceImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_spu_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colProductInfo;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colRealPrice;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_skc_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMainCate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_cat_name;
|
||||
|
||||
@@ -107,11 +107,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
private void pnlEmpty_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.txtProdName.Text = "";
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
this.txtOrderSn.Text = "";
|
||||
}
|
||||
|
||||
private void cmbCat1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
|
||||
@@ -120,16 +120,13 @@
|
||||
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_db_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colFromShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colShopName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colFromShopName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_product_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colOrderSn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colImgUrl.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
@@ -138,13 +135,10 @@
|
||||
<metadata name="colMainImg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSkuReplaceImgUrl.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colProductInfo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSkuReplaceImg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_spu_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colRealPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_skc_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
|
||||
+1
-15
@@ -94,7 +94,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.mainPanel = new System.Windows.Forms.Panel();
|
||||
this.tabPage3 = new System.Windows.Forms.TabPage();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.ColumnShopStatus = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.ColumnShopID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -128,7 +127,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.splitContainer3.SuspendLayout();
|
||||
this.pnlTalk.SuspendLayout();
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.tabPage3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbLogo
|
||||
@@ -138,7 +136,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
// lblVersionName
|
||||
//
|
||||
this.lblVersionName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblVersionName.Location = new System.Drawing.Point(30627, 33);
|
||||
this.lblVersionName.Location = new System.Drawing.Point(31161, 33);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
@@ -1047,7 +1045,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
// tabPage3
|
||||
//
|
||||
this.tabPage3.Controls.Add(this.panel4);
|
||||
this.tabPage3.Location = new System.Drawing.Point(2, 35);
|
||||
this.tabPage3.Name = "tabPage3";
|
||||
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
|
||||
@@ -1056,15 +1053,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.tabPage3.Text = "订单管理";
|
||||
this.tabPage3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.BackColor = System.Drawing.Color.White;
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel4.Location = new System.Drawing.Point(3, 3);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(985, 573);
|
||||
this.panel4.TabIndex = 0;
|
||||
//
|
||||
// ColumnShopStatus
|
||||
//
|
||||
this.ColumnShopStatus.HeaderText = "登录状态";
|
||||
@@ -1180,7 +1168,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.pnlTalk.ResumeLayout(false);
|
||||
this.pnlTalk.PerformLayout();
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
this.tabPage3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -1257,6 +1244,5 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
private DevComponents.DotNetBar.Controls.ProgressBarX progressBarX1;
|
||||
private System.Windows.Forms.Label lblProgress;
|
||||
private System.Windows.Forms.TabPage tabPage3;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
}
|
||||
}
|
||||
@@ -108,6 +108,11 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
lblProgress.Text = "";
|
||||
//SetTitle();
|
||||
|
||||
#if DEBUG
|
||||
#else
|
||||
ucTabControl1.TabPages.Remove(tabPage3);
|
||||
#endif
|
||||
|
||||
// 点击变绿的按钮
|
||||
LstTagShop = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<string>>("wx_talk_tag_shop_list");
|
||||
if (LstTagShop == null)
|
||||
@@ -334,7 +339,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
WxOrderListForm.TopLevel = false;
|
||||
WxOrderListForm.FormBorderStyle = FormBorderStyle.None;
|
||||
WxOrderListForm.Dock = DockStyle.Fill;
|
||||
panel4.Controls.Add(WxOrderListForm);
|
||||
tabPage3.Controls.Add(WxOrderListForm);
|
||||
WxOrderListForm.Show();
|
||||
|
||||
//var _1688AddressForm = new GetAddressForm() { AddressType = "1688" };
|
||||
|
||||
Reference in new issue
Block a user