定向品牌

This commit is contained in:
wule committed 2026-08-12 11:25:15 +08:00
1 parent c4a36b1956
commit 4d38059e72
4 files changed
+91 -66

No files matched your search

+50 -38
View File
@@ -30,9 +30,9 @@ namespace TemuKJD.WXForms.AdminForms
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer5 = new System.Windows.Forms.SplitContainer(); this.splitContainer5 = new System.Windows.Forms.SplitContainer();
this.pnlSuperManage = new System.Windows.Forms.Panel(); this.pnlSuperManage = new System.Windows.Forms.Panel();
this.label10 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label();
@@ -111,6 +111,8 @@ namespace TemuKJD.WXForms.AdminForms
this.btnShopPointsPerMonthCancel = new DevComponents.DotNetBar.PanelEx(); this.btnShopPointsPerMonthCancel = new DevComponents.DotNetBar.PanelEx();
this.btnShopPointsPerMonth = new DevComponents.DotNetBar.PanelEx(); this.btnShopPointsPerMonth = new DevComponents.DotNetBar.PanelEx();
this.pnlTopUp = new System.Windows.Forms.Panel(); this.pnlTopUp = new System.Windows.Forms.Panel();
this.lblTopUpNickName = new System.Windows.Forms.Label();
this.lblTopUpUserId = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label();
this.lblUserInfo = new System.Windows.Forms.Label(); this.lblUserInfo = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
@@ -145,8 +147,7 @@ namespace TemuKJD.WXForms.AdminForms
this.editColumn = new System.Windows.Forms.DataGridViewLinkColumn(); this.editColumn = new System.Windows.Forms.DataGridViewLinkColumn();
this.deleteColumn = new System.Windows.Forms.DataGridViewLinkColumn(); this.deleteColumn = new System.Windows.Forms.DataGridViewLinkColumn();
this.btnExportShopErp = new DevComponents.DotNetBar.PanelEx(); this.btnExportShopErp = new DevComponents.DotNetBar.PanelEx();
this.lblTopUpNickName = new System.Windows.Forms.Label(); this.chkSpBrand = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.lblTopUpUserId = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
this.splitContainer5.Panel1.SuspendLayout(); this.splitContainer5.Panel1.SuspendLayout();
this.splitContainer5.Panel2.SuspendLayout(); this.splitContainer5.Panel2.SuspendLayout();
@@ -202,6 +203,7 @@ namespace TemuKJD.WXForms.AdminForms
this.pnlSuperManage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.pnlSuperManage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.pnlSuperManage.Controls.Add(this.chkSpBrand);
this.pnlSuperManage.Controls.Add(this.label10); this.pnlSuperManage.Controls.Add(this.label10);
this.pnlSuperManage.Controls.Add(this.label5); this.pnlSuperManage.Controls.Add(this.label5);
this.pnlSuperManage.Controls.Add(this.txtOemId); this.pnlSuperManage.Controls.Add(this.txtOemId);
@@ -552,7 +554,7 @@ namespace TemuKJD.WXForms.AdminForms
this.btnOpUser.Cursor = System.Windows.Forms.Cursors.Hand; this.btnOpUser.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOpUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnOpUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOpUser.ForeColor = System.Drawing.Color.White; this.btnOpUser.ForeColor = System.Drawing.Color.White;
this.btnOpUser.Location = new System.Drawing.Point(157, 571); this.btnOpUser.Location = new System.Drawing.Point(157, 580);
this.btnOpUser.Name = "btnOpUser"; this.btnOpUser.Name = "btnOpUser";
this.btnOpUser.Size = new System.Drawing.Size(86, 25); this.btnOpUser.Size = new System.Drawing.Size(86, 25);
this.btnOpUser.TabIndex = 34; this.btnOpUser.TabIndex = 34;
@@ -577,7 +579,7 @@ namespace TemuKJD.WXForms.AdminForms
this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCancel.ForeColor = System.Drawing.Color.White; this.btnCancel.ForeColor = System.Drawing.Color.White;
this.btnCancel.Location = new System.Drawing.Point(42, 571); this.btnCancel.Location = new System.Drawing.Point(42, 580);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(86, 25); this.btnCancel.Size = new System.Drawing.Size(86, 25);
this.btnCancel.TabIndex = 35; this.btnCancel.TabIndex = 35;
@@ -599,7 +601,7 @@ namespace TemuKJD.WXForms.AdminForms
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.SystemColors.ButtonShadow; this.label1.ForeColor = System.Drawing.SystemColors.ButtonShadow;
this.label1.Location = new System.Drawing.Point(30, 490); this.label1.Location = new System.Drawing.Point(30, 500);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(236, 68); this.label1.Size = new System.Drawing.Size(236, 68);
this.label1.TabIndex = 37; this.label1.TabIndex = 37;
@@ -1181,6 +1183,26 @@ namespace TemuKJD.WXForms.AdminForms
this.pnlTopUp.TabIndex = 8; this.pnlTopUp.TabIndex = 8;
this.pnlTopUp.Visible = false; this.pnlTopUp.Visible = false;
// //
// lblTopUpNickName
//
this.lblTopUpNickName.AutoSize = true;
this.lblTopUpNickName.Location = new System.Drawing.Point(259, 19);
this.lblTopUpNickName.Name = "lblTopUpNickName";
this.lblTopUpNickName.Size = new System.Drawing.Size(69, 17);
this.lblTopUpNickName.TabIndex = 461;
this.lblTopUpNickName.Text = "NickName";
this.lblTopUpNickName.Visible = false;
//
// lblTopUpUserId
//
this.lblTopUpUserId.AutoSize = true;
this.lblTopUpUserId.Location = new System.Drawing.Point(212, 19);
this.lblTopUpUserId.Name = "lblTopUpUserId";
this.lblTopUpUserId.Size = new System.Drawing.Size(47, 17);
this.lblTopUpUserId.TabIndex = 460;
this.lblTopUpUserId.Text = "UserId";
this.lblTopUpUserId.Visible = false;
//
// label14 // label14
// //
this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -1291,20 +1313,20 @@ namespace TemuKJD.WXForms.AdminForms
// //
this.dgvUser.AllowUserToAddRows = false; this.dgvUser.AllowUserToAddRows = false;
this.dgvUser.AllowUserToDeleteRows = false; this.dgvUser.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))); dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
this.dgvUser.AutoRowNumber = true; this.dgvUser.AutoRowNumber = true;
this.dgvUser.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dgvUser.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvUser.BackgroundColor = System.Drawing.Color.White; this.dgvUser.BackgroundColor = System.Drawing.Color.White;
this.dgvUser.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); this.dgvUser.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck, this.colCheck,
@@ -1449,8 +1471,8 @@ namespace TemuKJD.WXForms.AdminForms
// //
// colPlus // colPlus
// //
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.colPlus.DefaultCellStyle = dataGridViewCellStyle3; this.colPlus.DefaultCellStyle = dataGridViewCellStyle6;
this.colPlus.FillWeight = 22F; this.colPlus.FillWeight = 22F;
this.colPlus.HeaderText = "+"; this.colPlus.HeaderText = "+";
this.colPlus.Name = "colPlus"; this.colPlus.Name = "colPlus";
@@ -1548,25 +1570,14 @@ namespace TemuKJD.WXForms.AdminForms
this.btnExportShopErp.Visible = false; this.btnExportShopErp.Visible = false;
this.btnExportShopErp.Click += new System.EventHandler(this.btnExportShopErp_Click); this.btnExportShopErp.Click += new System.EventHandler(this.btnExportShopErp_Click);
// //
// lblTopUpNickName // chkSpBrand
// //
this.lblTopUpNickName.AutoSize = true; this.chkSpBrand.Location = new System.Drawing.Point(95, 478);
this.lblTopUpNickName.Location = new System.Drawing.Point(259, 19); this.chkSpBrand.Name = "chkSpBrand";
this.lblTopUpNickName.Name = "lblTopUpNickName"; this.chkSpBrand.Size = new System.Drawing.Size(68, 21);
this.lblTopUpNickName.Size = new System.Drawing.Size(69, 17); this.chkSpBrand.TabIndex = 848;
this.lblTopUpNickName.TabIndex = 461; this.chkSpBrand.Text = "定向品牌";
this.lblTopUpNickName.Text = "NickName"; this.chkSpBrand.UseVisualStyleBackColor = true;
this.lblTopUpNickName.Visible = false;
//
// lblTopUpUserId
//
this.lblTopUpUserId.AutoSize = true;
this.lblTopUpUserId.Location = new System.Drawing.Point(212, 19);
this.lblTopUpUserId.Name = "lblTopUpUserId";
this.lblTopUpUserId.Size = new System.Drawing.Size(47, 17);
this.lblTopUpUserId.TabIndex = 460;
this.lblTopUpUserId.Text = "UserId";
this.lblTopUpUserId.Visible = false;
// //
// WXAdminAccountForm // WXAdminAccountForm
// //
@@ -1731,5 +1742,6 @@ namespace TemuKJD.WXForms.AdminForms
private System.Windows.Forms.Label lblBalanceNickName; private System.Windows.Forms.Label lblBalanceNickName;
private System.Windows.Forms.Label lblTopUpNickName; private System.Windows.Forms.Label lblTopUpNickName;
private System.Windows.Forms.Label lblTopUpUserId; private System.Windows.Forms.Label lblTopUpUserId;
private UserComponent.UcCheckBox chkSpBrand;
} }
} }
@@ -99,6 +99,8 @@ namespace TemuKJD.WXForms.AdminForms
authority += chkProdFission.Text + ","; // 裂变调试 authority += chkProdFission.Text + ","; // 裂变调试
if (chkTraineeData.Checked) if (chkTraineeData.Checked)
authority += chkTraineeData.Text + ","; // 学员数据 authority += chkTraineeData.Text + ","; // 学员数据
if (chkSpBrand.Checked)
authority += chkSpBrand.Text + ","; // 定向品牌
data.Append("&authority=" + authority.Trim(',')); data.Append("&authority=" + authority.Trim(','));
string url = BaseClass.BuildObjString("user/add_user"); string url = BaseClass.BuildObjString("user/add_user");
@@ -225,6 +227,7 @@ namespace TemuKJD.WXForms.AdminForms
chkWXShowProdGetFromType.Checked = false; chkWXShowProdGetFromType.Checked = false;
chkChanceProdCollect.Checked = false; chkChanceProdCollect.Checked = false;
chkTraineeData.Checked = false; chkTraineeData.Checked = false;
chkSpBrand.Checked = false;
chkShopOptimize.Checked = false; chkShopOptimize.Checked = false;
chkEcWaybill.Checked = false; chkEcWaybill.Checked = false;
chkCommissionUpdate.Checked = false; chkCommissionUpdate.Checked = false;
@@ -274,6 +277,7 @@ namespace TemuKJD.WXForms.AdminForms
chkProdFission.Checked = authority.Contains(chkProdFission.Text); chkProdFission.Checked = authority.Contains(chkProdFission.Text);
chkChanceProdCollect.Checked = authority.Contains(chkChanceProdCollect.Text); chkChanceProdCollect.Checked = authority.Contains(chkChanceProdCollect.Text);
chkTraineeData.Checked = authority.Contains(chkTraineeData.Text); chkTraineeData.Checked = authority.Contains(chkTraineeData.Text);
chkSpBrand.Checked = authority.Contains(chkSpBrand.Text);
chkShopOptimize.Checked = authority.Contains(chkShopOptimize.Text); chkShopOptimize.Checked = authority.Contains(chkShopOptimize.Text);
chkEcWaybill.Checked = authority.Contains(chkEcWaybill.Text); chkEcWaybill.Checked = authority.Contains(chkEcWaybill.Text);
chkCommissionUpdate.Checked = authority.Contains(chkCommissionUpdate.Text); chkCommissionUpdate.Checked = authority.Contains(chkCommissionUpdate.Text);
+27 -27
View File
@@ -103,8 +103,8 @@ namespace TemuKJD.WXForms.ProductForms
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.label39 = new System.Windows.Forms.Label(); this.label39 = new System.Windows.Forms.Label();
this.chkSkipReplaceText = new TemuKJD.UserComponent.UcCheckBox(this.components); this.chkSkipReplaceText = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.上传参数2 = new System.Windows.Forms.TabPage(); this.特殊参数 = new System.Windows.Forms.TabPage();
this.label40 = new System.Windows.Forms.Label(); this.lblSpBrand = new System.Windows.Forms.Label();
this.cmbSpBrandName = new System.Windows.Forms.ComboBox(); this.cmbSpBrandName = new System.Windows.Forms.ComboBox();
this.佣金上货 = new System.Windows.Forms.TabPage(); this.佣金上货 = new System.Windows.Forms.TabPage();
this.label31 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label();
@@ -261,7 +261,7 @@ namespace TemuKJD.WXForms.ProductForms
this.fPnlPriceRule.SuspendLayout(); this.fPnlPriceRule.SuspendLayout();
this.ucTabControlMetro1.SuspendLayout(); this.ucTabControlMetro1.SuspendLayout();
this.上传参数1.SuspendLayout(); this.上传参数1.SuspendLayout();
this.上传参数2.SuspendLayout(); this.特殊参数.SuspendLayout();
this.佣金上货.SuspendLayout(); this.佣金上货.SuspendLayout();
this.裂变调试.SuspendLayout(); this.裂变调试.SuspendLayout();
this.ucGroupBoxEx4.SuspendLayout(); this.ucGroupBoxEx4.SuspendLayout();
@@ -762,7 +762,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ucTabControlMetro1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251))))); this.ucTabControlMetro1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.ucTabControlMetro1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(157))))); this.ucTabControlMetro1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(157)))));
this.ucTabControlMetro1.Controls.Add(this.上传参数1); this.ucTabControlMetro1.Controls.Add(this.上传参数1);
this.ucTabControlMetro1.Controls.Add(this.上传参数2); this.ucTabControlMetro1.Controls.Add(this.特殊参数);
this.ucTabControlMetro1.Controls.Add(this.佣金上货); this.ucTabControlMetro1.Controls.Add(this.佣金上货);
this.ucTabControlMetro1.Controls.Add(this.裂变调试); this.ucTabControlMetro1.Controls.Add(this.裂变调试);
this.ucTabControlMetro1.ItemSize = new System.Drawing.Size(72, 24); this.ucTabControlMetro1.ItemSize = new System.Drawing.Size(72, 24);
@@ -1182,28 +1182,28 @@ namespace TemuKJD.WXForms.ProductForms
this.chkSkipReplaceText.UseVisualStyleBackColor = true; this.chkSkipReplaceText.UseVisualStyleBackColor = true;
this.chkSkipReplaceText.CheckedChanged += new System.EventHandler(this.chkSkipReplaceText_CheckedChanged); this.chkSkipReplaceText.CheckedChanged += new System.EventHandler(this.chkSkipReplaceText_CheckedChanged);
// //
// 上传参数2 // 特殊参数
// //
this.上传参数2.Controls.Add(this.label40); this.特殊参数.Controls.Add(this.lblSpBrand);
this.上传参数2.Controls.Add(this.cmbSpBrandName); this.特殊参数.Controls.Add(this.cmbSpBrandName);
this.上传参数2.Location = new System.Drawing.Point(4, 28); this.特殊参数.Location = new System.Drawing.Point(4, 28);
this.上传参数2.Name = "上传参数2"; this.特殊参数.Name = "特殊参数";
this.上传参数2.Padding = new System.Windows.Forms.Padding(3); this.特殊参数.Padding = new System.Windows.Forms.Padding(3);
this.上传参数2.Size = new System.Drawing.Size(611, 118); this.特殊参数.Size = new System.Drawing.Size(611, 118);
this.上传参数2.TabIndex = 4; this.特殊参数.TabIndex = 4;
this.上传参数2.Text = "特殊参数"; this.特殊参数.Text = "特殊参数";
this.上传参数2.UseVisualStyleBackColor = true; this.特殊参数.UseVisualStyleBackColor = true;
// //
// label40 // lblSpBrand
// //
this.label40.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblSpBrand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label40.AutoSize = true; this.lblSpBrand.AutoSize = true;
this.label40.Location = new System.Drawing.Point(7, 15); this.lblSpBrand.Location = new System.Drawing.Point(7, 15);
this.label40.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.lblSpBrand.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label40.Name = "label40"; this.lblSpBrand.Name = "lblSpBrand";
this.label40.Size = new System.Drawing.Size(56, 17); this.lblSpBrand.Size = new System.Drawing.Size(56, 17);
this.label40.TabIndex = 825; this.lblSpBrand.TabIndex = 825;
this.label40.Text = "定向品牌"; this.lblSpBrand.Text = "定向品牌";
// //
// cmbSpBrandName // cmbSpBrandName
// //
@@ -3229,8 +3229,8 @@ namespace TemuKJD.WXForms.ProductForms
this.ucTabControlMetro1.ResumeLayout(false); this.ucTabControlMetro1.ResumeLayout(false);
this.上传参数1.ResumeLayout(false); this.上传参数1.ResumeLayout(false);
this.上传参数1.PerformLayout(); this.上传参数1.PerformLayout();
this.上传参数2.ResumeLayout(false); this.特殊参数.ResumeLayout(false);
this.上传参数2.PerformLayout(); this.特殊参数.PerformLayout();
this.佣金上货.ResumeLayout(false); this.佣金上货.ResumeLayout(false);
this.佣金上货.PerformLayout(); this.佣金上货.PerformLayout();
this.裂变调试.ResumeLayout(false); this.裂变调试.ResumeLayout(false);
@@ -3473,8 +3473,8 @@ namespace TemuKJD.WXForms.ProductForms
private System.Windows.Forms.NumericUpDown numFilterViewUv; private System.Windows.Forms.NumericUpDown numFilterViewUv;
private UserComponent.UcCheckBox chkFilterViewUv; private UserComponent.UcCheckBox chkFilterViewUv;
private UserComponent.UcCheckBox chkUseShanghaiReturnOrderAddress; private UserComponent.UcCheckBox chkUseShanghaiReturnOrderAddress;
private System.Windows.Forms.TabPage 上传参数2; private System.Windows.Forms.TabPage 特殊参数;
private System.Windows.Forms.Label label40; private System.Windows.Forms.Label lblSpBrand;
private System.Windows.Forms.ComboBox cmbSpBrandName; private System.Windows.Forms.ComboBox cmbSpBrandName;
} }
} }
@@ -81,6 +81,14 @@ namespace TemuKJD.WXForms.ProductForms
{ {
Instance = this; Instance = this;
if (!BaseClass.UserAuthority.Contains("定向品牌"))
{
cmbSpBrandName.Visible = lblSpBrand.Visible = false;
this.ucTabControlMetro1.TabPages.Remove(特殊参数);
}
else
cmbSpBrandName.Visible = lblSpBrand.Visible = true;
if (!BaseClass.UserAuthority.Contains("佣金上货")) if (!BaseClass.UserAuthority.Contains("佣金上货"))
this.ucTabControlMetro1.TabPages.Remove(佣金上货); this.ucTabControlMetro1.TabPages.Remove(佣金上货);
else else
@@ -1548,7 +1556,8 @@ namespace TemuKJD.WXForms.ProductForms
if (BaseClass.UserAuthority.Contains("裂变调试") && chkFissionGoodsName.Checked) if (BaseClass.UserAuthority.Contains("裂变调试") && chkFissionGoodsName.Checked)
{ {
bool isFinish = false; bool isFinish = false;
Invoke(new Action(() => { Invoke(new Action(() =>
{
var titles = txtFissionTitle.Text.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList(); var titles = txtFissionTitle.Text.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
if (titles.Count == 0) if (titles.Count == 0)
{ {