1temu用户选择商品三个表及数据库id映射draftid分表操作 2拼多多读取商品显示总数 3temu可以修改单店备注

This commit is contained in:
wule committed 2025-12-19 19:47:53 +08:00
1 parent a61b8786d1
commit 4fd2a4d579
47 files changed
+2146 -1042

No files matched your search

@@ -67,8 +67,10 @@ namespace TemuKJD.KJDForms.ProductSelectForms
url = BaseClass.BuildObjString("product/mdy_product_select_notes");
else
url = BaseClass.BuildObjString("product_third/mdy_product_select_notes");
var data = UserLogin.GetSignaturex() +
"&db_id=" + dbProdSelect.id + "&notes=" + this.txtNotes.Text.Trim();
var data = UserLogin.GetSignaturex();
data += "&db_id=" + dbProdSelect.id;
data += "&select_add_time=" + dbProdSelect.add_time.ToString("yyyy-MM-dd HH:mm:ss");
data += "&notes=" + this.txtNotes.Text.Trim();
data += "&user_notes=" + this.cmbUserNotes.Text.Trim();
if (IsClientJit)
data += "&is_client_jit=true";
@@ -88,8 +90,6 @@ namespace TemuKJD.KJDForms.ProductSelectForms
data += "&fission_product_name=" + txtProdName.Text.Trim();
}
var html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
@@ -43,16 +43,14 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DbProductSelectListManageForm));
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.numMaxWaitSecond = new System.Windows.Forms.NumericUpDown();
this.label22 = new System.Windows.Forms.Label();
this.pbFissionSetting = new System.Windows.Forms.PictureBox();
this.btnForceEnable = new DevComponents.DotNetBar.PanelEx();
this.label22 = new System.Windows.Forms.Label();
this.txtNotChangeMainImg = new System.Windows.Forms.TextBox();
this.chkNoSubSa = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkNotChangeMainImg = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkAiSkuAndMainImg = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkLongTitle = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkSameExtcodeRandomMainImg = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.lblSkuRandomLetterNotes = new System.Windows.Forms.Label();
this.btnAdd = new DevComponents.DotNetBar.PanelEx();
this.lblSkuRandomLetterNotes = new System.Windows.Forms.Label();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.label9 = new System.Windows.Forms.Label();
this.txtSkuHeadText = new System.Windows.Forms.TextBox();
@@ -119,7 +117,12 @@
this.cmbUserNotes = new System.Windows.Forms.ComboBox();
this.lblUserNotes = new System.Windows.Forms.Label();
this.chkAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
this.chkAiSkuAndMainImg = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkSameExtcodeRandomMainImg = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkLongTitle = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkEnglishProdName = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkUseGlobalProductWords = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pnlError = new DevComponents.DotNetBar.PanelEx();
this.lblError = new System.Windows.Forms.Label();
@@ -173,6 +176,7 @@
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numMaxWaitSecond)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbFissionSetting)).BeginInit();
this.flowLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numSkuRandomPrice)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numUnitNum2)).BeginInit();
@@ -188,6 +192,7 @@
((System.ComponentModel.ISupportInitialize)(this.numAddPrice)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numAddPriceTimes)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.flowLayoutPanel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
@@ -212,16 +217,14 @@
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.numMaxWaitSecond);
this.splitContainer1.Panel1.Controls.Add(this.label22);
this.splitContainer1.Panel1.Controls.Add(this.pbFissionSetting);
this.splitContainer1.Panel1.Controls.Add(this.btnForceEnable);
this.splitContainer1.Panel1.Controls.Add(this.label22);
this.splitContainer1.Panel1.Controls.Add(this.txtNotChangeMainImg);
this.splitContainer1.Panel1.Controls.Add(this.chkNoSubSa);
this.splitContainer1.Panel1.Controls.Add(this.chkNotChangeMainImg);
this.splitContainer1.Panel1.Controls.Add(this.chkAiSkuAndMainImg);
this.splitContainer1.Panel1.Controls.Add(this.chkLongTitle);
this.splitContainer1.Panel1.Controls.Add(this.chkSameExtcodeRandomMainImg);
this.splitContainer1.Panel1.Controls.Add(this.lblSkuRandomLetterNotes);
this.splitContainer1.Panel1.Controls.Add(this.btnAdd);
this.splitContainer1.Panel1.Controls.Add(this.lblSkuRandomLetterNotes);
this.splitContainer1.Panel1.Controls.Add(this.flowLayoutPanel1);
this.splitContainer1.Panel1.Controls.Add(this.btnSetSubSa);
this.splitContainer1.Panel1.Controls.Add(this.btnReFission);
@@ -254,7 +257,8 @@
this.splitContainer1.Panel1.Controls.Add(this.btnExport);
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
this.splitContainer1.Panel1.Controls.Add(this.chkAddPrice);
this.splitContainer1.Panel1.Controls.Add(this.chkEnglishProdName);
this.splitContainer1.Panel1.Controls.Add(this.flowLayoutPanel2);
this.splitContainer1.Panel1.Controls.Add(this.chkUseGlobalProductWords);
//
// splitContainer1.Panel2
//
@@ -265,7 +269,9 @@
//
// numMaxWaitSecond
//
this.numMaxWaitSecond.Location = new System.Drawing.Point(104, 95);
this.numMaxWaitSecond.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.numMaxWaitSecond.Font = new System.Drawing.Font("微软雅黑", 8F);
this.numMaxWaitSecond.Location = new System.Drawing.Point(1328, 68);
this.numMaxWaitSecond.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
this.numMaxWaitSecond.Maximum = new decimal(new int[] {
500,
@@ -278,7 +284,7 @@
0,
0});
this.numMaxWaitSecond.Name = "numMaxWaitSecond";
this.numMaxWaitSecond.Size = new System.Drawing.Size(49, 23);
this.numMaxWaitSecond.Size = new System.Drawing.Size(38, 22);
this.numMaxWaitSecond.TabIndex = 745;
this.numMaxWaitSecond.Value = new decimal(new int[] {
120,
@@ -287,15 +293,17 @@
0});
this.numMaxWaitSecond.ValueChanged += new System.EventHandler(this.numMaxWaitSecond_ValueChanged);
//
// label22
// pbFissionSetting
//
this.label22.AutoSize = true;
this.label22.Location = new System.Drawing.Point(3, 98);
this.label22.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(112, 17);
this.label22.TabIndex = 744;
this.label22.Text = "最大等待时间(秒):";
this.pbFissionSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.pbFissionSetting.Image = global::TemuKJD.Properties.Resources.齿轮;
this.pbFissionSetting.Location = new System.Drawing.Point(1228, 68);
this.pbFissionSetting.Name = "pbFissionSetting";
this.pbFissionSetting.Size = new System.Drawing.Size(22, 22);
this.pbFissionSetting.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbFissionSetting.TabIndex = 774;
this.pbFissionSetting.TabStop = false;
this.pbFissionSetting.Click += new System.EventHandler(this.pbFissionSetting_Click);
//
// btnForceEnable
//
@@ -303,10 +311,10 @@
this.btnForceEnable.CanvasColor = System.Drawing.SystemColors.Control;
this.btnForceEnable.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnForceEnable.DisabledBackColor = System.Drawing.Color.Empty;
this.btnForceEnable.Location = new System.Drawing.Point(1340, 67);
this.btnForceEnable.Location = new System.Drawing.Point(1370, 67);
this.btnForceEnable.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
this.btnForceEnable.Name = "btnForceEnable";
this.btnForceEnable.Size = new System.Drawing.Size(174, 24);
this.btnForceEnable.Size = new System.Drawing.Size(144, 24);
this.btnForceEnable.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnForceEnable.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnForceEnable.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
@@ -320,9 +328,20 @@
this.btnForceEnable.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnForceEnable.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnForceEnable.TabIndex = 722;
this.btnForceEnable.Text = "强制解锁按钮(上传卡住时用)";
this.btnForceEnable.Text = "强制解锁(上传卡住时用)";
this.btnForceEnable.Click += new System.EventHandler(this.btnForceEnable_Click);
//
// label22
//
this.label22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label22.AutoSize = true;
this.label22.Location = new System.Drawing.Point(1251, 71);
this.label22.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(88, 17);
this.label22.TabIndex = 744;
this.label22.Text = "超时跳过(秒):";
//
// txtNotChangeMainImg
//
this.txtNotChangeMainImg.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -359,54 +378,6 @@
this.chkNotChangeMainImg.Text = "第 张主图不替换";
this.chkNotChangeMainImg.UseVisualStyleBackColor = true;
//
// chkAiSkuAndMainImg
//
this.chkAiSkuAndMainImg.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chkAiSkuAndMainImg.AutoSize = true;
this.chkAiSkuAndMainImg.Location = new System.Drawing.Point(1221, 96);
this.chkAiSkuAndMainImg.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.chkAiSkuAndMainImg.Name = "chkAiSkuAndMainImg";
this.chkAiSkuAndMainImg.Size = new System.Drawing.Size(152, 21);
this.chkAiSkuAndMainImg.TabIndex = 680;
this.chkAiSkuAndMainImg.Text = "sku随机AI图+随机转主";
this.chkAiSkuAndMainImg.UseVisualStyleBackColor = true;
//
// chkLongTitle
//
this.chkLongTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chkLongTitle.AutoSize = true;
this.chkLongTitle.Location = new System.Drawing.Point(937, 96);
this.chkLongTitle.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.chkLongTitle.Name = "chkLongTitle";
this.chkLongTitle.Size = new System.Drawing.Size(96, 21);
this.chkLongTitle.TabIndex = 660;
this.chkLongTitle.Text = "500字长标题";
this.chkLongTitle.UseVisualStyleBackColor = true;
//
// chkSameExtcodeRandomMainImg
//
this.chkSameExtcodeRandomMainImg.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chkSameExtcodeRandomMainImg.AutoSize = true;
this.chkSameExtcodeRandomMainImg.Location = new System.Drawing.Point(1033, 96);
this.chkSameExtcodeRandomMainImg.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.chkSameExtcodeRandomMainImg.Name = "chkSameExtcodeRandomMainImg";
this.chkSameExtcodeRandomMainImg.Size = new System.Drawing.Size(188, 21);
this.chkSameExtcodeRandomMainImg.TabIndex = 488;
this.chkSameExtcodeRandomMainImg.Text = "同货号主图随机+sku随机转主";
this.chkSameExtcodeRandomMainImg.UseVisualStyleBackColor = true;
//
// lblSkuRandomLetterNotes
//
this.lblSkuRandomLetterNotes.AutoSize = true;
this.lblSkuRandomLetterNotes.Font = new System.Drawing.Font("微软雅黑", 9F);
this.lblSkuRandomLetterNotes.ForeColor = System.Drawing.SystemColors.MenuHighlight;
this.lblSkuRandomLetterNotes.Location = new System.Drawing.Point(959, 71);
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 = "备注:SKU随机字符包括…";
//
// btnAdd
//
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -432,6 +403,18 @@
this.btnAdd.Text = "一键上传";
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// lblSkuRandomLetterNotes
//
this.lblSkuRandomLetterNotes.AutoSize = true;
this.lblSkuRandomLetterNotes.Font = new System.Drawing.Font("微软雅黑", 9F);
this.lblSkuRandomLetterNotes.ForeColor = System.Drawing.SystemColors.MenuHighlight;
this.lblSkuRandomLetterNotes.Location = new System.Drawing.Point(3, 98);
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 = "备注:SKU随机字符包括…";
//
// flowLayoutPanel1
//
this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -1420,12 +1403,61 @@
this.chkAddPrice.Text = "加价";
this.chkAddPrice.UseVisualStyleBackColor = true;
//
// flowLayoutPanel2
//
this.flowLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.flowLayoutPanel2.Controls.Add(this.chkAiSkuAndMainImg);
this.flowLayoutPanel2.Controls.Add(this.chkSameExtcodeRandomMainImg);
this.flowLayoutPanel2.Controls.Add(this.chkLongTitle);
this.flowLayoutPanel2.Controls.Add(this.chkEnglishProdName);
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.flowLayoutPanel2.Location = new System.Drawing.Point(832, 96);
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
this.flowLayoutPanel2.Size = new System.Drawing.Size(538, 23);
this.flowLayoutPanel2.TabIndex = 500;
//
// chkAiSkuAndMainImg
//
this.chkAiSkuAndMainImg.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkAiSkuAndMainImg.AutoSize = true;
this.chkAiSkuAndMainImg.Location = new System.Drawing.Point(386, 0);
this.chkAiSkuAndMainImg.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
this.chkAiSkuAndMainImg.Name = "chkAiSkuAndMainImg";
this.chkAiSkuAndMainImg.Size = new System.Drawing.Size(152, 21);
this.chkAiSkuAndMainImg.TabIndex = 680;
this.chkAiSkuAndMainImg.Text = "sku随机AI图+随机转主";
this.chkAiSkuAndMainImg.UseVisualStyleBackColor = true;
//
// chkSameExtcodeRandomMainImg
//
this.chkSameExtcodeRandomMainImg.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkSameExtcodeRandomMainImg.AutoSize = true;
this.chkSameExtcodeRandomMainImg.Location = new System.Drawing.Point(196, 0);
this.chkSameExtcodeRandomMainImg.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
this.chkSameExtcodeRandomMainImg.Name = "chkSameExtcodeRandomMainImg";
this.chkSameExtcodeRandomMainImg.Size = new System.Drawing.Size(188, 21);
this.chkSameExtcodeRandomMainImg.TabIndex = 488;
this.chkSameExtcodeRandomMainImg.Text = "同货号主图随机+sku随机转主";
this.chkSameExtcodeRandomMainImg.UseVisualStyleBackColor = true;
//
// chkLongTitle
//
this.chkLongTitle.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkLongTitle.AutoSize = true;
this.chkLongTitle.Location = new System.Drawing.Point(98, 0);
this.chkLongTitle.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
this.chkLongTitle.Name = "chkLongTitle";
this.chkLongTitle.Size = new System.Drawing.Size(96, 21);
this.chkLongTitle.TabIndex = 660;
this.chkLongTitle.Text = "500字长标题";
this.chkLongTitle.UseVisualStyleBackColor = true;
//
// chkEnglishProdName
//
this.chkEnglishProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chkEnglishProdName.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkEnglishProdName.AutoSize = true;
this.chkEnglishProdName.Location = new System.Drawing.Point(864, 96);
this.chkEnglishProdName.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.chkEnglishProdName.Location = new System.Drawing.Point(21, 0);
this.chkEnglishProdName.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
this.chkEnglishProdName.Name = "chkEnglishProdName";
this.chkEnglishProdName.Size = new System.Drawing.Size(75, 21);
this.chkEnglishProdName.TabIndex = 679;
@@ -1433,6 +1465,18 @@
this.chkEnglishProdName.UseVisualStyleBackColor = true;
this.chkEnglishProdName.CheckedChanged += new System.EventHandler(this.chkEnglishProdName_CheckedChanged);
//
// chkUseGlobalProductWords
//
this.chkUseGlobalProductWords.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chkUseGlobalProductWords.AutoSize = true;
this.chkUseGlobalProductWords.Location = new System.Drawing.Point(1163, 60);
this.chkUseGlobalProductWords.Margin = new System.Windows.Forms.Padding(0);
this.chkUseGlobalProductWords.Name = "chkUseGlobalProductWords";
this.chkUseGlobalProductWords.Size = new System.Drawing.Size(75, 38);
this.chkUseGlobalProductWords.TabIndex = 773;
this.chkUseGlobalProductWords.Text = "使用全局\r\n重组标题";
this.chkUseGlobalProductWords.UseVisualStyleBackColor = true;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -1787,7 +1831,7 @@
this.colSupplierId.HeaderText = "店铺Id";
this.colSupplierId.Name = "colSupplierId";
this.colSupplierId.ReadOnly = true;
this.colSupplierId.Width = 110;
this.colSupplierId.Width = 115;
//
// colSupplierName
//
@@ -1834,7 +1878,7 @@
this.colProdGetType.HeaderText = "商品来源";
this.colProdGetType.Name = "colProdGetType";
this.colProdGetType.ReadOnly = true;
this.colProdGetType.Width = 65;
this.colProdGetType.Width = 62;
//
// colSpuId
//
@@ -1918,7 +1962,7 @@
this.colAddTime.HeaderText = "认领时间";
this.colAddTime.Name = "colAddTime";
this.colAddTime.ReadOnly = true;
this.colAddTime.Width = 63;
this.colAddTime.Width = 62;
//
// colMdyTime
//
@@ -1927,7 +1971,7 @@
this.colMdyTime.HeaderText = "上传时间";
this.colMdyTime.Name = "colMdyTime";
this.colMdyTime.ReadOnly = true;
this.colMdyTime.Width = 63;
this.colMdyTime.Width = 62;
//
// colSubSa
//
@@ -1967,7 +2011,7 @@
this.colEditNotes.ReadOnly = true;
this.colEditNotes.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colEditNotes.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colEditNotes.Width = 62;
this.colEditNotes.Width = 38;
//
// colDelete
//
@@ -2027,6 +2071,7 @@
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numMaxWaitSecond)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbFissionSetting)).EndInit();
this.flowLayoutPanel1.ResumeLayout(false);
this.flowLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numSkuRandomPrice)).EndInit();
@@ -2044,6 +2089,8 @@
((System.ComponentModel.ISupportInitialize)(this.numAddPriceTimes)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.flowLayoutPanel2.ResumeLayout(false);
this.flowLayoutPanel2.PerformLayout();
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel1.PerformLayout();
this.splitContainer2.Panel2.ResumeLayout(false);
@@ -2149,6 +2196,21 @@
private DevComponents.DotNetBar.PanelEx pnlError;
private UserComponent.UcCheckBox chkNotChangeMainImg;
private System.Windows.Forms.TextBox txtNotChangeMainImg;
private DevComponents.DotNetBar.PanelEx btnForceEnable;
private System.Windows.Forms.NumericUpDown numMaxWaitSecond;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Panel panel2;
private DevComponents.DotNetBar.PanelEx panelEx1;
private UserComponent.DataGridViewEx dgvMapDraftIds;
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn colMapId;
private System.Windows.Forms.DataGridViewTextBoxColumn colMapShopId;
private System.Windows.Forms.DataGridViewLinkColumn colMapDraftId;
private System.Windows.Forms.DataGridViewLinkColumn colToPorductPage;
private System.Windows.Forms.DataGridViewLinkColumn colToDraftPage;
private UserComponent.UcCheckBox chkUseGlobalProductWords;
private System.Windows.Forms.PictureBox pbFissionSetting;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colSelectId;
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
@@ -2176,17 +2238,5 @@
private System.Windows.Forms.DataGridViewLinkColumn colEditNotes;
private System.Windows.Forms.DataGridViewLinkColumn colDelete;
private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
private DevComponents.DotNetBar.PanelEx btnForceEnable;
private System.Windows.Forms.NumericUpDown numMaxWaitSecond;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Panel panel2;
private DevComponents.DotNetBar.PanelEx panelEx1;
private UserComponent.DataGridViewEx dgvMapDraftIds;
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn colMapId;
private System.Windows.Forms.DataGridViewTextBoxColumn colMapShopId;
private System.Windows.Forms.DataGridViewLinkColumn colMapDraftId;
private System.Windows.Forms.DataGridViewLinkColumn colToPorductPage;
private System.Windows.Forms.DataGridViewLinkColumn colToDraftPage;
}
}
@@ -134,6 +134,8 @@ namespace TemuKJD.KJDForms.ProductSelectForms
var chkSel = this.dgvSelectProduct.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false, null, true);
chkSel.CheckedChanged += ChkSel_CheckedChanged;
this.dgvSelectProduct.AddImgColumn("colProductSkcPic", "colImgUrl");
this.dgvSelectProduct.AddMergeColumnHeader(new List<string> { "colNotes", "colEditNotes" }, "备注");
this.dgvSelectProduct.AddMergeColumn(new List<string> { "colNotes", "colEditNotes" });
dgvSelectProduct.Columns["colSubSaNick"].Visible = false;
dgvSelectProduct.Columns["colDelete"].Visible = false;
@@ -200,6 +202,10 @@ namespace TemuKJD.KJDForms.ProductSelectForms
{
colOpResult.Width += dgvSelectProduct.Width - colsWidth - dgvSelectProduct.RowHeadersWidth;
}
if(ClientMode == EnumClientMode.Client)
{
chkAiSkuAndMainImg.Visible = false;
}
}
this.lblSkuRandomLetterNotes.Text = "备注:SKU随机字符包括 " + string.Join(" ", skuRandomLetterArr) + " ";
@@ -498,6 +504,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
// 查看map映射列表
var url = BaseClass.BuildObjString("product/get_select_prod_db_id_map_draft_id_list");
var data = UserLogin.GetSignaturex() + "&select_db_id=" + dbId;
data += "&select_add_time=" + dbSelectProduct.add_time.ToString("yyyy-MM-dd HH:mm:ss");
if (ClientMode == EnumClientMode.ClientJit)
data += "&is_client_jit=true";
@@ -688,6 +695,8 @@ namespace TemuKJD.KJDForms.ProductSelectForms
var url = BaseClass.BuildObjString("product/del_select_product");
var data = UserLogin.GetSignaturex() +
"&db_id=" + dbId;
var dbSelectProduct = lstAdminTemuDBProductSelect.FirstOrDefault(p => p.id.ParseToString() == dbId);
data += "&select_add_time=" + dbSelectProduct.add_time.ToString("yyyy-MM-dd HH:mm:ss");
if (ClientMode == EnumClientMode.ClientJit)
data += "&is_client_jit=true";
var html = GetHtml.PostUtf8(url, data);
@@ -881,6 +890,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
var empty_url = BaseClass.BuildObjString("product/mdy_user_select_product_status");
var empty_data = UserLogin.GetSignaturex() +
"&db_id=" + prod.id +
"&select_add_time=" + prod.add_time.ToString("yyyy-MM-dd HH:mm:ss") +
"&status=已清除";
if (ClientMode == EnumClientMode.ClientJit)
empty_data += "&is_client_jit=true";
@@ -940,6 +950,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
var url = BaseClass.BuildObjString("product/mdy_user_select_product_status");
var data = UserLogin.GetSignaturex() +
"&db_id=" + prod.id +
"&select_add_time=" + prod.add_time.ToString("yyyy-MM-dd HH:mm:ss") +
"&draft_id=" + productDraftId + // draft_id即商品spuid
"&up_spu_id=" + prod.spu_id +
"&shop_id=" + prod.shop_id +
@@ -1345,6 +1356,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
prodParam.productName = selectProd.fission_product_name;
string headWords = "";
string centerName = "";
string endWords = "";
if (this.chkFission.Checked)
{
@@ -1362,32 +1374,26 @@ namespace TemuKJD.KJDForms.ProductSelectForms
{
//int[] heads = dbProd.head_words.Split(new string[] { "-", "个" }, StringSplitOptions.RemoveEmptyEntries)
// .Select(s => s.ParseToInt()).ToArray();
string headTemp = dbProd.head_words.Trim();
string headTemp = dbProd.head_words.ParseToString().Trim();
if (chkUseGlobalProductWords.Checked) // 使用全局头词
headTemp = GlobalConfig.ProductWords.HeadWords.Trim();
var numberRegex = BaseRegex.GetMatchRegex(headTemp, "\\d{1,9}");
int[] heads = numberRegex.Cast<Match>().Select(m => m.Value.ParseToInt()).ToArray();
if (heads.Length < 2)
{
if (GlobalConfig.ProductWords.HeadWords == null)
GlobalConfig.ProductWords.HeadWords = "";
//heads = GlobalConfig.ProductWords.HeadWords.Split(new string[] { "-", "个" }, StringSplitOptions.RemoveEmptyEntries)
// .Select(s => s.ParseToInt()).ToArray();
headTemp = GlobalConfig.ProductWords.HeadWords.Trim();
numberRegex = BaseRegex.GetMatchRegex(headTemp, "\\d{1,9}");
heads = numberRegex.Cast<Match>().Select(m => m.Value.ParseToInt()).ToArray();
}
if (heads.Length > 1 && heads[1] > heads[0])
if (heads.Length ==2 && heads[1] > heads[0])
headWords = Randomx.GetId(heads[0], heads[1]) + headTemp.Replace(heads[0] + "-" + heads[1], "");
else
headWords = headTemp;
}
// 尾词
if (this.chkEndWords.Checked)
{
endWords = string.IsNullOrEmpty(dbProd.end_words) ? "" : dbProd.end_words;
endWords = dbProd.end_words.ParseToString().Trim();
if (string.IsNullOrWhiteSpace(endWords))
endWords = string.IsNullOrEmpty(GlobalConfig.ProductWords.EndWords) ? "" : GlobalConfig.ProductWords.EndWords;
if (chkUseGlobalProductWords.Checked) // 使用全局尾词
endWords = GlobalConfig.ProductWords.EndWords.ParseToString().Trim();
}
// 标题部分打乱
@@ -1419,7 +1425,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
}
centerWords += fissionTxt + joinText;
}
string centerName = originProductName + centerWords.ParseToString();
centerName = originProductName + centerWords.ParseToString();
// 标题完全打乱
if (chkReFissionAllProdName.Checked)
@@ -1905,15 +1911,30 @@ namespace TemuKJD.KJDForms.ProductSelectForms
}
if (chkChangeSizeAndNumber.Checked)
{
skuItem.productSkuMultiPackReq = new ProductSkuMultiPackReq2()
if (numberOfPieces > 1)
{
skuClassification = 2,
numberOfPieces = numberOfPieces,
pieceUnitCode = skuInfo.productSkuMultiPack.pieceUnitCode,
productSkuNetContentReq = JsonHelper.DeserializeJsonToObject<ProductSkuNetContentReq>(
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
individuallyPacked = 1,
};
skuItem.productSkuMultiPackReq = new ProductSkuMultiPackReq2()
{
skuClassification = 2,
numberOfPieces = numberOfPieces,
pieceUnitCode = skuInfo.productSkuMultiPack.pieceUnitCode,
productSkuNetContentReq = JsonHelper.DeserializeJsonToObject<ProductSkuNetContentReq>(
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
individuallyPacked = 1,
};
}
else
{
skuItem.productSkuMultiPackReq = new ProductSkuMultiPackReq()
{
// 件数为1必须设置单品
skuClassification = 1,
numberOfPieces = 1,
pieceUnitCode = skuInfo.productSkuMultiPack.pieceUnitCode,
productSkuNetContentReq = JsonHelper.DeserializeJsonToObject<ProductSkuNetContentReq>(
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
};
}
}
skuItem.productSkuNonAuditExtAttrReq = JsonHelper.DeserializeJsonToObject<ProductSkuNonAuditExtAttrReq>(
JsonHelper.SerializeObject(skuInfo.productSkuNonAuditExtAttr));
@@ -2484,16 +2505,17 @@ namespace TemuKJD.KJDForms.ProductSelectForms
productI18nParam productI18nEn = new productI18nParam
{
language = "en",
productName = prodParam.productName,
//productName = prodParam.productName,
productName = centerName.Trim(',', ' ') + '.',
};
if (CountChineseCharacters(productI18nEn.productName) > 0 && !string.IsNullOrEmpty(headWords))
{
productI18nEn.productName = productI18nEn.productName.Replace(headWords, "");
}
if (CountChineseCharacters(productI18nEn.productName) > 0 && !string.IsNullOrEmpty(endWords))
{
productI18nEn.productName = productI18nEn.productName.Replace(endWords, "");
}
//if (CountChineseCharacters(productI18nEn.productName) > 0 && !string.IsNullOrEmpty(headWords))
//{
// productI18nEn.productName = productI18nEn.productName.Replace(headWords, "");
//}
//if (CountChineseCharacters(productI18nEn.productName) > 0 && !string.IsNullOrEmpty(endWords))
//{
// productI18nEn.productName = productI18nEn.productName.Replace(endWords, "");
//}
if (CountChineseCharacters(productI18nEn.productName) > 0)
{
Invoke(new Action(() =>
@@ -3252,10 +3274,7 @@ Content-Disposition: form-data; name=""sign""
return;
}
DbProductSelectSetSubSaForm subSaForm = new DbProductSelectSetSubSaForm(
prodList.Select(p => p.id.ToString()).ToList(),
prodList.Select(p => p.shop_id).ToList()
);
DbProductSelectSetSubSaForm subSaForm = new DbProductSelectSetSubSaForm(prodList.ToList());
subSaForm.SaveCompleteWithDescribe += SubSaForm_SaveComplete;
subSaForm.ShowDialog();
}
@@ -3389,6 +3408,7 @@ Content-Disposition: form-data; name=""sign""
var empty_url = BaseClass.BuildObjString("product/mdy_user_select_product_status");
var empty_data = UserLogin.GetSignaturex() +
"&db_id=" + prod.id +
"&select_add_time=" + prod.add_time.ToString("yyyy-MM-dd HH:mm:ss") +
"&status=已清除";
if (ClientMode == EnumClientMode.ClientJit)
empty_data += "&is_client_jit=true";
@@ -3404,13 +3424,22 @@ Content-Disposition: form-data; name=""sign""
continue;
}
var fissionProductName = DbProductListForm.GetFissionProductName(temuDBProd);
var fissionProductName = "";
if (chkUseGlobalProductWords.Checked)
{
fissionProductName = GetFissionGlobalProductName(temuDBProd);
}
else
{
fissionProductName = DbProductListForm.GetFissionProductName(temuDBProd);
}
prod.fission_product_name = fissionProductName;
var url = "";
url = BaseClass.BuildObjString("product/mdy_product_select_notes");
var data = UserLogin.GetSignaturex() +
"&db_id=" + prod.id;
var data = UserLogin.GetSignaturex();
data += "&db_id=" + prod.id;
data += "&select_add_time=" + prod.add_time.ToString("yyyy-MM-dd HH:mm:ss");
data += "&fission_product_name=" + GetHtml.UrlEncodeUtf8(fissionProductName.Trim());
if (ClientMode == EnumClientMode.ClientJit)
data += "&is_client_jit=true";
@@ -3450,6 +3479,26 @@ Content-Disposition: form-data; name=""sign""
}));
}
public string GetFissionGlobalProductName(KJDDBProduct prod)
{
string headWords = "";
if (!string.IsNullOrWhiteSpace(GlobalConfig.ProductWords.HeadWords))
{
string headTemp = GlobalConfig.ProductWords.HeadWords.Trim();
var numberRegex = BaseRegex.GetMatchRegex(headTemp, "\\d{1,9}");
int[] heads = numberRegex.Cast<Match>().Select(m => m.Value.ParseToInt()).ToArray();
if (heads.Length == 2 && heads[1] > heads[0])
headWords = Randomx.GetId(heads[0], heads[1]) + headTemp.Replace(heads[0] + "-" + heads[1], "");
else
headWords = headTemp;
}
string endWords = string.IsNullOrWhiteSpace(GlobalConfig.ProductWords.EndWords) ? "" : GlobalConfig.ProductWords.EndWords;
string centerWords = ",";
return (headWords + prod.product_name + centerWords + endWords).Trim(',');
}
private void chkSkuRandomPrice_CheckedChanged(object sender, EventArgs e)
{
@@ -3615,7 +3664,8 @@ Content-Disposition: form-data; name=""sign""
public static int CountChineseCharacters(string text)
{
// 使用正则表达式匹配中文字符
string pattern = @"[\u4e00-\u9fff]";
//string pattern = @"[\u4e00-\u9fff]";
string pattern = @"[\u4e00-\u9fff。?!,、;:“”‘’()《》【】~]";
MatchCollection matches = Regex.Matches(text, pattern);
return matches.Count;
}
@@ -3682,5 +3732,11 @@ Content-Disposition: form-data; name=""sign""
break;
}
}
private void pbFissionSetting_Click(object sender, EventArgs e)
{
ProductThirdSelectForms.ProductThirdTitleForm titleForm = new ProductThirdSelectForms.ProductThirdTitleForm();
titleForm.ShowDialog();
}
}
}
@@ -25,17 +25,19 @@ namespace TemuKJD.KJDForms.ProductSelectForms
{
List<string> lstProductSelectId = new List<string>();
List<string> lstShopSelectId = new List<string>();
List<TemuDBProductSelect> lstDbProdSelect = new List<TemuDBProductSelect>();
SetSubSaType setSubSaType;
List<ShopSubAccountInfo> lstSubSa = new List<ShopSubAccountInfo>();
public DbProductSelectSetSubSaForm(List<string> ProductSelectIds = null,
List<string> ShopSelectIds = null, SetSubSaType type = SetSubSaType.DbProduct)
public DbProductSelectSetSubSaForm(List<TemuDBProductSelect> dbProdSelectLst, SetSubSaType type = SetSubSaType.DbProduct)
{
InitializeComponent();
if (ProductSelectIds != null)
lstProductSelectId.AddRange(ProductSelectIds);
if (ShopSelectIds != null)
lstShopSelectId.AddRange(ShopSelectIds);
if (dbProdSelectLst != null)
{
lstDbProdSelect = dbProdSelectLst;
lstProductSelectId.AddRange(dbProdSelectLst.Select(p => p.id.ToString()).ToList());
lstShopSelectId.AddRange(dbProdSelectLst.Select(p => p.shop_id).ToList());
}
this.setSubSaType = type;
}
@@ -67,6 +69,10 @@ namespace TemuKJD.KJDForms.ProductSelectForms
{
return "请选择要分配的二级管理员!";
}
if (lstDbProdSelect == null || lstDbProdSelect.Count == 0)
{
return "请选择需要分配二级管理员的商品!";
}
var sub_sa = selectRow.Cells["colSubSaName"].Value.ParseToString();
var sub_sa_nick = selectRow.Cells["colSubSaNick"].Value.ParseToString();
@@ -76,11 +82,27 @@ namespace TemuKJD.KJDForms.ProductSelectForms
if (isShopAllSameSaCheck)
{
data.Append("&shop_id=" + string.Join(",", lstShopSelectId));
data.Append("&select_add_time=" + lstDbProdSelect.Max(p => p.add_time).ToString("yyyy-MM-dd HH:mm:ss"));
data.Append("&status=待上传");
}
else
{
data.Append("&db_id=" + string.Join(",", lstProductSelectId));
var yearLst = lstDbProdSelect.Select(p => p.add_time.Year).Distinct().ToList();
if (yearLst.All(y => y < 2026))
{
data.Append("&db_id=" + string.Join(",", lstProductSelectId));
data.Append("&select_add_time=" + lstDbProdSelect.Max(p => p.add_time).ToString("yyyy-MM-dd HH:mm:ss"));
}
else
{
string dbIdInfo = "[";
foreach (var year in yearLst)
{
dbIdInfo += "{\"year\":" + year + ",\"db_ids\":\"" + string.Join(",", lstDbProdSelect.Where(p => p.add_time.Year == year).Select(p => p.id)) + "\"}";
}
dbIdInfo += "]";
data.Append("&db_id_infos=" + dbIdInfo);
}
}
string url = "";
if (setSubSaType == SetSubSaType.DbProduct)
@@ -63,8 +63,10 @@ namespace TemuKJD.KJDForms.ProductSelectForms
url = BaseClass.BuildObjString("product/mdy_product_select_notes");
else
url = BaseClass.BuildObjString("product_third/mdy_product_select_notes");
var data = UserLogin.GetSignaturex() +
"&db_id=" + dbProdSelect.id + "&user_notes=" + this.cmbUserNotes.Text.Trim();
var data = UserLogin.GetSignaturex();
data += "&db_id=" + dbProdSelect.id;
data += "&select_add_time=" + dbProdSelect.add_time.ToString("yyyy-MM-dd HH:mm:ss");
data += "&user_notes=" + this.cmbUserNotes.Text.Trim();
var html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
@@ -422,6 +422,8 @@ namespace TemuKJD.KJDForms.ProductSelectForms
var url = BaseClass.BuildObjString("product/del_select_product");
var data = UserLogin.GetSignaturex() +
"&db_id=" + dbId;
var dbSelectProduct = lstTemuDBProductSelect.FirstOrDefault(p => p.id.ParseToString() == dbId);
data += "&select_add_time=" + dbSelectProduct.add_time.ToString("yyyy-MM-dd HH:mm:ss");
var html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(url, data);
@@ -69,7 +69,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
this.colOriginalPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMarkupTimes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colExtraPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.conNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEdit = new System.Windows.Forms.DataGridViewLinkColumn();
this.colDelete = new System.Windows.Forms.DataGridViewLinkColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -515,7 +515,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
this.colOriginalPrice,
this.colMarkupTimes,
this.colExtraPrice,
this.conNotes,
this.colNotes,
this.colEdit,
this.colDelete});
this.dgvPrice.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -591,11 +591,11 @@ namespace TemuKJD.KJDForms.ProductSelectForms
this.colExtraPrice.Name = "colExtraPrice";
this.colExtraPrice.ReadOnly = true;
//
// conNotes
// colNotes
//
this.conNotes.HeaderText = "备注";
this.conNotes.Name = "conNotes";
this.conNotes.ReadOnly = true;
this.colNotes.HeaderText = "备注";
this.colNotes.Name = "colNotes";
this.colNotes.ReadOnly = true;
//
// colEdit
//
@@ -689,7 +689,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
private System.Windows.Forms.DataGridViewTextBoxColumn colOriginalPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colMarkupTimes;
private System.Windows.Forms.DataGridViewTextBoxColumn colExtraPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn conNotes;
private System.Windows.Forms.DataGridViewTextBoxColumn colNotes;
private System.Windows.Forms.DataGridViewLinkColumn colEdit;
private System.Windows.Forms.DataGridViewLinkColumn colDelete;
}
@@ -135,7 +135,7 @@
<metadata name="colExtraPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="conNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colEdit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">