加入微信客服相关功能 40%
This commit is contained in:
1 parent
f71cb1bba8
commit
c05c7e4f23
93 files changed
+2824
-356
No files matched your search
@@ -20,7 +20,7 @@ using Work;
|
||||
/// </summary>
|
||||
namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
{
|
||||
public partial class ProductThirdSelectAddShopForm : LRBaseForm
|
||||
public partial class ProductThirdSelectAddShopForm : BaseGeneralForm
|
||||
{
|
||||
public bool IsOnlyUpdateDBProduct { get; set; } = false;
|
||||
public List<ShopLoginInfo> lstSelectShop = new List<ShopLoginInfo>();
|
||||
|
||||
+72
-40
@@ -42,6 +42,7 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductThirdSelectListManageForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.cmbSearchYear = new System.Windows.Forms.ComboBox();
|
||||
this.numMaxWaitSecond = new System.Windows.Forms.NumericUpDown();
|
||||
this.btnForceEnable = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
@@ -156,6 +157,7 @@
|
||||
this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -246,6 +248,20 @@
|
||||
this.splitContainer1.SplitterDistance = 120;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// cmbSearchYear
|
||||
//
|
||||
this.cmbSearchYear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbSearchYear.FormattingEnabled = true;
|
||||
this.cmbSearchYear.Items.AddRange(new object[] {
|
||||
"2025",
|
||||
"2026"});
|
||||
this.cmbSearchYear.Location = new System.Drawing.Point(1017, 8);
|
||||
this.cmbSearchYear.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbSearchYear.Name = "cmbSearchYear";
|
||||
this.cmbSearchYear.Size = new System.Drawing.Size(55, 25);
|
||||
this.cmbSearchYear.TabIndex = 808;
|
||||
this.cmbSearchYear.Text = "2026";
|
||||
//
|
||||
// numMaxWaitSecond
|
||||
//
|
||||
this.numMaxWaitSecond.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1066,28 +1082,31 @@
|
||||
//
|
||||
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tableLayoutPanel1.ColumnCount = 20;
|
||||
this.tableLayoutPanel1.ColumnCount = 22;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.0001F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.091002F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.999102F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090094F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.09091F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.label12, 20, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbSearchYear, 21, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbUserNotes, 19, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbNotes, 17, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label13, 16, 0);
|
||||
@@ -1124,10 +1143,10 @@
|
||||
"全部",
|
||||
"重上",
|
||||
"已买"});
|
||||
this.cmbUserNotes.Location = new System.Drawing.Point(1008, 11);
|
||||
this.cmbUserNotes.Location = new System.Drawing.Point(927, 11);
|
||||
this.cmbUserNotes.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbUserNotes.Name = "cmbUserNotes";
|
||||
this.cmbUserNotes.Size = new System.Drawing.Size(64, 25);
|
||||
this.cmbUserNotes.Size = new System.Drawing.Size(52, 25);
|
||||
this.cmbUserNotes.TabIndex = 466;
|
||||
this.cmbUserNotes.Text = "全部";
|
||||
//
|
||||
@@ -1141,10 +1160,10 @@
|
||||
"核价成功",
|
||||
"核价成功(重复)",
|
||||
"重复"});
|
||||
this.cmbNotes.Location = new System.Drawing.Point(885, 11);
|
||||
this.cmbNotes.Location = new System.Drawing.Point(813, 11);
|
||||
this.cmbNotes.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbNotes.Name = "cmbNotes";
|
||||
this.cmbNotes.Size = new System.Drawing.Size(61, 25);
|
||||
this.cmbNotes.Size = new System.Drawing.Size(52, 25);
|
||||
this.cmbNotes.TabIndex = 467;
|
||||
this.cmbNotes.Text = "全部";
|
||||
//
|
||||
@@ -1152,7 +1171,7 @@
|
||||
//
|
||||
this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(853, 12);
|
||||
this.label13.Location = new System.Drawing.Point(781, 12);
|
||||
this.label13.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1168,10 +1187,10 @@
|
||||
"已上传",
|
||||
"草稿箱",
|
||||
"全部"});
|
||||
this.cmbStatus.Location = new System.Drawing.Point(786, 11);
|
||||
this.cmbStatus.Location = new System.Drawing.Point(723, 11);
|
||||
this.cmbStatus.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbStatus.Name = "cmbStatus";
|
||||
this.cmbStatus.Size = new System.Drawing.Size(61, 25);
|
||||
this.cmbStatus.Size = new System.Drawing.Size(52, 25);
|
||||
this.cmbStatus.TabIndex = 465;
|
||||
this.cmbStatus.Text = "待上传";
|
||||
//
|
||||
@@ -1192,14 +1211,14 @@
|
||||
this.txtShopId.Location = new System.Drawing.Point(47, 9);
|
||||
this.txtShopId.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtShopId.Name = "txtShopId";
|
||||
this.txtShopId.Size = new System.Drawing.Size(61, 23);
|
||||
this.txtShopId.Size = new System.Drawing.Size(52, 23);
|
||||
this.txtShopId.TabIndex = 448;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(114, 12);
|
||||
this.label7.Location = new System.Drawing.Point(105, 12);
|
||||
this.label7.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1210,7 +1229,7 @@
|
||||
//
|
||||
this.label8.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(730, 12);
|
||||
this.label8.Location = new System.Drawing.Point(667, 12);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1220,17 +1239,17 @@
|
||||
// txtShopName
|
||||
//
|
||||
this.txtShopName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtShopName.Location = new System.Drawing.Point(170, 9);
|
||||
this.txtShopName.Location = new System.Drawing.Point(161, 9);
|
||||
this.txtShopName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtShopName.Name = "txtShopName";
|
||||
this.txtShopName.Size = new System.Drawing.Size(61, 23);
|
||||
this.txtShopName.Size = new System.Drawing.Size(52, 23);
|
||||
this.txtShopName.TabIndex = 451;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(237, 12);
|
||||
this.label5.Location = new System.Drawing.Point(219, 12);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(31, 17);
|
||||
@@ -1240,26 +1259,26 @@
|
||||
// txtSKC
|
||||
//
|
||||
this.txtSKC.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSKC.Location = new System.Drawing.Point(366, 9);
|
||||
this.txtSKC.Location = new System.Drawing.Point(339, 9);
|
||||
this.txtSKC.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtSKC.Name = "txtSKC";
|
||||
this.txtSKC.Size = new System.Drawing.Size(61, 23);
|
||||
this.txtSKC.Size = new System.Drawing.Size(52, 23);
|
||||
this.txtSKC.TabIndex = 432;
|
||||
//
|
||||
// txtSPU
|
||||
//
|
||||
this.txtSPU.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSPU.Location = new System.Drawing.Point(268, 9);
|
||||
this.txtSPU.Location = new System.Drawing.Point(250, 9);
|
||||
this.txtSPU.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtSPU.Name = "txtSPU";
|
||||
this.txtSPU.Size = new System.Drawing.Size(61, 23);
|
||||
this.txtSPU.Size = new System.Drawing.Size(52, 23);
|
||||
this.txtSPU.TabIndex = 434;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(335, 12);
|
||||
this.label1.Location = new System.Drawing.Point(308, 12);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(31, 17);
|
||||
@@ -1270,7 +1289,7 @@
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(433, 12);
|
||||
this.label2.Location = new System.Drawing.Point(397, 12);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1280,26 +1299,26 @@
|
||||
// txtCat
|
||||
//
|
||||
this.txtCat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCat.Location = new System.Drawing.Point(465, 9);
|
||||
this.txtCat.Location = new System.Drawing.Point(429, 9);
|
||||
this.txtCat.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtCat.Name = "txtCat";
|
||||
this.txtCat.Size = new System.Drawing.Size(61, 23);
|
||||
this.txtCat.Size = new System.Drawing.Size(52, 23);
|
||||
this.txtCat.TabIndex = 425;
|
||||
//
|
||||
// txtExtCode
|
||||
//
|
||||
this.txtExtCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtExtCode.Location = new System.Drawing.Point(663, 9);
|
||||
this.txtExtCode.Location = new System.Drawing.Point(609, 9);
|
||||
this.txtExtCode.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtExtCode.Name = "txtExtCode";
|
||||
this.txtExtCode.Size = new System.Drawing.Size(61, 23);
|
||||
this.txtExtCode.Size = new System.Drawing.Size(52, 23);
|
||||
this.txtExtCode.TabIndex = 429;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(532, 12);
|
||||
this.label3.Location = new System.Drawing.Point(487, 12);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1310,7 +1329,7 @@
|
||||
//
|
||||
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(631, 12);
|
||||
this.label4.Location = new System.Drawing.Point(577, 12);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1320,17 +1339,17 @@
|
||||
// txtProdName
|
||||
//
|
||||
this.txtProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtProdName.Location = new System.Drawing.Point(564, 9);
|
||||
this.txtProdName.Location = new System.Drawing.Point(519, 9);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(61, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(52, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// lblUserNotes
|
||||
//
|
||||
this.lblUserNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblUserNotes.AutoSize = true;
|
||||
this.lblUserNotes.Location = new System.Drawing.Point(952, 12);
|
||||
this.lblUserNotes.Location = new System.Drawing.Point(871, 12);
|
||||
this.lblUserNotes.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblUserNotes.Name = "lblUserNotes";
|
||||
this.lblUserNotes.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1813,6 +1832,17 @@
|
||||
this.statusBar.Size = new System.Drawing.Size(1518, 25);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(985, 12);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(32, 17);
|
||||
this.label12.TabIndex = 836;
|
||||
this.label12.Text = "年份";
|
||||
//
|
||||
// ProductThirdSelectListManageForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1979,5 +2009,7 @@
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colEditNotes;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn ColDelete;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
|
||||
private System.Windows.Forms.ComboBox cmbSearchYear;
|
||||
private System.Windows.Forms.Label label12;
|
||||
}
|
||||
}
|
||||
@@ -34,7 +34,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
/// <summary>
|
||||
/// 库存上传商品列表
|
||||
/// </summary>
|
||||
public partial class ProductThirdSelectListManageForm : LRBaseForm
|
||||
public partial class ProductThirdSelectListManageForm : BaseGeneralForm
|
||||
{
|
||||
public EnumClientMode ClientMode { get; set; } = EnumClientMode.Admin;
|
||||
|
||||
@@ -307,6 +307,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
"&search_notes=" + (cmbNotes.Text == "全部" ? "" : cmbNotes.Text) +
|
||||
"&search_user_notes=" + (cmbUserNotes.Text == "全部" ? "" : cmbUserNotes.Text) +
|
||||
"&status=" + (cmbStatus.Text == "全部" ? "" : cmbStatus.Text);
|
||||
data += "&search_year=" + cmbSearchYear.Text;
|
||||
if (BaseClass.SaLevel > 1)
|
||||
data += "&operate_sub_sa_name=" + BaseClass.UserName;
|
||||
if (chkNoSubSa.Checked)
|
||||
@@ -1423,23 +1424,23 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
"\"errMsg\":\"上传停止\"}";
|
||||
}
|
||||
|
||||
var speck = skuInfo.productSkuSpecList.FirstOrDefault(s => s.parentSpecName == "颜色");
|
||||
if (speck == null)
|
||||
speck = skuInfo.productSkuSpecList.FirstOrDefault();
|
||||
if (speck != null)
|
||||
var spec = skuInfo.productSkuSpecList.FirstOrDefault(s => s.parentSpecName == "颜色");
|
||||
if (spec == null)
|
||||
spec = skuInfo.productSkuSpecList.FirstOrDefault();
|
||||
if (spec != null)
|
||||
{
|
||||
skuNameDic[speck.specName] = skuHead[Randomx.GetId(skuHead.Count)] +
|
||||
speck.specName + skuEnd[Randomx.GetId(skuEnd.Count)];
|
||||
skuNameDic[spec.specName] = skuHead[Randomx.GetId(skuHead.Count)] +
|
||||
spec.specName + skuEnd[Randomx.GetId(skuEnd.Count)];
|
||||
}
|
||||
else
|
||||
skuNameDic[speck.specName] = speck.specName;
|
||||
skuNameDic[spec.specName] = spec.specName;
|
||||
|
||||
if (chkSkuRandomLetter.Checked)
|
||||
{
|
||||
//if (Randomx.GetId(2) == 1)
|
||||
skuNameDic[speck.specName] = skuNameDic[speck.specName] + skuRandomLetterArr[Randomx.GetId(skuRandomLetterArr.Count)];
|
||||
skuNameDic[spec.specName] = skuNameDic[spec.specName] + skuRandomLetterArr[Randomx.GetId(skuRandomLetterArr.Count)];
|
||||
//else
|
||||
skuNameDic[speck.specName] = skuRandomLetterArr[Randomx.GetId(skuRandomLetterArr.Count)] + skuNameDic[speck.specName];
|
||||
skuNameDic[spec.specName] = skuRandomLetterArr[Randomx.GetId(skuRandomLetterArr.Count)] + skuNameDic[spec.specName];
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -1572,9 +1573,14 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
specName = skuSpecInfo.specName,
|
||||
vid = prodParam.productSpecPropertyReqs.FirstOrDefault(p => p.specId == skuSpecInfo.specId)?.vid,
|
||||
};
|
||||
//前后缀映射
|
||||
//if (skuSpecInfo.parentSpecName == "颜色" && skuNameDic[skuSpecItem.specName] != skuSpecItem.specName)
|
||||
if (groupId == 1 && skuNameDic[skuSpecItem.specName] != skuSpecItem.specName)
|
||||
skuParam.productSkuSpecReqs.Add(skuSpecItem);
|
||||
}
|
||||
{
|
||||
//sku前后缀映射
|
||||
var skuSpecItem = skuParam.productSkuSpecReqs.FirstOrDefault(s => s.parentSpecName == "颜色");
|
||||
if (skuSpecItem == null)
|
||||
skuSpecItem = skuParam.productSkuSpecReqs.FirstOrDefault();
|
||||
if (skuSpecItem != null && skuNameDic[skuSpecItem.specName] != skuSpecItem.specName)
|
||||
{
|
||||
skuSpecItem.specName = skuNameDic[skuSpecItem.specName];
|
||||
string draftId = prodParam.productDraftId.ParseToString();
|
||||
@@ -1590,8 +1596,8 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
}
|
||||
Thread.Sleep(Randomx.GetId(100, 500));
|
||||
}
|
||||
skuParam.productSkuSpecReqs.Add(skuSpecItem);
|
||||
}
|
||||
|
||||
skuParam.productSkuSuggestedPriceReq = JsonHelper.DeserializeJsonToObject<ProductSkuSuggestedPriceReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuSuggestedPrice));
|
||||
// 建议售价不能为空
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
/// <summary>
|
||||
/// 库存上传标题前后缀
|
||||
/// </summary>
|
||||
public partial class ProductThirdTitleForm : LRBaseForm
|
||||
public partial class ProductThirdTitleForm : BaseGeneralForm
|
||||
{
|
||||
public ProductThirdTitleForm()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user