1拼多多图片上传功能优化 2temu随机sku前后特殊字符功能
This commit is contained in:
1 parent
51e1773793
commit
2388ea8ae9
10 files changed
+309
-163
No files matched your search
+136
-106
@@ -39,6 +39,7 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DbProductSelectListManageForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.lblSkuRandomLetterNotes = new System.Windows.Forms.Label();
|
||||
this.btnAdd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.btnSetSubSa = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -64,11 +65,6 @@
|
||||
this.chkChangeSizeAndNumber = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnExport = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblCustomImgNum = new System.Windows.Forms.Label();
|
||||
this.btnCustomImg = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.numSeconds = new System.Windows.Forms.NumericUpDown();
|
||||
this.chkCustomPic = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnDel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -95,6 +91,7 @@
|
||||
this.txtSkuHeadText = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.txtSkuEndText = new System.Windows.Forms.TextBox();
|
||||
this.chkSkuRandomLetter = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkFission = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkHeadWords = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkEndWords = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
@@ -113,6 +110,11 @@
|
||||
this.chkAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.lblCustomImgNum = new System.Windows.Forms.Label();
|
||||
this.numSeconds = new System.Windows.Forms.NumericUpDown();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.btnCustomImg = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkCustomPic = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colSelectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -158,7 +160,6 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPrice)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPriceTimes)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numSeconds)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.flowLayoutPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numSkuRandomPrice)).BeginInit();
|
||||
@@ -167,6 +168,7 @@
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numSeconds)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvSelectProduct)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -181,6 +183,7 @@
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.lblSkuRandomLetterNotes);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnAdd);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label21);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSetSubSa);
|
||||
@@ -206,11 +209,6 @@
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkChangeSizeAndNumber);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnExport);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.lblCustomImgNum);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnCustomImg);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label14);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numSeconds);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkCustomPic);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnDel);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkAddPrice);
|
||||
@@ -222,6 +220,17 @@
|
||||
this.splitContainer1.SplitterDistance = 100;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// lblSkuRandomLetterNotes
|
||||
//
|
||||
this.lblSkuRandomLetterNotes.AutoSize = true;
|
||||
this.lblSkuRandomLetterNotes.ForeColor = System.Drawing.SystemColors.MenuHighlight;
|
||||
this.lblSkuRandomLetterNotes.Location = new System.Drawing.Point(974, 75);
|
||||
this.lblSkuRandomLetterNotes.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblSkuRandomLetterNotes.Name = "lblSkuRandomLetterNotes";
|
||||
this.lblSkuRandomLetterNotes.Size = new System.Drawing.Size(150, 17);
|
||||
this.lblSkuRandomLetterNotes.TabIndex = 641;
|
||||
this.lblSkuRandomLetterNotes.Text = "备注:当前特殊字符包括--";
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -648,83 +657,6 @@
|
||||
this.btnExport.Text = "导出数据表格";
|
||||
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
|
||||
//
|
||||
// lblCustomImgNum
|
||||
//
|
||||
this.lblCustomImgNum.AutoSize = true;
|
||||
this.lblCustomImgNum.Location = new System.Drawing.Point(1442, 75);
|
||||
this.lblCustomImgNum.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblCustomImgNum.Name = "lblCustomImgNum";
|
||||
this.lblCustomImgNum.Size = new System.Drawing.Size(95, 17);
|
||||
this.lblCustomImgNum.TabIndex = 484;
|
||||
this.lblCustomImgNum.Text = "自定义图片 0 张";
|
||||
this.lblCustomImgNum.Visible = false;
|
||||
//
|
||||
// btnCustomImg
|
||||
//
|
||||
this.btnCustomImg.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCustomImg.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnCustomImg.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnCustomImg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnCustomImg.Location = new System.Drawing.Point(1335, 70);
|
||||
this.btnCustomImg.Name = "btnCustomImg";
|
||||
this.btnCustomImg.Size = new System.Drawing.Size(106, 26);
|
||||
this.btnCustomImg.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnCustomImg.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnCustomImg.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnCustomImg.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnCustomImg.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnCustomImg.Style.GradientAngle = 90;
|
||||
this.btnCustomImg.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnCustomImg.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.TabIndex = 483;
|
||||
this.btnCustomImg.Text = "设置自定义图片";
|
||||
this.btnCustomImg.Visible = false;
|
||||
this.btnCustomImg.Click += new System.EventHandler(this.btnCustomImg_Click);
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(1276, 75);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(56, 17);
|
||||
this.label14.TabIndex = 479;
|
||||
this.label14.Text = "秒后还原";
|
||||
this.label14.Visible = false;
|
||||
//
|
||||
// numSeconds
|
||||
//
|
||||
this.numSeconds.Location = new System.Drawing.Point(1230, 72);
|
||||
this.numSeconds.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numSeconds.Maximum = new decimal(new int[] {
|
||||
1000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numSeconds.Name = "numSeconds";
|
||||
this.numSeconds.Size = new System.Drawing.Size(44, 23);
|
||||
this.numSeconds.TabIndex = 478;
|
||||
this.numSeconds.Value = new decimal(new int[] {
|
||||
35,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numSeconds.Visible = false;
|
||||
//
|
||||
// chkCustomPic
|
||||
//
|
||||
this.chkCustomPic.Location = new System.Drawing.Point(1101, 73);
|
||||
this.chkCustomPic.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
|
||||
this.chkCustomPic.Name = "chkCustomPic";
|
||||
this.chkCustomPic.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkCustomPic.TabIndex = 477;
|
||||
this.chkCustomPic.Text = "使用自定义图片并在";
|
||||
this.chkCustomPic.UseVisualStyleBackColor = true;
|
||||
this.chkCustomPic.Visible = false;
|
||||
//
|
||||
// btnDel
|
||||
//
|
||||
this.btnDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -872,7 +804,7 @@
|
||||
"核价成功",
|
||||
"核价成功(重复)",
|
||||
"重复"});
|
||||
this.cmbNotes.Location = new System.Drawing.Point(917, 8);
|
||||
this.cmbNotes.Location = new System.Drawing.Point(917, 5);
|
||||
this.cmbNotes.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbNotes.Name = "cmbNotes";
|
||||
this.cmbNotes.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -897,7 +829,7 @@
|
||||
"已上传",
|
||||
"草稿箱",
|
||||
"全部"});
|
||||
this.cmbStatus.Location = new System.Drawing.Point(814, 8);
|
||||
this.cmbStatus.Location = new System.Drawing.Point(814, 5);
|
||||
this.cmbStatus.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbStatus.Name = "cmbStatus";
|
||||
this.cmbStatus.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -1043,6 +975,7 @@
|
||||
this.flowLayoutPanel1.Controls.Add(this.txtSkuHeadText);
|
||||
this.flowLayoutPanel1.Controls.Add(this.label10);
|
||||
this.flowLayoutPanel1.Controls.Add(this.txtSkuEndText);
|
||||
this.flowLayoutPanel1.Controls.Add(this.chkSkuRandomLetter);
|
||||
this.flowLayoutPanel1.Controls.Add(this.chkFission);
|
||||
this.flowLayoutPanel1.Controls.Add(this.chkHeadWords);
|
||||
this.flowLayoutPanel1.Controls.Add(this.chkEndWords);
|
||||
@@ -1075,7 +1008,7 @@
|
||||
this.txtSkuHeadText.Location = new System.Drawing.Point(55, 3);
|
||||
this.txtSkuHeadText.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtSkuHeadText.Name = "txtSkuHeadText";
|
||||
this.txtSkuHeadText.Size = new System.Drawing.Size(85, 23);
|
||||
this.txtSkuHeadText.Size = new System.Drawing.Size(65, 23);
|
||||
this.txtSkuHeadText.TabIndex = 452;
|
||||
this.txtSkuHeadText.TextChanged += new System.EventHandler(this.txtSkuHeadText_TextChanged);
|
||||
//
|
||||
@@ -1083,7 +1016,7 @@
|
||||
//
|
||||
this.label10.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(143, 6);
|
||||
this.label10.Location = new System.Drawing.Point(123, 6);
|
||||
this.label10.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(52, 17);
|
||||
@@ -1093,19 +1026,31 @@
|
||||
// txtSkuEndText
|
||||
//
|
||||
this.txtSkuEndText.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSkuEndText.Location = new System.Drawing.Point(195, 3);
|
||||
this.txtSkuEndText.Location = new System.Drawing.Point(175, 3);
|
||||
this.txtSkuEndText.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtSkuEndText.Name = "txtSkuEndText";
|
||||
this.txtSkuEndText.Size = new System.Drawing.Size(85, 23);
|
||||
this.txtSkuEndText.Size = new System.Drawing.Size(65, 23);
|
||||
this.txtSkuEndText.TabIndex = 454;
|
||||
this.txtSkuEndText.TextChanged += new System.EventHandler(this.txtSkuEndText_TextChanged);
|
||||
//
|
||||
// chkSkuRandomLetter
|
||||
//
|
||||
this.chkSkuRandomLetter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkSkuRandomLetter.AutoSize = true;
|
||||
this.chkSkuRandomLetter.Location = new System.Drawing.Point(246, 4);
|
||||
this.chkSkuRandomLetter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.chkSkuRandomLetter.Name = "chkSkuRandomLetter";
|
||||
this.chkSkuRandomLetter.Size = new System.Drawing.Size(96, 21);
|
||||
this.chkSkuRandomLetter.TabIndex = 476;
|
||||
this.chkSkuRandomLetter.Text = "Sku随机字符";
|
||||
this.chkSkuRandomLetter.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkFission
|
||||
//
|
||||
this.chkFission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkFission.AutoSize = true;
|
||||
this.chkFission.Location = new System.Drawing.Point(286, 4);
|
||||
this.chkFission.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.chkFission.Location = new System.Drawing.Point(342, 4);
|
||||
this.chkFission.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.chkFission.Name = "chkFission";
|
||||
this.chkFission.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkFission.TabIndex = 475;
|
||||
@@ -1116,7 +1061,7 @@
|
||||
//
|
||||
this.chkHeadWords.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkHeadWords.AutoSize = true;
|
||||
this.chkHeadWords.Location = new System.Drawing.Point(361, 4);
|
||||
this.chkHeadWords.Location = new System.Drawing.Point(417, 4);
|
||||
this.chkHeadWords.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.chkHeadWords.Name = "chkHeadWords";
|
||||
this.chkHeadWords.Size = new System.Drawing.Size(75, 21);
|
||||
@@ -1128,7 +1073,7 @@
|
||||
//
|
||||
this.chkEndWords.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkEndWords.AutoSize = true;
|
||||
this.chkEndWords.Location = new System.Drawing.Point(436, 4);
|
||||
this.chkEndWords.Location = new System.Drawing.Point(492, 4);
|
||||
this.chkEndWords.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.chkEndWords.Name = "chkEndWords";
|
||||
this.chkEndWords.Size = new System.Drawing.Size(75, 21);
|
||||
@@ -1140,7 +1085,7 @@
|
||||
//
|
||||
this.chkReFissionAllProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkReFissionAllProdName.AutoSize = true;
|
||||
this.chkReFissionAllProdName.Location = new System.Drawing.Point(511, 4);
|
||||
this.chkReFissionAllProdName.Location = new System.Drawing.Point(567, 4);
|
||||
this.chkReFissionAllProdName.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.chkReFissionAllProdName.Name = "chkReFissionAllProdName";
|
||||
this.chkReFissionAllProdName.Size = new System.Drawing.Size(99, 21);
|
||||
@@ -1153,7 +1098,7 @@
|
||||
//
|
||||
this.chkRandomSkuOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkRandomSkuOrder.AutoSize = true;
|
||||
this.chkRandomSkuOrder.Location = new System.Drawing.Point(610, 4);
|
||||
this.chkRandomSkuOrder.Location = new System.Drawing.Point(666, 4);
|
||||
this.chkRandomSkuOrder.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.chkRandomSkuOrder.Name = "chkRandomSkuOrder";
|
||||
this.chkRandomSkuOrder.Size = new System.Drawing.Size(95, 21);
|
||||
@@ -1165,7 +1110,7 @@
|
||||
// chkSkuRandomPrice
|
||||
//
|
||||
this.chkSkuRandomPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkSkuRandomPrice.Location = new System.Drawing.Point(707, 4);
|
||||
this.chkSkuRandomPrice.Location = new System.Drawing.Point(763, 4);
|
||||
this.chkSkuRandomPrice.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
|
||||
this.chkSkuRandomPrice.Name = "chkSkuRandomPrice";
|
||||
this.chkSkuRandomPrice.Size = new System.Drawing.Size(110, 21);
|
||||
@@ -1182,7 +1127,7 @@
|
||||
0,
|
||||
0,
|
||||
131072});
|
||||
this.numSkuRandomPrice.Location = new System.Drawing.Point(817, 3);
|
||||
this.numSkuRandomPrice.Location = new System.Drawing.Point(873, 3);
|
||||
this.numSkuRandomPrice.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numSkuRandomPrice.Name = "numSkuRandomPrice";
|
||||
this.numSkuRandomPrice.Size = new System.Drawing.Size(44, 23);
|
||||
@@ -1198,7 +1143,7 @@
|
||||
//
|
||||
this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(861, 6);
|
||||
this.label11.Location = new System.Drawing.Point(917, 6);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(20, 17);
|
||||
@@ -1209,7 +1154,7 @@
|
||||
//
|
||||
this.chkOriginalPriceMarkUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkOriginalPriceMarkUp.AutoSize = true;
|
||||
this.chkOriginalPriceMarkUp.Location = new System.Drawing.Point(883, 4);
|
||||
this.chkOriginalPriceMarkUp.Location = new System.Drawing.Point(2, 29);
|
||||
this.chkOriginalPriceMarkUp.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
|
||||
this.chkOriginalPriceMarkUp.Name = "chkOriginalPriceMarkUp";
|
||||
this.chkOriginalPriceMarkUp.Size = new System.Drawing.Size(95, 21);
|
||||
@@ -1251,7 +1196,7 @@
|
||||
"全部",
|
||||
"重上",
|
||||
"已买"});
|
||||
this.cmbUserNotes.Location = new System.Drawing.Point(1044, 8);
|
||||
this.cmbUserNotes.Location = new System.Drawing.Point(1044, 5);
|
||||
this.cmbUserNotes.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbUserNotes.Name = "cmbUserNotes";
|
||||
this.cmbUserNotes.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -1330,6 +1275,11 @@
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.lblCustomImgNum);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.numSeconds);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.label14);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.btnCustomImg);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.chkCustomPic);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvSelectProduct);
|
||||
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
//
|
||||
@@ -1352,6 +1302,83 @@
|
||||
this.pbLoading.TabIndex = 7;
|
||||
this.pbLoading.TabStop = false;
|
||||
//
|
||||
// lblCustomImgNum
|
||||
//
|
||||
this.lblCustomImgNum.AutoSize = true;
|
||||
this.lblCustomImgNum.Location = new System.Drawing.Point(1447, 43);
|
||||
this.lblCustomImgNum.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblCustomImgNum.Name = "lblCustomImgNum";
|
||||
this.lblCustomImgNum.Size = new System.Drawing.Size(95, 17);
|
||||
this.lblCustomImgNum.TabIndex = 484;
|
||||
this.lblCustomImgNum.Text = "自定义图片 0 张";
|
||||
this.lblCustomImgNum.Visible = false;
|
||||
//
|
||||
// numSeconds
|
||||
//
|
||||
this.numSeconds.Location = new System.Drawing.Point(1235, 40);
|
||||
this.numSeconds.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numSeconds.Maximum = new decimal(new int[] {
|
||||
1000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numSeconds.Name = "numSeconds";
|
||||
this.numSeconds.Size = new System.Drawing.Size(44, 23);
|
||||
this.numSeconds.TabIndex = 478;
|
||||
this.numSeconds.Value = new decimal(new int[] {
|
||||
35,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numSeconds.Visible = false;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(1281, 43);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(56, 17);
|
||||
this.label14.TabIndex = 479;
|
||||
this.label14.Text = "秒后还原";
|
||||
this.label14.Visible = false;
|
||||
//
|
||||
// btnCustomImg
|
||||
//
|
||||
this.btnCustomImg.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCustomImg.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnCustomImg.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnCustomImg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnCustomImg.Location = new System.Drawing.Point(1340, 38);
|
||||
this.btnCustomImg.Name = "btnCustomImg";
|
||||
this.btnCustomImg.Size = new System.Drawing.Size(106, 26);
|
||||
this.btnCustomImg.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnCustomImg.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnCustomImg.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnCustomImg.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnCustomImg.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnCustomImg.Style.GradientAngle = 90;
|
||||
this.btnCustomImg.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnCustomImg.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.TabIndex = 483;
|
||||
this.btnCustomImg.Text = "设置自定义图片";
|
||||
this.btnCustomImg.Visible = false;
|
||||
this.btnCustomImg.Click += new System.EventHandler(this.btnCustomImg_Click);
|
||||
//
|
||||
// chkCustomPic
|
||||
//
|
||||
this.chkCustomPic.Location = new System.Drawing.Point(1106, 41);
|
||||
this.chkCustomPic.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
|
||||
this.chkCustomPic.Name = "chkCustomPic";
|
||||
this.chkCustomPic.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkCustomPic.TabIndex = 477;
|
||||
this.chkCustomPic.Text = "使用自定义图片并在";
|
||||
this.chkCustomPic.UseVisualStyleBackColor = true;
|
||||
this.chkCustomPic.Visible = false;
|
||||
//
|
||||
// dgvSelectProduct
|
||||
//
|
||||
this.dgvSelectProduct.AllowUserToAddRows = false;
|
||||
@@ -1672,17 +1699,18 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPrice)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPriceTimes)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numSeconds)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.flowLayoutPanel1.ResumeLayout(false);
|
||||
this.flowLayoutPanel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numSkuRandomPrice)).EndInit();
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel1.PerformLayout();
|
||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numSeconds)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvSelectProduct)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -1794,5 +1822,7 @@
|
||||
private DevComponents.DotNetBar.PanelEx btnSetSubSa;
|
||||
private DevComponents.DotNetBar.PanelEx btnReFission;
|
||||
private DevComponents.DotNetBar.PanelEx btnSearch;
|
||||
private UserComponent.UcCheckBox chkSkuRandomLetter;
|
||||
private System.Windows.Forms.Label lblSkuRandomLetterNotes;
|
||||
}
|
||||
}
|
||||
@@ -33,6 +33,8 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
{
|
||||
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
|
||||
|
||||
List<string> skuRandomLetterArr = new List<string> { "~", "#", "¥", "%", "&", "*", "(", ")", "(", ")", "+", "-", "_", "=", "【", "】", "·", "|", "《", "》" };
|
||||
|
||||
List<TemuDBProductSelect> lstAdminTemuDBProductSelect = new List<TemuDBProductSelect>();
|
||||
List<ShopLoginInfo> shopLst = new List<ShopLoginInfo>();
|
||||
List<TemuDBExtCodePriceInfo> lstDbPrice = new List<TemuDBExtCodePriceInfo>();
|
||||
@@ -142,6 +144,8 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
//chkRandomSkuOrder.Checked = true;
|
||||
//chkSkuRandomPrice.Checked = true;
|
||||
}
|
||||
|
||||
this.lblSkuRandomLetterNotes.Text = "备注:SKU特殊字符包括 " + string.Join(" ", skuRandomLetterArr) + " ";
|
||||
}
|
||||
|
||||
private void DbProductSelectListManageForm_VisibleChanged(object sender, EventArgs e)
|
||||
@@ -1236,7 +1240,16 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
skuEnd.Add("");
|
||||
foreach (var skuInfo in skcInfo.productSkuList)
|
||||
{
|
||||
if (cancellationTokenSource.IsCancellationRequested)
|
||||
{
|
||||
return "{\"success\":false,\"status\":\"未上传\"," +
|
||||
"\"productDraftId\":\"" + prodParam.productDraftId.ParseToString() + "\"," +
|
||||
"\"errMsg\":\"上传停止\"}";
|
||||
}
|
||||
|
||||
var speck = skuInfo.productSkuSpecList.FirstOrDefault(s => s.parentSpecName == "颜色");
|
||||
if (speck == null)
|
||||
speck = skuInfo.productSkuSpecList.FirstOrDefault();
|
||||
if (speck != null)
|
||||
{
|
||||
skuNameDic[speck.specName] = skuHead[Randomx.GetId(skuHead.Count)] +
|
||||
@@ -1244,6 +1257,14 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
}
|
||||
else
|
||||
skuNameDic[speck.specName] = speck.specName;
|
||||
|
||||
if (chkSkuRandomLetter.Checked)
|
||||
{
|
||||
//if (Randomx.GetId(2) == 1)
|
||||
skuNameDic[speck.specName] = skuNameDic[speck.specName] + skuRandomLetterArr[Randomx.GetId(skuRandomLetterArr.Count)];
|
||||
//else
|
||||
skuNameDic[speck.specName] = skuRandomLetterArr[Randomx.GetId(skuRandomLetterArr.Count)] + skuNameDic[speck.specName];
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in new issue
Block a user