pxx上货功能 temu备货管理可以查询商品售后率并根据售后率处理备货
This commit is contained in:
1 parent
f4fedf1e2f
commit
0e6a034d5f
34 files changed
+3568
-893
No files matched your search
+216
-146
@@ -30,10 +30,11 @@ 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 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();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
@@ -42,7 +43,6 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.txtMinQualityScore = new System.Windows.Forms.TextBox();
|
||||
this.chkMinQualityScore = new System.Windows.Forms.CheckBox();
|
||||
this.ucCheckBox1 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.lblMinBound = new System.Windows.Forms.Label();
|
||||
this.txtMinBound = new System.Windows.Forms.TextBox();
|
||||
@@ -59,6 +59,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.ucCheckBox1 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnCancelSubPurchaseOrder = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -124,6 +125,10 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.btnStopAdd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkLimited = new System.Windows.Forms.CheckBox();
|
||||
this.dgvStock = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.colUpId = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -144,12 +149,13 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.colSalesInventoryNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colWaitReceiveNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colQualityScore = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colQualityRate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colQualityCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colNeedStockUp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtMaxQualityRate = new System.Windows.Forms.TextBox();
|
||||
this.chkMaxQualityRate = new System.Windows.Forms.CheckBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -201,7 +207,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1368, 589);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1350, 589);
|
||||
this.splitContainer1.SplitterDistance = 120;
|
||||
this.splitContainer1.TabIndex = 9;
|
||||
//
|
||||
@@ -212,6 +218,9 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtMaxQualityRate);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkMaxQualityRate);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label10);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.panel4);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtMinQualityScore);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkMinQualityScore);
|
||||
@@ -230,7 +239,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.ucCheckBox1);
|
||||
this.ucGroupBoxEx4.Location = new System.Drawing.Point(417, 2);
|
||||
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(949, 120);
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(931, 120);
|
||||
this.ucGroupBoxEx4.TabIndex = 666;
|
||||
this.ucGroupBoxEx4.TabStop = false;
|
||||
this.ucGroupBoxEx4.Text = "创建备货单";
|
||||
@@ -240,7 +249,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.panel4.Controls.Add(this.rbTodaySaleCount);
|
||||
this.panel4.Controls.Add(this.rbSevenDaysAvgSaleCount);
|
||||
this.panel4.Controls.Add(this.label20);
|
||||
this.panel4.Location = new System.Drawing.Point(521, 27);
|
||||
this.panel4.Location = new System.Drawing.Point(495, 27);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(237, 23);
|
||||
this.panel4.TabIndex = 734;
|
||||
@@ -279,7 +288,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
// txtMinQualityScore
|
||||
//
|
||||
this.txtMinQualityScore.Location = new System.Drawing.Point(785, 85);
|
||||
this.txtMinQualityScore.Location = new System.Drawing.Point(737, 61);
|
||||
this.txtMinQualityScore.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.txtMinQualityScore.Name = "txtMinQualityScore";
|
||||
this.txtMinQualityScore.Size = new System.Drawing.Size(32, 23);
|
||||
@@ -297,7 +306,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.chkMinQualityScore.FlatAppearance.CheckedBackColor = System.Drawing.Color.Blue;
|
||||
this.chkMinQualityScore.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Blue;
|
||||
this.chkMinQualityScore.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Blue;
|
||||
this.chkMinQualityScore.Location = new System.Drawing.Point(703, 86);
|
||||
this.chkMinQualityScore.Location = new System.Drawing.Point(655, 62);
|
||||
this.chkMinQualityScore.Margin = new System.Windows.Forms.Padding(15, 3, 3, 3);
|
||||
this.chkMinQualityScore.Name = "chkMinQualityScore";
|
||||
this.chkMinQualityScore.Size = new System.Drawing.Size(87, 21);
|
||||
@@ -305,28 +314,15 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.chkMinQualityScore.Text = "品质分低于";
|
||||
this.chkMinQualityScore.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// ucCheckBox1
|
||||
//
|
||||
this.ucCheckBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucCheckBox1.AutoSize = true;
|
||||
this.ucCheckBox1.Location = new System.Drawing.Point(849, 58);
|
||||
this.ucCheckBox1.Name = "ucCheckBox1";
|
||||
this.ucCheckBox1.Size = new System.Drawing.Size(87, 21);
|
||||
this.ucCheckBox1.TabIndex = 713;
|
||||
this.ucCheckBox1.Text = "使用新接口";
|
||||
this.ucCheckBox1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.ucCheckBox1.UseVisualStyleBackColor = true;
|
||||
this.ucCheckBox1.CheckedChanged += new System.EventHandler(this.chkNewService_CheckedChanged);
|
||||
//
|
||||
// flowLayoutPanel1
|
||||
//
|
||||
this.flowLayoutPanel1.Controls.Add(this.lblMinBound);
|
||||
this.flowLayoutPanel1.Controls.Add(this.txtMinBound);
|
||||
this.flowLayoutPanel1.Controls.Add(this.label15);
|
||||
this.flowLayoutPanel1.Controls.Add(this.chkIfLessMakeZero);
|
||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(240, 83);
|
||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(217, 83);
|
||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(453, 31);
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(417, 31);
|
||||
this.flowLayoutPanel1.TabIndex = 702;
|
||||
//
|
||||
// lblMinBound
|
||||
@@ -384,7 +380,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
// txtScale2
|
||||
//
|
||||
this.txtScale2.Location = new System.Drawing.Point(452, 55);
|
||||
this.txtScale2.Location = new System.Drawing.Point(426, 55);
|
||||
this.txtScale2.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.txtScale2.Name = "txtScale2";
|
||||
this.txtScale2.Size = new System.Drawing.Size(25, 23);
|
||||
@@ -394,7 +390,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
// label102
|
||||
//
|
||||
this.label102.Location = new System.Drawing.Point(171, 58);
|
||||
this.label102.Location = new System.Drawing.Point(145, 58);
|
||||
this.label102.Name = "label102";
|
||||
this.label102.Size = new System.Drawing.Size(283, 17);
|
||||
this.label102.TabIndex = 679;
|
||||
@@ -403,7 +399,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
// txtScale1
|
||||
//
|
||||
this.txtScale1.Location = new System.Drawing.Point(452, 27);
|
||||
this.txtScale1.Location = new System.Drawing.Point(426, 27);
|
||||
this.txtScale1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.txtScale1.Name = "txtScale1";
|
||||
this.txtScale1.Size = new System.Drawing.Size(25, 23);
|
||||
@@ -416,7 +412,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx3.Location = new System.Drawing.Point(27, 71);
|
||||
this.panelEx3.Location = new System.Drawing.Point(21, 71);
|
||||
this.panelEx3.Name = "panelEx3";
|
||||
this.panelEx3.Size = new System.Drawing.Size(115, 23);
|
||||
this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -442,7 +438,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.btnListWarehouse.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnListWarehouse.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnListWarehouse.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnListWarehouse.Location = new System.Drawing.Point(27, 32);
|
||||
this.btnListWarehouse.Location = new System.Drawing.Point(21, 32);
|
||||
this.btnListWarehouse.Name = "btnListWarehouse";
|
||||
this.btnListWarehouse.Size = new System.Drawing.Size(115, 23);
|
||||
this.btnListWarehouse.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -467,7 +463,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.btnStartStockUp.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnStartStockUp.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStartStockUp.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnStartStockUp.Location = new System.Drawing.Point(847, 32);
|
||||
this.btnStartStockUp.Location = new System.Drawing.Point(829, 32);
|
||||
this.btnStartStockUp.Name = "btnStartStockUp";
|
||||
this.btnStartStockUp.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnStartStockUp.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -487,7 +483,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
// label101
|
||||
//
|
||||
this.label101.Location = new System.Drawing.Point(171, 30);
|
||||
this.label101.Location = new System.Drawing.Point(145, 30);
|
||||
this.label101.Name = "label101";
|
||||
this.label101.Size = new System.Drawing.Size(283, 17);
|
||||
this.label101.TabIndex = 678;
|
||||
@@ -497,7 +493,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
// label16
|
||||
//
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(475, 30);
|
||||
this.label16.Location = new System.Drawing.Point(449, 30);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(44, 17);
|
||||
this.label16.TabIndex = 693;
|
||||
@@ -506,7 +502,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(475, 58);
|
||||
this.label17.Location = new System.Drawing.Point(449, 58);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(44, 17);
|
||||
this.label17.TabIndex = 694;
|
||||
@@ -515,7 +511,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(170, 88);
|
||||
this.label18.Location = new System.Drawing.Point(149, 88);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(80, 17);
|
||||
this.label18.TabIndex = 712;
|
||||
@@ -524,12 +520,25 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(817, 88);
|
||||
this.label19.Location = new System.Drawing.Point(769, 64);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(44, 17);
|
||||
this.label19.TabIndex = 725;
|
||||
this.label19.Text = "不备货";
|
||||
//
|
||||
// ucCheckBox1
|
||||
//
|
||||
this.ucCheckBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucCheckBox1.AutoSize = true;
|
||||
this.ucCheckBox1.Location = new System.Drawing.Point(831, 58);
|
||||
this.ucCheckBox1.Name = "ucCheckBox1";
|
||||
this.ucCheckBox1.Size = new System.Drawing.Size(87, 21);
|
||||
this.ucCheckBox1.TabIndex = 713;
|
||||
this.ucCheckBox1.Text = "使用新接口";
|
||||
this.ucCheckBox1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.ucCheckBox1.UseVisualStyleBackColor = true;
|
||||
this.ucCheckBox1.CheckedChanged += new System.EventHandler(this.chkNewService_CheckedChanged);
|
||||
//
|
||||
// ucGroupBoxEx3
|
||||
//
|
||||
this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -698,7 +707,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
// splitContainer3.Panel2
|
||||
//
|
||||
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1368, 465);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1350, 465);
|
||||
this.splitContainer3.SplitterDistance = 435;
|
||||
this.splitContainer3.TabIndex = 1;
|
||||
//
|
||||
@@ -726,7 +735,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucGroupBoxEx99);
|
||||
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(1368, 435);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1350, 435);
|
||||
this.splitContainer2.SplitterDistance = 280;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
@@ -813,18 +822,18 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
|
||||
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;
|
||||
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;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -931,7 +940,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
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(760, 180);
|
||||
this.ucGroupBoxEx99.Size = new System.Drawing.Size(742, 180);
|
||||
this.ucGroupBoxEx99.TabIndex = 470;
|
||||
this.ucGroupBoxEx99.TabStop = false;
|
||||
this.ucGroupBoxEx99.Text = "创建备货单";
|
||||
@@ -1212,7 +1221,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
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(505, 23);
|
||||
this.panel2.Size = new System.Drawing.Size(487, 23);
|
||||
this.panel2.TabIndex = 638;
|
||||
//
|
||||
// textBox2
|
||||
@@ -1222,7 +1231,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.textBox2.Location = new System.Drawing.Point(0, 0);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.ReadOnly = true;
|
||||
this.textBox2.Size = new System.Drawing.Size(439, 23);
|
||||
this.textBox2.Size = new System.Drawing.Size(421, 23);
|
||||
this.textBox2.TabIndex = 638;
|
||||
//
|
||||
// btnSetNotArea
|
||||
@@ -1232,7 +1241,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
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(445, 2);
|
||||
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;
|
||||
@@ -1354,7 +1363,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
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(664, 29);
|
||||
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;
|
||||
@@ -1377,7 +1386,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
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(664, 59);
|
||||
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;
|
||||
@@ -1409,18 +1418,18 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
this.dgvStock.AllowUserToAddRows = false;
|
||||
this.dgvStock.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvStock.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvStock.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.dgvStock.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvStock.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
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;
|
||||
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;
|
||||
this.dgvStock.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvStock.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colUpId,
|
||||
@@ -1443,6 +1452,8 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.colSalesInventoryNum,
|
||||
this.colWaitReceiveNum,
|
||||
this.colQualityScore,
|
||||
this.colQualityRate,
|
||||
this.colQualityCount,
|
||||
this.colNeedStockUp,
|
||||
this.colMsg});
|
||||
this.dgvStock.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -1450,11 +1461,91 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.dgvStock.Name = "dgvStock";
|
||||
this.dgvStock.ReadOnly = true;
|
||||
this.dgvStock.RowTemplate.Height = 23;
|
||||
this.dgvStock.Size = new System.Drawing.Size(1080, 435);
|
||||
this.dgvStock.Size = new System.Drawing.Size(1062, 435);
|
||||
this.dgvStock.TabIndex = 187;
|
||||
this.dgvStock.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvStock_CellContentClick);
|
||||
this.dgvStock.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvStock_Scroll);
|
||||
//
|
||||
// splitContainer4
|
||||
//
|
||||
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer4.Name = "splitContainer4";
|
||||
//
|
||||
// splitContainer4.Panel1
|
||||
//
|
||||
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
|
||||
//
|
||||
// splitContainer4.Panel2
|
||||
//
|
||||
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
|
||||
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1350, 26);
|
||||
this.splitContainer4.SplitterDistance = 1072;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1072, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx1.Location = new System.Drawing.Point(155, 0);
|
||||
this.panelEx1.Name = "panelEx1";
|
||||
this.panelEx1.Size = new System.Drawing.Size(115, 21);
|
||||
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelEx1.Style.GradientAngle = 90;
|
||||
this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx1.TabIndex = 668;
|
||||
this.panelEx1.Text = "停止当前操作";
|
||||
this.panelEx1.Click += new System.EventHandler(this.btnStop_Click);
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnClear.Location = new System.Drawing.Point(47, 0);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(90, 21);
|
||||
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClear.Style.GradientAngle = 90;
|
||||
this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClear.TabIndex = 440;
|
||||
this.btnClear.Text = "清空结果";
|
||||
this.btnClear.Visible = false;
|
||||
//
|
||||
// colUpId
|
||||
//
|
||||
this.colUpId.HeaderText = "上家Id";
|
||||
@@ -1526,6 +1617,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.colProductId.Name = "colProductId";
|
||||
this.colProductId.ReadOnly = true;
|
||||
this.colProductId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colProductId.Width = 90;
|
||||
//
|
||||
// colProdSkc
|
||||
//
|
||||
@@ -1539,10 +1631,12 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
// colProdName
|
||||
//
|
||||
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProdName.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.colProdName.HeaderText = "标题";
|
||||
this.colProdName.Name = "colProdName";
|
||||
this.colProdName.ReadOnly = true;
|
||||
this.colProdName.Width = 200;
|
||||
this.colProdName.Width = 180;
|
||||
//
|
||||
// colPrcie
|
||||
//
|
||||
@@ -1610,7 +1704,21 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.colQualityScore.HeaderText = "品质分";
|
||||
this.colQualityScore.Name = "colQualityScore";
|
||||
this.colQualityScore.ReadOnly = true;
|
||||
this.colQualityScore.Width = 60;
|
||||
this.colQualityScore.Width = 50;
|
||||
//
|
||||
// colQualityRate
|
||||
//
|
||||
this.colQualityRate.HeaderText = "售后率";
|
||||
this.colQualityRate.Name = "colQualityRate";
|
||||
this.colQualityRate.ReadOnly = true;
|
||||
this.colQualityRate.Width = 50;
|
||||
//
|
||||
// colQualityCount
|
||||
//
|
||||
this.colQualityCount.HeaderText = "售后数";
|
||||
this.colQualityCount.Name = "colQualityCount";
|
||||
this.colQualityCount.ReadOnly = true;
|
||||
this.colQualityCount.Width = 50;
|
||||
//
|
||||
// colNeedStockUp
|
||||
//
|
||||
@@ -1627,91 +1735,48 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.colMsg.ReadOnly = true;
|
||||
this.colMsg.Width = 400;
|
||||
//
|
||||
// splitContainer4
|
||||
// txtMaxQualityRate
|
||||
//
|
||||
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer4.Name = "splitContainer4";
|
||||
this.txtMaxQualityRate.Location = new System.Drawing.Point(737, 85);
|
||||
this.txtMaxQualityRate.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.txtMaxQualityRate.Name = "txtMaxQualityRate";
|
||||
this.txtMaxQualityRate.Size = new System.Drawing.Size(32, 23);
|
||||
this.txtMaxQualityRate.TabIndex = 745;
|
||||
this.txtMaxQualityRate.Text = "2";
|
||||
this.txtMaxQualityRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// splitContainer4.Panel1
|
||||
// chkMaxQualityRate
|
||||
//
|
||||
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
|
||||
this.chkMaxQualityRate.AutoSize = true;
|
||||
this.chkMaxQualityRate.Checked = true;
|
||||
this.chkMaxQualityRate.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkMaxQualityRate.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.chkMaxQualityRate.FlatAppearance.BorderSize = 2;
|
||||
this.chkMaxQualityRate.FlatAppearance.CheckedBackColor = System.Drawing.Color.Blue;
|
||||
this.chkMaxQualityRate.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Blue;
|
||||
this.chkMaxQualityRate.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Blue;
|
||||
this.chkMaxQualityRate.Location = new System.Drawing.Point(655, 86);
|
||||
this.chkMaxQualityRate.Margin = new System.Windows.Forms.Padding(15, 3, 3, 3);
|
||||
this.chkMaxQualityRate.Name = "chkMaxQualityRate";
|
||||
this.chkMaxQualityRate.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkMaxQualityRate.TabIndex = 744;
|
||||
this.chkMaxQualityRate.Text = "售后率高于";
|
||||
this.chkMaxQualityRate.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// splitContainer4.Panel2
|
||||
// label10
|
||||
//
|
||||
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
|
||||
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1368, 26);
|
||||
this.splitContainer4.SplitterDistance = 1090;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1090, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx1.Location = new System.Drawing.Point(155, 0);
|
||||
this.panelEx1.Name = "panelEx1";
|
||||
this.panelEx1.Size = new System.Drawing.Size(115, 21);
|
||||
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelEx1.Style.GradientAngle = 90;
|
||||
this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx1.TabIndex = 668;
|
||||
this.panelEx1.Text = "停止当前操作";
|
||||
this.panelEx1.Click += new System.EventHandler(this.btnStop_Click);
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnClear.Location = new System.Drawing.Point(47, 0);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(90, 21);
|
||||
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClear.Style.GradientAngle = 90;
|
||||
this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClear.TabIndex = 440;
|
||||
this.btnClear.Text = "清空结果";
|
||||
this.btnClear.Visible = false;
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(769, 88);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(44, 17);
|
||||
this.label10.TabIndex = 746;
|
||||
this.label10.Text = "不备货";
|
||||
//
|
||||
// SaleStockUpForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(1368, 589);
|
||||
this.ClientSize = new System.Drawing.Size(1350, 589);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Name = "SaleStockUpForm";
|
||||
@@ -1880,7 +1945,12 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSalesInventoryNum;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWaitReceiveNum;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colQualityScore;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colQualityRate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colQualityCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colNeedStockUp;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
|
||||
private System.Windows.Forms.TextBox txtMaxQualityRate;
|
||||
private System.Windows.Forms.CheckBox chkMaxQualityRate;
|
||||
private System.Windows.Forms.Label label10;
|
||||
}
|
||||
}
|
||||
@@ -938,13 +938,19 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
foreach(var order in subOrderInfoLstTmp)
|
||||
{
|
||||
order.goodsAfsScore = -1;
|
||||
order.qltyAfsOrdCnt = -1;
|
||||
order.qltyAfsOrdrRate = -1;
|
||||
}
|
||||
}
|
||||
foreach (var qualityInfo in qualityInfoLst)
|
||||
{
|
||||
var order = subOrderInfoLstTmp.FirstOrDefault(o => o.productId == qualityInfo.productId);
|
||||
if (order != null)
|
||||
{
|
||||
order.goodsAfsScore = qualityInfo.goodsAfsScore;
|
||||
order.qltyAfsOrdCnt = qualityInfo.qltyAfsOrdCnt;
|
||||
order.qltyAfsOrdrRate = qualityInfo.qltyAfsOrdrRate;
|
||||
}
|
||||
}
|
||||
//---------------------------------------------------------------------------------------
|
||||
lstSubOrderInfo.AddRange(subOrderInfoLstTmp);
|
||||
@@ -973,6 +979,8 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
sInfo.skuQuantityTotalInfo.inventoryNumInfo.warehouseInventoryNum,
|
||||
sInfo.skuQuantityTotalInfo.inventoryNumInfo.waitReceiveNum,
|
||||
sInfo.goodsAfsScore == null ? "-" : (Math.Round(sInfo.goodsAfsScore.Value * 10) / 10).ToString(),
|
||||
sInfo.qltyAfsOrdrRate == null ? "-" : (Math.Round(sInfo.qltyAfsOrdrRate.Value * 10000) / 100).ToString("0.00"),
|
||||
sInfo.qltyAfsOrdCnt == null ? "-" : sInfo.qltyAfsOrdCnt.Value.ToString(),
|
||||
sInfo.needStockUp == false ? "无需备货" : "可备货",
|
||||
sInfo.goodsAfsScore == -1 ? "获取商品品质信息失败" : ""
|
||||
);
|
||||
@@ -1047,9 +1055,12 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
ucGroupBoxEx4.Enabled = false;
|
||||
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
var minQualityScore = this.txtMinQualityScore.Text.ParseToInt();
|
||||
var minQualityScore = this.txtMinQualityScore.Text.ParseToDecimal();
|
||||
if (!chkMinQualityScore.Checked) // 没选最低品质分,即不考虑品质分上货。
|
||||
minQualityScore = -100;
|
||||
var maxQualityRate = this.txtMaxQualityRate.Text.ParseToDecimal();
|
||||
if (!chkMaxQualityRate.Checked) // 没选最高品质售后率,即不考虑品质售后率上货。
|
||||
maxQualityRate = 100;
|
||||
Task.Run(() =>
|
||||
{
|
||||
int i = 0;
|
||||
@@ -1091,6 +1102,17 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
if (stockUp.qltyAfsOrdrRate != null && stockUp.qltyAfsOrdrRate * 100 > maxQualityRate)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
{
|
||||
row.Cells["colMsg"].Value = "商品品质售后率过高,请去网页手动备货";
|
||||
}
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == stockUp.supplierId.ToString());
|
||||
if (shop == null || shop.LoginStatus != "登录成功")
|
||||
|
||||
@@ -195,6 +195,12 @@
|
||||
<metadata name="colQualityScore.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colQualityRate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colQualityCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colNeedStockUp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
Reference in new issue
Block a user