1拼多多买手读单优化 2商品类目查询优化
This commit is contained in:
1 parent
7601f5b2f3
commit
4ae8e4f1b2
40 files changed
+4743
-745
No files matched your search
@@ -630,7 +630,7 @@ namespace TemuKJD.WXForms.OrderForms
|
||||
rw.Cells["colOrderStatus"].Value = currentStatus;
|
||||
}
|
||||
}));
|
||||
if (currentStatus != "待发货" && currentStatus != "已发货")
|
||||
if (currentStatus != "待发货" && currentStatus != "已发货" && currentStatus != "超时未发货")
|
||||
{
|
||||
Invoke(new Action(() => { pbLoading.Visible = false; }));
|
||||
BaseMsgForm.ShowError("订单状态已变化,请勿拍单");
|
||||
@@ -693,7 +693,7 @@ namespace TemuKJD.WXForms.OrderForms
|
||||
rw.Cells["colOrderStatus"].Value = currentStatus;
|
||||
}
|
||||
}));
|
||||
if (currentStatus != "待发货" && currentStatus != "已发货")
|
||||
if (currentStatus != "待发货" && currentStatus != "已发货" && currentStatus != "超时未发货")
|
||||
{
|
||||
BaseMsgForm.ShowError("订单状态已变化,请勿拍单");
|
||||
return;
|
||||
@@ -739,7 +739,7 @@ namespace TemuKJD.WXForms.OrderForms
|
||||
}
|
||||
pbLoading.Visible = false;
|
||||
}));
|
||||
if (currentStatus != "待发货" && currentStatus != "已发货")
|
||||
if (currentStatus != "待发货" && currentStatus != "已发货" && currentStatus != "超时未发货")
|
||||
{
|
||||
BaseMsgForm.ShowError("订单状态已变化,请勿拍单");
|
||||
return;
|
||||
|
||||
+169
-139
@@ -109,9 +109,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkCommission = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnLoginAssistant = new DevComponents.DotNetBar.PanelEx();
|
||||
this.商品裂变 = new System.Windows.Forms.TabPage();
|
||||
this.line2 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.label38 = new System.Windows.Forms.Label();
|
||||
this.txtFissionRandomPriceChange = new System.Windows.Forms.TextBox();
|
||||
this.chkFissionRandomPriceChange = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtDetailBorderImgCount = new System.Windows.Forms.TextBox();
|
||||
this.label35 = new System.Windows.Forms.Label();
|
||||
this.label36 = new System.Windows.Forms.Label();
|
||||
this.txtMainBorderImgCount = new System.Windows.Forms.TextBox();
|
||||
this.label34 = new System.Windows.Forms.Label();
|
||||
this.label33 = new System.Windows.Forms.Label();
|
||||
this.label32 = new System.Windows.Forms.Label();
|
||||
this.txtAiImgCount = new System.Windows.Forms.TextBox();
|
||||
@@ -122,6 +128,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkFissionGoodsName = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkRandomImgBorder = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtFissionTitle = new System.Windows.Forms.TextBox();
|
||||
this.line1 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.label37 = new System.Windows.Forms.Label();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.cmbHot = new System.Windows.Forms.ComboBox();
|
||||
this.btnProdDb = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -137,7 +145,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
|
||||
this.txtIdFilter = new System.Windows.Forms.TextBox();
|
||||
this.cmbCateFilter2 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
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();
|
||||
@@ -154,6 +161,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.lblIdFilter = new System.Windows.Forms.Label();
|
||||
this.lblHot = new System.Windows.Forms.Label();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.cmbFilterShopGroup = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label24 = new System.Windows.Forms.Label();
|
||||
@@ -224,14 +232,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label35 = new System.Windows.Forms.Label();
|
||||
this.label34 = new System.Windows.Forms.Label();
|
||||
this.line1 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.chkFissionRandomPriceChange = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtFissionRandomPriceChange = new System.Windows.Forms.TextBox();
|
||||
this.label37 = new System.Windows.Forms.Label();
|
||||
this.label38 = new System.Windows.Forms.Label();
|
||||
this.line2 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.btnSwitchCatType = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -754,7 +755,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.上传参数.Location = new System.Drawing.Point(4, 28);
|
||||
this.上传参数.Name = "上传参数";
|
||||
this.上传参数.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.上传参数.Size = new System.Drawing.Size(531, 118);
|
||||
this.上传参数.Size = new System.Drawing.Size(583, 118);
|
||||
this.上传参数.TabIndex = 1;
|
||||
this.上传参数.Text = "上传参数";
|
||||
this.上传参数.UseVisualStyleBackColor = true;
|
||||
@@ -901,7 +902,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtReplaceText.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtReplaceText.Multiline = true;
|
||||
this.txtReplaceText.Name = "txtReplaceText";
|
||||
this.txtReplaceText.Size = new System.Drawing.Size(458, 40);
|
||||
this.txtReplaceText.Size = new System.Drawing.Size(510, 40);
|
||||
this.txtReplaceText.TabIndex = 740;
|
||||
this.txtReplaceText.Text = "真丝,蚕丝,香云纱,羊绒,羊毛,羊羔绒,羊羔毛,羽绒,皮草";
|
||||
this.txtReplaceText.TextChanged += new System.EventHandler(this.txtReplaceText_TextChanged);
|
||||
@@ -1073,7 +1074,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.佣金上货.Location = new System.Drawing.Point(4, 28);
|
||||
this.佣金上货.Name = "佣金上货";
|
||||
this.佣金上货.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.佣金上货.Size = new System.Drawing.Size(531, 118);
|
||||
this.佣金上货.Size = new System.Drawing.Size(583, 118);
|
||||
this.佣金上货.TabIndex = 2;
|
||||
this.佣金上货.Text = "佣金上货";
|
||||
this.佣金上货.UseVisualStyleBackColor = true;
|
||||
@@ -1246,6 +1247,47 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.商品裂变.Text = "商品裂变";
|
||||
this.商品裂变.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// line2
|
||||
//
|
||||
this.line2.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.line2.Location = new System.Drawing.Point(435, 90);
|
||||
this.line2.Name = "line2";
|
||||
this.line2.Size = new System.Drawing.Size(10, 23);
|
||||
this.line2.TabIndex = 909;
|
||||
this.line2.Text = "line2";
|
||||
this.line2.VerticalLine = true;
|
||||
//
|
||||
// label38
|
||||
//
|
||||
this.label38.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label38.AutoSize = true;
|
||||
this.label38.Location = new System.Drawing.Point(259, 93);
|
||||
this.label38.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label38.Name = "label38";
|
||||
this.label38.Size = new System.Drawing.Size(80, 17);
|
||||
this.label38.TabIndex = 908;
|
||||
this.label38.Text = "随机图片顺序";
|
||||
//
|
||||
// txtFissionRandomPriceChange
|
||||
//
|
||||
this.txtFissionRandomPriceChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtFissionRandomPriceChange.Location = new System.Drawing.Point(513, 90);
|
||||
this.txtFissionRandomPriceChange.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtFissionRandomPriceChange.Name = "txtFissionRandomPriceChange";
|
||||
this.txtFissionRandomPriceChange.Size = new System.Drawing.Size(24, 23);
|
||||
this.txtFissionRandomPriceChange.TabIndex = 906;
|
||||
this.txtFissionRandomPriceChange.Text = "2";
|
||||
//
|
||||
// chkFissionRandomPriceChange
|
||||
//
|
||||
this.chkFissionRandomPriceChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkFissionRandomPriceChange.Location = new System.Drawing.Point(446, 91);
|
||||
this.chkFissionRandomPriceChange.Name = "chkFissionRandomPriceChange";
|
||||
this.chkFissionRandomPriceChange.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkFissionRandomPriceChange.TabIndex = 905;
|
||||
this.chkFissionRandomPriceChange.Text = "价格波动";
|
||||
this.chkFissionRandomPriceChange.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtDetailBorderImgCount
|
||||
//
|
||||
this.txtDetailBorderImgCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -1256,6 +1298,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtDetailBorderImgCount.TabIndex = 902;
|
||||
this.txtDetailBorderImgCount.Text = "0";
|
||||
//
|
||||
// label35
|
||||
//
|
||||
this.label35.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label35.AutoSize = true;
|
||||
this.label35.Location = new System.Drawing.Point(171, 93);
|
||||
this.label35.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label35.Name = "label35";
|
||||
this.label35.Size = new System.Drawing.Size(44, 17);
|
||||
this.label35.TabIndex = 904;
|
||||
this.label35.Text = "详情图";
|
||||
//
|
||||
// label36
|
||||
//
|
||||
this.label36.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -1277,6 +1330,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtMainBorderImgCount.TabIndex = 899;
|
||||
this.txtMainBorderImgCount.Text = "9";
|
||||
//
|
||||
// label34
|
||||
//
|
||||
this.label34.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label34.AutoSize = true;
|
||||
this.label34.Location = new System.Drawing.Point(101, 93);
|
||||
this.label34.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label34.Name = "label34";
|
||||
this.label34.Size = new System.Drawing.Size(32, 17);
|
||||
this.label34.TabIndex = 901;
|
||||
this.label34.Text = "主图";
|
||||
//
|
||||
// label33
|
||||
//
|
||||
this.label33.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -1386,12 +1450,34 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtFissionTitle.TabIndex = 0;
|
||||
this.txtFissionTitle.TextChanged += new System.EventHandler(this.txtFissionTitle_TextChanged);
|
||||
//
|
||||
// line1
|
||||
//
|
||||
this.line1.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.line1.Location = new System.Drawing.Point(250, 90);
|
||||
this.line1.Name = "line1";
|
||||
this.line1.Size = new System.Drawing.Size(10, 23);
|
||||
this.line1.TabIndex = 822;
|
||||
this.line1.Text = "line1";
|
||||
this.line1.VerticalLine = true;
|
||||
//
|
||||
// label37
|
||||
//
|
||||
this.label37.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label37.AutoSize = true;
|
||||
this.label37.Location = new System.Drawing.Point(536, 93);
|
||||
this.label37.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label37.Name = "label37";
|
||||
this.label37.Size = new System.Drawing.Size(20, 17);
|
||||
this.label37.TabIndex = 907;
|
||||
this.label37.Text = "元";
|
||||
//
|
||||
// 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.btnSwitchCatType);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbHot);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnProdDb);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkWXComplateProd);
|
||||
@@ -1406,7 +1492,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbGroupFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtIdFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter2);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label19);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnClearFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblGoodsCount);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbWxSafe);
|
||||
@@ -1423,6 +1508,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label20);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblIdFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblHot);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label19);
|
||||
this.ucGroupBoxEx4.Location = new System.Drawing.Point(186, 2);
|
||||
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165);
|
||||
@@ -1437,7 +1523,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"爆款数据",
|
||||
"普通商品"});
|
||||
this.cmbHot.Location = new System.Drawing.Point(309, 73);
|
||||
this.cmbHot.Location = new System.Drawing.Point(312, 73);
|
||||
this.cmbHot.Name = "cmbHot";
|
||||
this.cmbHot.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbHot.TabIndex = 837;
|
||||
@@ -1452,9 +1538,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnProdDb.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnProdDb.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnProdDb.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnProdDb.Location = new System.Drawing.Point(368, 131);
|
||||
this.btnProdDb.Location = new System.Drawing.Point(372, 131);
|
||||
this.btnProdDb.Name = "btnProdDb";
|
||||
this.btnProdDb.Size = new System.Drawing.Size(33, 25);
|
||||
this.btnProdDb.Size = new System.Drawing.Size(32, 25);
|
||||
this.btnProdDb.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnProdDb.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -1472,7 +1558,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// chkWXComplateProd
|
||||
//
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(277, 102);
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(282, 102);
|
||||
this.chkWXComplateProd.Name = "chkWXComplateProd";
|
||||
this.chkWXComplateProd.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkWXComplateProd.TabIndex = 807;
|
||||
@@ -1482,11 +1568,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtAddCount
|
||||
//
|
||||
this.txtAddCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtAddCount.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtAddCount.Location = new System.Drawing.Point(273, 131);
|
||||
this.txtAddCount.Location = new System.Drawing.Point(278, 131);
|
||||
this.txtAddCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAddCount.Name = "txtAddCount";
|
||||
this.txtAddCount.Size = new System.Drawing.Size(35, 25);
|
||||
this.txtAddCount.Size = new System.Drawing.Size(33, 25);
|
||||
this.txtAddCount.TabIndex = 536;
|
||||
this.txtAddCount.Text = "500";
|
||||
//
|
||||
@@ -1497,7 +1584,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"已设置",
|
||||
"未设置"});
|
||||
this.cmbJstInitSet.Location = new System.Drawing.Point(178, 100);
|
||||
this.cmbJstInitSet.Location = new System.Drawing.Point(184, 100);
|
||||
this.cmbJstInitSet.Name = "cmbJstInitSet";
|
||||
this.cmbJstInitSet.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbJstInitSet.TabIndex = 697;
|
||||
@@ -1506,17 +1593,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtSearchGoodsName
|
||||
//
|
||||
this.txtSearchGoodsName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtSearchGoodsName.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtSearchGoodsName.Location = new System.Drawing.Point(178, 46);
|
||||
this.txtSearchGoodsName.Location = new System.Drawing.Point(184, 46);
|
||||
this.txtSearchGoodsName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtSearchGoodsName.Name = "txtSearchGoodsName";
|
||||
this.txtSearchGoodsName.Size = new System.Drawing.Size(223, 25);
|
||||
this.txtSearchGoodsName.Size = new System.Drawing.Size(220, 25);
|
||||
this.txtSearchGoodsName.TabIndex = 795;
|
||||
//
|
||||
// lblJstInitSet
|
||||
//
|
||||
this.lblJstInitSet.AutoSize = true;
|
||||
this.lblJstInitSet.Location = new System.Drawing.Point(147, 104);
|
||||
this.lblJstInitSet.Location = new System.Drawing.Point(155, 104);
|
||||
this.lblJstInitSet.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblJstInitSet.Name = "lblJstInitSet";
|
||||
this.lblJstInitSet.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1543,14 +1631,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"1688外部数据",
|
||||
"已采集数据",
|
||||
"微信小店",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(47, 73);
|
||||
"多多外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(56, 73);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbSourceType.TabIndex = 673;
|
||||
@@ -1566,7 +1654,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCateFilter3.DropDownWidth = 1;
|
||||
this.cmbCateFilter3.FormattingEnabled = true;
|
||||
this.cmbCateFilter3.IntegralHeight = false;
|
||||
this.cmbCateFilter3.Location = new System.Drawing.Point(309, 19);
|
||||
this.cmbCateFilter3.Location = new System.Drawing.Point(312, 19);
|
||||
this.cmbCateFilter3.Name = "cmbCateFilter3";
|
||||
this.cmbCateFilter3.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbCateFilter3.TabIndex = 710;
|
||||
@@ -1577,7 +1665,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.Location = new System.Drawing.Point(271, 23);
|
||||
this.label21.Location = new System.Drawing.Point(276, 23);
|
||||
this.label21.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new System.Drawing.Size(39, 17);
|
||||
@@ -1587,7 +1675,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// cmbGroupFilter
|
||||
//
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(178, 73);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(184, 73);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbGroupFilter.TabIndex = 641;
|
||||
@@ -1596,8 +1684,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtIdFilter
|
||||
//
|
||||
this.txtIdFilter.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtIdFilter.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtIdFilter.Location = new System.Drawing.Point(47, 100);
|
||||
this.txtIdFilter.Location = new System.Drawing.Point(56, 100);
|
||||
this.txtIdFilter.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtIdFilter.Name = "txtIdFilter";
|
||||
this.txtIdFilter.Size = new System.Drawing.Size(92, 25);
|
||||
@@ -1611,7 +1700,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCateFilter2.DropDownWidth = 1;
|
||||
this.cmbCateFilter2.FormattingEnabled = true;
|
||||
this.cmbCateFilter2.IntegralHeight = false;
|
||||
this.cmbCateFilter2.Location = new System.Drawing.Point(178, 19);
|
||||
this.cmbCateFilter2.Location = new System.Drawing.Point(184, 19);
|
||||
this.cmbCateFilter2.Name = "cmbCateFilter2";
|
||||
this.cmbCateFilter2.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbCateFilter2.TabIndex = 708;
|
||||
@@ -1619,26 +1708,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCateFilter2.SelectedIndexChanged += new System.EventHandler(this.cmbCateFilter2_SelectedIndexChanged);
|
||||
this.cmbCateFilter2.TextChanged += new System.EventHandler(this.cmbCateFilter2_TextChanged);
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(140, 23);
|
||||
this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(39, 17);
|
||||
this.label19.TabIndex = 707;
|
||||
this.label19.Text = "类目2";
|
||||
//
|
||||
// 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(368, 100);
|
||||
this.btnClearFilter.Location = new System.Drawing.Point(372, 100);
|
||||
this.btnClearFilter.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearFilter.Name = "btnClearFilter";
|
||||
this.btnClearFilter.Size = new System.Drawing.Size(33, 25);
|
||||
this.btnClearFilter.Size = new System.Drawing.Size(32, 25);
|
||||
this.btnClearFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClearFilter.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClearFilter.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -1673,7 +1752,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(47, 46);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(56, 46);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbWxSafe.TabIndex = 675;
|
||||
@@ -1685,10 +1764,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClearUpload.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClearUpload.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClearUpload.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClearUpload.Location = new System.Drawing.Point(238, 131);
|
||||
this.btnClearUpload.Location = new System.Drawing.Point(244, 131);
|
||||
this.btnClearUpload.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearUpload.Name = "btnClearUpload";
|
||||
this.btnClearUpload.Size = new System.Drawing.Size(33, 25);
|
||||
this.btnClearUpload.Size = new System.Drawing.Size(32, 25);
|
||||
this.btnClearUpload.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClearUpload.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClearUpload.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -1712,7 +1791,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCateFilter1.DropDownWidth = 1;
|
||||
this.cmbCateFilter1.FormattingEnabled = true;
|
||||
this.cmbCateFilter1.IntegralHeight = false;
|
||||
this.cmbCateFilter1.Location = new System.Drawing.Point(47, 19);
|
||||
this.cmbCateFilter1.Location = new System.Drawing.Point(56, 19);
|
||||
this.cmbCateFilter1.Name = "cmbCateFilter1";
|
||||
this.cmbCateFilter1.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbCateFilter1.TabIndex = 663;
|
||||
@@ -1723,7 +1802,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(9, 23);
|
||||
this.label2.Location = new System.Drawing.Point(21, 23);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(39, 17);
|
||||
@@ -1750,9 +1829,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnRandomAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnRandomAdd.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnRandomAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnRandomAdd.Location = new System.Drawing.Point(310, 131);
|
||||
this.btnRandomAdd.Location = new System.Drawing.Point(313, 131);
|
||||
this.btnRandomAdd.Name = "btnRandomAdd";
|
||||
this.btnRandomAdd.Size = new System.Drawing.Size(56, 25);
|
||||
this.btnRandomAdd.Size = new System.Drawing.Size(57, 25);
|
||||
this.btnRandomAdd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnRandomAdd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnRandomAdd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -1789,7 +1868,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblSourceType
|
||||
//
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(16, 77);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(28, 77);
|
||||
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);
|
||||
@@ -1800,7 +1879,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblGroupFilter
|
||||
//
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(147, 77);
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(155, 77);
|
||||
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);
|
||||
@@ -1814,14 +1893,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(4, 49);
|
||||
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.Size = new System.Drawing.Size(56, 17);
|
||||
this.lblWxSafe.TabIndex = 674;
|
||||
this.lblWxSafe.Text = "微安检";
|
||||
this.lblWxSafe.Text = "微信安检";
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(147, 50);
|
||||
this.label20.Location = new System.Drawing.Point(155, 50);
|
||||
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);
|
||||
@@ -1831,7 +1910,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblIdFilter
|
||||
//
|
||||
this.lblIdFilter.AutoSize = true;
|
||||
this.lblIdFilter.Location = new System.Drawing.Point(27, 104);
|
||||
this.lblIdFilter.Location = new System.Drawing.Point(39, 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);
|
||||
@@ -1842,7 +1921,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblHot
|
||||
//
|
||||
this.lblHot.AutoSize = true;
|
||||
this.lblHot.Location = new System.Drawing.Point(278, 77);
|
||||
this.lblHot.Location = new System.Drawing.Point(283, 77);
|
||||
this.lblHot.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblHot.Name = "lblHot";
|
||||
this.lblHot.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1850,6 +1929,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.lblHot.Text = "爆品";
|
||||
this.lblHot.Visible = false;
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(148, 23);
|
||||
this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(39, 17);
|
||||
this.label19.TabIndex = 707;
|
||||
this.label19.Text = "类目2";
|
||||
//
|
||||
// ucGroupBoxEx1
|
||||
//
|
||||
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -2830,89 +2919,29 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.panelEx1.Text = "停止当前操作";
|
||||
this.panelEx1.Visible = false;
|
||||
//
|
||||
// label35
|
||||
// btnSwitchCatType
|
||||
//
|
||||
this.label35.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label35.AutoSize = true;
|
||||
this.label35.Location = new System.Drawing.Point(171, 93);
|
||||
this.label35.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label35.Name = "label35";
|
||||
this.label35.Size = new System.Drawing.Size(44, 17);
|
||||
this.label35.TabIndex = 904;
|
||||
this.label35.Text = "详情图";
|
||||
//
|
||||
// label34
|
||||
//
|
||||
this.label34.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label34.AutoSize = true;
|
||||
this.label34.Location = new System.Drawing.Point(101, 93);
|
||||
this.label34.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label34.Name = "label34";
|
||||
this.label34.Size = new System.Drawing.Size(32, 17);
|
||||
this.label34.TabIndex = 901;
|
||||
this.label34.Text = "主图";
|
||||
//
|
||||
// line1
|
||||
//
|
||||
this.line1.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.line1.Location = new System.Drawing.Point(250, 90);
|
||||
this.line1.Name = "line1";
|
||||
this.line1.Size = new System.Drawing.Size(10, 23);
|
||||
this.line1.TabIndex = 822;
|
||||
this.line1.Text = "line1";
|
||||
this.line1.VerticalLine = true;
|
||||
//
|
||||
// chkFissionPriceChange
|
||||
//
|
||||
this.chkFissionRandomPriceChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkFissionRandomPriceChange.Location = new System.Drawing.Point(446, 91);
|
||||
this.chkFissionRandomPriceChange.Name = "chkFissionPriceChange";
|
||||
this.chkFissionRandomPriceChange.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkFissionRandomPriceChange.TabIndex = 905;
|
||||
this.chkFissionRandomPriceChange.Text = "价格波动";
|
||||
this.chkFissionRandomPriceChange.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtFissionPriceChange
|
||||
//
|
||||
this.txtFissionRandomPriceChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtFissionRandomPriceChange.Location = new System.Drawing.Point(513, 90);
|
||||
this.txtFissionRandomPriceChange.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtFissionRandomPriceChange.Name = "txtFissionPriceChange";
|
||||
this.txtFissionRandomPriceChange.Size = new System.Drawing.Size(24, 23);
|
||||
this.txtFissionRandomPriceChange.TabIndex = 906;
|
||||
this.txtFissionRandomPriceChange.Text = "2";
|
||||
//
|
||||
// label37
|
||||
//
|
||||
this.label37.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label37.AutoSize = true;
|
||||
this.label37.Location = new System.Drawing.Point(536, 93);
|
||||
this.label37.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label37.Name = "label37";
|
||||
this.label37.Size = new System.Drawing.Size(20, 17);
|
||||
this.label37.TabIndex = 907;
|
||||
this.label37.Text = "元";
|
||||
//
|
||||
// label38
|
||||
//
|
||||
this.label38.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label38.AutoSize = true;
|
||||
this.label38.Location = new System.Drawing.Point(259, 93);
|
||||
this.label38.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label38.Name = "label38";
|
||||
this.label38.Size = new System.Drawing.Size(80, 17);
|
||||
this.label38.TabIndex = 908;
|
||||
this.label38.Text = "随机图片顺序";
|
||||
//
|
||||
// line2
|
||||
//
|
||||
this.line2.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.line2.Location = new System.Drawing.Point(435, 90);
|
||||
this.line2.Name = "line2";
|
||||
this.line2.Size = new System.Drawing.Size(10, 23);
|
||||
this.line2.TabIndex = 909;
|
||||
this.line2.Text = "line2";
|
||||
this.line2.VerticalLine = true;
|
||||
this.btnSwitchCatType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSwitchCatType.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSwitchCatType.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSwitchCatType.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSwitchCatType.Location = new System.Drawing.Point(6, 21);
|
||||
this.btnSwitchCatType.Name = "btnSwitchCatType";
|
||||
this.btnSwitchCatType.Size = new System.Drawing.Size(17, 21);
|
||||
this.btnSwitchCatType.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSwitchCatType.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSwitchCatType.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSwitchCatType.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSwitchCatType.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSwitchCatType.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSwitchCatType.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSwitchCatType.Style.GradientAngle = 90;
|
||||
this.btnSwitchCatType.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSwitchCatType.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSwitchCatType.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSwitchCatType.TabIndex = 856;
|
||||
this.btnSwitchCatType.Text = "W";
|
||||
this.btnSwitchCatType.Click += new System.EventHandler(this.btnSwitchCatType_Click);
|
||||
//
|
||||
// WXDBProdUploadForm
|
||||
//
|
||||
@@ -3165,5 +3194,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.Label label34;
|
||||
private DevComponents.DotNetBar.Controls.Line line1;
|
||||
private System.Windows.Forms.Label label37;
|
||||
private DevComponents.DotNetBar.PanelEx btnSwitchCatType;
|
||||
}
|
||||
}
|
||||
@@ -405,7 +405,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
List<Task> tList = new List<Task>();
|
||||
if (idRefreshTodayHasGet)
|
||||
GlobalConfig.lstWxShopAuthInfo.RemoveAll(s => updateIds.Contains(s.ShopId));
|
||||
foreach (var shop in GlobalConfig.ShopLoginList.Where(s => updateIds.Contains(s.ShopId)))
|
||||
foreach (var shop in GlobalConfig.ValidShopLoginList.Where(s => updateIds.Contains(s.ShopId)))
|
||||
{
|
||||
Invoke(new Action(() => { BindShop(shop, selectIds, ""); }));
|
||||
var t = Task.Run(() =>
|
||||
@@ -477,7 +477,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
else
|
||||
{
|
||||
//var list = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
|
||||
//var list = GlobalConfig.ValidShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
|
||||
foreach (DataGridViewRow row in dgvShop.Rows)
|
||||
{
|
||||
//if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
|
||||
@@ -512,7 +512,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
foreach (var shop in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
//if (shop.LoginStatus == "登录成功")
|
||||
//{
|
||||
@@ -554,6 +554,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
GetPddProductCate();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.btnSwitchCatType.Text = "P";
|
||||
btnSwitchCatType_Click(null, null);
|
||||
pbLoadingShop.Visible = false;
|
||||
}));
|
||||
});
|
||||
@@ -578,17 +580,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
pdd_product_cates = BaseRegex.GetStringJson(ref html, "data");
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (cmbSourceType.Text.Trim() != "厂商直采" && cmbSourceType.Text.Trim() != "微信店采" && cmbSourceType.Text.Trim() != "微信小店")
|
||||
{
|
||||
fillPddCate();
|
||||
}
|
||||
else
|
||||
{
|
||||
fillWxCate();
|
||||
}
|
||||
}));
|
||||
//Invoke(new Action(() =>
|
||||
//{
|
||||
// if (cmbSourceType.Text.Trim() != "厂商直采" && cmbSourceType.Text.Trim() != "微信店采" && cmbSourceType.Text.Trim() != "微信小店")
|
||||
// {
|
||||
// fillPddCate();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// fillWxCate();
|
||||
// }
|
||||
//}));
|
||||
}
|
||||
|
||||
void fillPddCate()
|
||||
@@ -627,25 +629,25 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
|
||||
// 获取被删除的店铺
|
||||
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
=> !GlobalConfig.ValidShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
// 更新被删除的店铺列表
|
||||
foreach (var row in dgvRowList)
|
||||
{
|
||||
dgvShop.Rows.Remove(row);
|
||||
}
|
||||
// 绑定其他店铺(含新导入的店铺)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(shopEntity.ShopId))
|
||||
BindShop(shopEntity, selectIds);
|
||||
}
|
||||
cmbFilterShopNotes.Items.Clear();
|
||||
foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var note in GlobalConfig.ValidShopLoginList.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())
|
||||
foreach (var note in GlobalConfig.ValidShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopGroup.Items.Add(note);
|
||||
}
|
||||
@@ -725,12 +727,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||
return;
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
|
||||
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
|
||||
string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
if (shop == null)
|
||||
{
|
||||
BaseMsgForm.ShowError("店铺不存在或已过期");
|
||||
return;
|
||||
}
|
||||
switch (columnName)
|
||||
{
|
||||
case "colSelect":
|
||||
@@ -746,9 +753,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
|
||||
}
|
||||
//else
|
||||
{
|
||||
//BaseMsgForm.ShowInfo("店铺未登录!");
|
||||
}
|
||||
//{
|
||||
// BaseMsgForm.ShowInfo("店铺未登录!");
|
||||
//}
|
||||
|
||||
dicCheckedShopId[row.Cells["colShopId"].Value.ParseToString()] = row.Cells["colSelect"].Value.ParseToBool();
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_checked_shop_dic", dicCheckedShopId);
|
||||
@@ -801,13 +808,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||
return;
|
||||
string headerText = dgvSelectProduct.Columns[e.ColumnIndex].HeaderText;
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
var 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);
|
||||
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if (shop == null)
|
||||
{
|
||||
BaseMsgForm.ShowError("店铺不存在或已过期");
|
||||
return;
|
||||
}
|
||||
switch (headerText)
|
||||
{
|
||||
case "删除":
|
||||
@@ -862,7 +874,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btnUpload_Click(object sender, EventArgs e)
|
||||
{
|
||||
var shopIdLst = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
@@ -973,7 +984,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
continue;
|
||||
}
|
||||
var randomShopLst = new ConcurrentList<ShopLoginInfo>();
|
||||
randomShopLst.AddRange(GlobalConfig.ShopLoginList.Where(s => shopIdLst.Contains(s.ShopId) && s.LoginStatus == "登录成功"));
|
||||
randomShopLst.AddRange(GlobalConfig.ValidShopLoginList.Where(s => shopIdLst.Contains(s.ShopId) && s.LoginStatus == "登录成功"));
|
||||
if (randomShopLst.Count <= 0)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
@@ -1113,7 +1124,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
DateTime startTime = DateTime.Now;
|
||||
for (int j = 0; j < 1; j++)
|
||||
{
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == selectProd.shop_id);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == selectProd.shop_id);
|
||||
if (shop == null)
|
||||
continue;
|
||||
|
||||
@@ -5048,10 +5059,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
else
|
||||
data += "&add_user_name=" + addUserName;
|
||||
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("多多商品","机会商品").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text.Trim()))
|
||||
{
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
}
|
||||
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
//if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
if (btnSwitchCatType.Text == "P")
|
||||
data += "&in_cates=" + (cmbCateFilter1.Text == "全部" ? "" : cmbCateFilter1.Text);
|
||||
else
|
||||
{
|
||||
@@ -5397,7 +5413,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var row = this.dgvSelectProduct.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colDraftId"].Value.ParseToString() == prodParam.product.productKey.productId);
|
||||
if (row == null)
|
||||
continue;
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == row.Cells["colSupplierId"].Value.ParseToString());
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == row.Cells["colSupplierId"].Value.ParseToString());
|
||||
if (shop == null)
|
||||
continue;
|
||||
var t =Task.Run(() =>
|
||||
@@ -5548,10 +5564,10 @@ 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();
|
||||
//if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
// fillPddCate();
|
||||
//else
|
||||
// fillWxCate();
|
||||
|
||||
if (cmbSourceType.Text != "厂商直采"/* && cmbSourceType.Text != "1688厂家"*/)
|
||||
{
|
||||
@@ -5562,7 +5578,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbJstInitSet.Text = "已设置";
|
||||
}
|
||||
|
||||
string sourceType = cmbSourceType.Text.Trim();
|
||||
string sourceType = cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据");
|
||||
Task.Run(() =>
|
||||
{
|
||||
// 同时刷新下商品分组
|
||||
@@ -5948,6 +5964,20 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_prod_fission_title", txtFissionTitle.Text);
|
||||
lblFissionTitleCount.Text = "标题数:" + txtFissionTitle.Text.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList().Count();
|
||||
}
|
||||
|
||||
private void btnSwitchCatType_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (btnSwitchCatType.Text == "W")
|
||||
{
|
||||
btnSwitchCatType.Text = "P";
|
||||
fillPddCate();
|
||||
}
|
||||
else
|
||||
{
|
||||
btnSwitchCatType.Text = "W";
|
||||
fillWxCate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class WXUpload
|
||||
|
||||
+11
-11
@@ -42,7 +42,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.txtCurrentShop = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.txtPageEnd = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
@@ -184,7 +184,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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.label5);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.textBox1);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtCurrentShop);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label3);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtPageEnd);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label1);
|
||||
@@ -210,15 +210,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label5.TabIndex = 818;
|
||||
this.label5.Text = "达人广场页面上选好查询\r\n条件后点击达人搜索按钮";
|
||||
//
|
||||
// textBox1
|
||||
// txtCurrentShop
|
||||
//
|
||||
this.textBox1.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.textBox1.ForeColor = System.Drawing.Color.Red;
|
||||
this.textBox1.Location = new System.Drawing.Point(59, 64);
|
||||
this.textBox1.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(114, 25);
|
||||
this.textBox1.TabIndex = 830;
|
||||
this.txtCurrentShop.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtCurrentShop.ForeColor = System.Drawing.Color.Red;
|
||||
this.txtCurrentShop.Location = new System.Drawing.Point(59, 64);
|
||||
this.txtCurrentShop.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtCurrentShop.Name = "txtCurrentShop";
|
||||
this.txtCurrentShop.Size = new System.Drawing.Size(114, 25);
|
||||
this.txtCurrentShop.TabIndex = 830;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
@@ -1416,7 +1416,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.PictureBox pbLoading;
|
||||
private System.Windows.Forms.TextBox txtPageEnd;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.TextBox txtCurrentShop;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox txtMobile;
|
||||
private System.Windows.Forms.Label label7;
|
||||
|
||||
@@ -100,11 +100,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 直到店铺加载完后再加载客服内容
|
||||
while (!StartUp.IsShopInit)
|
||||
Thread.Sleep(100);
|
||||
currentShop = GlobalConfig.ShopLoginList.FirstOrDefault();
|
||||
currentShop = GlobalConfig.ValidShopLoginList.FirstOrDefault();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.textBox1.Text = currentShop?.ShopAccount;
|
||||
this.textBox1.Tag = currentShop?.ShopId;
|
||||
this.txtCurrentShop.Text = currentShop?.ShopAccount;
|
||||
this.txtCurrentShop.Tag = currentShop?.ShopId;
|
||||
}));
|
||||
if (currentShop != null)
|
||||
SetMainBrowserUrl(currentShop);
|
||||
@@ -185,7 +185,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
else
|
||||
{
|
||||
//var list = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
|
||||
//var list = GlobalConfig.ValidShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
|
||||
foreach (DataGridViewRow row in dgvShop.Rows)
|
||||
{
|
||||
//if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
|
||||
@@ -222,25 +222,25 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
|
||||
// 获取被删除的店铺
|
||||
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
=> !GlobalConfig.ValidShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
// 更新被删除的店铺列表
|
||||
foreach (var row in dgvRowList)
|
||||
{
|
||||
dgvShop.Rows.Remove(row);
|
||||
}
|
||||
// 绑定其他店铺(含新导入的店铺)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(shopEntity.ShopId))
|
||||
BindShop(shopEntity, selectIds);
|
||||
}
|
||||
cmbFilterShopNotes.Items.Clear();
|
||||
foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var note in GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopNotes.Items.Add(note);
|
||||
}
|
||||
cmbFilterShopGroup.Items.Clear();
|
||||
foreach (var group in GlobalConfig.ShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var group in GlobalConfig.ValidShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopGroup.Items.Add(group);
|
||||
}
|
||||
@@ -325,7 +325,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
|
||||
string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
foreach(DataGridViewRow r in dgvShop.Rows)
|
||||
{
|
||||
@@ -338,8 +338,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
if (currentShop != shop)
|
||||
{
|
||||
this.textBox1.Text = shopAccount;
|
||||
this.textBox1.Tag = shopId;
|
||||
this.txtCurrentShop.Text = shopAccount;
|
||||
this.txtCurrentShop.Tag = shopId;
|
||||
currentShop = shop;
|
||||
|
||||
Task.Run(() =>
|
||||
@@ -356,11 +356,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
|
||||
string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
|
||||
this.textBox1.Text = shopAccount;
|
||||
this.textBox1.Tag = shopId;
|
||||
this.txtCurrentShop.Text = shopAccount;
|
||||
this.txtCurrentShop.Tag = shopId;
|
||||
currentShop = shop;
|
||||
|
||||
switch (columnName)
|
||||
@@ -424,7 +424,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
return;
|
||||
string headerText = dgvTalent.Columns[e.ColumnIndex].HeaderText;
|
||||
var shopId = dgvTalent.Rows[e.RowIndex].Cells["colSupplierId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var talentAppid = dgvTalent.Rows[e.RowIndex].Cells["colTalentAppid"].Value.ParseToString();
|
||||
var talent = this.lstWXFinderTalentInfo.FirstOrDefault(t => t.talentAppid == talentAppid);
|
||||
|
||||
@@ -906,7 +906,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (string.IsNullOrEmpty(prodIds))
|
||||
{
|
||||
var shopId = selectRows.FirstOrDefault().Cells["colSupplierId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if(chkReUse.Visible && chkReUse.Checked)
|
||||
shop = currentShop;
|
||||
var talentAppid = selectRows.FirstOrDefault().Cells["colTalentAppid"].Value.ParseToString();
|
||||
@@ -949,7 +949,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
break;
|
||||
|
||||
var shopId = row.Cells["colSupplierId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if (chkReUse.Visible && chkReUse.Checked)
|
||||
shop = currentShop;
|
||||
var talentAppid = row.Cells["colTalentAppid"].Value.ParseToString();
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXUserCollectAuthProdListForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnImportPddOutData = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSelect = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnStopStop = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -98,6 +99,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbSort = new System.Windows.Forms.ComboBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.dgvDbProduct = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.col_db_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colFromShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -108,6 +111,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colSkuReplaceImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkuReplaceImg = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.col_spu_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSpuIdShow = 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();
|
||||
@@ -133,8 +137,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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();
|
||||
@@ -159,6 +161,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnImportPddOutData);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSelect);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSearch);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnStopStop);
|
||||
@@ -174,6 +177,31 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer1.SplitterDistance = 74;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// btnImportPddOutData
|
||||
//
|
||||
this.btnImportPddOutData.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnImportPddOutData.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnImportPddOutData.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnImportPddOutData.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnImportPddOutData.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnImportPddOutData.Location = new System.Drawing.Point(1176, 44);
|
||||
this.btnImportPddOutData.Name = "btnImportPddOutData";
|
||||
this.btnImportPddOutData.Size = new System.Drawing.Size(105, 25);
|
||||
this.btnImportPddOutData.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnImportPddOutData.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnImportPddOutData.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnImportPddOutData.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnImportPddOutData.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnImportPddOutData.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnImportPddOutData.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnImportPddOutData.Style.GradientAngle = 90;
|
||||
this.btnImportPddOutData.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnImportPddOutData.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnImportPddOutData.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnImportPddOutData.TabIndex = 919;
|
||||
this.btnImportPddOutData.Text = "导入外部多多数据";
|
||||
this.btnImportPddOutData.Click += new System.EventHandler(this.btnImportPddOutData_Click);
|
||||
//
|
||||
// btnSelect
|
||||
//
|
||||
this.btnSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -377,17 +405,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtCatBoundLessThan
|
||||
//
|
||||
this.txtCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(759, 41);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(763, 41);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(108, 23);
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtCatBoundLessThan.TabIndex = 883;
|
||||
this.txtCatBoundLessThan.Text = "100000";
|
||||
//
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(692, 42);
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(696, 42);
|
||||
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
|
||||
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -402,7 +430,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtSPU.Location = new System.Drawing.Point(52, 6);
|
||||
this.txtSPU.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSPU.Name = "txtSPU";
|
||||
this.txtSPU.Size = new System.Drawing.Size(108, 23);
|
||||
this.txtSPU.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtSPU.TabIndex = 434;
|
||||
//
|
||||
// label5
|
||||
@@ -424,27 +452,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(933, 7);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(938, 7);
|
||||
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxCat.Name = "cmbWxCat";
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbWxCat.TabIndex = 802;
|
||||
//
|
||||
// txtProdName
|
||||
//
|
||||
this.txtProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.txtProdName, 3);
|
||||
this.txtProdName.Location = new System.Drawing.Point(226, 6);
|
||||
this.txtProdName.Location = new System.Drawing.Point(227, 6);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(265, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(267, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(873, 9);
|
||||
this.label12.Location = new System.Drawing.Point(878, 9);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -455,7 +483,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(166, 9);
|
||||
this.label3.Location = new System.Drawing.Point(167, 9);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -484,7 +512,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.Location = new System.Drawing.Point(52, 42);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbCat1.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
@@ -493,17 +521,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtCatBoundMoreThan
|
||||
//
|
||||
this.txtCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(571, 41);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(574, 41);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(108, 23);
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtCatBoundMoreThan.TabIndex = 882;
|
||||
this.txtCatBoundMoreThan.Text = "1000";
|
||||
//
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(504, 42);
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(507, 42);
|
||||
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
|
||||
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -516,7 +544,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(183, 44);
|
||||
this.label14.Location = new System.Drawing.Point(184, 44);
|
||||
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);
|
||||
@@ -531,10 +559,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(226, 42);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(227, 42);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbCat2.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat2.TabIndex = 804;
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
|
||||
@@ -544,7 +572,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(340, 44);
|
||||
this.label17.Location = new System.Drawing.Point(342, 44);
|
||||
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);
|
||||
@@ -559,10 +587,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(383, 42);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(385, 42);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbCat3.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
@@ -572,7 +600,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblWxSafe.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(873, 44);
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(878, 44);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -588,27 +616,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(933, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(938, 42);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
// txtNotes
|
||||
//
|
||||
this.txtNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtNotes.Location = new System.Drawing.Point(759, 6);
|
||||
this.txtNotes.Location = new System.Drawing.Point(763, 6);
|
||||
this.txtNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtNotes.Name = "txtNotes";
|
||||
this.txtNotes.Size = new System.Drawing.Size(108, 23);
|
||||
this.txtNotes.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtNotes.TabIndex = 439;
|
||||
//
|
||||
// lblNotes
|
||||
//
|
||||
this.lblNotes.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblNotes.AutoSize = true;
|
||||
this.lblNotes.Location = new System.Drawing.Point(723, 9);
|
||||
this.lblNotes.Location = new System.Drawing.Point(727, 9);
|
||||
this.lblNotes.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblNotes.Name = "lblNotes";
|
||||
this.lblNotes.Size = new System.Drawing.Size(36, 17);
|
||||
@@ -623,10 +651,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"多多商品",
|
||||
"1688商品"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(571, 7);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(574, 7);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
@@ -635,7 +663,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(527, 9);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(530, 9);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -927,6 +955,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colSkuReplaceImgUrl,
|
||||
this.colSkuReplaceImg,
|
||||
this.col_spu_id,
|
||||
this.colSpuIdShow,
|
||||
this.col_skc_id,
|
||||
this.colMainCate,
|
||||
this.col_cat_name,
|
||||
@@ -963,6 +992,31 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.FillWeight = 26F;
|
||||
@@ -1042,9 +1096,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_spu_id.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.col_spu_id.HeaderText = "商品Id";
|
||||
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;
|
||||
//
|
||||
// colSpuIdShow
|
||||
//
|
||||
this.colSpuIdShow.FillWeight = 70F;
|
||||
this.colSpuIdShow.HeaderText = "商品Id";
|
||||
this.colSpuIdShow.Name = "colSpuIdShow";
|
||||
this.colSpuIdShow.ReadOnly = true;
|
||||
//
|
||||
// col_skc_id
|
||||
//
|
||||
@@ -1261,31 +1323,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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;
|
||||
//
|
||||
// WXUserCollectAuthProdListForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1373,6 +1410,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
public System.Windows.Forms.ComboBox cmbRelation;
|
||||
public System.Windows.Forms.Label lblRelation;
|
||||
private DevComponents.DotNetBar.PanelEx btnGetProdWxCate;
|
||||
private DevComponents.DotNetBar.PanelEx btnSelect;
|
||||
private DevComponents.DotNetBar.PanelEx btnImportPddOutData;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
|
||||
@@ -1383,6 +1422,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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 colSpuIdShow;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_skc_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMainCate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_cat_name;
|
||||
@@ -1408,6 +1448,5 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_edit;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_delete;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_select_product;
|
||||
private DevComponents.DotNetBar.PanelEx btnSelect;
|
||||
}
|
||||
}
|
||||
@@ -228,6 +228,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
price2 += Math.Max(100, price2 * 0.1m).ParseToInt();
|
||||
price1 = price1 * 0.01m;
|
||||
price2 = price2 * 0.01m;
|
||||
var collectAuthorityTag = "-" + BaseClass.UserName;
|
||||
if (BaseClass.GroupId != 3)
|
||||
collectAuthorityTag = "-" + BaseClass.ParentUserName;
|
||||
|
||||
int rowIndex = this.dgvDbProduct.Rows.Add(
|
||||
false,
|
||||
@@ -239,7 +242,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
defaultBitmap, // prod.main_img,
|
||||
prod.sku_img_replace_url,
|
||||
DataGridViewExtension.defaultBitmap,
|
||||
(prod.spu_id).Trim(),
|
||||
prod.spu_id,
|
||||
prod.spu_id.Replace(collectAuthorityTag, ""),
|
||||
prod.skc_id,
|
||||
prod.main_cat_name ?? prod.main_cat_id,
|
||||
catName, //catName.Split('>').LastOrDefault()?.Trim(),
|
||||
@@ -258,7 +262,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
prod.end_words,
|
||||
prod.fission_words,
|
||||
prod.product_get_type_text == "厂商直采" ? (prod.product_get_type_text + " " + prod.skc_id).Trim() :
|
||||
prod.product_get_type_text.Replace("1688厂家", "1688商品").Replace("1688外部数据", "1688商品").Replace("机会商品", "多多商品"),
|
||||
prod.product_get_type_text.Replace("1688厂家", "1688商品").Replace("1688外部数据", "1688商品")
|
||||
.Replace("已采集数据", "1688商品").Replace("机会商品", "多多商品").Replace("多多外部数据", "多多商品"),
|
||||
prod.special_prod_type,
|
||||
prod.wx_safe_status,
|
||||
prod.add_time.ToString("yy-MM-dd HH:mm"),
|
||||
@@ -344,10 +349,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
var collectAuthorityTag = "-" + BaseClass.UserName;
|
||||
if (BaseClass.GroupId != 3)
|
||||
collectAuthorityTag = "-" + BaseClass.ParentUserName;
|
||||
data = UserLogin.GetSignaturex() +
|
||||
"&page=" + page +
|
||||
"&page_size=" + pageSize +
|
||||
"&search_spu=" + txtSPU.Text.Trim() +
|
||||
"&search_spu=" + string.Join(",", txtSPU.Text.Trim().Split(new string[] { ",", ",", " " }, StringSplitOptions.RemoveEmptyEntries).Select(s => s + collectAuthorityTag)) +
|
||||
"&search_skc=" + txtSKC.Text.Trim() +
|
||||
"&search_notes=" + txtNotes.Text.Trim() +
|
||||
"&search_ext_code=" + txtExtCode.Text.Trim() +
|
||||
@@ -431,13 +439,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
data += "&send_to_out_server=2";
|
||||
}
|
||||
|
||||
if (cmbSourceType.Text.Trim() == "多多商品")
|
||||
if (!string.IsNullOrEmpty(cmbSourceType.Text.Trim()))
|
||||
{
|
||||
data += "&product_get_type=机会商品";
|
||||
}
|
||||
else if (cmbSourceType.Text.Trim() == "1688商品")
|
||||
{
|
||||
data += "&product_get_type=1688厂家,1688外部数据";
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
}
|
||||
|
||||
if (shop != null && !string.IsNullOrEmpty(shop.ShopId))
|
||||
@@ -1022,5 +1028,66 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
WXDBProdUploadForm.Instance.dbProdList_SaveComplete(WXDBProdUploadForm.Instance.lstTemuDBProductSelect);
|
||||
}
|
||||
}
|
||||
|
||||
private void btnImportPddOutData_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog openFileDialog = new OpenFileDialog();
|
||||
openFileDialog.Multiselect = true;
|
||||
// 设置过滤条件,只显示文本文件
|
||||
openFileDialog.Filter = "文本文件 (*.txt)|*.txt|All files (*.*)|*.*";
|
||||
// 显示对话框并获取结果
|
||||
if (openFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
var filePathLst = openFileDialog.FileNames.ToList();
|
||||
pbLoading.Visible = true;
|
||||
this.statusBar.pgbTaskProgress.Maximum = filePathLst.Count;
|
||||
this.statusBar.UpdateProgressBar(0);
|
||||
Task.Run(() =>
|
||||
{
|
||||
int successNum = 0;
|
||||
int failedNum = 0;
|
||||
foreach (var path in filePathLst)
|
||||
{
|
||||
string content = "";
|
||||
string rst = "";
|
||||
try
|
||||
{
|
||||
using (StreamReader sr = new StreamReader(path))
|
||||
{
|
||||
content = sr.ReadToEnd();
|
||||
}
|
||||
|
||||
if (content.Contains("\"spec_keys\"") && content.Contains("\"spec_values\"") && content.Contains("\"is_sku_pre_sale\""))
|
||||
{
|
||||
rst = new PDDProdFormConverter().PddFrontToPddBackConvert(content, true, null, true);
|
||||
}
|
||||
else if (content.Contains("\"destination_url\"") && content.Contains("\"destination_type\"") && content.Contains("\"pre_render_url\""))
|
||||
{
|
||||
rst = new PDDProdFormConverter().PddFrontToPddBackConvert2(content, true, null, true);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
rst = ex.Message;
|
||||
}
|
||||
if (string.IsNullOrEmpty(rst))
|
||||
successNum++;
|
||||
else
|
||||
failedNum++;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1);
|
||||
this.statusBar.lblTaskStatus.Text = "正在导入";
|
||||
}));
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pbLoading.Visible = false;
|
||||
this.statusBar.lblTaskStatus.Text = "导入完成";
|
||||
BaseMsgForm.ShowInfo("导入完成!");
|
||||
}));
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -147,6 +147,9 @@
|
||||
<metadata name="col_spu_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSpuIdShow.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">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
+33
-33
@@ -330,16 +330,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtViewUvMin
|
||||
//
|
||||
this.txtViewUvMin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(1128, 41);
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(1132, 41);
|
||||
this.txtViewUvMin.Name = "txtViewUvMin";
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(62, 23);
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(58, 23);
|
||||
this.txtViewUvMin.TabIndex = 882;
|
||||
this.txtViewUvMin.Visible = false;
|
||||
//
|
||||
// chkViewUvMin
|
||||
//
|
||||
this.chkViewUvMin.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(1074, 42);
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(1078, 42);
|
||||
this.chkViewUvMin.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkViewUvMin.Name = "chkViewUvMin";
|
||||
this.chkViewUvMin.Size = new System.Drawing.Size(48, 21);
|
||||
@@ -356,10 +356,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"爆款数据",
|
||||
"普通商品"});
|
||||
this.cmbHot.Location = new System.Drawing.Point(918, 7);
|
||||
this.cmbHot.Location = new System.Drawing.Point(921, 7);
|
||||
this.cmbHot.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHot.Name = "cmbHot";
|
||||
this.cmbHot.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbHot.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbHot.TabIndex = 882;
|
||||
this.cmbHot.Text = "普通商品";
|
||||
this.cmbHot.Visible = false;
|
||||
@@ -369,7 +369,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblHot.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblHot.AutoSize = true;
|
||||
this.lblHot.Location = new System.Drawing.Point(874, 9);
|
||||
this.lblHot.Location = new System.Drawing.Point(877, 9);
|
||||
this.lblHot.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblHot.Name = "lblHot";
|
||||
this.lblHot.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -384,7 +384,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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(1071, 5);
|
||||
this.btnSearch.Location = new System.Drawing.Point(1075, 5);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(51, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -408,9 +408,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1128, 5);
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1132, 5);
|
||||
this.btnEmpty.Name = "btnEmpty";
|
||||
this.btnEmpty.Size = new System.Drawing.Size(62, 25);
|
||||
this.btnEmpty.Size = new System.Drawing.Size(58, 25);
|
||||
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -435,10 +435,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(721, 7);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(723, 7);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbCat3.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
@@ -448,7 +448,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(670, 9);
|
||||
this.label17.Location = new System.Drawing.Point(672, 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);
|
||||
@@ -463,7 +463,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(517, 7);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(519, 7);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(147, 25);
|
||||
@@ -476,7 +476,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(466, 9);
|
||||
this.label14.Location = new System.Drawing.Point(468, 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);
|
||||
@@ -491,10 +491,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(294, 7);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(295, 5);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbCat1.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
@@ -504,7 +504,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(243, 9);
|
||||
this.label2.Location = new System.Drawing.Point(244, 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);
|
||||
@@ -517,7 +517,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtProdName.Location = new System.Drawing.Point(71, 6);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(147, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(148, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label3
|
||||
@@ -551,17 +551,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 40);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(227, 42);
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(228, 42);
|
||||
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
|
||||
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -573,10 +573,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtCatBoundMoreThan
|
||||
//
|
||||
this.txtCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(294, 41);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(295, 41);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(147, 23);
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(148, 23);
|
||||
this.txtCatBoundMoreThan.TabIndex = 882;
|
||||
this.txtCatBoundMoreThan.Text = "1000";
|
||||
this.txtCatBoundMoreThan.Visible = false;
|
||||
@@ -584,7 +584,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(450, 42);
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(452, 42);
|
||||
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
|
||||
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -596,7 +596,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtCatBoundLessThan
|
||||
//
|
||||
this.txtCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(517, 41);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(519, 41);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(147, 23);
|
||||
@@ -608,10 +608,10 @@ 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(918, 42);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(921, 42);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbGroupFilter.TabIndex = 653;
|
||||
this.cmbGroupFilter.Visible = false;
|
||||
this.cmbGroupFilter.SelectedIndexChanged += new System.EventHandler(this.cmbGroupFilter_SelectedIndexChanged);
|
||||
@@ -620,7 +620,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(677, 44);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(679, 44);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -632,7 +632,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblGroupFilter.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(874, 44);
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(877, 44);
|
||||
this.lblGroupFilter.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblGroupFilter.Name = "lblGroupFilter";
|
||||
this.lblGroupFilter.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -648,17 +648,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"1688外部数据",
|
||||
"已采集数据",
|
||||
"微信小店",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(721, 42);
|
||||
"多多外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(723, 42);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.Text = "厂商直采";
|
||||
this.cmbSourceType.Visible = false;
|
||||
|
||||
@@ -503,22 +503,24 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
if (!string.IsNullOrEmpty(cmbWxCat.Text))
|
||||
{
|
||||
data += "&has_wx_cat=" + (cmbWxCat.Text.Trim() == "是").ParseToString().ToLower();
|
||||
//data += "&has_wx_cat=" + (cmbWxCat.Text.Trim() == "是").ParseToString().ToLower();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(cmbExportToOutServer.Text) && cmbGroupFilter.Text != "我的商品") // 用户自己的商品没有聚水潭商品,不用考虑是否导出
|
||||
{
|
||||
//data += "&has_send_to_out_server=" + (cmbExportToOutServer.Text.Trim() == "是").ParseToString().ToLower();
|
||||
if (cmbExportToOutServer.Text.Trim() == "是")
|
||||
data += "&send_to_out_server=1";
|
||||
else if (cmbExportToOutServer.Text.Trim() == "否")
|
||||
data += "&send_to_out_server=0";
|
||||
else if (cmbExportToOutServer.Text.Trim() == "导出未拉回")
|
||||
data += "&send_to_out_server=2";
|
||||
////data += "&has_send_to_out_server=" + (cmbExportToOutServer.Text.Trim() == "是").ParseToString().ToLower();
|
||||
//if (cmbExportToOutServer.Text.Trim() == "是")
|
||||
// data += "&send_to_out_server=1";
|
||||
//else if (cmbExportToOutServer.Text.Trim() == "否")
|
||||
// data += "&send_to_out_server=0";
|
||||
//else if (cmbExportToOutServer.Text.Trim() == "导出未拉回")
|
||||
// data += "&send_to_out_server=2";
|
||||
}
|
||||
|
||||
if (cmbSourceType.Text.Trim() != "全部")
|
||||
if (!string.IsNullOrEmpty(cmbSourceType.Text.Trim()))
|
||||
{
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("多多商品", "机会商品").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
}
|
||||
if (shop != null && !string.IsNullOrEmpty(shop.ShopId))
|
||||
{
|
||||
|
||||
@@ -0,0 +1,294 @@
|
||||
namespace TemuKJD.WXForms.ShopForms
|
||||
{
|
||||
partial class WXPDDShopLoginForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXPDDShopLoginForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnLoginAgain = new TemuKJD.UserControls.ButtonEx();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btnCopyPassword = new TemuKJD.UserControls.ButtonEx();
|
||||
this.btnCopyUserName = new TemuKJD.UserControls.ButtonEx();
|
||||
this.txtPassWord = new System.Windows.Forms.TextBox();
|
||||
this.txtUserName = new System.Windows.Forms.TextBox();
|
||||
this.btnStop = new TemuKJD.UserControls.ButtonEx();
|
||||
this.btnReload = new TemuKJD.UserControls.ButtonEx();
|
||||
this.chkCloseAfterLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.txtAddress = new System.Windows.Forms.TextBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Panel2.Controls.Add(this.btnLoginAgain);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.label2);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.label1);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.btnCopyPassword);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.btnCopyUserName);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.txtPassWord);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.txtUserName);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.btnStop);
|
||||
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 = 670;
|
||||
this.splitContainer1.SplitterWidth = 3;
|
||||
this.splitContainer1.TabIndex = 4;
|
||||
//
|
||||
// btnLoginAgain
|
||||
//
|
||||
this.btnLoginAgain.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnLoginAgain.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnLoginAgain.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnLoginAgain.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnLoginAgain.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnLoginAgain.ForeColor = System.Drawing.Color.White;
|
||||
this.btnLoginAgain.Location = new System.Drawing.Point(1155, 31);
|
||||
this.btnLoginAgain.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnLoginAgain.Name = "btnLoginAgain";
|
||||
this.btnLoginAgain.Size = new System.Drawing.Size(91, 25);
|
||||
this.btnLoginAgain.TabIndex = 462;
|
||||
this.btnLoginAgain.Text = "重新登录";
|
||||
this.btnLoginAgain.UseVisualStyleBackColor = false;
|
||||
this.btnLoginAgain.Click += new System.EventHandler(this.btnLoginAgain_Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Location = new System.Drawing.Point(9, 35);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(44, 17);
|
||||
this.label2.TabIndex = 378;
|
||||
this.label2.Text = "密码";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(9, 8);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(44, 17);
|
||||
this.label1.TabIndex = 377;
|
||||
this.label1.Text = "用户名";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// btnCopyPassword
|
||||
//
|
||||
this.btnCopyPassword.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCopyPassword.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnCopyPassword.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnCopyPassword.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnCopyPassword.ForeColor = System.Drawing.Color.White;
|
||||
this.btnCopyPassword.Location = new System.Drawing.Point(191, 31);
|
||||
this.btnCopyPassword.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnCopyPassword.Name = "btnCopyPassword";
|
||||
this.btnCopyPassword.Size = new System.Drawing.Size(57, 25);
|
||||
this.btnCopyPassword.TabIndex = 376;
|
||||
this.btnCopyPassword.Text = "复制";
|
||||
this.btnCopyPassword.UseVisualStyleBackColor = false;
|
||||
this.btnCopyPassword.Click += new System.EventHandler(this.btnCopyPassword_Click);
|
||||
//
|
||||
// btnCopyUserName
|
||||
//
|
||||
this.btnCopyUserName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCopyUserName.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnCopyUserName.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnCopyUserName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnCopyUserName.ForeColor = System.Drawing.Color.White;
|
||||
this.btnCopyUserName.Location = new System.Drawing.Point(191, 4);
|
||||
this.btnCopyUserName.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnCopyUserName.Name = "btnCopyUserName";
|
||||
this.btnCopyUserName.Size = new System.Drawing.Size(57, 25);
|
||||
this.btnCopyUserName.TabIndex = 375;
|
||||
this.btnCopyUserName.Text = "复制";
|
||||
this.btnCopyUserName.UseVisualStyleBackColor = false;
|
||||
this.btnCopyUserName.Click += new System.EventHandler(this.btnCopyUserName_Click);
|
||||
//
|
||||
// txtPassWord
|
||||
//
|
||||
this.txtPassWord.Location = new System.Drawing.Point(53, 32);
|
||||
this.txtPassWord.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.txtPassWord.Name = "txtPassWord";
|
||||
this.txtPassWord.PasswordChar = '●';
|
||||
this.txtPassWord.ReadOnly = true;
|
||||
this.txtPassWord.Size = new System.Drawing.Size(135, 23);
|
||||
this.txtPassWord.TabIndex = 374;
|
||||
//
|
||||
// txtUserName
|
||||
//
|
||||
this.txtUserName.Location = new System.Drawing.Point(53, 5);
|
||||
this.txtUserName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.txtUserName.Name = "txtUserName";
|
||||
this.txtUserName.ReadOnly = true;
|
||||
this.txtUserName.Size = new System.Drawing.Size(135, 23);
|
||||
this.txtUserName.TabIndex = 373;
|
||||
//
|
||||
// btnStop
|
||||
//
|
||||
this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStop.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnStop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnStop.ForeColor = System.Drawing.Color.White;
|
||||
this.btnStop.Location = new System.Drawing.Point(1342, 31);
|
||||
this.btnStop.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnStop.Name = "btnStop";
|
||||
this.btnStop.Size = new System.Drawing.Size(91, 25);
|
||||
this.btnStop.TabIndex = 372;
|
||||
this.btnStop.Text = "停止操作";
|
||||
this.btnStop.UseVisualStyleBackColor = false;
|
||||
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
||||
//
|
||||
// btnReload
|
||||
//
|
||||
this.btnReload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnReload.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnReload.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnReload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnReload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnReload.ForeColor = System.Drawing.Color.White;
|
||||
this.btnReload.Location = new System.Drawing.Point(1249, 31);
|
||||
this.btnReload.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnReload.Name = "btnReload";
|
||||
this.btnReload.Size = new System.Drawing.Size(91, 25);
|
||||
this.btnReload.TabIndex = 371;
|
||||
this.btnReload.Text = "重新加载";
|
||||
this.btnReload.UseVisualStyleBackColor = false;
|
||||
this.btnReload.Click += new System.EventHandler(this.btnReload_Click);
|
||||
//
|
||||
// chkCloseAfterLogin
|
||||
//
|
||||
this.chkCloseAfterLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.chkCloseAfterLogin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.chkCloseAfterLogin.Checked = true;
|
||||
this.chkCloseAfterLogin.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkCloseAfterLogin.CheckValue = "Y";
|
||||
this.chkCloseAfterLogin.Location = new System.Drawing.Point(1306, 6);
|
||||
this.chkCloseAfterLogin.Name = "chkCloseAfterLogin";
|
||||
this.chkCloseAfterLogin.Size = new System.Drawing.Size(135, 23);
|
||||
this.chkCloseAfterLogin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkCloseAfterLogin.TabIndex = 8;
|
||||
this.chkCloseAfterLogin.Text = "登录成功后关闭窗口";
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer2.Location = new System.Drawing.Point(1, 33);
|
||||
this.splitContainer2.Name = "splitContainer2";
|
||||
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.Controls.Add(this.txtAddress);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.splitContainer1);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1438, 766);
|
||||
this.splitContainer2.SplitterDistance = 26;
|
||||
this.splitContainer2.TabIndex = 5;
|
||||
//
|
||||
// txtAddress
|
||||
//
|
||||
this.txtAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtAddress.Location = new System.Drawing.Point(3, 3);
|
||||
this.txtAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.txtAddress.Name = "txtAddress";
|
||||
this.txtAddress.Size = new System.Drawing.Size(1432, 23);
|
||||
this.txtAddress.TabIndex = 7;
|
||||
this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown);
|
||||
//
|
||||
// WXPDDShopLoginForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1440, 800);
|
||||
this.Controls.Add(this.splitContainer2);
|
||||
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 = "WXPDDShopLoginForm";
|
||||
this.ShowMaximizeBox = true;
|
||||
this.Text = "店铺登录";
|
||||
this.TitleText = "店铺登录";
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ShopLoginForm_FormClosed);
|
||||
this.Load += new System.EventHandler(this.ShopLoginForm_Load);
|
||||
this.Controls.SetChildIndex(this.splitContainer2, 0);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel1.PerformLayout();
|
||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private UserControls.ButtonEx btnStop;
|
||||
private UserControls.ButtonEx btnReload;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private System.Windows.Forms.TextBox txtAddress;
|
||||
private UserControls.ButtonEx btnLoginAgain;
|
||||
public DevComponents.DotNetBar.Controls.CheckBoxX chkCloseAfterLogin;
|
||||
public System.Windows.Forms.TextBox txtPassWord;
|
||||
public System.Windows.Forms.TextBox txtUserName;
|
||||
public System.Windows.Forms.Label label2;
|
||||
public System.Windows.Forms.Label label1;
|
||||
public UserControls.ButtonEx btnCopyPassword;
|
||||
public UserControls.ButtonEx btnCopyUserName;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,298 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAgIAQYAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
|
||||
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMx3d4iIiIiIiIh3fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
|
||||
zMzMzMzMzMzHeIiIiIj/////////iIiIiId8zMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
|
||||
zMzMzMzMzMzMzMeIiI/////////////////////4iIh8zMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAATMzM
|
||||
zMzMzMzMzMzMzMzMzHiI////////////////////////////iIfMzMzMzMzMzMzMzMzMzMzMxAAAAAAA
|
||||
AGzMzMzMzMzMzMzMzMzMx3iP///////////////////////////////4iHzMzMzMzMzMzMzMzMzMzMYA
|
||||
AAAAAAbMzMzMzMzMzMzMzMzMx3iP//////////////////////////////////+IfMzMzMzMzMzMzMzM
|
||||
zMzMYAAAAABMzMzMzMzMzMzMzMzMx3iP/////////////////////////////////////4h8zMzMzMzM
|
||||
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzMzMzHiP////////////////////////////////////////h3zM
|
||||
zMzMzMzMzMzMzMzGAAAABMzMzMzMzMzMzMzMzHiP////////////////////////////////////////
|
||||
//iHzMzMzMzMzMzMzMzMzEAAAAbMzMzMzMzMzMzMzMeI////////////////////////////////////
|
||||
////////+IfMzMzMzMzMzMzMzMxgAABMzMzMzMzMzMzMzMx4////////////////////////////////
|
||||
//////////////+IfMzMzMzMzMzMzMzMxAAAbMzMzMzMzMzMzMzHj///////////////////////////
|
||||
/////////////////////4fMzMzMzMzMzMzMzMYAAMzMzMzMzMzMzMzMeP//////////////////////
|
||||
///////////////////////////4fMzMzMzMzMzMzMzMAAbMzMzMzMzMzMzMx4//////////////////
|
||||
/////////////////////////////////4fMzMzMzMzMzMzMzGAGzMzMzMzMzMzMzHj/////////////
|
||||
///////////////////////////////////////4fMzMzMzMzMzMzMxgDMzMzMzMzMzMzMyI////////
|
||||
/////////////////////////////////////////////4zMzMzMzMzMzMzMwEzMzMzMzMzMzMzHj///
|
||||
//////////////////////////////////////////////////+HzMzMzMzMzMzMzMRszMzMzMzMzMzM
|
||||
eP//////////////////////////////////////////////////////+HzMzMzMzMzMzMzGbMzMzMzM
|
||||
zMzMzHj///////////////////////////////////////////////////////+MzMzMzMzMzMzMxmzM
|
||||
zMzMzMzMzMyP////+IiP////////////////////////////////////////+I//////h8zMzMzMzMzM
|
||||
zMZszMzMzMzMzMzHj////4iIiI//////////////////////////////////////+IiIj/////jMzMzM
|
||||
zMzMzMzGbMzMzMzMzMzMyP////iIiIiI/////////////////////////////////////4iIiIj////4
|
||||
fMzMzMzMzMzMxszMzMzMzMzMzHj////4iIiIiP////////////////////////////////////+IiIiI
|
||||
j////4zMzMzMzMzMzMbMzMzMzMzMzMx4////iIiIiIj////////////////////////////////////4
|
||||
iIiIiI////+HzMzMzMzMzMzMzMzMzMzMzMzMj////4iIiIiI//////////////+IiP//iI//////////
|
||||
////+IiIiIiP////h8zMzMzMzMzMzMzMzMzMzMzMzI/////4iIiIiP/////////////4d3eIiIeIj///
|
||||
//////////+IiIiIj/////jMzMzMzMzMzMzMzMzMzMzMzMyP////+IiIiIj/////////////iIiId3eI
|
||||
iI//////////////iIiIiI/////4zMzMzMzMzMzMzMzMzMzMzMzHj/////+IiIiP/////////////4//
|
||||
/4d4j/+P//////////////iIiIj/////+MzMzMzMzMzMzMzMzMzMzMzMx4//////+IiP////////////
|
||||
///////4j///////////////////iIiP//////jMzMzMzMzMzMzMzMzMzMzMzMeP//////////+IiIj/
|
||||
///////////////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzH//////////+H
|
||||
fMx8eP//////////////////////////iId3iP//////////+HzMzMzMzMzMzMzMzMzMzMzMyP//////
|
||||
///4fMzHh8eP////////////////////////+MzMzMd4//////////h8zMzMzMzMzMzMzMzMzMzMzMf/
|
||||
////////+MzMePjMeP///////////////////////4zMzMeHx4/////////4fMzMzMzMzMzMzMzMzMzM
|
||||
zMzH/////////4fMd3eHzMeP//////////////////////iMzMzIiHx4////////+HzMzMzMzMzMzMzM
|
||||
zMzMzMzMx/////////+Hx4iIfMzMj//////////////////////4h3d8x4h8yP////////jMzMzMzMzM
|
||||
zMzMzMzMzMzMzMeP////////+HiP+IfMzI//////////////////////+HiIiHd3zHj////////4zMzM
|
||||
zMzMzMzMzMzMzMzMzMzHj/////////h4//+HzMeP//////////////////////h4//h8zMyP////////
|
||||
+MzMzMzMzMzMzMzMzMzMzMzMzI/////////4iP//h8x4///////////////////////4j//4fMzHj///
|
||||
//////jMzMzMzMzMzMzMzMzMzMzMzMyP///////4iIiP+IfHj///////////////////////+Ij/+HzM
|
||||
eP/////////4zMzMzMzMzMzMzMzMzMzMzMzMj///////iIiIiIh3eP////////////////////////+I
|
||||
j4h8x3iI////////h8zMzMzMzMzMzMzMzMzMzMzMzH//////+Hj///iIiI//////////////////////
|
||||
/////4iId4iIiIj//////4zMzMzMzMzMzMzMzMzMzMzMzMx4//////iP////iP//////////////////
|
||||
/////////////4iP//iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMyP//////////+I//////////////
|
||||
///////////////////4eP//iP//////jMzMzMzMzMzMzMzMzMzMzMzMzMj///////////iP////////
|
||||
/////////////////////////4j/////////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj///////////////
|
||||
//////////////////////////////+I//////////jMzMzMzMzMzMzMzMzMzMzMzMzMzI//////////
|
||||
//////////////////////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
|
||||
////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
eP///////////////////////////////////////////////////////4zMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMj///////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzHj//////////////////////////////////////////////////////4zMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzI//////////////////////////////////////////////////////h8zMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMx4////////////////////////////////////////////////////+HzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMyI////+I////////////////////////////////////////////
|
||||
//h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+Ij/////////////////////////////////////
|
||||
//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+IiIiIj//////////////////////////4
|
||||
////iI/////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMiP/////4iIiP//////////////////////
|
||||
////+IiIiIj/////iHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////////////////
|
||||
///////////4iIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP////////////////////
|
||||
//////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////
|
||||
//////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////
|
||||
///////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////
|
||||
////////////////////////////////////////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI
|
||||
j/////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMeP//////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMx4////////+I//////////////////////////////////////jMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMeP///////4iIj///////////////////////////iP///////4fMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMx4////////iIiIiP///////////////////////4iIiP///////4zMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIj///////+HzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIj////////////////////4iIiIiIj///////
|
||||
+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIiI//
|
||||
//////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiP////////////////////iIiI
|
||||
iIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiIj/////iIiIiIiIj/////
|
||||
/4iIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiI/////4zMzMzMzM
|
||||
j/////+IiIiIiIiP//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP//////+IiIiIiIj/////+MzM
|
||||
zMzMzI//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iIiIiIiI////
|
||||
//jMzMzMzMyP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP///////4iIiIiI
|
||||
iP/////4zMzMzMzMj//////4iIiIiIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iI
|
||||
iIiIiI//////+MzMzMzMzI//////+IiIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
|
||||
///4iIiIiIiP//////fMzMzMzMyP//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzH
|
||||
j///////+IiIiIiI//////+HzMzMzMzMeP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMyP////////iIiIiIiP//////jMzMzMzMzHj///////iIiIiIiI///////4fMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMj///////+IiIiIiI///////4zMzMzMzMzI///////4iIiIiIiI///////3zMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzI////////iIiIiIiP//////+MzMzMzMzMyP//////+IiIiIiIiP//////+MzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMeP///////4iIiIiIj///////jMzMzMzMzMj///////+IiIiIiIj///////jM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiIiP//////+HzMzMzMzMzHj///////iIiIiIiI////
|
||||
///4zMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIiI////////jMzMzMzMzMzI///////4iIiIiI
|
||||
iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMzMj////////4iIiIiP///////4zMzMzMzMzMyP///////4
|
||||
iIiIiIiP//////jMzMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiI////////h8zMzMzMzMzMeP//
|
||||
/////4iIiIiIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIj////////4fMzMzMzMzM
|
||||
zHj///////+IiIiIiI//////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////iIiP////////+MzMzM
|
||||
zMzMzMzI////////+IiIiIiP//////h8zMzMzMzMzMzMxmzMzMzMzMzMx4/////////4iP/////////4
|
||||
fMzMzMzMzMzMx4////////+IiIiIj//////4fMzMzMzMzMzMzMZszMzMzMzMzMeP////////////////
|
||||
////+MzMzMzMzMzMzMyP////////iIiIiP//////+HzMzMzMzMzMzMzGbMzMzMzMzMzH////////////
|
||||
//////////fMzMzMzMzMzMzMeP////////iIiIj///////98zMzMzMzMzMzMxmzMzMzMzMzMyP//////
|
||||
//////////////+HzMzMzMzMzMzMzHj/////////+IiP////////jMzMzMzMzMzMzMZszMzMzMzMzMj/
|
||||
////////////////////jMzMzMzMzMzMzMzIj////////////////////4zMzMzMzMzMzMzGTMzMzMzM
|
||||
zMzH////////////////////+HzMzMzMzMzMzMzMx4////////////////////+MzMzMzMzMzMzMxAzM
|
||||
zMzMzMzMx/////////////////////jMzMzMzMzMzMzMzMyI///////////////////4fMzMzMzMzMzM
|
||||
zMAGzMzMzMzMzMeP//////////////////+HzMzMzMzMzMzMzMzMeP//////////////////+HzMzMzM
|
||||
zMzMzMxgBszMzMzMzMzHj//////////////////4fMzMzMzMzMzMzMzMzMeP//////////////////h8
|
||||
zMzMzMzMzMzMYADMzMzMzMzMzI//////////////////+HzMzMzMzMzMzMzMzMzHj///////////////
|
||||
///4zMzMzMzMzMzMzAAAbMzMzMzMzMyP/////////////////4fMzMzMzMzMzMzMzMzMzHj/////////
|
||||
////////+MzMzMzMzMzMzMYAAEzMzMzMzMzMj/////////////////+MzMzMzMzMzMzMzMzMzMzIj///
|
||||
/////////////4fMzMzMzMzMzMzEAAAGzMzMzMzMzHj////////////////4fMzMzMzMzMzMzMzMzMzM
|
||||
x4////////////////+MzMzMzMzMzMzMYAAABMzMzMzMzMx4////////////////h8zMzMzMzMzMzMzM
|
||||
zMzMzMx4///////////////4fMzMzMzMzMzMzEAAAABszMzMzMzMx4//////////////+HzMzMzMzMzM
|
||||
zMzMzMzMzMzMx4//////////////+MzMzMzMzMzMzMYAAAAATMzMzMzMzMyP/////////////4fMzMzM
|
||||
zMzMzMzMzMzMzMzMzMeI/////////////4fMzMzMzMzMzMzEAAAAAAbMzMzMzMzMeP////////////h8
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMeI////////////h8zMzMzMzMzMzMYAAAAAAAbMzMzMzMzMeP////////
|
||||
//iHzMzMzMzMzMzMzMzMzMzMzMzMzMyI//////////+HzMzMzMzMzMzMxgAAAAAAAEzMzMzMzMzMeP//
|
||||
//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMx4/////////4fMzMzMzMzMzMzMQAAAAAAAAGzMzMzMzM
|
||||
zMeI//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4j//////4h8zMzMzMzMzMzMxgAAAAAAAAAGzM
|
||||
zMzMzMzMx4iIiIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiIj/+Ih3zMzMzMzMzMzMzGAAAAAAAA
|
||||
AAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx3iId8zMzMzMzMzMzMzMYAAA
|
||||
AAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
xgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
|
||||
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
|
||||
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
|
||||
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
|
||||
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
|
||||
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
|
||||
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
|
||||
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
|
||||
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
|
||||
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
|
||||
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
|
||||
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
|
||||
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
|
||||
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
|
||||
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -57,16 +57,16 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
cmbNotes.Items.Clear();
|
||||
var notes = GlobalConfig.ShopLoginList.Select(s => s.Notes).Distinct();
|
||||
var notes = GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Distinct();
|
||||
cmbNotes.Items.AddRange(notes.Where(n => !n.IsNullOrEmpty()).ToArray());
|
||||
|
||||
cmbGroup.Items.Clear();
|
||||
var groups = GlobalConfig.ShopLoginList.Select(s => s.GroupName).Distinct();
|
||||
var groups = GlobalConfig.ValidShopLoginList.Select(s => s.GroupName).Distinct();
|
||||
cmbGroup.Items.AddRange(groups.Where(n => !n.IsNullOrEmpty()).ToArray());
|
||||
}));
|
||||
|
||||
var shopList = GlobalConfig.ShopLoginList.Where(s => !string.IsNullOrEmpty(s.ShopId)
|
||||
|| GlobalConfig.ShopLoginList.Where(ss=>ss.LoginName == s.LoginName).Count() == 1)
|
||||
var shopList = GlobalConfig.ValidShopLoginList.Where(s => !string.IsNullOrEmpty(s.ShopId)
|
||||
|| GlobalConfig.ValidShopLoginList.Where(ss=>ss.LoginName == s.LoginName).Count() == 1)
|
||||
/*.OrderBy(s=>s.LoginName)*/.ToList();
|
||||
|
||||
Invoke(new Action(() =>
|
||||
@@ -142,6 +142,8 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
{
|
||||
if (!this.Created)
|
||||
return;
|
||||
if (param.is_point_shop_expire)
|
||||
return;
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
DataGridViewRow dgvr = dgvShop.Rows.Cast<DataGridViewRow>().Where(p =>
|
||||
@@ -233,7 +235,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.dgvShop.AddSelectorColumn("colSelect");
|
||||
this.splitContainer2.FixedPanel = FixedPanel.Panel2;
|
||||
|
||||
//foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
//foreach (var shop in GlobalConfig.ValidShopLoginList)
|
||||
//{
|
||||
// shop.ShopSubAccountList.Clear();
|
||||
// if (!string.IsNullOrWhiteSpace(shop.SubUserName))
|
||||
@@ -267,7 +269,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
|
||||
string loginName = dgvShop.Rows[e.RowIndex].Cells["colLoginName"].Value.ParseToString();
|
||||
string accountId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(v => v.LoginName == loginName && v.ShopId == accountId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(v => v.LoginName == loginName && v.ShopId == accountId);
|
||||
|
||||
switch (headerText)
|
||||
{
|
||||
@@ -307,7 +309,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
|
||||
foreach(var row in dgvRows)
|
||||
dgvShop.Rows.Remove(row);
|
||||
GlobalConfig.ShopLoginList.RemoveAll(v => v.LoginName == shopLoginName);
|
||||
GlobalConfig.ValidShopLoginList.RemoveAll(v => v.LoginName == shopLoginName);
|
||||
}
|
||||
|
||||
private void btnRefreshCookie_Click(object sender, EventArgs e)
|
||||
@@ -350,7 +352,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
if (shopGetAddressList == null)
|
||||
{
|
||||
shopGetAddressList = new List<ShopLoginInfo>();
|
||||
shopGetAddressList.AddRange(GlobalConfig.ShopLoginList);
|
||||
shopGetAddressList.AddRange(GlobalConfig.ValidShopLoginList);
|
||||
}
|
||||
|
||||
while (shopGetAddressList.Count > 0)
|
||||
@@ -478,7 +480,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
private void btnEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
List<string> shopNameList = GetCheckedList();
|
||||
List<ShopLoginInfo> shops = GlobalConfig.ShopLoginList.Where(s => shopNameList.Contains(s.ShopId)).ToList();
|
||||
List<ShopLoginInfo> shops = GlobalConfig.ValidShopLoginList.Where(s => shopNameList.Contains(s.ShopId)).ToList();
|
||||
WXShopDefaultAddressEditForm editForm = new WXShopDefaultAddressEditForm(shops);
|
||||
editForm.SaveCompleteWithDescribe += Sae_SaveComplete;
|
||||
editForm.ShowDialog();
|
||||
|
||||
@@ -571,19 +571,19 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
param.BuyAccount,
|
||||
param.ChatAccount,
|
||||
"",
|
||||
"进入",
|
||||
"检测",
|
||||
string.IsNullOrWhiteSpace(param.LoginStatus) ? "未登录" : param.LoginStatus.Trim(),
|
||||
"批量登录",
|
||||
string.IsNullOrWhiteSpace(param.LoginStatus2) ? "国际版未登录" : param.LoginStatus2.Trim(),
|
||||
"购买",
|
||||
"多重登录",
|
||||
param.ApiAuthStatus,
|
||||
param.BuyApiAuth.ApiAuthStatus,
|
||||
"导入Cookie",
|
||||
"复制Cookie",
|
||||
"编辑",
|
||||
"删除");
|
||||
param.is_point_shop_expire ? "" : "进入",
|
||||
param.is_point_shop_expire ? "" : "检测",
|
||||
param.is_point_shop_expire ? "" : (string.IsNullOrWhiteSpace(param.LoginStatus) ? "未登录" : param.LoginStatus.Trim()),
|
||||
param.is_point_shop_expire ? "" : "批量登录",
|
||||
param.is_point_shop_expire ? "" : (string.IsNullOrWhiteSpace(param.LoginStatus2) ? "国际版未登录" : param.LoginStatus2.Trim()),
|
||||
param.is_point_shop_expire ? "" : "购买",
|
||||
param.is_point_shop_expire ? "" : "多重登录",
|
||||
param.is_point_shop_expire ? "" : param.ApiAuthStatus,
|
||||
param.is_point_shop_expire ? "" : param.BuyApiAuth.ApiAuthStatus,
|
||||
param.is_point_shop_expire ? "" : "导入Cookie",
|
||||
param.is_point_shop_expire ? "" : "复制Cookie",
|
||||
param.is_point_shop_expire ? "" : "编辑",
|
||||
param.is_point_shop_expire ? "" : "删除");
|
||||
if (!isRefresh)
|
||||
{
|
||||
// help to scroll to latest checked
|
||||
@@ -602,21 +602,36 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
|
||||
var subUserNames = param.SubUserName.Split(',').Where(su => !string.IsNullOrEmpty(su));
|
||||
var subUsers = WXSubAccountShopEditForm.lstAllSubAccount.Where(su => subUserNames.Contains(su.user_name));
|
||||
dgvr.Cells["colCookie"].Value = param.Cookies;
|
||||
dgvr.Cells["colApiAuth"].Value = param.ApiAuthStatus;
|
||||
dgvr.Cells["colBuyApiAuth"].Value = param.BuyApiAuth.ApiAuthStatus;
|
||||
dgvr.Cells["colLoginName"].Value = param.LoginName;
|
||||
dgvr.Cells["colShopAccount"].Value = param.ShopAccount;
|
||||
dgvr.Cells["colExpireTime"].Value = param.is_point_shop_expire ? "已过期" : BaseClass.StampToDateTime(param.expire_time.ParseToInt()).ToString("yy-MM-dd HH:mm");
|
||||
dgvr.Cells["colNotes"].Value = param.Notes;
|
||||
dgvr.Cells["colGroupName"].Value = param.GroupName;
|
||||
dgvr.Cells["colCookie"].Value = param.Cookies;
|
||||
dgvr.Cells["colSubUser"].Value = string.Join(",", subUsers.Select(s => s.nick_name));
|
||||
dgvr.Cells["colSubUserAccount"].Value = param.SubUserName;
|
||||
dgvr.Cells["colGroupName"].Value = param.GroupName;
|
||||
dgvr.Cells["colUploadAccount"].Value = param.UploadAccount;
|
||||
dgvr.Cells["colBuyAccount"].Value = param.BuyAccount;
|
||||
dgvr.Cells["colChatAccount"].Value = param.ChatAccount;
|
||||
dgvr.Cells["colRelogin"].Value = string.IsNullOrWhiteSpace(param.LoginStatus) ? "未登录" : param.LoginStatus.Trim();
|
||||
dgvr.Cells["colExpireTime"].Value = param.is_point_shop_expire ? "已过期" : BaseClass.StampToDateTime(param.expire_time.ParseToInt()).ToString("yy-MM-dd HH:mm");
|
||||
dgvr.Cells["colApiAuth"].Value = param.ApiAuthStatus;
|
||||
dgvr.Cells["colBuyApiAuth"].Value = param.BuyApiAuth.ApiAuthStatus;
|
||||
|
||||
dgvr.Cells["colGotoShop"].Value = param.is_point_shop_expire ? "" : "进入";
|
||||
dgvr.Cells["colShopOperate"].Value = param.is_point_shop_expire ? "" : "检测";
|
||||
dgvr.Cells["colRelogin"].Value = param.is_point_shop_expire ? "" : (string.IsNullOrWhiteSpace(param.LoginStatus) ? "未登录" : param.LoginStatus.Trim());
|
||||
dgvr.Cells["colSwitchLogin"].Value = param.is_point_shop_expire ? "" : "批量登录";
|
||||
dgvr.Cells["colReLogin2"].Value = param.is_point_shop_expire ? "" : (string.IsNullOrWhiteSpace(param.LoginStatus2) ? "国际版未登录" : param.LoginStatus2.Trim());
|
||||
dgvr.Cells["colBuyApi"].Value = param.is_point_shop_expire ? "" : "购买";
|
||||
dgvr.Cells["colMultiLogin"].Value = param.is_point_shop_expire ? "" : "多重登录";
|
||||
dgvr.Cells["colApiAuth"].Value = param.is_point_shop_expire ? "" : param.ApiAuthStatus;
|
||||
dgvr.Cells["colBuyApiAuth"].Value = param.is_point_shop_expire ? "" : param.BuyApiAuth.ApiAuthStatus;
|
||||
dgvr.Cells["colUpdateCookies"].Value = param.is_point_shop_expire ? "" : "导入Cookie";
|
||||
dgvr.Cells["colCopyCookies"].Value = param.is_point_shop_expire ? "" : "复制Cookie";
|
||||
dgvr.Cells["colEdit"].Value = param.is_point_shop_expire ? "" : "编辑";
|
||||
dgvr.Cells["colDelete"].Value = param.is_point_shop_expire ? "" : "删除";
|
||||
|
||||
|
||||
|
||||
dgvr.Cells["colExpireTime"].Style.ForeColor = dgvr.Cells["colExpireTime"].Value.ParseToString() == "已过期" ? Color.Red : Color.Blue;
|
||||
}
|
||||
|
||||
|
||||
+54
-26
@@ -30,8 +30,8 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
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();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.cmbFilterShopGroup = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
@@ -93,7 +93,6 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.btnClose = new DevComponents.DotNetBar.PanelEx();
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colDetail = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
@@ -126,6 +125,8 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.colAvailableAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPendingAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDepositBalance = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.btnRefresh = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -170,6 +171,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
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.btnRefresh);
|
||||
this.ucGroupBoxEx3.Controls.Add(this.cmbFilterShopGroup);
|
||||
this.ucGroupBoxEx3.Controls.Add(this.label23);
|
||||
this.ucGroupBoxEx3.Controls.Add(this.cmbFilterShopNotes);
|
||||
@@ -259,7 +261,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.btnClear.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClear.Location = new System.Drawing.Point(186, 49);
|
||||
this.btnClear.Location = new System.Drawing.Point(186, 77);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(35, 25);
|
||||
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -310,7 +312,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.btnFliter.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnFliter.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnFliter.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnFliter.Location = new System.Drawing.Point(186, 21);
|
||||
this.btnFliter.Location = new System.Drawing.Point(186, 49);
|
||||
this.btnFliter.Name = "btnFliter";
|
||||
this.btnFliter.Size = new System.Drawing.Size(35, 25);
|
||||
this.btnFliter.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -987,19 +989,19 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dgvShop.AutoRowNumber = true;
|
||||
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
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.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -1045,17 +1047,6 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.dgvShop.TabIndex = 5;
|
||||
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
|
||||
//
|
||||
// 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(1350, 26);
|
||||
this.statusBar.TabIndex = 1;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.FillWeight = 22F;
|
||||
@@ -1299,6 +1290,42 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.colDepositBalance.ReadOnly = true;
|
||||
this.colDepositBalance.Width = 80;
|
||||
//
|
||||
// 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(1350, 26);
|
||||
this.statusBar.TabIndex = 1;
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnRefresh.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnRefresh.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnRefresh.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnRefresh.Location = new System.Drawing.Point(186, 21);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(35, 25);
|
||||
this.btnRefresh.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnRefresh.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnRefresh.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnRefresh.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnRefresh.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnRefresh.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnRefresh.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnRefresh.Style.GradientAngle = 90;
|
||||
this.btnRefresh.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnRefresh.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnRefresh.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnRefresh.TabIndex = 873;
|
||||
this.btnRefresh.Text = "刷新";
|
||||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||||
//
|
||||
// WxShopStatisticsForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1426,5 +1453,6 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAvailableAmount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPendingAmount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDepositBalance;
|
||||
private DevComponents.DotNetBar.PanelEx btnRefresh;
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
public partial class WxShopStatisticsForm : BaseForms.BaseForm
|
||||
{
|
||||
bool isInit = false;
|
||||
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
|
||||
public List<WxShopSaleStatisticsGroup> lstShopStatisticsInfo = new List<WxShopSaleStatisticsGroup>();
|
||||
public List<string> lstHideColumns = new List<string>();
|
||||
public WxShopStatisticsForm()
|
||||
@@ -81,9 +82,9 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
{
|
||||
if (Visible == true)
|
||||
{
|
||||
if (!isInit)
|
||||
//if (!isInit)
|
||||
{
|
||||
isInit = true;
|
||||
//isInit = true;
|
||||
RefreshShop();
|
||||
}
|
||||
}
|
||||
@@ -98,7 +99,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
|
||||
// 获取被删除的店铺
|
||||
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
=> !GlobalConfig.ValidShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
// 更新被删除的店铺列表
|
||||
foreach (var row in dgvRowList)
|
||||
{
|
||||
@@ -106,46 +107,52 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
}
|
||||
// 获取被删除的统计信息并删除
|
||||
List<WxShopSaleStatisticsGroup> statisticsDeleteLst = lstShopStatisticsInfo.Where(row
|
||||
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.ShopId.ToString())).ToList();
|
||||
=> !GlobalConfig.ValidShopLoginList.Any(s => s.ShopId == row.ShopId.ToString())).ToList();
|
||||
foreach (var s in statisticsDeleteLst)
|
||||
{
|
||||
lstShopStatisticsInfo.Remove(s);
|
||||
}
|
||||
|
||||
// 绑定店铺(含新导入的店铺)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(shopEntity.ShopId))
|
||||
BindShop(shopEntity, selectIds);
|
||||
}
|
||||
|
||||
cmbFilterShopNotes.Items.Clear();
|
||||
foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var note in GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopNotes.Items.Add(note);
|
||||
}
|
||||
|
||||
cmbFilterShopGroup.Items.Clear();
|
||||
foreach (var group in GlobalConfig.ShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var group in GlobalConfig.ValidShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopGroup.Items.Add(group);
|
||||
}
|
||||
|
||||
GetShopStatistics(GlobalConfig.ShopLoginList.ToList(), selectIds);
|
||||
GetShopStatistics(GlobalConfig.ValidShopLoginList, selectIds);
|
||||
}
|
||||
|
||||
private void GetShopStatistics(List<ShopLoginInfo> shops, List<string> selectIds)
|
||||
private void GetShopStatistics(NaiBa.Util.ConcurrentList<ShopLoginInfo> shops, List<string> selectIds)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.pgbTaskProgress.Maximum = shops.Count;
|
||||
this.statusBar.lblTaskStatus.Text = "正在查询";
|
||||
}));
|
||||
if (cancellationTokenSource != null)
|
||||
cancellationTokenSource.Cancel();
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
Task.Run(() =>
|
||||
{
|
||||
var cancellationToken = cancellationTokenSource.Token;
|
||||
List<Task> tLst = new List<Task>();
|
||||
foreach (ShopLoginInfo shopEntity in shops)
|
||||
{
|
||||
if (cancellationToken.IsCancellationRequested)
|
||||
break;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1);
|
||||
@@ -181,6 +188,8 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
}));
|
||||
var t = Task.Run(() =>
|
||||
{
|
||||
if (cancellationToken.IsCancellationRequested)
|
||||
return;
|
||||
if (string.IsNullOrEmpty(shopEntity.ShopId))
|
||||
return;
|
||||
bool canUse = shopEntity.LoginStatus == "登录成功";
|
||||
@@ -230,7 +239,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
}));
|
||||
});
|
||||
//t.Wait();
|
||||
while(tLst.Where(ta => !ta.IsCompleted && !ta.IsFaulted && !ta.IsCanceled).Count() >= 2)
|
||||
while(tLst.Where(ta => !ta.IsCompleted && !ta.IsFaulted && !ta.IsCanceled).Count() >= 3)
|
||||
{
|
||||
Thread.Sleep(10);
|
||||
}
|
||||
@@ -246,13 +255,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.statusBar.lblTaskStatus.Text = "查询结束";
|
||||
this.pbLoading.Visible = false;
|
||||
}));
|
||||
});
|
||||
}, cancellationTokenSource.Token);
|
||||
}
|
||||
|
||||
private void BindShop(ShopLoginInfo shopEntity, List<string> selectShopId = null)
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
@@ -727,7 +738,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
|
||||
string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopAccount"].Value.ToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
switch (columnName)
|
||||
{
|
||||
@@ -772,7 +783,8 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
}
|
||||
void ReGetStatistics(List<string> reGetShopIds)
|
||||
{
|
||||
var shopList = GlobalConfig.ShopLoginList.Where(s => reGetShopIds.Contains(s.ShopId)).ToList();
|
||||
var shopList = new NaiBa.Util.ConcurrentList<ShopLoginInfo>();
|
||||
shopList.AddRange(GlobalConfig.ValidShopLoginList.Where(s => reGetShopIds.Contains(s.ShopId)));
|
||||
foreach (var shop in shopList)
|
||||
{
|
||||
WxShopSaleStatisticsGroup statistics = lstShopStatisticsInfo.FirstOrDefault(s => s.ShopId.ToString() == shop.ShopId);
|
||||
@@ -839,5 +851,10 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
cmbFilterShopGroup.Text = "全部";
|
||||
pnlFliter_Click(null, null);
|
||||
}
|
||||
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshShop();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -966,6 +966,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
buyer.browser.Load("https://mobile.yangkeduo.com/complaint_list.html?refer_page_name=personal&refer_page_sn=10001&tab=all");
|
||||
Thread.Sleep(Randomx.GetId(2000, 3000));
|
||||
|
||||
Invoke(new Action(() => { WxTalkForm.instance.TitleText = buyer.buyer_nick + " 售后读取中"; }));
|
||||
BindBuyer(buyer, "正在读取售后");
|
||||
|
||||
int top = 0;
|
||||
@@ -1022,6 +1023,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
}
|
||||
Thread.Sleep(Randomx.GetId(2000, 3000));
|
||||
|
||||
Invoke(new Action(() => { WxTalkForm.instance.TitleText = buyer.buyer_nick + " 待发货读取中"; }));
|
||||
BindBuyer(buyer, "正在读取待发货");
|
||||
|
||||
// 待发货
|
||||
@@ -1091,6 +1093,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
}
|
||||
Thread.Sleep(Randomx.GetId(2000, 3000));
|
||||
|
||||
Invoke(new Action(() => { WxTalkForm.instance.TitleText = buyer.buyer_nick + " 已发货读取中"; }));
|
||||
BindBuyer(buyer, "正在读取已发货");
|
||||
|
||||
// 已发货
|
||||
@@ -1157,6 +1160,8 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
Thread.Sleep(Randomx.GetId(6000, 8000));
|
||||
}
|
||||
isReadOrder = false;
|
||||
|
||||
Invoke(new Action(() => { WxTalkForm.instance.TitleText = "订单读取已结束,等待下次读取"; }));
|
||||
}, cancellationTokenSource.Token);
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1235,8 +1235,8 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.KeyPreview = true;
|
||||
this.Name = "WxTalkForm";
|
||||
this.ShowMaximizeBox = true;
|
||||
this.Text = "`";
|
||||
this.TitleText = "`";
|
||||
this.Text = "微信小店客服";
|
||||
this.TitleText = "微信小店客服";
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.WxTalkForm_FormClosed);
|
||||
this.Load += new System.EventHandler(this.WxTalkForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel3, 0);
|
||||
|
||||
@@ -182,18 +182,18 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
while (!StartUp.IsShopInit)
|
||||
Thread.Sleep(100);
|
||||
|
||||
SetMainBrowserUrl(GlobalConfig.ShopLoginList.FirstOrDefault());
|
||||
SetMainBrowserUrl(GlobalConfig.ValidShopLoginList.FirstOrDefault());
|
||||
// 网页初始化
|
||||
LoadShop();
|
||||
RefreshCookie(true);
|
||||
InitOrderForm(); // 加载店铺确认默认店铺后再初始化订单列表读取
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var shopNote in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var shopNote in GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
this.cmbFiltNotes.Items.Add(shopNote);
|
||||
}
|
||||
foreach (var group in GlobalConfig.ShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var group in GlobalConfig.ValidShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
this.cmbFiltGroups.Items.Add(group);
|
||||
}
|
||||
@@ -272,7 +272,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
//AutoReplayParam autoReplayParam = lstAutoReplayParam.FirstOrDefault();
|
||||
var autoReplayParamLst = lstAutoReplayParam.Where(r => r.nickName == autoReplayParam.nickName).ToList();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == autoReplayParam.shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == autoReplayParam.shopId);
|
||||
if (shop == null)
|
||||
{
|
||||
lstAutoReplayParam.RemoveAll(r => r.shopId == autoReplayParam.shopId);
|
||||
@@ -449,7 +449,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
for (int i = 0; i < 120; i++)
|
||||
{
|
||||
foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
foreach (var shop in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
if (shop.Chat?.IsBrowserInitialized != true)
|
||||
continue;
|
||||
@@ -569,7 +569,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
if (shopList == null)
|
||||
shopList = new List<ShopLoginInfo>();
|
||||
if (shopList.Count == 0)
|
||||
shopList.AddRange(GlobalConfig.ShopLoginList);
|
||||
shopList.AddRange(GlobalConfig.ValidShopLoginList);
|
||||
|
||||
for (int i = 0; i < shopList.Count; i++)
|
||||
{
|
||||
@@ -728,7 +728,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
if (cef == null)
|
||||
return;
|
||||
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.Chat == cef);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.Chat == cef);
|
||||
if (shop == null)
|
||||
return;
|
||||
|
||||
@@ -1221,7 +1221,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value?.ToString();
|
||||
if (string.IsNullOrEmpty(shopId))
|
||||
return;
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if (shop == null)
|
||||
return;
|
||||
|
||||
@@ -1248,7 +1248,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value?.ToString();
|
||||
if (string.IsNullOrEmpty(shopId))
|
||||
return;
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if (shop == null)
|
||||
return;
|
||||
|
||||
@@ -1298,7 +1298,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
string shopId = row.Cells["colShopId"].Value?.ToString();
|
||||
if (string.IsNullOrEmpty(shopId))
|
||||
return;
|
||||
var shop = GlobalConfig.ShopLoginList.Where(s => s.ShopId == shopId).FirstOrDefault();
|
||||
var shop = GlobalConfig.ValidShopLoginList.Where(s => s.ShopId == shopId).FirstOrDefault();
|
||||
if (shop == null)
|
||||
return;
|
||||
|
||||
@@ -1374,7 +1374,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
if (!isAuto)
|
||||
WXShopListForm.UpdateShop();
|
||||
foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
foreach (var shop in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
var r = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(x => x.Cells["colShopId"].Value.ToString() == shop.ShopId);
|
||||
Invoke(new Action(() =>
|
||||
@@ -1447,7 +1447,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
List<Task> tList = new List<Task>();
|
||||
if (refreshAll)
|
||||
lstShopAfterSale.Clear();
|
||||
foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
foreach (var shop in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
var shopMainInfo = lstShopAfterSale.FirstOrDefault(sa => sa.ShopId == shop.ShopId);
|
||||
if (shopMainInfo == null)
|
||||
@@ -1580,7 +1580,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
void RefreshMsgCount()
|
||||
{
|
||||
lstShopKfStatistics.Clear();
|
||||
foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
foreach (var shop in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
var kfMsg = new WxShopKfStatistics() { ShopId = shop.ShopId };
|
||||
var kfMsgRst = GetKfMsgStatistics(shop, BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date), BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now));
|
||||
|
||||
Reference in new issue
Block a user