用户拍单可以通过商品选择sku

This commit is contained in:
wule committed 2026-09-06 18:56:37 +08:00
1 parent ec4d8073b3
commit 8e33d095f3
17 files changed
+1620 -616

No files matched your search

+4 -4
View File
@@ -186,8 +186,8 @@ namespace TemuKJD.ToolForms
this.pictureBox1.Image = ImageBuild.LoadBitmapLoadBitmipImageFromUrl(orderItem.thumb_img);
this.txtShopSkuId.Text = orderItem.sku_id;
this.txtShopGoodsId.Text = orderItem.product_id;
this.txtUpSpuCode.Text = orderItem.out_product_id.IsNullOrEmpty() ? orderItem.product_id : orderItem.out_product_id;
this.txtUpSkuCode.Text = orderItem.out_sku_id.IsNullOrEmpty() ? orderItem.sku_attr_str : orderItem.out_sku_id;
this.txtSpuCode.Text = orderItem.out_product_id.IsNullOrEmpty() ? orderItem.product_id : orderItem.out_product_id;
this.txtSkuCode.Text = orderItem.out_sku_id.IsNullOrEmpty() ? orderItem.sku_attr_str : orderItem.out_sku_id;
this.txtShopGoodsName.Text = orderItem.title;
this.txtShopSpecName.Text = orderItem.sku_attr_str;
this.txtShopOrderItemCnt.Text = orderItem.sku_cnt.ParseToString();
@@ -944,8 +944,8 @@ namespace TemuKJD.ToolForms
}
string url;
string upSpuCode = txtUpSpuCode.Text.Trim();
string upSkuCode = txtUpSkuCode.Text.Trim();
string upSpuCode = txtSpuCode.Text.Trim();
string upSkuCode = txtSkuCode.Text.Trim();
// 保存sku及商品关联信息
var data = UserLogin.GetSignaturex()
+ "&spu_code=" + GetHtml.UrlEncodeUtf8(upSpuCode)
+17 -17
View File
@@ -57,9 +57,9 @@
this.txtShopSpecName = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.txtUpSpuCode = new System.Windows.Forms.TextBox();
this.txtSpuCode = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.txtUpSkuCode = new System.Windows.Forms.TextBox();
this.txtSkuCode = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.txtShopSkuId = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
@@ -470,11 +470,11 @@
//
// txtUpSpuCode
//
this.txtUpSpuCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtUpSpuCode.Location = new System.Drawing.Point(85, 228);
this.txtUpSpuCode.Name = "txtUpSpuCode";
this.txtUpSpuCode.Size = new System.Drawing.Size(152, 23);
this.txtUpSpuCode.TabIndex = 814;
this.txtSpuCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtSpuCode.Location = new System.Drawing.Point(85, 228);
this.txtSpuCode.Name = "txtUpSpuCode";
this.txtSpuCode.Size = new System.Drawing.Size(152, 23);
this.txtSpuCode.TabIndex = 814;
//
// label12
//
@@ -487,13 +487,13 @@
//
// txtUpSkuCode
//
this.txtUpSkuCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
this.txtSkuCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtUpSkuCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtUpSkuCode.Location = new System.Drawing.Point(321, 228);
this.txtUpSkuCode.Name = "txtUpSkuCode";
this.txtUpSkuCode.Size = new System.Drawing.Size(152, 23);
this.txtUpSkuCode.TabIndex = 812;
this.txtSkuCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtSkuCode.Location = new System.Drawing.Point(321, 228);
this.txtSkuCode.Name = "txtUpSkuCode";
this.txtSkuCode.Size = new System.Drawing.Size(152, 23);
this.txtSkuCode.TabIndex = 812;
//
// label11
//
@@ -779,8 +779,8 @@
this.panel1.Controls.Add(this.label10);
this.panel1.Controls.Add(this.txtShopSkuId);
this.panel1.Controls.Add(this.label11);
this.panel1.Controls.Add(this.txtUpSpuCode);
this.panel1.Controls.Add(this.txtUpSkuCode);
this.panel1.Controls.Add(this.txtSpuCode);
this.panel1.Controls.Add(this.txtSkuCode);
this.panel1.Controls.Add(this.label12);
this.panel1.Controls.Add(this.pnlMap);
this.panel1.Location = new System.Drawing.Point(867, 3);
@@ -1201,9 +1201,9 @@
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox txtShopGoodsName;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox txtUpSpuCode;
private System.Windows.Forms.TextBox txtSpuCode;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox txtUpSkuCode;
private System.Windows.Forms.TextBox txtSkuCode;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txtShopSpecName;