云库数据上传

This commit is contained in:
wule committed 2026-09-08 20:51:52 +08:00
1 parent cd82a1ec15
commit dc977c45d8
12 files changed
+275 -96

No files matched your search

@@ -418,11 +418,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
}
WXDBProdUploadForm.Instance.lstTemuDBProductSelect.Add(new TemuDBProductSelect
{
out_product_Id = item.GoodsId.ToString(),
//out_product_Id = item.GoodsId.ToString(),
spu_id = item.GoodsId.ToString(),
main_img = item.ThumbUrl,
product_name = item.Title,
cat_name = catName,
product_get_type_text = item.Platform == 1 ? ("多多") : item.Platform == 2 ? ("微信") : ("未知"),
db_type = "云端数据",
});
succ++;
}
@@ -40,6 +40,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colGetType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDbType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSpuId = new System.Windows.Forms.DataGridViewLinkColumn();
this.colImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colProductSkcPic = new System.Windows.Forms.DataGridViewImageColumn();
@@ -145,6 +146,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.colCheck,
this.colId,
this.colGetType,
this.colDbType,
this.colSpuId,
this.colImgUrl,
this.colProductSkcPic,
@@ -188,6 +190,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.colGetType.ReadOnly = true;
this.colGetType.Visible = false;
//
// colDbType
//
this.colDbType.HeaderText = "商品库";
this.colDbType.Name = "colDbType";
this.colDbType.ReadOnly = true;
this.colDbType.Visible = false;
//
// colSpuId
//
this.colSpuId.HeaderText = "商品ID";
@@ -287,6 +296,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
private System.Windows.Forms.DataGridViewTextBoxColumn colId;
private System.Windows.Forms.DataGridViewTextBoxColumn colGetType;
private System.Windows.Forms.DataGridViewTextBoxColumn colDbType;
private System.Windows.Forms.DataGridViewLinkColumn colSpuId;
private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl;
private System.Windows.Forms.DataGridViewImageColumn colProductSkcPic;
@@ -32,6 +32,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
if (BaseClass.UserName == "15288888888")
{
dgvSelectProduct.Columns["colGetType"].Visible = true;
dgvSelectProduct.Columns["colDbType"].Visible = true;
}
if (BaseClass.MainPath == "29pdd")
{
@@ -50,6 +51,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
false,
prodSelect.id,
prodSelect.product_get_type_text,
prodSelect.db_type,
BaseClass.SaLevel > 0 ? prodSelect.spu_id : prodSelect.spu_id.ParseToString().GetHashCode().ParseToString().Trim('-'),
prodSelect.main_img,
DataGridViewExtension.defaultBitmap,
@@ -126,6 +126,9 @@
<metadata name="colGetType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colDbType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSpuId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>