抖音小店准备阶段

This commit is contained in:
wule committed 2025-12-26 09:53:29 +08:00
1 parent 9e0a3fc10c
commit 17e4dc4a3c
61 files changed
+5154 -1505

No files matched your search

+62 -36
View File
@@ -30,12 +30,12 @@ namespace TemuKJD.KJDForms.ProductForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnStart = new DevComponents.DotNetBar.PanelEx();
@@ -89,6 +89,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.txtRetryInterval = new System.Windows.Forms.TextBox();
this.btnStop = new DevComponents.DotNetBar.PanelEx();
this.label1 = new System.Windows.Forms.Label();
this.btnSearchShop = new DevComponents.DotNetBar.PanelEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -205,6 +206,7 @@ namespace TemuKJD.KJDForms.ProductForms
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.btnSearchShop);
this.ucGroupBoxEx1.Controls.Add(this.btnEmpty);
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Controls.Add(this.txtNotes);
@@ -225,9 +227,9 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.btnEmpty.Location = new System.Drawing.Point(173, 90);
this.btnEmpty.Location = new System.Drawing.Point(201, 90);
this.btnEmpty.Name = "btnEmpty";
this.btnEmpty.Size = new System.Drawing.Size(88, 23);
this.btnEmpty.Size = new System.Drawing.Size(60, 23);
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
@@ -241,19 +243,18 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnEmpty.TabIndex = 701;
this.btnEmpty.Text = "重置查询条件";
this.btnEmpty.Text = "重置查询";
this.btnEmpty.Click += new System.EventHandler(this.btnEmpty_Click);
//
// btnRefreshShop
//
this.btnRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.Location = new System.Drawing.Point(75, 90);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(96, 23);
this.btnRefreshShop.Size = new System.Drawing.Size(61, 23);
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -266,7 +267,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.TabIndex = 431;
this.btnRefreshShop.Text = "查询/刷新店铺";
this.btnRefreshShop.Text = "刷新店铺";
this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
//
// txtNotes
@@ -389,19 +390,19 @@ namespace TemuKJD.KJDForms.ProductForms
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle19.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle19;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.AutoRowNumber = true;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -539,19 +540,19 @@ namespace TemuKJD.KJDForms.ProductForms
//
this.dgvStock.AllowUserToAddRows = false;
this.dgvStock.AllowUserToDeleteRows = false;
dataGridViewCellStyle21.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvStock.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvStock.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvStock.AutoRowNumber = true;
this.dgvStock.BackgroundColor = System.Drawing.Color.White;
this.dgvStock.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle22.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvStock.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvStock.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvStock.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvStock.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colUpId,
@@ -663,8 +664,8 @@ namespace TemuKJD.KJDForms.ProductForms
//
// colProdName
//
dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProdName.DefaultCellStyle = dataGridViewCellStyle23;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProdName.DefaultCellStyle = dataGridViewCellStyle5;
this.colProdName.HeaderText = "标题";
this.colProdName.Name = "colProdName";
this.colProdName.ReadOnly = true;
@@ -686,8 +687,8 @@ namespace TemuKJD.KJDForms.ProductForms
//
// colCreateTime
//
dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colCreateTime.DefaultCellStyle = dataGridViewCellStyle24;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colCreateTime.DefaultCellStyle = dataGridViewCellStyle6;
this.colCreateTime.HeaderText = "备货单创建时间";
this.colCreateTime.Name = "colCreateTime";
this.colCreateTime.ReadOnly = true;
@@ -816,6 +817,30 @@ namespace TemuKJD.KJDForms.ProductForms
this.label1.TabIndex = 432;
this.label1.Text = "重试间隔(秒)";
//
// btnSearchShop
//
this.btnSearchShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSearchShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearchShop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearchShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearchShop.Location = new System.Drawing.Point(138, 90);
this.btnSearchShop.Name = "btnSearchShop";
this.btnSearchShop.Size = new System.Drawing.Size(61, 23);
this.btnSearchShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSearchShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSearchShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSearchShop.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSearchShop.Style.GradientAngle = 90;
this.btnSearchShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearchShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearchShop.TabIndex = 711;
this.btnSearchShop.Text = "查询店铺";
this.btnSearchShop.Click += new System.EventHandler(this.btnSearchShop_Click);
//
// JoinDeliveryForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -912,5 +937,6 @@ namespace TemuKJD.KJDForms.ProductForms
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
private DevComponents.DotNetBar.PanelEx pnlMsg;
private System.Windows.Forms.Label lblMsg;
private DevComponents.DotNetBar.PanelEx btnSearchShop;
}
}
@@ -43,6 +43,7 @@ namespace TemuKJD.KJDForms.ProductForms
private void JoinDeliveryFrom_Load(object sender, EventArgs e)
{
ucSplitPage1.Visible = IsAdmin;
btnRefreshShop.Visible = IsAdmin;
dgvShop.AddSelectorColumn("colSelect");
dgvStock.AddSelectorColumn("colCheck");
dgvStock.AddImgColumn("colProductSkcPic", "colImgUrl");
@@ -90,7 +91,7 @@ namespace TemuKJD.KJDForms.ProductForms
}
else
{
RefreshShop();
FiltShop();
}
}
}
@@ -200,6 +201,20 @@ namespace TemuKJD.KJDForms.ProductForms
}
private void btnRefreshShop_Click(object sender, EventArgs e)
{
pbShopLoading.Visible = true;
Task.Run(() =>
{
ShopListForm.UpdateShop();
Invoke(new Action(() =>
{
FiltShop();
pbShopLoading.Visible = false;
}));
});
}
private void btnSearchShop_Click(object sender, EventArgs e)
{
if (IsAdmin)
{
@@ -210,11 +225,11 @@ namespace TemuKJD.KJDForms.ProductForms
}
else
{
RefreshShop();
FiltShop();
}
}
private void RefreshShop()
private void FiltShop()
{
// 店铺Id
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
@@ -594,7 +609,7 @@ namespace TemuKJD.KJDForms.ProductForms
ShopLoginForm shopLoginForm = new ShopLoginForm(shop);
shopLoginForm.openType = EnumOpenType.login;
shopLoginForm.ShowDialog();
RefreshShop();
FiltShop();
}
}
break;
+125 -82
View File
@@ -43,9 +43,18 @@ namespace TemuKJD.KJDForms.ProductForms
this.chkHasSuccess = new System.Windows.Forms.CheckBox();
this.btnSearchPrice = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnSearchShop = new DevComponents.DotNetBar.PanelEx();
this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
this.txtNotes = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.txtShopName = new System.Windows.Forms.TextBox();
this.label21 = new System.Windows.Forms.Label();
this.txtShopId = new System.Windows.Forms.TextBox();
this.label22 = new System.Windows.Forms.Label();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pbShopLoading = new System.Windows.Forms.PictureBox();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -78,13 +87,6 @@ namespace TemuKJD.KJDForms.ProductForms
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.btnClear = new DevComponents.DotNetBar.PanelEx();
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
this.txtNotes = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.txtShopName = new System.Windows.Forms.TextBox();
this.label21 = new System.Windows.Forms.Label();
this.txtShopId = new System.Windows.Forms.TextBox();
this.label22 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -100,6 +102,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvAdjust)).BeginInit();
@@ -244,6 +247,7 @@ namespace TemuKJD.KJDForms.ProductForms
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.btnSearchShop);
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Controls.Add(this.btnEmpty);
this.ucGroupBoxEx1.Controls.Add(this.txtNotes);
@@ -259,16 +263,39 @@ namespace TemuKJD.KJDForms.ProductForms
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "基础";
//
// btnSearchShop
//
this.btnSearchShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSearchShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearchShop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearchShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearchShop.Location = new System.Drawing.Point(138, 90);
this.btnSearchShop.Name = "btnSearchShop";
this.btnSearchShop.Size = new System.Drawing.Size(61, 23);
this.btnSearchShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSearchShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSearchShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSearchShop.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSearchShop.Style.GradientAngle = 90;
this.btnSearchShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearchShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearchShop.TabIndex = 722;
this.btnSearchShop.Text = "查询店铺";
this.btnSearchShop.Click += new System.EventHandler(this.btnSearchShop_Click);
//
// btnRefreshShop
//
this.btnRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.Location = new System.Drawing.Point(75, 90);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(96, 23);
this.btnRefreshShop.Size = new System.Drawing.Size(61, 23);
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -281,9 +308,81 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.TabIndex = 431;
this.btnRefreshShop.Text = "查询/刷新店铺";
this.btnRefreshShop.Text = "刷新店铺";
this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
//
// btnEmpty
//
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.btnEmpty.Location = new System.Drawing.Point(201, 90);
this.btnEmpty.Name = "btnEmpty";
this.btnEmpty.Size = new System.Drawing.Size(60, 23);
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnEmpty.Style.GradientAngle = 90;
this.btnEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnEmpty.TabIndex = 715;
this.btnEmpty.Text = "重置查询";
this.btnEmpty.Click += new System.EventHandler(this.btnEmpty_Click);
//
// txtNotes
//
this.txtNotes.Location = new System.Drawing.Point(75, 65);
this.txtNotes.Name = "txtNotes";
this.txtNotes.Size = new System.Drawing.Size(186, 23);
this.txtNotes.TabIndex = 713;
//
// label14
//
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(18, 68);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(68, 17);
this.label14.TabIndex = 714;
this.label14.Text = "店铺分组:";
//
// txtShopName
//
this.txtShopName.Location = new System.Drawing.Point(75, 40);
this.txtShopName.Name = "txtShopName";
this.txtShopName.Size = new System.Drawing.Size(186, 23);
this.txtShopName.TabIndex = 711;
//
// label21
//
this.label21.AutoSize = true;
this.label21.Location = new System.Drawing.Point(18, 43);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(68, 17);
this.label21.TabIndex = 712;
this.label21.Text = "店铺名称:";
//
// txtShopId
//
this.txtShopId.Location = new System.Drawing.Point(75, 15);
this.txtShopId.Name = "txtShopId";
this.txtShopId.Size = new System.Drawing.Size(186, 23);
this.txtShopId.TabIndex = 709;
//
// label22
//
this.label22.AutoSize = true;
this.label22.Location = new System.Drawing.Point(29, 18);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(57, 17);
this.label22.TabIndex = 710;
this.label22.Text = "店铺ID:";
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -312,6 +411,7 @@ namespace TemuKJD.KJDForms.ProductForms
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.pbShopLoading);
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
@@ -324,6 +424,18 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer2.SplitterDistance = 280;
this.splitContainer2.TabIndex = 0;
//
// pbShopLoading
//
this.pbShopLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pbShopLoading.Location = new System.Drawing.Point(117, 196);
this.pbShopLoading.Name = "pbShopLoading";
this.pbShopLoading.Size = new System.Drawing.Size(50, 50);
this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbShopLoading.TabIndex = 189;
this.pbShopLoading.TabStop = false;
this.pbShopLoading.Visible = false;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
@@ -692,78 +804,6 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnClear.Text = "清空结果";
this.btnClear.Visible = false;
//
// btnEmpty
//
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.btnEmpty.Location = new System.Drawing.Point(173, 90);
this.btnEmpty.Name = "btnEmpty";
this.btnEmpty.Size = new System.Drawing.Size(88, 23);
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnEmpty.Style.GradientAngle = 90;
this.btnEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnEmpty.TabIndex = 715;
this.btnEmpty.Text = "重置查询条件";
this.btnEmpty.Click += new System.EventHandler(this.btnEmpty_Click);
//
// txtNotes
//
this.txtNotes.Location = new System.Drawing.Point(75, 65);
this.txtNotes.Name = "txtNotes";
this.txtNotes.Size = new System.Drawing.Size(186, 23);
this.txtNotes.TabIndex = 713;
//
// label14
//
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(18, 68);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(68, 17);
this.label14.TabIndex = 714;
this.label14.Text = "店铺分组:";
//
// txtShopName
//
this.txtShopName.Location = new System.Drawing.Point(75, 40);
this.txtShopName.Name = "txtShopName";
this.txtShopName.Size = new System.Drawing.Size(186, 23);
this.txtShopName.TabIndex = 711;
//
// label21
//
this.label21.AutoSize = true;
this.label21.Location = new System.Drawing.Point(18, 43);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(68, 17);
this.label21.TabIndex = 712;
this.label21.Text = "店铺名称:";
//
// txtShopId
//
this.txtShopId.Location = new System.Drawing.Point(75, 15);
this.txtShopId.Name = "txtShopId";
this.txtShopId.Size = new System.Drawing.Size(186, 23);
this.txtShopId.TabIndex = 709;
//
// label22
//
this.label22.AutoSize = true;
this.label22.Location = new System.Drawing.Point(29, 18);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(57, 17);
this.label22.TabIndex = 710;
this.label22.Text = "店铺ID:";
//
// PriceManageForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -793,6 +833,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvAdjust)).EndInit();
@@ -857,5 +898,7 @@ namespace TemuKJD.KJDForms.ProductForms
private System.Windows.Forms.Label label21;
private System.Windows.Forms.TextBox txtShopId;
private System.Windows.Forms.Label label22;
private DevComponents.DotNetBar.PanelEx btnSearchShop;
private System.Windows.Forms.PictureBox pbShopLoading;
}
}
@@ -65,14 +65,28 @@ namespace TemuKJD.KJDForms.ProductForms
private void PriceManageForm_VisibleChanged(object sender, EventArgs e)
{
if (Visible == true)
RefreshShop();
FiltShop();
}
private void btnRefreshShop_Click(object sender, EventArgs e)
{
RefreshShop();
pbShopLoading.Visible = true;
Task.Run(() =>
{
ShopListForm.UpdateShop();
Invoke(new Action(() =>
{
FiltShop();
pbShopLoading.Visible = false;
}));
});
}
private void RefreshShop()
private void btnSearchShop_Click(object sender, EventArgs e)
{
FiltShop();
}
private void FiltShop()
{
// 店铺Id
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
@@ -213,7 +227,7 @@ namespace TemuKJD.KJDForms.ProductForms
ShopLoginForm shopLoginForm = new ShopLoginForm(shop);
shopLoginForm.openType = EnumOpenType.login;
shopLoginForm.ShowDialog();
RefreshShop();
FiltShop();
}
}
break;
@@ -719,6 +733,7 @@ namespace TemuKJD.KJDForms.ProductForms
private void btnEmpty_Click(object sender, EventArgs e)
{
txtNotes.Text = txtShopId.Text = txtShopName.Text = "";
FiltShop();
}
}
}
+4 -3
View File
@@ -15,6 +15,7 @@ using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductThirdSelectForms;
using AllBase;
using TemuKJD.KJDForms.AdminForms;
using TemuKJD.BLL;
namespace TemuKJD.KJDForms.ProductForms
{
@@ -113,15 +114,15 @@ namespace TemuKJD.KJDForms.ProductForms
break;
case "商品上传":
productSelectListManageForm.Value.ClientMode = DbProductSelectListManageForm.EnumClientMode.Client;
productSelectListManageForm.Value.ClientMode = EnumClientMode.Client;
SetForm(productSelectListManageForm.Value);
break;
case "库存上传":
productThirdSelectListManageForm.Value.ClientMode = ProductThirdSelectListManageForm.EnumClientMode.Client;
productThirdSelectListManageForm.Value.ClientMode = EnumClientMode.Client;
SetForm(productThirdSelectListManageForm.Value);
break;
case "商品核价":
productPriceCheckForm.Value.ClientMode = AdminProductPriceCheckForm.EnumClientMode.Client;
productPriceCheckForm.Value.ClientMode = EnumClientMode.Client;
SetForm(productPriceCheckForm.Value);
break;
}
+93 -626
View File
@@ -30,11 +30,11 @@ namespace TemuKJD.KJDForms.ProductForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.txtMaxQualityRate = new System.Windows.Forms.TextBox();
@@ -68,6 +68,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.pnlSearchShop = new DevComponents.DotNetBar.PanelEx();
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
this.txtNotes = new System.Windows.Forms.TextBox();
@@ -78,6 +79,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.label22 = new System.Windows.Forms.Label();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pbShopLoading = new System.Windows.Forms.PictureBox();
this.txtPid = new System.Windows.Forms.TextBox();
this.txtStockid = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
@@ -95,44 +97,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ucGroupBoxEx99 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.cmbCity = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.cmbProvince = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.label3 = new System.Windows.Forms.Label();
this.pnlSamePostage = new System.Windows.Forms.FlowLayoutPanel();
this.label12 = new System.Windows.Forms.Label();
this.txtSamePostagePrice = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.panel3 = new System.Windows.Forms.Panel();
this.rbSamePostage = new System.Windows.Forms.RadioButton();
this.rbStepPostage = new System.Windows.Forms.RadioButton();
this.rbNoPostage = new System.Windows.Forms.RadioButton();
this.pnlStepPostage = new System.Windows.Forms.FlowLayoutPanel();
this.rbWithCount = new System.Windows.Forms.RadioButton();
this.rbWithWeight = new System.Windows.Forms.RadioButton();
this.label2 = new System.Windows.Forms.Label();
this.txtWeightOrCountStep1 = new System.Windows.Forms.TextBox();
this.lblWeightOrCountStep1 = new System.Windows.Forms.Label();
this.txtWeightOrCountPrice1 = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.txtWeightOrCountStep2 = new System.Windows.Forms.TextBox();
this.lblWeightOrCountStep2 = new System.Windows.Forms.Label();
this.txtWeightOrCountPrice2 = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.textBox2 = new System.Windows.Forms.TextBox();
this.btnSetNotArea = new DevComponents.DotNetBar.PanelEx();
this.nudGroupCount = new System.Windows.Forms.NumericUpDown();
this.label11 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.btnSetName = new DevComponents.DotNetBar.PanelEx();
this.rbCustomName = new System.Windows.Forms.RadioButton();
this.rbAutoName = new System.Windows.Forms.RadioButton();
this.label7 = new System.Windows.Forms.Label();
this.btnAdd = new DevComponents.DotNetBar.PanelEx();
this.btnStopAdd = new DevComponents.DotNetBar.PanelEx();
this.chkLimited = new System.Windows.Forms.CheckBox();
this.pbLoading = new System.Windows.Forms.PictureBox();
this.dgvStock = new TemuKJD.UserComponent.DataGridViewEx();
this.colUpId = new System.Windows.Forms.DataGridViewLinkColumn();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
@@ -179,14 +144,9 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
this.ucGroupBoxEx99.SuspendLayout();
this.pnlSamePostage.SuspendLayout();
this.panel3.SuspendLayout();
this.pnlStepPostage.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudGroupCount)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvStock)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
@@ -676,6 +636,7 @@ namespace TemuKJD.KJDForms.ProductForms
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.pnlSearchShop);
this.ucGroupBoxEx1.Controls.Add(this.btnEmpty);
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Controls.Add(this.txtNotes);
@@ -691,14 +652,38 @@ namespace TemuKJD.KJDForms.ProductForms
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "基础";
//
// pnlSearchShop
//
this.pnlSearchShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.pnlSearchShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.pnlSearchShop.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlSearchShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlSearchShop.Location = new System.Drawing.Point(138, 90);
this.pnlSearchShop.Name = "pnlSearchShop";
this.pnlSearchShop.Size = new System.Drawing.Size(61, 23);
this.pnlSearchShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.pnlSearchShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlSearchShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlSearchShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.pnlSearchShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.pnlSearchShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.pnlSearchShop.Style.ForeColor.Color = System.Drawing.Color.White;
this.pnlSearchShop.Style.GradientAngle = 90;
this.pnlSearchShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.pnlSearchShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.pnlSearchShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.pnlSearchShop.TabIndex = 715;
this.pnlSearchShop.Text = "查询店铺";
this.pnlSearchShop.Click += new System.EventHandler(this.btnSearchShop_Click);
//
// btnEmpty
//
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.btnEmpty.Location = new System.Drawing.Point(173, 90);
this.btnEmpty.Location = new System.Drawing.Point(201, 90);
this.btnEmpty.Name = "btnEmpty";
this.btnEmpty.Size = new System.Drawing.Size(88, 23);
this.btnEmpty.Size = new System.Drawing.Size(60, 23);
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
@@ -712,19 +697,18 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnEmpty.TabIndex = 705;
this.btnEmpty.Text = "重置查询条件";
this.btnEmpty.Text = "重置查询";
this.btnEmpty.Click += new System.EventHandler(this.btnEmpty_Click);
//
// btnRefreshShop
//
this.btnRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.Location = new System.Drawing.Point(75, 90);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(96, 23);
this.btnRefreshShop.Size = new System.Drawing.Size(61, 23);
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -737,7 +721,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.TabIndex = 431;
this.btnRefreshShop.Text = "查询/刷新店铺";
this.btnRefreshShop.Text = "刷新店铺";
this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
//
// txtNotes
@@ -816,6 +800,7 @@ namespace TemuKJD.KJDForms.ProductForms
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.pbShopLoading);
this.splitContainer2.Panel1.Controls.Add(this.txtPid);
this.splitContainer2.Panel1.Controls.Add(this.txtStockid);
this.splitContainer2.Panel1.Controls.Add(this.label9);
@@ -829,13 +814,25 @@ namespace TemuKJD.KJDForms.ProductForms
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.ucGroupBoxEx99);
this.splitContainer2.Panel2.Controls.Add(this.pbLoading);
this.splitContainer2.Panel2.Controls.Add(this.dgvStock);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1350, 435);
this.splitContainer2.SplitterDistance = 280;
this.splitContainer2.TabIndex = 0;
//
// pbShopLoading
//
this.pbShopLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pbShopLoading.Location = new System.Drawing.Point(117, 192);
this.pbShopLoading.Name = "pbShopLoading";
this.pbShopLoading.Size = new System.Drawing.Size(50, 50);
this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbShopLoading.TabIndex = 659;
this.pbShopLoading.TabStop = false;
this.pbShopLoading.Visible = false;
//
// txtPid
//
this.txtPid.Location = new System.Drawing.Point(85, 94);
@@ -908,7 +905,7 @@ namespace TemuKJD.KJDForms.ProductForms
// chkHasCreate
//
this.chkHasCreate.AutoSize = true;
this.chkHasCreate.Location = new System.Drawing.Point(31, 165);
this.chkHasCreate.Location = new System.Drawing.Point(120, 136);
this.chkHasCreate.Name = "chkHasCreate";
this.chkHasCreate.Size = new System.Drawing.Size(111, 21);
this.chkHasCreate.TabIndex = 658;
@@ -930,19 +927,19 @@ namespace TemuKJD.KJDForms.ProductForms
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.AutoRowNumber = true;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -1029,519 +1026,35 @@ namespace TemuKJD.KJDForms.ProductForms
this.colMessage.ReadOnly = true;
this.colMessage.Width = 120;
//
// ucGroupBoxEx99
//
this.ucGroupBoxEx99.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucGroupBoxEx99.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx99.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx99.Controls.Add(this.cmbCity);
this.ucGroupBoxEx99.Controls.Add(this.cmbProvince);
this.ucGroupBoxEx99.Controls.Add(this.label3);
this.ucGroupBoxEx99.Controls.Add(this.pnlSamePostage);
this.ucGroupBoxEx99.Controls.Add(this.panel3);
this.ucGroupBoxEx99.Controls.Add(this.pnlStepPostage);
this.ucGroupBoxEx99.Controls.Add(this.panel2);
this.ucGroupBoxEx99.Controls.Add(this.nudGroupCount);
this.ucGroupBoxEx99.Controls.Add(this.label11);
this.ucGroupBoxEx99.Controls.Add(this.panel1);
this.ucGroupBoxEx99.Controls.Add(this.btnAdd);
this.ucGroupBoxEx99.Controls.Add(this.btnStopAdd);
this.ucGroupBoxEx99.Controls.Add(this.chkLimited);
this.ucGroupBoxEx99.Location = new System.Drawing.Point(296, 46);
this.ucGroupBoxEx99.Name = "ucGroupBoxEx99";
this.ucGroupBoxEx99.Size = new System.Drawing.Size(742, 180);
this.ucGroupBoxEx99.TabIndex = 470;
this.ucGroupBoxEx99.TabStop = false;
this.ucGroupBoxEx99.Text = "创建备货单";
this.ucGroupBoxEx99.Visible = false;
//
// cmbCity
//
this.cmbCity.DisplayMember = "Text";
this.cmbCity.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cmbCity.FormattingEnabled = true;
this.cmbCity.ItemHeight = 18;
this.cmbCity.Location = new System.Drawing.Point(283, 28);
this.cmbCity.Name = "cmbCity";
this.cmbCity.Size = new System.Drawing.Size(90, 24);
this.cmbCity.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cmbCity.TabIndex = 650;
this.cmbCity.Text = "请选择";
//
// cmbProvince
//
this.cmbProvince.DisplayMember = "Text";
this.cmbProvince.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cmbProvince.FormattingEnabled = true;
this.cmbProvince.ItemHeight = 18;
this.cmbProvince.Location = new System.Drawing.Point(189, 29);
this.cmbProvince.Name = "cmbProvince";
this.cmbProvince.Size = new System.Drawing.Size(90, 24);
this.cmbProvince.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cmbProvince.TabIndex = 649;
this.cmbProvince.Text = "请选择";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(130, 32);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(68, 17);
this.label3.TabIndex = 648;
this.label3.Text = "发货地区:";
//
// pnlSamePostage
//
this.pnlSamePostage.Controls.Add(this.label12);
this.pnlSamePostage.Controls.Add(this.txtSamePostagePrice);
this.pnlSamePostage.Controls.Add(this.label13);
this.pnlSamePostage.Location = new System.Drawing.Point(277, 88);
this.pnlSamePostage.Name = "pnlSamePostage";
this.pnlSamePostage.Size = new System.Drawing.Size(194, 23);
this.pnlSamePostage.TabIndex = 641;
this.pnlSamePostage.Visible = false;
//
// label12
//
this.label12.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(3, 3);
this.label12.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(56, 17);
this.label12.TabIndex = 612;
this.label12.Text = "固定运费";
//
// txtSamePostagePrice
//
this.txtSamePostagePrice.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.txtSamePostagePrice.Location = new System.Drawing.Point(59, 0);
this.txtSamePostagePrice.Margin = new System.Windows.Forms.Padding(0);
this.txtSamePostagePrice.Name = "txtSamePostagePrice";
this.txtSamePostagePrice.Size = new System.Drawing.Size(45, 23);
this.txtSamePostagePrice.TabIndex = 613;
//
// label13
//
this.label13.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(104, 3);
this.label13.Margin = new System.Windows.Forms.Padding(0);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(20, 17);
this.label13.TabIndex = 614;
this.label13.Text = "元";
//
// panel3
//
this.panel3.Controls.Add(this.rbSamePostage);
this.panel3.Controls.Add(this.rbStepPostage);
this.panel3.Controls.Add(this.rbNoPostage);
this.panel3.Location = new System.Drawing.Point(21, 88);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(250, 23);
this.panel3.TabIndex = 640;
//
// rbSamePostage
//
this.rbSamePostage.AutoSize = true;
this.rbSamePostage.Location = new System.Drawing.Point(83, 1);
this.rbSamePostage.Name = "rbSamePostage";
this.rbSamePostage.Size = new System.Drawing.Size(74, 21);
this.rbSamePostage.TabIndex = 466;
this.rbSamePostage.Text = "固定运费";
this.rbSamePostage.UseVisualStyleBackColor = true;
//
// rbStepPostage
//
this.rbStepPostage.AutoSize = true;
this.rbStepPostage.Location = new System.Drawing.Point(3, 1);
this.rbStepPostage.Name = "rbStepPostage";
this.rbStepPostage.Size = new System.Drawing.Size(74, 21);
this.rbStepPostage.TabIndex = 465;
this.rbStepPostage.Text = "阶梯计价";
this.rbStepPostage.UseVisualStyleBackColor = true;
//
// rbNoPostage
//
this.rbNoPostage.AutoSize = true;
this.rbNoPostage.Checked = true;
this.rbNoPostage.Location = new System.Drawing.Point(163, 1);
this.rbNoPostage.Name = "rbNoPostage";
this.rbNoPostage.Size = new System.Drawing.Size(74, 21);
this.rbNoPostage.TabIndex = 467;
this.rbNoPostage.TabStop = true;
this.rbNoPostage.Text = "卖家包邮";
this.rbNoPostage.UseVisualStyleBackColor = true;
//
// pnlStepPostage
//
this.pnlStepPostage.Controls.Add(this.rbWithCount);
this.pnlStepPostage.Controls.Add(this.rbWithWeight);
this.pnlStepPostage.Controls.Add(this.label2);
this.pnlStepPostage.Controls.Add(this.txtWeightOrCountStep1);
this.pnlStepPostage.Controls.Add(this.lblWeightOrCountStep1);
this.pnlStepPostage.Controls.Add(this.txtWeightOrCountPrice1);
this.pnlStepPostage.Controls.Add(this.label5);
this.pnlStepPostage.Controls.Add(this.label6);
this.pnlStepPostage.Controls.Add(this.txtWeightOrCountStep2);
this.pnlStepPostage.Controls.Add(this.lblWeightOrCountStep2);
this.pnlStepPostage.Controls.Add(this.txtWeightOrCountPrice2);
this.pnlStepPostage.Controls.Add(this.label8);
this.pnlStepPostage.Location = new System.Drawing.Point(21, 116);
this.pnlStepPostage.Name = "pnlStepPostage";
this.pnlStepPostage.Size = new System.Drawing.Size(575, 23);
this.pnlStepPostage.TabIndex = 639;
this.pnlStepPostage.Visible = false;
//
// rbWithCount
//
this.rbWithCount.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.rbWithCount.AutoSize = true;
this.rbWithCount.Checked = true;
this.rbWithCount.Location = new System.Drawing.Point(3, 1);
this.rbWithCount.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.rbWithCount.Name = "rbWithCount";
this.rbWithCount.Size = new System.Drawing.Size(62, 21);
this.rbWithCount.TabIndex = 615;
this.rbWithCount.TabStop = true;
this.rbWithCount.Text = "按件数";
this.rbWithCount.UseVisualStyleBackColor = true;
//
// rbWithWeight
//
this.rbWithWeight.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.rbWithWeight.AutoSize = true;
this.rbWithWeight.Location = new System.Drawing.Point(65, 1);
this.rbWithWeight.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0);
this.rbWithWeight.Name = "rbWithWeight";
this.rbWithWeight.Size = new System.Drawing.Size(62, 21);
this.rbWithWeight.TabIndex = 616;
this.rbWithWeight.Text = "按重量";
this.rbWithWeight.UseVisualStyleBackColor = true;
//
// label2
//
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(130, 3);
this.label2.Margin = new System.Windows.Forms.Padding(0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 17);
this.label2.TabIndex = 605;
this.label2.Text = "默认运费";
//
// txtWeightOrCountStep1
//
this.txtWeightOrCountStep1.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.txtWeightOrCountStep1.Location = new System.Drawing.Point(186, 0);
this.txtWeightOrCountStep1.Margin = new System.Windows.Forms.Padding(0);
this.txtWeightOrCountStep1.Name = "txtWeightOrCountStep1";
this.txtWeightOrCountStep1.Size = new System.Drawing.Size(45, 23);
this.txtWeightOrCountStep1.TabIndex = 606;
//
// lblWeightOrCountStep1
//
this.lblWeightOrCountStep1.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.lblWeightOrCountStep1.AutoSize = true;
this.lblWeightOrCountStep1.Location = new System.Drawing.Point(231, 3);
this.lblWeightOrCountStep1.Margin = new System.Windows.Forms.Padding(0);
this.lblWeightOrCountStep1.Name = "lblWeightOrCountStep1";
this.lblWeightOrCountStep1.Size = new System.Drawing.Size(56, 17);
this.lblWeightOrCountStep1.TabIndex = 607;
this.lblWeightOrCountStep1.Text = "件以内,";
//
// txtWeightOrCountPrice1
//
this.txtWeightOrCountPrice1.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.txtWeightOrCountPrice1.Location = new System.Drawing.Point(287, 0);
this.txtWeightOrCountPrice1.Margin = new System.Windows.Forms.Padding(0);
this.txtWeightOrCountPrice1.Name = "txtWeightOrCountPrice1";
this.txtWeightOrCountPrice1.Size = new System.Drawing.Size(45, 23);
this.txtWeightOrCountPrice1.TabIndex = 608;
//
// label5
//
this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(332, 3);
this.label5.Margin = new System.Windows.Forms.Padding(0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(32, 17);
this.label5.TabIndex = 609;
this.label5.Text = "元,";
//
// label6
//
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(364, 3);
this.label6.Margin = new System.Windows.Forms.Padding(0);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(44, 17);
this.label6.TabIndex = 610;
this.label6.Text = "每增加";
//
// txtWeightOrCountStep2
//
this.txtWeightOrCountStep2.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.txtWeightOrCountStep2.Location = new System.Drawing.Point(408, 0);
this.txtWeightOrCountStep2.Margin = new System.Windows.Forms.Padding(0);
this.txtWeightOrCountStep2.Name = "txtWeightOrCountStep2";
this.txtWeightOrCountStep2.Size = new System.Drawing.Size(45, 23);
this.txtWeightOrCountStep2.TabIndex = 611;
//
// lblWeightOrCountStep2
//
this.lblWeightOrCountStep2.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.lblWeightOrCountStep2.AutoSize = true;
this.lblWeightOrCountStep2.Location = new System.Drawing.Point(453, 3);
this.lblWeightOrCountStep2.Margin = new System.Windows.Forms.Padding(0);
this.lblWeightOrCountStep2.Name = "lblWeightOrCountStep2";
this.lblWeightOrCountStep2.Size = new System.Drawing.Size(80, 17);
this.lblWeightOrCountStep2.TabIndex = 612;
this.lblWeightOrCountStep2.Text = "件,增加运费";
//
// txtWeightOrCountPrice2
//
this.txtWeightOrCountPrice2.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.txtWeightOrCountPrice2.Location = new System.Drawing.Point(0, 23);
this.txtWeightOrCountPrice2.Margin = new System.Windows.Forms.Padding(0);
this.txtWeightOrCountPrice2.Name = "txtWeightOrCountPrice2";
this.txtWeightOrCountPrice2.Size = new System.Drawing.Size(45, 23);
this.txtWeightOrCountPrice2.TabIndex = 613;
//
// label8
//
this.label8.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(45, 26);
this.label8.Margin = new System.Windows.Forms.Padding(0);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(20, 17);
this.label8.TabIndex = 614;
this.label8.Text = "元";
//
// panel2
//
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel2.Controls.Add(this.textBox2);
this.panel2.Controls.Add(this.btnSetNotArea);
this.panel2.Location = new System.Drawing.Point(151, 59);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(487, 23);
this.panel2.TabIndex = 638;
//
// textBox2
//
this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox2.Location = new System.Drawing.Point(0, 0);
this.textBox2.Name = "textBox2";
this.textBox2.ReadOnly = true;
this.textBox2.Size = new System.Drawing.Size(421, 23);
this.textBox2.TabIndex = 638;
//
// btnSetNotArea
//
this.btnSetNotArea.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnSetNotArea.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSetNotArea.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSetNotArea.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSetNotArea.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSetNotArea.Location = new System.Drawing.Point(427, 2);
this.btnSetNotArea.Name = "btnSetNotArea";
this.btnSetNotArea.Size = new System.Drawing.Size(56, 19);
this.btnSetNotArea.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSetNotArea.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSetNotArea.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSetNotArea.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSetNotArea.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSetNotArea.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSetNotArea.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSetNotArea.Style.GradientAngle = 90;
this.btnSetNotArea.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSetNotArea.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSetNotArea.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSetNotArea.TabIndex = 634;
this.btnSetNotArea.Text = "设置地区";
//
// nudGroupCount
//
this.nudGroupCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.nudGroupCount.Location = new System.Drawing.Point(75, 29);
this.nudGroupCount.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.nudGroupCount.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.nudGroupCount.Name = "nudGroupCount";
this.nudGroupCount.Size = new System.Drawing.Size(49, 23);
this.nudGroupCount.TabIndex = 603;
this.nudGroupCount.Value = new decimal(new int[] {
10,
0,
0,
0});
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(18, 32);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(68, 17);
this.label11.TabIndex = 602;
this.label11.Text = "新建数量:";
//
// panel1
//
this.panel1.Controls.Add(this.btnSetName);
this.panel1.Controls.Add(this.rbCustomName);
this.panel1.Controls.Add(this.rbAutoName);
this.panel1.Controls.Add(this.label7);
this.panel1.Location = new System.Drawing.Point(245, 29);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(254, 23);
this.panel1.TabIndex = 601;
//
// btnSetName
//
this.btnSetName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnSetName.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSetName.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSetName.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSetName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSetName.Location = new System.Drawing.Point(194, 2);
this.btnSetName.Name = "btnSetName";
this.btnSetName.Size = new System.Drawing.Size(56, 19);
this.btnSetName.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSetName.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSetName.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSetName.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSetName.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSetName.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSetName.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSetName.Style.GradientAngle = 90;
this.btnSetName.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSetName.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSetName.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSetName.TabIndex = 634;
this.btnSetName.Text = "设置名称";
//
// rbCustomName
//
this.rbCustomName.AutoSize = true;
this.rbCustomName.Location = new System.Drawing.Point(133, 1);
this.rbCustomName.Name = "rbCustomName";
this.rbCustomName.Size = new System.Drawing.Size(62, 21);
this.rbCustomName.TabIndex = 465;
this.rbCustomName.Text = "自定义";
this.rbCustomName.UseVisualStyleBackColor = true;
//
// rbAutoName
//
this.rbAutoName.AutoSize = true;
this.rbAutoName.Checked = true;
this.rbAutoName.Location = new System.Drawing.Point(60, 1);
this.rbAutoName.Name = "rbAutoName";
this.rbAutoName.Size = new System.Drawing.Size(74, 21);
this.rbAutoName.TabIndex = 464;
this.rbAutoName.TabStop = true;
this.rbAutoName.Text = "自动设置";
this.rbAutoName.UseVisualStyleBackColor = true;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(1, 3);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(68, 17);
this.label7.TabIndex = 638;
this.label7.Text = "模板名称:";
//
// btnAdd
//
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnAdd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.DisabledBackColor = System.Drawing.Color.Empty;
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnAdd.Location = new System.Drawing.Point(646, 29);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(80, 23);
this.btnAdd.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnAdd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnAdd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnAdd.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnAdd.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnAdd.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnAdd.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnAdd.Style.GradientAngle = 90;
this.btnAdd.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnAdd.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnAdd.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnAdd.TabIndex = 427;
this.btnAdd.Text = "开始创建";
//
// btnStopAdd
//
this.btnStopAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnStopAdd.CanvasColor = System.Drawing.SystemColors.Control;
this.btnStopAdd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStopAdd.DisabledBackColor = System.Drawing.Color.Empty;
this.btnStopAdd.Location = new System.Drawing.Point(646, 59);
this.btnStopAdd.Name = "btnStopAdd";
this.btnStopAdd.Size = new System.Drawing.Size(80, 23);
this.btnStopAdd.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnStopAdd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnStopAdd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnStopAdd.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnStopAdd.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStopAdd.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnStopAdd.Style.GradientAngle = 90;
this.btnStopAdd.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.btnStopAdd.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnStopAdd.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStopAdd.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStopAdd.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnStopAdd.TabIndex = 405;
this.btnStopAdd.Text = "停止创建";
//
// chkLimited
//
this.chkLimited.AutoSize = true;
this.chkLimited.Location = new System.Drawing.Point(22, 61);
this.chkLimited.Name = "chkLimited";
this.chkLimited.Size = new System.Drawing.Size(131, 21);
this.chkLimited.TabIndex = 657;
this.chkLimited.Text = "限制下单区域(可选)";
this.chkLimited.UseVisualStyleBackColor = true;
// pbLoading
//
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pbLoading.Location = new System.Drawing.Point(506, 192);
this.pbLoading.Name = "pbLoading";
this.pbLoading.Size = new System.Drawing.Size(50, 50);
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbLoading.TabIndex = 471;
this.pbLoading.TabStop = false;
this.pbLoading.Visible = false;
//
// dgvStock
//
this.dgvStock.AllowUserToAddRows = false;
this.dgvStock.AllowUserToDeleteRows = false;
dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvStock.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvStock.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvStock.AutoRowNumber = true;
this.dgvStock.BackgroundColor = System.Drawing.Color.White;
this.dgvStock.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvStock.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvStock.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvStock.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvStock.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colUpId,
@@ -1663,8 +1176,8 @@ namespace TemuKJD.KJDForms.ProductForms
//
// colProdName
//
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProdName.DefaultCellStyle = dataGridViewCellStyle10;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProdName.DefaultCellStyle = dataGridViewCellStyle5;
this.colProdName.HeaderText = "标题";
this.colProdName.Name = "colProdName";
this.colProdName.ReadOnly = true;
@@ -1880,20 +1393,9 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.ucGroupBoxEx99.ResumeLayout(false);
this.ucGroupBoxEx99.PerformLayout();
this.pnlSamePostage.ResumeLayout(false);
this.pnlSamePostage.PerformLayout();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.pnlStepPostage.ResumeLayout(false);
this.pnlStepPostage.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudGroupCount)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvStock)).EndInit();
this.splitContainer4.Panel1.ResumeLayout(false);
this.splitContainer4.Panel2.ResumeLayout(false);
@@ -1906,44 +1408,6 @@ namespace TemuKJD.KJDForms.ProductForms
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private UserComponent.UcGroupBoxEx ucGroupBoxEx99;
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbCity;
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbProvince;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.FlowLayoutPanel pnlSamePostage;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox txtSamePostagePrice;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.RadioButton rbSamePostage;
private System.Windows.Forms.RadioButton rbStepPostage;
private System.Windows.Forms.RadioButton rbNoPostage;
private System.Windows.Forms.FlowLayoutPanel pnlStepPostage;
private System.Windows.Forms.RadioButton rbWithCount;
private System.Windows.Forms.RadioButton rbWithWeight;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtWeightOrCountStep1;
private System.Windows.Forms.Label lblWeightOrCountStep1;
private System.Windows.Forms.TextBox txtWeightOrCountPrice1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtWeightOrCountStep2;
private System.Windows.Forms.Label lblWeightOrCountStep2;
private System.Windows.Forms.TextBox txtWeightOrCountPrice2;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox textBox2;
private DevComponents.DotNetBar.PanelEx btnSetNotArea;
private System.Windows.Forms.NumericUpDown nudGroupCount;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Panel panel1;
private DevComponents.DotNetBar.PanelEx btnSetName;
private System.Windows.Forms.RadioButton rbCustomName;
private System.Windows.Forms.RadioButton rbAutoName;
private System.Windows.Forms.Label label7;
private DevComponents.DotNetBar.PanelEx btnAdd;
private DevComponents.DotNetBar.PanelEx btnStopAdd;
private System.Windows.Forms.CheckBox chkLimited;
private System.Windows.Forms.TextBox txtStockid;
private System.Windows.Forms.Label label4;
private DevComponents.DotNetBar.PanelEx btnSearch;
@@ -2032,5 +1496,8 @@ namespace TemuKJD.KJDForms.ProductForms
private System.Windows.Forms.TextBox txtShopId;
private System.Windows.Forms.Label label22;
private DevComponents.DotNetBar.PanelEx btnEmpty;
private DevComponents.DotNetBar.PanelEx pnlSearchShop;
private System.Windows.Forms.PictureBox pbShopLoading;
private System.Windows.Forms.PictureBox pbLoading;
}
}
@@ -50,8 +50,6 @@ namespace TemuKJD.KJDForms.ProductForms
private void StockUpForm_Load(object sender, EventArgs e)
{
pnlSamePostage.Location = pnlStepPostage.Location;
chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
dgvShop.Columns["colSelect"].HeaderText = "";
//chkSelectAll.Width = chkSelectAll.Height = 13;
@@ -83,15 +81,29 @@ namespace TemuKJD.KJDForms.ProductForms
private void StockUpForm_VisibleChanged(object sender, EventArgs e)
{
if (Visible == true)
RefreshShop();
FiltShop();
}
private void btnRefreshShop_Click(object sender, EventArgs e)
{
RefreshShop();
pbShopLoading.Visible = true;
Task.Run(() =>
{
ShopListForm.UpdateShop();
Invoke(new Action(() =>
{
FiltShop();
pbShopLoading.Visible = false;
}));
});
}
private void RefreshShop()
private void btnSearchShop_Click(object sender, EventArgs e)
{
FiltShop();
}
private void FiltShop()
{
// 店铺Id
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
@@ -608,7 +620,7 @@ namespace TemuKJD.KJDForms.ProductForms
ShopLoginForm shopLoginForm = new ShopLoginForm(shop);
shopLoginForm.openType = EnumOpenType.login;
shopLoginForm.ShowDialog();
RefreshShop();
FiltShop();
}
break;
}
@@ -1364,6 +1376,7 @@ namespace TemuKJD.KJDForms.ProductForms
private void btnEmpty_Click(object sender, EventArgs e)
{
txtNotes.Text = txtShopId.Text = txtShopName.Text = "";
FiltShop();
}
}
}
+92 -67
View File
@@ -30,15 +30,15 @@ namespace TemuKJD.KJDForms.ProductForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.txtSelectFilter = new System.Windows.Forms.TextBox();
@@ -70,6 +70,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.chkToday = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.btnSearchAds = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnSearchShop = new DevComponents.DotNetBar.PanelEx();
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
this.txtNotes = new System.Windows.Forms.TextBox();
this.btnCheckAdsLogin = new DevComponents.DotNetBar.PanelEx();
@@ -81,7 +82,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.label7 = new System.Windows.Forms.Label();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pbLoading2 = new System.Windows.Forms.PictureBox();
this.pbShopLoading = new System.Windows.Forms.PictureBox();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -158,7 +159,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbLoading2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
this.gbxSoloChangeRoas.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
@@ -552,7 +553,7 @@ namespace TemuKJD.KJDForms.ProductForms
//
// chk30Days
//
this.chk30Days.Location = new System.Drawing.Point(70, 85);
this.chk30Days.Location = new System.Drawing.Point(70, 84);
this.chk30Days.Name = "chk30Days";
this.chk30Days.Size = new System.Drawing.Size(59, 21);
this.chk30Days.TabIndex = 443;
@@ -563,7 +564,7 @@ namespace TemuKJD.KJDForms.ProductForms
// chk7Days
//
this.chk7Days.AutoSize = true;
this.chk7Days.Location = new System.Drawing.Point(13, 85);
this.chk7Days.Location = new System.Drawing.Point(13, 84);
this.chk7Days.Name = "chk7Days";
this.chk7Days.Size = new System.Drawing.Size(58, 21);
this.chk7Days.TabIndex = 442;
@@ -574,7 +575,7 @@ namespace TemuKJD.KJDForms.ProductForms
// chkYesterday
//
this.chkYesterday.AutoSize = true;
this.chkYesterday.Location = new System.Drawing.Point(70, 61);
this.chkYesterday.Location = new System.Drawing.Point(70, 60);
this.chkYesterday.Name = "chkYesterday";
this.chkYesterday.Size = new System.Drawing.Size(51, 21);
this.chkYesterday.TabIndex = 441;
@@ -588,7 +589,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.chkToday.Checked = true;
this.chkToday.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkToday.Enabled = false;
this.chkToday.Location = new System.Drawing.Point(13, 61);
this.chkToday.Location = new System.Drawing.Point(13, 60);
this.chkToday.Name = "chkToday";
this.chkToday.Size = new System.Drawing.Size(51, 21);
this.chkToday.TabIndex = 440;
@@ -602,7 +603,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnSearchAds.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearchAds.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearchAds.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearchAds.Location = new System.Drawing.Point(13, 32);
this.btnSearchAds.Location = new System.Drawing.Point(13, 31);
this.btnSearchAds.Name = "btnSearchAds";
this.btnSearchAds.Size = new System.Drawing.Size(110, 23);
this.btnSearchAds.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -626,6 +627,7 @@ namespace TemuKJD.KJDForms.ProductForms
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.btnSearchShop);
this.ucGroupBoxEx1.Controls.Add(this.btnEmpty);
this.ucGroupBoxEx1.Controls.Add(this.txtNotes);
this.ucGroupBoxEx1.Controls.Add(this.btnCheckAdsLogin);
@@ -642,14 +644,38 @@ namespace TemuKJD.KJDForms.ProductForms
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "基础";
//
// btnSearchShop
//
this.btnSearchShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSearchShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearchShop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearchShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearchShop.Location = new System.Drawing.Point(172, 90);
this.btnSearchShop.Name = "btnSearchShop";
this.btnSearchShop.Size = new System.Drawing.Size(56, 23);
this.btnSearchShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSearchShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSearchShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSearchShop.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSearchShop.Style.GradientAngle = 90;
this.btnSearchShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearchShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearchShop.TabIndex = 435;
this.btnSearchShop.Text = "查询店铺";
this.btnSearchShop.Click += new System.EventHandler(this.btnSearchShop_Click);
//
// btnEmpty
//
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.btnEmpty.Location = new System.Drawing.Point(223, 90);
this.btnEmpty.Location = new System.Drawing.Point(230, 90);
this.btnEmpty.Name = "btnEmpty";
this.btnEmpty.Size = new System.Drawing.Size(38, 23);
this.btnEmpty.Size = new System.Drawing.Size(31, 23);
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
@@ -675,14 +701,13 @@ namespace TemuKJD.KJDForms.ProductForms
//
// btnCheckAdsLogin
//
this.btnCheckAdsLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnCheckAdsLogin.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnCheckAdsLogin.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnCheckAdsLogin.DisabledBackColor = System.Drawing.Color.Empty;
this.btnCheckAdsLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCheckAdsLogin.Location = new System.Drawing.Point(19, 90);
this.btnCheckAdsLogin.Name = "btnCheckAdsLogin";
this.btnCheckAdsLogin.Size = new System.Drawing.Size(102, 23);
this.btnCheckAdsLogin.Size = new System.Drawing.Size(93, 23);
this.btnCheckAdsLogin.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnCheckAdsLogin.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnCheckAdsLogin.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -709,14 +734,13 @@ namespace TemuKJD.KJDForms.ProductForms
//
// btnRefreshShop
//
this.btnRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.Location = new System.Drawing.Point(123, 90);
this.btnRefreshShop.Location = new System.Drawing.Point(114, 90);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(98, 23);
this.btnRefreshShop.Size = new System.Drawing.Size(56, 23);
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -729,7 +753,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.TabIndex = 431;
this.btnRefreshShop.Text = "查询/刷新店铺";
this.btnRefreshShop.Text = "刷新店铺";
this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
//
// txtShopName
@@ -792,7 +816,7 @@ namespace TemuKJD.KJDForms.ProductForms
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.pbLoading2);
this.splitContainer2.Panel1.Controls.Add(this.pbShopLoading);
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
@@ -807,35 +831,35 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer2.SplitterDistance = 280;
this.splitContainer2.TabIndex = 0;
//
// pbLoading2
// pbShopLoading
//
this.pbLoading2.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbLoading2.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pbLoading2.Location = new System.Drawing.Point(115, 188);
this.pbLoading2.Name = "pbLoading2";
this.pbLoading2.Size = new System.Drawing.Size(50, 50);
this.pbLoading2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbLoading2.TabIndex = 9;
this.pbLoading2.TabStop = false;
this.pbLoading2.Visible = false;
this.pbShopLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pbShopLoading.Location = new System.Drawing.Point(115, 188);
this.pbShopLoading.Name = "pbShopLoading";
this.pbShopLoading.Size = new System.Drawing.Size(50, 50);
this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbShopLoading.TabIndex = 9;
this.pbShopLoading.TabStop = false;
this.pbShopLoading.Visible = false;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
this.dgvShop.AutoRowNumber = true;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
this.dgvShop.ColumnHeadersHeight = 45;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -1117,19 +1141,19 @@ namespace TemuKJD.KJDForms.ProductForms
//
this.dgvAds.AllowUserToAddRows = false;
this.dgvAds.AllowUserToDeleteRows = false;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvAds.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle12.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvAds.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle12;
this.dgvAds.AutoRowNumber = true;
this.dgvAds.BackgroundColor = System.Drawing.Color.White;
this.dgvAds.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvAds.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvAds.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
this.dgvAds.ColumnHeadersHeight = 45;
this.dgvAds.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck,
@@ -1193,8 +1217,8 @@ namespace TemuKJD.KJDForms.ProductForms
//
// colSupplierName
//
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle14;
this.colSupplierName.HeaderText = "店铺名称";
this.colSupplierName.Name = "colSupplierName";
this.colSupplierName.ReadOnly = true;
@@ -1251,8 +1275,8 @@ namespace TemuKJD.KJDForms.ProductForms
//
// colPrcie
//
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colPrcie.DefaultCellStyle = dataGridViewCellStyle6;
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colPrcie.DefaultCellStyle = dataGridViewCellStyle15;
this.colPrcie.HeaderText = "申报价";
this.colPrcie.Name = "colPrcie";
this.colPrcie.ReadOnly = true;
@@ -1282,8 +1306,8 @@ namespace TemuKJD.KJDForms.ProductForms
//
// colSetCost
//
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSetCost.DefaultCellStyle = dataGridViewCellStyle7;
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSetCost.DefaultCellStyle = dataGridViewCellStyle16;
this.colSetCost.HeaderText = "成本";
this.colSetCost.Name = "colSetCost";
this.colSetCost.ReadOnly = true;
@@ -1292,8 +1316,8 @@ namespace TemuKJD.KJDForms.ProductForms
//
// colSetDiscount
//
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSetDiscount.DefaultCellStyle = dataGridViewCellStyle8;
dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSetDiscount.DefaultCellStyle = dataGridViewCellStyle17;
this.colSetDiscount.HeaderText = "折扣";
this.colSetDiscount.Name = "colSetDiscount";
this.colSetDiscount.ReadOnly = true;
@@ -1301,8 +1325,8 @@ namespace TemuKJD.KJDForms.ProductForms
//
// colAdStatus
//
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colAdStatus.DefaultCellStyle = dataGridViewCellStyle9;
dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colAdStatus.DefaultCellStyle = dataGridViewCellStyle18;
this.colAdStatus.HeaderText = "推广状态";
this.colAdStatus.Name = "colAdStatus";
this.colAdStatus.ReadOnly = true;
@@ -1531,7 +1555,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer2.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pbLoading2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.gbxSoloChangeRoas.ResumeLayout(false);
this.gbxSoloChangeRoas.PerformLayout();
@@ -1563,7 +1587,7 @@ namespace TemuKJD.KJDForms.ProductForms
private DevComponents.DotNetBar.PanelEx panelEx1;
private DevComponents.DotNetBar.PanelEx btnClear;
private DevComponents.DotNetBar.PanelEx btnCheckAdsLogin;
private System.Windows.Forms.PictureBox pbLoading2;
private System.Windows.Forms.PictureBox pbShopLoading;
private System.Windows.Forms.PictureBox pbLoading;
private DevComponents.DotNetBar.PanelEx btnAddAds;
private DevComponents.DotNetBar.PanelEx btnDelAds;
@@ -1651,5 +1675,6 @@ namespace TemuKJD.KJDForms.ProductForms
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox txtShopId;
private DevComponents.DotNetBar.PanelEx btnEmpty;
private DevComponents.DotNetBar.PanelEx btnSearchShop;
}
}
+24 -9
View File
@@ -85,15 +85,29 @@ namespace TemuKJD.KJDForms.ProductForms
private void TemuAdsForm_VisibleChanged(object sender, EventArgs e)
{
if (Visible == true)
RefreshShop();
FiltShop();
}
private void btnRefreshShop_Click(object sender, EventArgs e)
{
RefreshShop();
pbShopLoading.Visible = true;
Task.Run(() =>
{
ShopListForm.UpdateShop();
Invoke(new Action(() =>
{
FiltShop();
pbShopLoading.Visible = false;
}));
});
}
private void RefreshShop()
private void btnSearchShop_Click(object sender, EventArgs e)
{
FiltShop();
}
private void FiltShop()
{
// 店铺Id
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
@@ -228,7 +242,7 @@ namespace TemuKJD.KJDForms.ProductForms
ShopLoginForm shopLoginForm = new ShopLoginForm(shop);
shopLoginForm.openType = EnumOpenType.login;
shopLoginForm.ShowDialog();
RefreshShop();
FiltShop();
}
}
break;
@@ -247,7 +261,7 @@ namespace TemuKJD.KJDForms.ProductForms
shopLoginForm.openType = EnumOpenType.login;
shopLoginForm.IsAdsLogin = true;
shopLoginForm.ShowDialog();
RefreshShop();
FiltShop();
}
break;
}
@@ -262,8 +276,8 @@ namespace TemuKJD.KJDForms.ProductForms
BaseMsgForm.ShowError("请选中店铺!");
return;
}
ShopListForm.Instance.CheckShopAdsLogin(shopIds, pbLoading2, statusBar);
this.RefreshShop();
ShopListForm.Instance.CheckShopAdsLogin(shopIds, pbShopLoading, statusBar);
this.FiltShop();
}
public static string getAdsGoodsList(ShopLoginInfo shop, int page = 1, int pageSize = 20)
@@ -740,7 +754,7 @@ namespace TemuKJD.KJDForms.ProductForms
if(!string.IsNullOrEmpty(error))
{
BaseMsgForm.ShowError(error);
this.RefreshShop();
this.FiltShop();
}
lstWareHouse.AddRange(wareHouses);
@@ -1067,7 +1081,7 @@ namespace TemuKJD.KJDForms.ProductForms
if (!string.IsNullOrEmpty(error))
{
BaseMsgForm.ShowError(error);
this.RefreshShop();
this.FiltShop();
}
lstWareHouse.AddRange(wareHouses);
@@ -2388,6 +2402,7 @@ namespace TemuKJD.KJDForms.ProductForms
private void btnEmpty_Click(object sender, EventArgs e)
{
txtNotes.Text = txtShopId.Text = txtShopName.Text = "";
FiltShop();
}
private void panelEx1_Click(object sender, EventArgs e)