1部分废弃功能注释 2数据库商品车队费、贴单费等设置 3账户授权金额设置 4jit核价商品还原逻辑调整

This commit is contained in:
wule committed 2025-12-03 11:04:58 +08:00
1 parent 480d8c2cd4
commit 165df61234
52 files changed
+2019 -1023

No files matched your search

+58 -19
View File
@@ -41,6 +41,7 @@ namespace TemuKJD.ToolForms
this.textBox1 = new System.Windows.Forms.TextBox();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.txtShopId = new System.Windows.Forms.TextBox();
this.txtYSize = new System.Windows.Forms.TextBox();
this.txtXSize = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
@@ -49,6 +50,8 @@ namespace TemuKJD.ToolForms
this.txtXPos = new System.Windows.Forms.TextBox();
this.pbLoading2 = new System.Windows.Forms.PictureBox();
this.ucImgChange1 = new TemuKJD.ToolForms.UcSkuImgItem();
this.txtSpuId = new System.Windows.Forms.TextBox();
this.txtSkcId = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -113,9 +116,9 @@ namespace TemuKJD.ToolForms
//
this.txtUrl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtUrl.Location = new System.Drawing.Point(3, 4);
this.txtUrl.Location = new System.Drawing.Point(0, 4);
this.txtUrl.Name = "txtUrl";
this.txtUrl.Size = new System.Drawing.Size(1108, 23);
this.txtUrl.Size = new System.Drawing.Size(1111, 23);
this.txtUrl.TabIndex = 0;
//
// splitContainer4
@@ -229,12 +232,15 @@ namespace TemuKJD.ToolForms
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.txtSkcId);
this.splitContainer3.Panel1.Controls.Add(this.txtSpuId);
this.splitContainer3.Panel1.Controls.Add(this.txtShopId);
this.splitContainer3.Panel1.Controls.Add(this.txtYSize);
this.splitContainer3.Panel1.Controls.Add(this.txtXSize);
this.splitContainer3.Panel1.Controls.Add(this.label2);
this.splitContainer3.Panel1.Controls.Add(this.label1);
this.splitContainer3.Panel1.Controls.Add(this.txtYPos);
this.splitContainer3.Panel1.Controls.Add(this.txtXPos);
this.splitContainer3.Panel1.Controls.Add(this.label2);
this.splitContainer3.Panel1.Controls.Add(this.label1);
//
// splitContainer3.Panel2
//
@@ -242,56 +248,70 @@ namespace TemuKJD.ToolForms
this.splitContainer3.Panel2.Controls.Add(this.pbLoading2);
this.splitContainer3.Panel2.Controls.Add(this.ucImgChange1);
this.splitContainer3.Size = new System.Drawing.Size(184, 534);
this.splitContainer3.SplitterDistance = 61;
this.splitContainer3.SplitterDistance = 76;
this.splitContainer3.TabIndex = 0;
//
// txtShopId
//
this.txtShopId.Font = new System.Drawing.Font("微软雅黑", 8F);
this.txtShopId.Location = new System.Drawing.Point(4, 4);
this.txtShopId.Name = "txtShopId";
this.txtShopId.Size = new System.Drawing.Size(178, 22);
this.txtShopId.TabIndex = 16;
//
// txtYSize
//
this.txtYSize.Location = new System.Drawing.Point(120, 31);
this.txtYSize.Font = new System.Drawing.Font("微软雅黑", 8F);
this.txtYSize.Location = new System.Drawing.Point(155, 52);
this.txtYSize.Name = "txtYSize";
this.txtYSize.Size = new System.Drawing.Size(42, 23);
this.txtYSize.Size = new System.Drawing.Size(26, 22);
this.txtYSize.TabIndex = 14;
this.txtYSize.Text = "50";
//
// txtXSize
//
this.txtXSize.Location = new System.Drawing.Point(72, 31);
this.txtXSize.Font = new System.Drawing.Font("微软雅黑", 8F);
this.txtXSize.Location = new System.Drawing.Point(129, 52);
this.txtXSize.Name = "txtXSize";
this.txtXSize.Size = new System.Drawing.Size(42, 23);
this.txtXSize.Size = new System.Drawing.Size(26, 22);
this.txtXSize.TabIndex = 13;
this.txtXSize.Text = "120";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 34);
this.label2.Font = new System.Drawing.Font("微软雅黑", 8F);
this.label2.Location = new System.Drawing.Point(102, 55);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 17);
this.label2.Size = new System.Drawing.Size(29, 16);
this.label2.TabIndex = 12;
this.label2.Text = "打码尺寸";
this.label2.Text = "尺寸";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Font = new System.Drawing.Font("微软雅黑", 8F);
this.label1.Location = new System.Drawing.Point(1, 55);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 17);
this.label1.Size = new System.Drawing.Size(51, 16);
this.label1.TabIndex = 11;
this.label1.Text = "打码坐标";
//
// txtYPos
//
this.txtYPos.Location = new System.Drawing.Point(120, 6);
this.txtYPos.Font = new System.Drawing.Font("微软雅黑", 8F);
this.txtYPos.Location = new System.Drawing.Point(76, 52);
this.txtYPos.Name = "txtYPos";
this.txtYPos.Size = new System.Drawing.Size(42, 23);
this.txtYPos.Size = new System.Drawing.Size(26, 22);
this.txtYPos.TabIndex = 10;
this.txtYPos.Text = "740";
//
// txtXPos
//
this.txtXPos.Location = new System.Drawing.Point(72, 6);
this.txtXPos.Font = new System.Drawing.Font("微软雅黑", 8F);
this.txtXPos.Location = new System.Drawing.Point(50, 52);
this.txtXPos.Name = "txtXPos";
this.txtXPos.Size = new System.Drawing.Size(42, 23);
this.txtXPos.Size = new System.Drawing.Size(26, 22);
this.txtXPos.TabIndex = 9;
this.txtXPos.Text = "670";
//
@@ -299,7 +319,7 @@ namespace TemuKJD.ToolForms
//
this.pbLoading2.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbLoading2.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pbLoading2.Location = new System.Drawing.Point(67, 209);
this.pbLoading2.Location = new System.Drawing.Point(67, 204);
this.pbLoading2.Name = "pbLoading2";
this.pbLoading2.Size = new System.Drawing.Size(50, 50);
this.pbLoading2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -317,6 +337,22 @@ namespace TemuKJD.ToolForms
this.ucImgChange1.Size = new System.Drawing.Size(184, 148);
this.ucImgChange1.TabIndex = 0;
//
// txtSpuId
//
this.txtSpuId.Font = new System.Drawing.Font("微软雅黑", 8F);
this.txtSpuId.Location = new System.Drawing.Point(4, 28);
this.txtSpuId.Name = "txtSpuId";
this.txtSpuId.Size = new System.Drawing.Size(88, 22);
this.txtSpuId.TabIndex = 17;
//
// txtSkcId
//
this.txtSkcId.Font = new System.Drawing.Font("微软雅黑", 8F);
this.txtSkcId.Location = new System.Drawing.Point(93, 28);
this.txtSkcId.Name = "txtSkcId";
this.txtSkcId.Size = new System.Drawing.Size(88, 22);
this.txtSkcId.TabIndex = 18;
//
// DouBaoImgCefForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -378,5 +414,8 @@ namespace TemuKJD.ToolForms
private System.Windows.Forms.TextBox textBox1;
private DevComponents.DotNetBar.PanelEx pnlMsg;
private System.Windows.Forms.Label lblMsg;
private System.Windows.Forms.TextBox txtShopId;
private System.Windows.Forms.TextBox txtSkcId;
private System.Windows.Forms.TextBox txtSpuId;
}
}
+7 -2
View File
@@ -45,6 +45,8 @@ namespace TemuKJD.ToolForms
this.Width = Math.Min(1600, Screen.PrimaryScreen.Bounds.Width);
this.Height = Math.Min(900, Screen.PrimaryScreen.Bounds.Height);
this.StartPosition = FormStartPosition.CenterScreen;
}
private void DouBaoCefForm_Load(object sender, EventArgs e)
@@ -77,8 +79,11 @@ namespace TemuKJD.ToolForms
var prodInfo = JsonHelper.DeserializeJsonToObject<TemuDetailProductInfo>(dbProd.product_json);
var ucImgChangeList = new List<UcSkuImgItem>();
this.TitleText = "豆包生成SKU图 主店ID:" + prodInfo.supplierId.ParseToString() + " SKC:" + prodInfo.productSkcList.FirstOrDefault()?.productSkcId +
" SKU:" + prodInfo.productId + " 名称:" + prodInfo.productName;
foreach(var sku in prodInfo.productSkcList[0].productSkuList)
" SPU:" + prodInfo.productId + " 名称:" + prodInfo.productName;
this.txtShopId.Text = "主店ID:" + prodInfo.supplierId.ParseToString();
this.txtSpuId.Text = "SPU:" + prodInfo.productId.ParseToString();
this.txtSkcId.Text = "SKC:" + prodInfo.productSkcList.FirstOrDefault()?.productSkcId.ParseToString();
foreach (var sku in prodInfo.productSkcList[0].productSkuList)
{
var imgUrl = sku.thumbUrl.Replace("https://", "http://");
if (!ucImgChangeList.Any(p=>p.pbSkuOriginalImg.ImageLocation == imgUrl))