diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUploadForm.Designer.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUploadForm.Designer.cs index 6821994..c39bf2b 100644 --- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUploadForm.Designer.cs +++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUploadForm.Designer.cs @@ -30,14 +30,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms 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 dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); + 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(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components); this.cmbCatSelect2 = new System.Windows.Forms.ComboBox(); @@ -199,6 +199,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.chkImgChanceTest = new TemuKJD.UserComponent.UcCheckBox(this.components); this.panel1 = new System.Windows.Forms.Panel(); + this.chkSecondHand = new TemuKJD.UserComponent.UcCheckBox(this.components); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); @@ -257,6 +258,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms | System.Windows.Forms.AnchorStyles.Right))); this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND; + this.ucGroupBoxEx2.Controls.Add(this.chkSecondHand); this.ucGroupBoxEx2.Controls.Add(this.cmbCatSelect2); this.ucGroupBoxEx2.Controls.Add(this.cmbCatSelect1); this.ucGroupBoxEx2.Controls.Add(this.btnSeachPicUp); @@ -320,7 +322,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.cmbCatSelect2.DropDownWidth = 150; this.cmbCatSelect2.FormattingEnabled = true; - this.cmbCatSelect2.Location = new System.Drawing.Point(696, 106); + this.cmbCatSelect2.Location = new System.Drawing.Point(696, 111); this.cmbCatSelect2.Name = "cmbCatSelect2"; this.cmbCatSelect2.Size = new System.Drawing.Size(97, 25); this.cmbCatSelect2.TabIndex = 893; @@ -332,7 +334,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.cmbCatSelect1.DropDownWidth = 150; this.cmbCatSelect1.FormattingEnabled = true; - this.cmbCatSelect1.Location = new System.Drawing.Point(599, 106); + this.cmbCatSelect1.Location = new System.Drawing.Point(599, 111); this.cmbCatSelect1.Name = "cmbCatSelect1"; this.cmbCatSelect1.Size = new System.Drawing.Size(97, 25); this.cmbCatSelect1.TabIndex = 892; @@ -418,7 +420,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // txtMultiPcsSku4 // this.txtMultiPcsSku4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.txtMultiPcsSku4.Location = new System.Drawing.Point(849, 76); + this.txtMultiPcsSku4.Location = new System.Drawing.Point(849, 86); this.txtMultiPcsSku4.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); this.txtMultiPcsSku4.Name = "txtMultiPcsSku4"; this.txtMultiPcsSku4.Size = new System.Drawing.Size(25, 23); @@ -429,7 +431,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.label27.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label27.AutoSize = true; - this.label27.Location = new System.Drawing.Point(812, 79); + this.label27.Location = new System.Drawing.Point(812, 89); this.label27.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(41, 17); @@ -438,7 +440,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // txtMultiPcsSku3 // - this.txtMultiPcsSku3.Location = new System.Drawing.Point(787, 76); + this.txtMultiPcsSku3.Location = new System.Drawing.Point(787, 86); this.txtMultiPcsSku3.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); this.txtMultiPcsSku3.Name = "txtMultiPcsSku3"; this.txtMultiPcsSku3.Size = new System.Drawing.Size(25, 23); @@ -447,7 +449,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // txtMultiPcsSku2 // - this.txtMultiPcsSku2.Location = new System.Drawing.Point(759, 76); + this.txtMultiPcsSku2.Location = new System.Drawing.Point(759, 86); this.txtMultiPcsSku2.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); this.txtMultiPcsSku2.Name = "txtMultiPcsSku2"; this.txtMultiPcsSku2.Size = new System.Drawing.Size(25, 23); @@ -456,7 +458,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // txtMultiPcsSku1 // - this.txtMultiPcsSku1.Location = new System.Drawing.Point(725, 76); + this.txtMultiPcsSku1.Location = new System.Drawing.Point(725, 86); this.txtMultiPcsSku1.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); this.txtMultiPcsSku1.Name = "txtMultiPcsSku1"; this.txtMultiPcsSku1.Size = new System.Drawing.Size(25, 23); @@ -466,7 +468,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // chkMultiPcsSku // this.chkMultiPcsSku.AutoSize = true; - this.chkMultiPcsSku.Location = new System.Drawing.Point(661, 77); + this.chkMultiPcsSku.Location = new System.Drawing.Point(661, 87); this.chkMultiPcsSku.Name = "chkMultiPcsSku"; this.chkMultiPcsSku.Size = new System.Drawing.Size(71, 21); this.chkMultiPcsSku.TabIndex = 866; @@ -475,7 +477,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // txtEndWords // - this.txtEndWords.Location = new System.Drawing.Point(599, 76); + this.txtEndWords.Location = new System.Drawing.Point(599, 86); this.txtEndWords.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); this.txtEndWords.Name = "txtEndWords"; this.txtEndWords.Size = new System.Drawing.Size(54, 23); @@ -485,7 +487,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // chkEndWords // this.chkEndWords.AutoSize = true; - this.chkEndWords.Location = new System.Drawing.Point(531, 77); + this.chkEndWords.Location = new System.Drawing.Point(531, 87); this.chkEndWords.Name = "chkEndWords"; this.chkEndWords.Size = new System.Drawing.Size(75, 21); this.chkEndWords.TabIndex = 864; @@ -521,7 +523,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms this.cmbTextStyle.Items.AddRange(new object[] { "双色字体", "彩色字体"}); - this.cmbTextStyle.Location = new System.Drawing.Point(849, 40); + this.cmbTextStyle.Location = new System.Drawing.Point(849, 35); this.cmbTextStyle.Name = "cmbTextStyle"; this.cmbTextStyle.Size = new System.Drawing.Size(75, 25); this.cmbTextStyle.TabIndex = 851; @@ -532,7 +534,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // label21 // this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(827, 44); + this.label21.Location = new System.Drawing.Point(827, 39); this.label21.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(19, 17); @@ -541,7 +543,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // txtAlpha // - this.txtAlpha.Location = new System.Drawing.Point(794, 41); + this.txtAlpha.Location = new System.Drawing.Point(794, 36); this.txtAlpha.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); this.txtAlpha.Name = "txtAlpha"; this.txtAlpha.Size = new System.Drawing.Size(33, 23); @@ -551,7 +553,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(703, 44); + this.label13.Location = new System.Drawing.Point(703, 39); this.label13.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(92, 17); @@ -657,7 +659,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // txtAddTimesFake // this.txtAddTimesFake.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.txtAddTimesFake.Location = new System.Drawing.Point(658, 41); + this.txtAddTimesFake.Location = new System.Drawing.Point(658, 36); this.txtAddTimesFake.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); this.txtAddTimesFake.Name = "txtAddTimesFake"; this.txtAddTimesFake.Size = new System.Drawing.Size(26, 23); @@ -668,7 +670,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // chkActivity // this.chkActivity.AutoSize = true; - this.chkActivity.Location = new System.Drawing.Point(531, 42); + this.chkActivity.Location = new System.Drawing.Point(531, 37); this.chkActivity.Name = "chkActivity"; this.chkActivity.Size = new System.Drawing.Size(135, 21); this.chkActivity.TabIndex = 648; @@ -680,7 +682,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.label17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(684, 44); + this.label17.Location = new System.Drawing.Point(684, 39); this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(20, 17); @@ -983,7 +985,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // line1 // this.line1.ForeColor = System.Drawing.SystemColors.ActiveCaption; - this.line1.Location = new System.Drawing.Point(530, 30); + this.line1.Location = new System.Drawing.Point(530, 27); this.line1.Name = "line1"; this.line1.Size = new System.Drawing.Size(422, 10); this.line1.TabIndex = 836; @@ -992,7 +994,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // line2 // this.line2.ForeColor = System.Drawing.SystemColors.ActiveCaption; - this.line2.Location = new System.Drawing.Point(531, 64); + this.line2.Location = new System.Drawing.Point(531, 57); this.line2.Name = "line2"; this.line2.Size = new System.Drawing.Size(421, 10); this.line2.TabIndex = 837; @@ -1001,7 +1003,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // label26 // this.label26.AutoSize = true; - this.label26.Location = new System.Drawing.Point(749, 80); + this.label26.Location = new System.Drawing.Point(749, 90); this.label26.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(13, 17); @@ -1011,7 +1013,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // chkAiImage // this.chkAiImage.AutoSize = true; - this.chkAiImage.Location = new System.Drawing.Point(930, 42); + this.chkAiImage.Location = new System.Drawing.Point(930, 37); this.chkAiImage.Name = "chkAiImage"; this.chkAiImage.Size = new System.Drawing.Size(62, 21); this.chkAiImage.TabIndex = 891; @@ -1023,7 +1025,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.cmbCatSelect4.DropDownWidth = 150; this.cmbCatSelect4.FormattingEnabled = true; - this.cmbCatSelect4.Location = new System.Drawing.Point(890, 106); + this.cmbCatSelect4.Location = new System.Drawing.Point(890, 111); this.cmbCatSelect4.Name = "cmbCatSelect4"; this.cmbCatSelect4.Size = new System.Drawing.Size(97, 25); this.cmbCatSelect4.TabIndex = 895; @@ -1034,7 +1036,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // chkSetCats // this.chkSetCats.AutoSize = true; - this.chkSetCats.Location = new System.Drawing.Point(531, 108); + this.chkSetCats.Location = new System.Drawing.Point(531, 113); this.chkSetCats.Name = "chkSetCats"; this.chkSetCats.Size = new System.Drawing.Size(75, 21); this.chkSetCats.TabIndex = 896; @@ -1046,7 +1048,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.cmbCatSelect3.DropDownWidth = 150; this.cmbCatSelect3.FormattingEnabled = true; - this.cmbCatSelect3.Location = new System.Drawing.Point(793, 106); + this.cmbCatSelect3.Location = new System.Drawing.Point(793, 111); this.cmbCatSelect3.Name = "cmbCatSelect3"; this.cmbCatSelect3.Size = new System.Drawing.Size(97, 25); this.cmbCatSelect3.TabIndex = 894; @@ -1660,19 +1662,19 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.dgvShop.AllowUserToAddRows = false; this.dgvShop.AllowUserToDeleteRows = false; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; - this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle17.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle17; 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; + dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle18.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18; this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelect, @@ -2119,19 +2121,19 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.dgvSelectProduct.AllowUserToAddRows = false; this.dgvSelectProduct.AllowUserToDeleteRows = false; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke; - this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle19.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle19; this.dgvSelectProduct.AutoRowNumber = true; this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White; this.dgvSelectProduct.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.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; + 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.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20; this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colCheck, @@ -2193,8 +2195,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // colSupplierName // - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle21; this.colSupplierName.Frozen = true; this.colSupplierName.HeaderText = "店铺名称"; this.colSupplierName.Name = "colSupplierName"; @@ -2272,8 +2274,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // colProductName // - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.colProductName.DefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colProductName.DefaultCellStyle = dataGridViewCellStyle22; this.colProductName.HeaderText = "商品标题"; this.colProductName.Name = "colProductName"; this.colProductName.ReadOnly = true; @@ -2333,8 +2335,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // colAddTime // - dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.colAddTime.DefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colAddTime.DefaultCellStyle = dataGridViewCellStyle23; this.colAddTime.FillWeight = 80F; this.colAddTime.HeaderText = "上传时间"; this.colAddTime.Name = "colAddTime"; @@ -2342,8 +2344,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms // // colOpResult // - dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.colOpResult.DefaultCellStyle = dataGridViewCellStyle8; + dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colOpResult.DefaultCellStyle = dataGridViewCellStyle24; this.colOpResult.HeaderText = "操作结果"; this.colOpResult.Name = "colOpResult"; this.colOpResult.ReadOnly = true; @@ -2454,6 +2456,17 @@ namespace TemuKJD.PDDForms.ProductSelectForms this.panel1.TabIndex = 189; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // + // chkSecondHand + // + this.chkSecondHand.AutoSize = true; + this.chkSecondHand.Location = new System.Drawing.Point(531, 64); + this.chkSecondHand.Name = "chkSecondHand"; + this.chkSecondHand.Size = new System.Drawing.Size(135, 21); + this.chkSecondHand.TabIndex = 909; + this.chkSecondHand.Text = "强制指定为二手商品"; + this.chkSecondHand.UseVisualStyleBackColor = true; + this.chkSecondHand.CheckedChanged += new System.EventHandler(this.chkSecondHand_CheckedChanged); + // // PDDDBProdUploadForm // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -2670,5 +2683,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms private System.Windows.Forms.ComboBox cmbCatSelect1; private System.Windows.Forms.ComboBox cmbCatSelect4; private UserComponent.UcCheckBox chkSetCats; - } + private UserComponent.UcCheckBox chkSecondHand; + } } \ No newline at end of file diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUploadForm.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUploadForm.cs index 1e4bb30..06ab5d2 100644 --- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUploadForm.cs +++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUploadForm.cs @@ -1731,7 +1731,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms prodParam.reject_status = prodInfo.detail.reject_status.ParseToString(); prodParam.same_city_template_id = prodInfo.detail.same_city_template_id; prodParam.schedule_sale = JsonHelper.DeserializeJsonToObject(JsonHelper.SerializeObject(prodInfo.detail.schedule_sale)); - prodParam.second_hand = prodInfo.detail.second_hand; + prodParam.second_hand = isForceSenondHand == true ? 1 : prodInfo.detail.second_hand; prodParam.service_time = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now); // 尝试使用当前系统时间提交 prodParam.shang_men_an_zhuang = prodInfo.detail.shang_men_an_zhuang; prodParam.shipment_limit_second = prodInfo.detail.shipment_limit_second; //发货时间 86400 = 24 小时 一般设置成2天 @@ -10928,9 +10928,16 @@ Content-Type: image/jpeg private void cmbCatSelect4_TextChanged(object sender, EventArgs e) { } - } - public class AddPriceRule + + bool isForceSenondHand = false; + private void chkSecondHand_CheckedChanged(object sender, EventArgs e) + { + isForceSenondHand = chkSecondHand.Checked; + } + } + + public class AddPriceRule { /// /// 加价金额区间大于 不包含