取消代发后再发送礼物单
This commit is contained in:
1 parent
a7f1891dd3
commit
7ef75f8134
17 files changed
+3028
-1718
No files matched your search
@@ -849,6 +849,13 @@ namespace TemuKJD.ToolForms
|
||||
return;
|
||||
}
|
||||
|
||||
this.Enabled = false;
|
||||
if (this.cefWebBrowser.Address.StartsWith("https://mobile.yangkeduo.com/order.html?order_sn="))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
var url = BaseClass.Build29WxObjString("order/wx_add_mdy_buy_prod_map");
|
||||
var data = UserLogin.GetSignaturex()
|
||||
+ "&spu_code=" + GetHtml.UrlEncodeUtf8(txtUpSpuCode.Text.Trim())
|
||||
@@ -865,8 +872,9 @@ namespace TemuKJD.ToolForms
|
||||
result = GetHtml.PostUtf8(url, data);
|
||||
if (!result.Contains("\"code\":200"))
|
||||
{
|
||||
BaseMsgForm.ShowError("保存失败" + BaseRegex.GetStringJson(ref result, "msg"));
|
||||
}
|
||||
this.Enabled = true;
|
||||
BaseMsgForm.ShowError("保存失败" + BaseRegex.GetStringJson(ref result, "msg") + ",请稍后重试");
|
||||
}
|
||||
else
|
||||
{
|
||||
var urlMap = BaseClass.Build29WxObjString("order/wx_get_buy_prod_map");
|
||||
@@ -878,8 +886,8 @@ namespace TemuKJD.ToolForms
|
||||
if (string.IsNullOrEmpty(resultMap) || !resultMap.Contains("\"code\":200"))
|
||||
resultMap = GetHtml.PostUtf8(urlMap, dataMap);
|
||||
if (string.IsNullOrEmpty(resultMap) || !resultMap.Contains("\"code\":200"))
|
||||
{
|
||||
}
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
List<WXBuyMapInfo> buyMapList = new List<WXBuyMapInfo>();
|
||||
@@ -1371,5 +1379,5 @@ namespace TemuKJD.ToolForms
|
||||
ChangeAddress(null);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+28
-28
@@ -84,7 +84,6 @@
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.txtAddress = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.pnlMap = new System.Windows.Forms.Panel();
|
||||
this.pnlDirectAddressAnalysis = new System.Windows.Forms.Panel();
|
||||
this.btnAnalysis = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label25 = new System.Windows.Forms.Label();
|
||||
@@ -103,6 +102,7 @@
|
||||
this.label29 = new System.Windows.Forms.Label();
|
||||
this.chkAutoChangeWarehouseAddress = new Work.UserComponents.UcCheckBox(this.components);
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.pnlMap = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
@@ -113,10 +113,10 @@
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.pnlMap.SuspendLayout();
|
||||
this.pnlDirectAddressAnalysis.SuspendLayout();
|
||||
this.pnlBuy.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.pnlMap.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
@@ -779,30 +779,6 @@
|
||||
this.panel1.Size = new System.Drawing.Size(487, 730);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// pnlMap
|
||||
//
|
||||
this.pnlMap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlMap.Controls.Add(this.txtSendProvince);
|
||||
this.pnlMap.Controls.Add(this.label13);
|
||||
this.pnlMap.Controls.Add(this.label20);
|
||||
this.pnlMap.Controls.Add(this.label1);
|
||||
this.pnlMap.Controls.Add(this.txtMapGoodsName);
|
||||
this.pnlMap.Controls.Add(this.btnManualUpdateSendProvince);
|
||||
this.pnlMap.Controls.Add(this.label2);
|
||||
this.pnlMap.Controls.Add(this.label3);
|
||||
this.pnlMap.Controls.Add(this.txtMapSkuId);
|
||||
this.pnlMap.Controls.Add(this.label4);
|
||||
this.pnlMap.Controls.Add(this.label5);
|
||||
this.pnlMap.Controls.Add(this.btnManualUpdateTransitWarehouse);
|
||||
this.pnlMap.Controls.Add(this.cmbTransitWarehouse);
|
||||
this.pnlMap.Controls.Add(this.txtMapGoodsId);
|
||||
this.pnlMap.Controls.Add(this.txtMapSkuName);
|
||||
this.pnlMap.Location = new System.Drawing.Point(12, 525);
|
||||
this.pnlMap.Name = "pnlMap";
|
||||
this.pnlMap.Size = new System.Drawing.Size(468, 203);
|
||||
this.pnlMap.TabIndex = 871;
|
||||
//
|
||||
// pnlDirectAddressAnalysis
|
||||
//
|
||||
this.pnlDirectAddressAnalysis.Controls.Add(this.btnAnalysis);
|
||||
@@ -1041,6 +1017,30 @@
|
||||
this.pictureBox1.TabStop = false;
|
||||
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
|
||||
//
|
||||
// pnlMap
|
||||
//
|
||||
this.pnlMap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlMap.Controls.Add(this.txtSendProvince);
|
||||
this.pnlMap.Controls.Add(this.label13);
|
||||
this.pnlMap.Controls.Add(this.label20);
|
||||
this.pnlMap.Controls.Add(this.label1);
|
||||
this.pnlMap.Controls.Add(this.txtMapGoodsName);
|
||||
this.pnlMap.Controls.Add(this.btnManualUpdateSendProvince);
|
||||
this.pnlMap.Controls.Add(this.label2);
|
||||
this.pnlMap.Controls.Add(this.label3);
|
||||
this.pnlMap.Controls.Add(this.txtMapSkuId);
|
||||
this.pnlMap.Controls.Add(this.label4);
|
||||
this.pnlMap.Controls.Add(this.label5);
|
||||
this.pnlMap.Controls.Add(this.btnManualUpdateTransitWarehouse);
|
||||
this.pnlMap.Controls.Add(this.cmbTransitWarehouse);
|
||||
this.pnlMap.Controls.Add(this.txtMapGoodsId);
|
||||
this.pnlMap.Controls.Add(this.txtMapSkuName);
|
||||
this.pnlMap.Location = new System.Drawing.Point(12, 525);
|
||||
this.pnlMap.Name = "pnlMap";
|
||||
this.pnlMap.Size = new System.Drawing.Size(468, 203);
|
||||
this.pnlMap.TabIndex = 871;
|
||||
//
|
||||
// PddMobileBuyOrderForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1068,13 +1068,13 @@
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.pnlMap.ResumeLayout(false);
|
||||
this.pnlMap.PerformLayout();
|
||||
this.pnlDirectAddressAnalysis.ResumeLayout(false);
|
||||
this.pnlDirectAddressAnalysis.PerformLayout();
|
||||
this.pnlBuy.ResumeLayout(false);
|
||||
this.pnlBuy.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.pnlMap.ResumeLayout(false);
|
||||
this.pnlMap.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user