diff --git a/AllBase/AllBase.csproj b/AllBase/AllBase.csproj
index 033d01b..e09746c 100644
--- a/AllBase/AllBase.csproj
+++ b/AllBase/AllBase.csproj
@@ -213,6 +213,7 @@
+
@@ -288,6 +289,7 @@
+
diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs
index 78187d3..01bff35 100644
--- a/AllBase/BaseClass.cs
+++ b/AllBase/BaseClass.cs
@@ -27,7 +27,7 @@ namespace AllBase
///
/// 版本ID
///
- public static int VersionCount = 1009;
+ public static int VersionCount = 1012;
//public static int VersionCount = 613;
///
diff --git a/AllBase/Model/Result/PDDResult/PddBuyerAfterSaleInfoLite.cs b/AllBase/Model/Result/PDDResult/PddBuyerAfterSaleInfoLite.cs
new file mode 100644
index 0000000..1afae63
--- /dev/null
+++ b/AllBase/Model/Result/PDDResult/PddBuyerAfterSaleInfoLite.cs
@@ -0,0 +1,78 @@
+using NaiBa.Util.Extension;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace AllBase.Model.Result.PDDResult
+{
+ public class PddBuyerAfterSaleInfoLite
+ {
+ public string buyerId { get; set; } // 买手Id
+ public string buyerName { get; set; } // 买手名称
+ public string sendStatus { get; set; } = "";
+ public string orderSn
+ {
+ get
+ {
+ var detailPage = listItemExtraVO.navToDetailPageUrl;
+ return BaseRegex.GetStringQuery(ref detailPage, "order_sn");
+ }
+ }
+ public int? orderDate { get { return orderSn.Split('-').FirstOrDefault().ParseToInt(); } }
+
+
+ public long? afterSalesId { get; set; } // 20129688312436,
+ public ListItemExtraVO listItemExtraVO { get; set; }
+ public ListItemMallVO listItemMallVO { get; set; }
+ public ListItemStatusVO listItemStatusVO { get; set; }
+ public ListItemGoodsVO listItemGoodsVO { get; set; }
+ public ListItemAmountVO listItemAmountVO { get; set; }
+ }
+
+ public class ListItemAmountVO
+ {
+ public string orderAmountTitle { get; set; } // "实付:",
+ public int? orderAmount { get; set; } // 1580,
+ public object payLaterAmountTitle { get; set; } // null,
+ public object payLaterAmount { get; set; } // null,
+ public string refundAmountTitle { get; set; } // "退款金额:",
+ public int? refundAmount { get; set; } // 1580,
+ public object refundAmountText { get; set; } // null,
+ public bool? useCoupon { get; set; } // false
+
+ }
+
+ public class ListItemGoodsVO
+ {
+ public string goodsImage { get; set; } // "https://img.pddpic.com/gaudit-image/2026-01-08/a3f431dd2be815640a2a41ed9a6cae5f.jpeg",
+ public string goodsName { get; set; } // "假发男士爸爸中老年自然轻手织男士假发道具中年",
+ public string spec { get; set; } // "",
+ public int? goodsPrice { get; set; } // 1580,
+ public int? goodsNumber { get; set; } // 1,
+ public object richTextList { get; set; } // null
+
+ }
+
+ public class ListItemStatusVO
+ {
+ public string statusText { get; set; } // "退款成功"
+
+ }
+
+ public class ListItemMallVO
+ {
+ public string mallName { get; set; } // "江霞假发",
+ public string mallLogo { get; set; } // "http://t16img.yangkeduo.com/pdd_ims/img_check/v2/E6EDFF2D6EE40120200112172428556/9824d59f68694de79252d95c62828c61.png",
+ public string mallTagLink { get; set; } // null,
+ public string pddRoute { get; set; } // "mall_page.html?mall_id=891600087&msn=tytnfyyplkflxcwnke2jkevprq_axbuy&_sop_rcto=YWKMWyWgOwRhdOxkIstGcbATTuXTx_3fIjo"
+
+ }
+
+ public class ListItemExtraVO
+ {
+ public string navToDetailPageUrl { get; set; } // "/complaints_new_detail.html?after_sales_id=20129688312436&order_sn=260409-566440793722665"
+
+ }
+}
diff --git a/AllBase/Model/Result/WXResult/WxOptimizeOrderWayBillInfo.cs b/AllBase/Model/Result/WXResult/WxOptimizeOrderWayBillInfo.cs
index a6780d2..7142c22 100644
--- a/AllBase/Model/Result/WXResult/WxOptimizeOrderWayBillInfo.cs
+++ b/AllBase/Model/Result/WXResult/WxOptimizeOrderWayBillInfo.cs
@@ -8,6 +8,9 @@ namespace AllBase.Model.Result.WXResult
{
public class WxOptimizeOrderWayBillInfo
{
+ public string shopId { get; set; }
+ public string shopName { get; set; }
+
public WayBillOrderInfo orderInfo { get; set; }
public string waybillId { get; set; } // "JT4157662637789",
public string realPickupTime { get; set; } // "1776764623",
diff --git a/AllBase/Model/Result/WXResult/WxOptimizeProductEvaluationInfo.cs b/AllBase/Model/Result/WXResult/WxOptimizeProductEvaluationInfo.cs
index 7905d5c..f260bd9 100644
--- a/AllBase/Model/Result/WXResult/WxOptimizeProductEvaluationInfo.cs
+++ b/AllBase/Model/Result/WXResult/WxOptimizeProductEvaluationInfo.cs
@@ -8,6 +8,9 @@ namespace AllBase.Model.Result.WXResult
{
public class WxOptimizeProductEvaluationInfo
{
+ public string shopId { get; set; }
+ public string shopName { get; set; }
+
public string productEvaluationId { get; set; } // "53890834526",
public OptimizeEvaluationInfo evaluationInfo { get; set; }
public EvaluationProductInfo productInfo { get; set; }
@@ -96,10 +99,19 @@ namespace AllBase.Model.Result.WXResult
public List imgUrl { get; set; } // [ "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SZ/reserved/69b236b3000a233f38faea9a156aeaa0000000a000004f50" ],
public int? autoEvaluation { get; set; } // 0,
public AuditInfo auditInfo { get; set; } // { "status": 1 },
+ public List labelList { get; set; }
public int? contentType { get; set; } // 0,
public string defaultContent { get; set; } // ""
}
+ public class BuyerEvaluationInfoLabel
+ {
+ public string labelId { get; set; } // "3991",
+ public string labelProperty { get; set; } // "2",
+ public string labelName { get; set; } // "质量一般"
+
+ }
+
public class AuditInfo
{
public int? status { get; set; } // 1
diff --git a/AllBase/Model/Result/WXResult/WxOptrimizeLinerCgiInfo.cs b/AllBase/Model/Result/WXResult/WxOptrimizeLinerCgiInfo.cs
new file mode 100644
index 0000000..9f68e57
--- /dev/null
+++ b/AllBase/Model/Result/WXResult/WxOptrimizeLinerCgiInfo.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace AllBase.Model.Result.WXResult
+{
+ public class WxOptrimizeLinerCgiInfo
+ {
+ public string shopId { get; set; }
+ public string shopName { get; set; }
+
+ public string receipt_province { get; set; } // "福建省",
+ public string ship_province { get; set; } // "广东省",
+ public string receipt_time { get; set; } // "1775439386",
+ public string transport_duration { get; set; } // "120986",
+ public string delivery_id { get; set; } // "ZTO",
+ public string is_reach_std { get; set; } // "0",
+ public string ship_city { get; set; } // "揭阳市",
+ public string receipt_city { get; set; } // "漳州市",
+ public string collect_time { get; set; } // "1775305357",
+ public string transport_std_duration { get; set; } // "86400",
+ public string order_id { get; set; } // "3735440972198845440",
+ public string waybill_id { get; set; } // "78592630685546",
+ public string delivery_name { get; set; } // "中通快递",
+ public string delivery_head_url { get; set; } // "https://res.wx.qq.com/shop/public/0c3d5722-bfb9-4798-a54c-56b2e10e32b3.png",
+ public List product_list { get; set; }
+ public int? order_price { get; set; } // 840
+
+ }
+
+ public class WxOptrimizeLinerCgiProductInfo
+ {
+ public long? product_id { get; set; } // 10000633090440,
+ public string head_img_url { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69c7811600048a7d0b8c53e63ee96615000000a100004f50",
+ public string title { get; set; } // "【8.9到手2把装】不锈钢削皮刀双面家用土豆刮皮刀多功能水果蔬菜削皮刨丝加厚",
+ public long? sku_id { get; set; } // 10537323034,
+ public int? product_count { get; set; } // 1,
+ public string spu_code { get; set; } // "EC110000365271004A",
+ public string sku_code { get; set; } // ""
+
+ }
+}
diff --git a/TEMUKJD/KJD.csproj b/TEMUKJD/KJD.csproj
index f28246f..8f51c34 100644
--- a/TEMUKJD/KJD.csproj
+++ b/TEMUKJD/KJD.csproj
@@ -1860,7 +1860,9 @@
Work
-
+
+
+
False
diff --git a/TEMUKJD/WXForms/ShopForms/WXShopForm.cs b/TEMUKJD/WXForms/ShopForms/WXShopForm.cs
index 5951bb3..07b3c80 100644
--- a/TEMUKJD/WXForms/ShopForms/WXShopForm.cs
+++ b/TEMUKJD/WXForms/ShopForms/WXShopForm.cs
@@ -34,7 +34,7 @@ namespace TemuKJD.WXForms.ShopForms
tv.SelectedNode = tv.Nodes[0].Nodes[0];
tv.ExpandGroup(tv.Nodes[0].Name);
- List hideName = new List() { "店铺优化", "子账号管理", "高级运费模板", "运费模板", "素材库管理", "订单金额统计", "工作明细统计", "店铺经营统计1" };
+ List hideName = new List() { "店铺优化1", "子账号管理", "高级运费模板", "运费模板", "素材库管理", "订单金额统计", "工作明细统计", "店铺经营统计1" };
if (BaseClass.GroupId == 3)
{
diff --git a/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.Designer.cs b/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.Designer.cs
index 0d3e720..a73ddbe 100644
--- a/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.Designer.cs
+++ b/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.Designer.cs
@@ -36,19 +36,43 @@ namespace TemuKJD.WXForms.ShopForms
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 dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = 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 dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = 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();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
+ this.ucCheckBox5 = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.ucCheckBox4 = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.ucCheckBox3 = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.ucCheckBox2 = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.ucCheckBox1 = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.btnCancel = new DevComponents.DotNetBar.PanelEx();
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
this.panelEx6 = new DevComponents.DotNetBar.PanelEx();
@@ -81,45 +105,11 @@ namespace TemuKJD.WXForms.ShopForms
this.colRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.pictureBox3 = new TemuKJD.UserComponent.UcTabControl();
+ this.ucTabControl1 = new TemuKJD.UserComponent.UcTabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.panel1 = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.dgvData1 = new TemuKJD.UserComponent.DataGridViewEx();
- this.tabPage2 = new System.Windows.Forms.TabPage();
- this.tabPage3 = new System.Windows.Forms.TabPage();
- this.mainPanel = new System.Windows.Forms.Panel();
- this.pbLoading = new System.Windows.Forms.PictureBox();
- this.dgvData3 = new TemuKJD.UserComponent.DataGridViewEx();
- this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colSupplierName = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colLogin = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colInShop = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colSpuId = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colSkcId = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colDraftId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colProductSkcPic = new System.Windows.Forms.DataGridViewImageColumn();
- this.colSkuFakeImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colSkuFakeImg = new System.Windows.Forms.DataGridViewImageColumn();
- this.colProductName = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colProductCat = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colExtCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colSoldNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colUserNotes = new System.Windows.Forms.DataGridViewLinkColumn();
- this.ColDelete = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colCouponNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.tabPage4 = new System.Windows.Forms.TabPage();
- this.tabPage5 = new System.Windows.Forms.TabPage();
- this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components);
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.colDgv1Check = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colDgv1ShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDgv1ShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -134,6 +124,69 @@ namespace TemuKJD.WXForms.ShopForms
this.colDgv1OrderSn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDgv1OrderTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDgv1AfterSaleReason = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.tabPage2 = new System.Windows.Forms.TabPage();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.pictureBox2 = new System.Windows.Forms.PictureBox();
+ this.dgvData2 = new TemuKJD.UserComponent.DataGridViewEx();
+ this.tabPage3 = new System.Windows.Forms.TabPage();
+ this.mainPanel = new System.Windows.Forms.Panel();
+ this.pictureBox3 = new System.Windows.Forms.PictureBox();
+ this.dgvData3 = new TemuKJD.UserComponent.DataGridViewEx();
+ this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSupplierName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colLogin = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colInShop = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colImg = new System.Windows.Forms.DataGridViewImageColumn();
+ this.colDraftId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colProductName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSpec = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colExtCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDeliveryName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colPayTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colTakeTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDuration = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.tabPage4 = new System.Windows.Forms.TabPage();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.pictureBox4 = new System.Windows.Forms.PictureBox();
+ this.dgvData4 = new TemuKJD.UserComponent.DataGridViewEx();
+ this.colDgv4Check = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewLinkColumn1 = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.dataGridViewLinkColumn2 = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colDgv4ImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv4Img = new System.Windows.Forms.DataGridViewImageColumn();
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv4Address = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.tabPage5 = new System.Windows.Forms.TabPage();
+ this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
+ this.splitContainer3 = new System.Windows.Forms.SplitContainer();
+ this.colDgv2Check = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colDgv2ShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2ShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2Login = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colDgv2InShop = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colDgv2ImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2Img = new System.Windows.Forms.DataGridViewImageColumn();
+ this.colDgv2SpuId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2ProductName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2Spec = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2SkuCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2EvaluationId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2UserNick = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2CommentTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colDgv2CommentContent = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -146,15 +199,23 @@ namespace TemuKJD.WXForms.ShopForms
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
- this.pictureBox3.SuspendLayout();
+ this.ucTabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvData1)).BeginInit();
+ this.tabPage2.SuspendLayout();
+ this.panel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvData2)).BeginInit();
this.tabPage3.SuspendLayout();
this.mainPanel.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvData3)).BeginInit();
+ this.tabPage4.SuspendLayout();
+ this.panel3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvData4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
@@ -190,6 +251,11 @@ namespace TemuKJD.WXForms.ShopForms
this.ucGroupBoxEx3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
+ this.ucGroupBoxEx3.Controls.Add(this.ucCheckBox5);
+ this.ucGroupBoxEx3.Controls.Add(this.ucCheckBox4);
+ this.ucGroupBoxEx3.Controls.Add(this.ucCheckBox3);
+ this.ucGroupBoxEx3.Controls.Add(this.ucCheckBox2);
+ this.ucGroupBoxEx3.Controls.Add(this.ucCheckBox1);
this.ucGroupBoxEx3.Controls.Add(this.btnCancel);
this.ucGroupBoxEx3.Controls.Add(this.btnSearch);
this.ucGroupBoxEx3.Controls.Add(this.panelEx6);
@@ -200,12 +266,73 @@ namespace TemuKJD.WXForms.ShopForms
this.ucGroupBoxEx3.TabStop = false;
this.ucGroupBoxEx3.Text = "查询";
//
+ // ucCheckBox5
+ //
+ this.ucCheckBox5.AutoSize = true;
+ this.ucCheckBox5.Checked = true;
+ this.ucCheckBox5.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.ucCheckBox5.Location = new System.Drawing.Point(12, 77);
+ this.ucCheckBox5.Name = "ucCheckBox5";
+ this.ucCheckBox5.Size = new System.Drawing.Size(99, 21);
+ this.ucCheckBox5.TabIndex = 873;
+ this.ucCheckBox5.Text = "物流负向反馈";
+ this.ucCheckBox5.UseVisualStyleBackColor = true;
+ this.ucCheckBox5.Visible = false;
+ //
+ // ucCheckBox4
+ //
+ this.ucCheckBox4.AutoSize = true;
+ this.ucCheckBox4.Checked = true;
+ this.ucCheckBox4.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.ucCheckBox4.Location = new System.Drawing.Point(98, 50);
+ this.ucCheckBox4.Name = "ucCheckBox4";
+ this.ucCheckBox4.Size = new System.Drawing.Size(87, 21);
+ this.ucCheckBox4.TabIndex = 872;
+ this.ucCheckBox4.Text = "配送不达标";
+ this.ucCheckBox4.UseVisualStyleBackColor = true;
+ //
+ // ucCheckBox3
+ //
+ this.ucCheckBox3.AutoSize = true;
+ this.ucCheckBox3.Checked = true;
+ this.ucCheckBox3.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.ucCheckBox3.Location = new System.Drawing.Point(12, 50);
+ this.ucCheckBox3.Name = "ucCheckBox3";
+ this.ucCheckBox3.Size = new System.Drawing.Size(87, 21);
+ this.ucCheckBox3.TabIndex = 871;
+ this.ucCheckBox3.Text = "揽收不达标";
+ this.ucCheckBox3.UseVisualStyleBackColor = true;
+ //
+ // ucCheckBox2
+ //
+ this.ucCheckBox2.AutoSize = true;
+ this.ucCheckBox2.Checked = true;
+ this.ucCheckBox2.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.ucCheckBox2.Location = new System.Drawing.Point(98, 23);
+ this.ucCheckBox2.Name = "ucCheckBox2";
+ this.ucCheckBox2.Size = new System.Drawing.Size(75, 21);
+ this.ucCheckBox2.TabIndex = 870;
+ this.ucCheckBox2.Text = "订单评价";
+ this.ucCheckBox2.UseVisualStyleBackColor = true;
+ //
+ // ucCheckBox1
+ //
+ this.ucCheckBox1.AutoSize = true;
+ this.ucCheckBox1.Checked = true;
+ this.ucCheckBox1.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.ucCheckBox1.Location = new System.Drawing.Point(12, 23);
+ this.ucCheckBox1.Name = "ucCheckBox1";
+ this.ucCheckBox1.Size = new System.Drawing.Size(75, 21);
+ this.ucCheckBox1.TabIndex = 869;
+ this.ucCheckBox1.Text = "品质退款";
+ this.ucCheckBox1.UseVisualStyleBackColor = true;
+ //
// btnCancel
//
this.btnCancel.CanvasColor = System.Drawing.SystemColors.Control;
this.btnCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnCancel.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnCancel.Location = new System.Drawing.Point(24, 100);
+ this.btnCancel.Location = new System.Drawing.Point(24, 132);
this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(142, 23);
@@ -223,6 +350,7 @@ namespace TemuKJD.WXForms.ShopForms
this.btnCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnCancel.TabIndex = 859;
this.btnCancel.Text = "取消查询";
+ this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnSearch
//
@@ -230,7 +358,7 @@ namespace TemuKJD.WXForms.ShopForms
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnSearch.Location = new System.Drawing.Point(24, 60);
+ this.btnSearch.Location = new System.Drawing.Point(24, 106);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(142, 23);
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -709,40 +837,40 @@ namespace TemuKJD.WXForms.ShopForms
//
// splitContainer2.Panel2
//
- this.splitContainer2.Panel2.Controls.Add(this.pictureBox3);
+ this.splitContainer2.Panel2.Controls.Add(this.ucTabControl1);
this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
- this.splitContainer2.Size = new System.Drawing.Size(1412, 533);
+ this.splitContainer2.Size = new System.Drawing.Size(1780, 533);
this.splitContainer2.SplitterDistance = 350;
this.splitContainer2.TabIndex = 0;
//
- // pictureBox3
+ // ucTabControl1
//
- this.pictureBox3.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
- this.pictureBox3.Controls.Add(this.tabPage1);
- this.pictureBox3.Controls.Add(this.tabPage2);
- this.pictureBox3.Controls.Add(this.tabPage3);
- this.pictureBox3.Controls.Add(this.tabPage4);
- this.pictureBox3.Controls.Add(this.tabPage5);
- this.pictureBox3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.pictureBox3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.pictureBox3.ItemSize = new System.Drawing.Size(73, 36);
- this.pictureBox3.Location = new System.Drawing.Point(0, 0);
- this.pictureBox3.Name = "pictureBox3";
- this.pictureBox3.SelectedIndex = 0;
- this.pictureBox3.ShowCloseButton = false;
- this.pictureBox3.Size = new System.Drawing.Size(1054, 533);
- this.pictureBox3.TabIndex = 781;
- this.pictureBox3.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pictureBox3.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pictureBox3.TabTextColor = System.Drawing.Color.Gray;
+ this.ucTabControl1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
+ this.ucTabControl1.Controls.Add(this.tabPage1);
+ this.ucTabControl1.Controls.Add(this.tabPage2);
+ this.ucTabControl1.Controls.Add(this.tabPage3);
+ this.ucTabControl1.Controls.Add(this.tabPage4);
+ this.ucTabControl1.Controls.Add(this.tabPage5);
+ this.ucTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ucTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.ucTabControl1.ItemSize = new System.Drawing.Size(73, 36);
+ this.ucTabControl1.Location = new System.Drawing.Point(0, 0);
+ this.ucTabControl1.Name = "ucTabControl1";
+ this.ucTabControl1.SelectedIndex = 0;
+ this.ucTabControl1.ShowCloseButton = false;
+ this.ucTabControl1.Size = new System.Drawing.Size(1422, 533);
+ this.ucTabControl1.TabIndex = 781;
+ this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.ucTabControl1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.ucTabControl1.TabTextColor = System.Drawing.Color.Gray;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.panel1);
this.tabPage1.Location = new System.Drawing.Point(2, 40);
this.tabPage1.Name = "tabPage1";
- this.tabPage1.Size = new System.Drawing.Size(1048, 489);
+ this.tabPage1.Size = new System.Drawing.Size(1416, 489);
this.tabPage1.TabIndex = 4;
this.tabPage1.Text = " 品质退款 ";
this.tabPage1.UseVisualStyleBackColor = true;
@@ -755,14 +883,14 @@ namespace TemuKJD.WXForms.ShopForms
this.panel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(1048, 489);
+ this.panel1.Size = new System.Drawing.Size(1416, 489);
this.panel1.TabIndex = 2;
//
// pictureBox1
//
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pictureBox1.Image = global::TemuKJD.Properties.Resources.loading_blue;
- this.pictureBox1.Location = new System.Drawing.Point(499, 219);
+ this.pictureBox1.Location = new System.Drawing.Point(683, 219);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(50, 50);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -809,363 +937,10 @@ namespace TemuKJD.WXForms.ShopForms
this.dgvData1.Name = "dgvData1";
this.dgvData1.ReadOnly = true;
this.dgvData1.RowTemplate.Height = 23;
- this.dgvData1.Size = new System.Drawing.Size(1048, 489);
+ this.dgvData1.Size = new System.Drawing.Size(1416, 489);
this.dgvData1.TabIndex = 187;
this.dgvData1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvData1_CellContentClick);
//
- // tabPage2
- //
- this.tabPage2.Location = new System.Drawing.Point(2, 40);
- this.tabPage2.Name = "tabPage2";
- this.tabPage2.Size = new System.Drawing.Size(1048, 489);
- this.tabPage2.TabIndex = 5;
- this.tabPage2.Text = " 订单评价 ";
- this.tabPage2.UseVisualStyleBackColor = true;
- //
- // tabPage3
- //
- this.tabPage3.Controls.Add(this.mainPanel);
- this.tabPage3.Location = new System.Drawing.Point(2, 40);
- this.tabPage3.Name = "tabPage3";
- this.tabPage3.Size = new System.Drawing.Size(1048, 489);
- this.tabPage3.TabIndex = 1;
- this.tabPage3.Text = " 揽收不达标 ";
- this.tabPage3.UseVisualStyleBackColor = true;
- //
- // mainPanel
- //
- this.mainPanel.Controls.Add(this.pbLoading);
- this.mainPanel.Controls.Add(this.dgvData3);
- this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
- this.mainPanel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.mainPanel.Location = new System.Drawing.Point(0, 0);
- this.mainPanel.Name = "mainPanel";
- this.mainPanel.Size = new System.Drawing.Size(1048, 489);
- this.mainPanel.TabIndex = 1;
- //
- // pbLoading
- //
- this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
- this.pbLoading.Location = new System.Drawing.Point(505, 219);
- this.pbLoading.Name = "pbLoading";
- this.pbLoading.Size = new System.Drawing.Size(50, 50);
- this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pbLoading.TabIndex = 780;
- this.pbLoading.TabStop = false;
- this.pbLoading.Visible = false;
- //
- // dgvData3
- //
- this.dgvData3.AllowUserToAddRows = false;
- this.dgvData3.AllowUserToDeleteRows = false;
- dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvData3.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
- this.dgvData3.AutoRowNumber = true;
- this.dgvData3.BackgroundColor = System.Drawing.Color.White;
- this.dgvData3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvData3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
- this.dgvData3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvData3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.colCheck,
- this.colSupplierId,
- this.colSupplierName,
- this.colLogin,
- this.colInShop,
- this.colSpuId,
- this.colSkcId,
- this.colDraftId,
- this.colImgUrl,
- this.colProductSkcPic,
- this.colSkuFakeImgUrl,
- this.colSkuFakeImg,
- this.colProductName,
- this.colProductCat,
- this.colExtCode,
- this.colPrice,
- this.colSoldNum,
- this.colMsg,
- this.colNotes,
- this.colUserNotes,
- this.ColDelete,
- this.colAddTime,
- this.colCouponNum,
- this.colOpResult});
- this.dgvData3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvData3.Location = new System.Drawing.Point(0, 0);
- this.dgvData3.MultiSelectCheckBox = true;
- this.dgvData3.Name = "dgvData3";
- this.dgvData3.ReadOnly = true;
- this.dgvData3.RowTemplate.Height = 23;
- this.dgvData3.Size = new System.Drawing.Size(1048, 489);
- this.dgvData3.TabIndex = 187;
- this.dgvData3.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
- //
- // colCheck
- //
- this.colCheck.Frozen = true;
- this.colCheck.HeaderText = "选择";
- this.colCheck.Name = "colCheck";
- this.colCheck.ReadOnly = true;
- this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colCheck.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colCheck.Width = 30;
- //
- // colSupplierId
- //
- this.colSupplierId.Frozen = true;
- this.colSupplierId.HeaderText = "店铺Id";
- this.colSupplierId.Name = "colSupplierId";
- this.colSupplierId.ReadOnly = true;
- //
- // colSupplierName
- //
- dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle12;
- this.colSupplierName.Frozen = true;
- this.colSupplierName.HeaderText = "店铺名称";
- this.colSupplierName.Name = "colSupplierName";
- this.colSupplierName.ReadOnly = true;
- //
- // colLogin
- //
- this.colLogin.HeaderText = "登录";
- this.colLogin.Name = "colLogin";
- this.colLogin.ReadOnly = true;
- this.colLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colLogin.Width = 40;
- //
- // colInShop
- //
- this.colInShop.HeaderText = "进店";
- this.colInShop.Name = "colInShop";
- this.colInShop.ReadOnly = true;
- this.colInShop.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colInShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colInShop.Width = 40;
- //
- // colSpuId
- //
- this.colSpuId.HeaderText = "源商品ID";
- this.colSpuId.Name = "colSpuId";
- this.colSpuId.ReadOnly = true;
- this.colSpuId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSpuId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSpuId.Visible = false;
- //
- // colSkcId
- //
- this.colSkcId.FillWeight = 150F;
- this.colSkcId.HeaderText = "商品SKC";
- this.colSkcId.Name = "colSkcId";
- this.colSkcId.ReadOnly = true;
- this.colSkcId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSkcId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSkcId.Visible = false;
- this.colSkcId.Width = 80;
- //
- // colDraftId
- //
- this.colDraftId.HeaderText = "商品Id";
- this.colDraftId.Name = "colDraftId";
- this.colDraftId.ReadOnly = true;
- this.colDraftId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colDraftId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.colDraftId.Width = 120;
- //
- // colImgUrl
- //
- this.colImgUrl.HeaderText = "图片地址";
- this.colImgUrl.Name = "colImgUrl";
- this.colImgUrl.ReadOnly = true;
- this.colImgUrl.Visible = false;
- //
- // colProductSkcPic
- //
- this.colProductSkcPic.HeaderText = "图片";
- this.colProductSkcPic.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
- this.colProductSkcPic.Name = "colProductSkcPic";
- this.colProductSkcPic.ReadOnly = true;
- this.colProductSkcPic.Width = 60;
- //
- // colSkuFakeImgUrl
- //
- this.colSkuFakeImgUrl.HeaderText = "SKU替换图地址";
- this.colSkuFakeImgUrl.Name = "colSkuFakeImgUrl";
- this.colSkuFakeImgUrl.ReadOnly = true;
- this.colSkuFakeImgUrl.Visible = false;
- //
- // colSkuFakeImg
- //
- this.colSkuFakeImg.HeaderText = "SKU替换图";
- this.colSkuFakeImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
- this.colSkuFakeImg.Name = "colSkuFakeImg";
- this.colSkuFakeImg.ReadOnly = true;
- this.colSkuFakeImg.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSkuFakeImg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSkuFakeImg.Visible = false;
- this.colSkuFakeImg.Width = 60;
- //
- // colProductName
- //
- dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colProductName.DefaultCellStyle = dataGridViewCellStyle13;
- this.colProductName.HeaderText = "商品标题";
- this.colProductName.Name = "colProductName";
- this.colProductName.ReadOnly = true;
- this.colProductName.Width = 150;
- //
- // colProductCat
- //
- dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colProductCat.DefaultCellStyle = dataGridViewCellStyle14;
- this.colProductCat.HeaderText = "商品类目";
- this.colProductCat.Name = "colProductCat";
- this.colProductCat.ReadOnly = true;
- this.colProductCat.Width = 90;
- //
- // colExtCode
- //
- this.colExtCode.HeaderText = "商品货号";
- this.colExtCode.Name = "colExtCode";
- this.colExtCode.ReadOnly = true;
- this.colExtCode.Width = 145;
- //
- // colPrice
- //
- this.colPrice.HeaderText = "价格";
- this.colPrice.Name = "colPrice";
- this.colPrice.ReadOnly = true;
- this.colPrice.Width = 60;
- //
- // colSoldNum
- //
- this.colSoldNum.HeaderText = "销量";
- this.colSoldNum.Name = "colSoldNum";
- this.colSoldNum.ReadOnly = true;
- this.colSoldNum.Width = 60;
- //
- // colMsg
- //
- this.colMsg.HeaderText = "状态";
- this.colMsg.Name = "colMsg";
- this.colMsg.ReadOnly = true;
- //
- // colNotes
- //
- this.colNotes.HeaderText = "上传备注";
- this.colNotes.Name = "colNotes";
- this.colNotes.ReadOnly = true;
- this.colNotes.Visible = false;
- //
- // colUserNotes
- //
- this.colUserNotes.HeaderText = "重上/已买";
- this.colUserNotes.Name = "colUserNotes";
- this.colUserNotes.ReadOnly = true;
- this.colUserNotes.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colUserNotes.Visible = false;
- this.colUserNotes.Width = 75;
- //
- // ColDelete
- //
- this.ColDelete.HeaderText = "删除";
- this.ColDelete.Name = "ColDelete";
- this.ColDelete.ReadOnly = true;
- this.ColDelete.Visible = false;
- this.ColDelete.Width = 75;
- //
- // colAddTime
- //
- dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colAddTime.DefaultCellStyle = dataGridViewCellStyle15;
- this.colAddTime.HeaderText = "上架时间";
- this.colAddTime.Name = "colAddTime";
- this.colAddTime.ReadOnly = true;
- this.colAddTime.Width = 80;
- //
- // colCouponNum
- //
- this.colCouponNum.HeaderText = "生效券数量";
- this.colCouponNum.Name = "colCouponNum";
- this.colCouponNum.ReadOnly = true;
- this.colCouponNum.Visible = false;
- this.colCouponNum.Width = 90;
- //
- // colOpResult
- //
- this.colOpResult.HeaderText = "操作结果";
- this.colOpResult.Name = "colOpResult";
- this.colOpResult.ReadOnly = true;
- this.colOpResult.Width = 260;
- //
- // tabPage4
- //
- this.tabPage4.Location = new System.Drawing.Point(2, 40);
- this.tabPage4.Name = "tabPage4";
- this.tabPage4.Size = new System.Drawing.Size(1048, 489);
- this.tabPage4.TabIndex = 2;
- this.tabPage4.Text = " 配送不达标 ";
- this.tabPage4.UseVisualStyleBackColor = true;
- //
- // tabPage5
- //
- this.tabPage5.Location = new System.Drawing.Point(2, 40);
- this.tabPage5.Name = "tabPage5";
- this.tabPage5.Size = new System.Drawing.Size(1048, 489);
- this.tabPage5.TabIndex = 3;
- this.tabPage5.Text = " 物流负向反馈 ";
- this.tabPage5.UseVisualStyleBackColor = true;
- //
- // chkTestNoAuditUpload
- //
- this.chkTestNoAuditUpload.AutoSize = true;
- this.chkTestNoAuditUpload.Location = new System.Drawing.Point(1094, 35);
- this.chkTestNoAuditUpload.Name = "chkTestNoAuditUpload";
- this.chkTestNoAuditUpload.Size = new System.Drawing.Size(123, 21);
- this.chkTestNoAuditUpload.TabIndex = 779;
- this.chkTestNoAuditUpload.Text = "测试免审提交商品";
- this.chkTestNoAuditUpload.UseVisualStyleBackColor = true;
- this.chkTestNoAuditUpload.Visible = false;
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(0, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(1412, 27);
- this.statusBar.TabIndex = 2;
- //
- // splitContainer3
- //
- this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer3.Location = new System.Drawing.Point(0, 0);
- this.splitContainer3.Name = "splitContainer3";
- this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer3.Panel1
- //
- this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
- //
- // splitContainer3.Panel2
- //
- this.splitContainer3.Panel2.Controls.Add(this.statusBar);
- this.splitContainer3.Size = new System.Drawing.Size(1412, 564);
- this.splitContainer3.SplitterDistance = 533;
- this.splitContainer3.TabIndex = 3;
- //
// colDgv1Check
//
this.colDgv1Check.Frozen = true;
@@ -1199,6 +974,7 @@ namespace TemuKJD.WXForms.ShopForms
this.colDgv1ShopLogin.ReadOnly = true;
this.colDgv1ShopLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colDgv1ShopLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colDgv1ShopLogin.Visible = false;
this.colDgv1ShopLogin.Width = 40;
//
// colDgv1InShop
@@ -1208,6 +984,7 @@ namespace TemuKJD.WXForms.ShopForms
this.colDgv1InShop.ReadOnly = true;
this.colDgv1InShop.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colDgv1InShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colDgv1InShop.Visible = false;
this.colDgv1InShop.Width = 40;
//
// colDgv1ImgUrl
@@ -1285,11 +1062,698 @@ namespace TemuKJD.WXForms.ShopForms
this.colDgv1AfterSaleReason.ReadOnly = true;
this.colDgv1AfterSaleReason.Width = 150;
//
+ // tabPage2
+ //
+ this.tabPage2.Controls.Add(this.panel2);
+ this.tabPage2.Location = new System.Drawing.Point(2, 40);
+ this.tabPage2.Name = "tabPage2";
+ this.tabPage2.Size = new System.Drawing.Size(1416, 489);
+ this.tabPage2.TabIndex = 5;
+ this.tabPage2.Text = " 订单评价 ";
+ this.tabPage2.UseVisualStyleBackColor = true;
+ //
+ // panel2
+ //
+ this.panel2.Controls.Add(this.pictureBox2);
+ this.panel2.Controls.Add(this.dgvData2);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel2.Location = new System.Drawing.Point(0, 0);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(1416, 489);
+ this.panel2.TabIndex = 3;
+ //
+ // pictureBox2
+ //
+ this.pictureBox2.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pictureBox2.Image = global::TemuKJD.Properties.Resources.loading_blue;
+ this.pictureBox2.Location = new System.Drawing.Point(683, 219);
+ this.pictureBox2.Name = "pictureBox2";
+ this.pictureBox2.Size = new System.Drawing.Size(50, 50);
+ this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pictureBox2.TabIndex = 780;
+ this.pictureBox2.TabStop = false;
+ this.pictureBox2.Visible = false;
+ //
+ // dgvData2
+ //
+ this.dgvData2.AllowUserToAddRows = false;
+ this.dgvData2.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvData2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
+ this.dgvData2.AutoRowNumber = true;
+ this.dgvData2.BackgroundColor = System.Drawing.Color.White;
+ this.dgvData2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvData2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
+ this.dgvData2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvData2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.colDgv2Check,
+ this.colDgv2ShopId,
+ this.colDgv2ShopName,
+ this.colDgv2Login,
+ this.colDgv2InShop,
+ this.colDgv2ImgUrl,
+ this.colDgv2Img,
+ this.colDgv2SpuId,
+ this.colDgv2ProductName,
+ this.colDgv2Spec,
+ this.colDgv2SkuCode,
+ this.colDgv2EvaluationId,
+ this.colDgv2UserNick,
+ this.colDgv2CommentTime,
+ this.colDgv2CommentContent});
+ this.dgvData2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvData2.Location = new System.Drawing.Point(0, 0);
+ this.dgvData2.MultiSelectCheckBox = true;
+ this.dgvData2.Name = "dgvData2";
+ this.dgvData2.ReadOnly = true;
+ this.dgvData2.RowTemplate.Height = 23;
+ this.dgvData2.Size = new System.Drawing.Size(1416, 489);
+ this.dgvData2.TabIndex = 187;
+ //
+ // tabPage3
+ //
+ this.tabPage3.Controls.Add(this.mainPanel);
+ this.tabPage3.Location = new System.Drawing.Point(2, 40);
+ this.tabPage3.Name = "tabPage3";
+ this.tabPage3.Size = new System.Drawing.Size(1416, 489);
+ this.tabPage3.TabIndex = 1;
+ this.tabPage3.Text = " 揽收不达标 ";
+ this.tabPage3.UseVisualStyleBackColor = true;
+ //
+ // mainPanel
+ //
+ this.mainPanel.Controls.Add(this.pictureBox3);
+ this.mainPanel.Controls.Add(this.dgvData3);
+ this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.mainPanel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.mainPanel.Location = new System.Drawing.Point(0, 0);
+ this.mainPanel.Name = "mainPanel";
+ this.mainPanel.Size = new System.Drawing.Size(1416, 489);
+ this.mainPanel.TabIndex = 1;
+ //
+ // pictureBox3
+ //
+ this.pictureBox3.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pictureBox3.Image = global::TemuKJD.Properties.Resources.loading_blue;
+ this.pictureBox3.Location = new System.Drawing.Point(689, 219);
+ this.pictureBox3.Name = "pictureBox3";
+ this.pictureBox3.Size = new System.Drawing.Size(50, 50);
+ this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pictureBox3.TabIndex = 780;
+ this.pictureBox3.TabStop = false;
+ this.pictureBox3.Visible = false;
+ //
+ // dgvData3
+ //
+ this.dgvData3.AllowUserToAddRows = false;
+ this.dgvData3.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle17.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvData3.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle17;
+ this.dgvData3.AutoRowNumber = true;
+ this.dgvData3.BackgroundColor = System.Drawing.Color.White;
+ this.dgvData3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ 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.dgvData3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18;
+ this.dgvData3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvData3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.colCheck,
+ this.colSupplierId,
+ this.colSupplierName,
+ this.colLogin,
+ this.colInShop,
+ this.colImgUrl,
+ this.colImg,
+ this.colDraftId,
+ this.colProductName,
+ this.colSpec,
+ this.colExtCode,
+ this.colNotes,
+ this.colDeliveryName,
+ this.colPayTime,
+ this.colTakeTime,
+ this.colDuration});
+ this.dgvData3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvData3.Location = new System.Drawing.Point(0, 0);
+ this.dgvData3.MultiSelectCheckBox = true;
+ this.dgvData3.Name = "dgvData3";
+ this.dgvData3.ReadOnly = true;
+ this.dgvData3.RowTemplate.Height = 23;
+ this.dgvData3.Size = new System.Drawing.Size(1416, 489);
+ this.dgvData3.TabIndex = 187;
+ this.dgvData3.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvData3_CellContentClick);
+ //
+ // colCheck
+ //
+ this.colCheck.Frozen = true;
+ this.colCheck.HeaderText = "选择";
+ this.colCheck.Name = "colCheck";
+ this.colCheck.ReadOnly = true;
+ this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colCheck.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colCheck.Width = 30;
+ //
+ // colSupplierId
+ //
+ this.colSupplierId.Frozen = true;
+ this.colSupplierId.HeaderText = "店铺Id";
+ this.colSupplierId.Name = "colSupplierId";
+ this.colSupplierId.ReadOnly = true;
+ //
+ // colSupplierName
+ //
+ dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle19;
+ this.colSupplierName.Frozen = true;
+ this.colSupplierName.HeaderText = "店铺名称";
+ this.colSupplierName.Name = "colSupplierName";
+ this.colSupplierName.ReadOnly = true;
+ //
+ // colLogin
+ //
+ this.colLogin.HeaderText = "登录";
+ this.colLogin.Name = "colLogin";
+ this.colLogin.ReadOnly = true;
+ this.colLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colLogin.Visible = false;
+ this.colLogin.Width = 40;
+ //
+ // colInShop
+ //
+ this.colInShop.HeaderText = "进店";
+ this.colInShop.Name = "colInShop";
+ this.colInShop.ReadOnly = true;
+ this.colInShop.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colInShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colInShop.Visible = false;
+ this.colInShop.Width = 40;
+ //
+ // colImgUrl
+ //
+ this.colImgUrl.HeaderText = "图片地址";
+ this.colImgUrl.Name = "colImgUrl";
+ this.colImgUrl.ReadOnly = true;
+ this.colImgUrl.Visible = false;
+ //
+ // colImg
+ //
+ this.colImg.HeaderText = "图片";
+ this.colImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
+ this.colImg.Name = "colImg";
+ this.colImg.ReadOnly = true;
+ this.colImg.Width = 60;
+ //
+ // colDraftId
+ //
+ this.colDraftId.HeaderText = "商品Id";
+ this.colDraftId.Name = "colDraftId";
+ this.colDraftId.ReadOnly = true;
+ this.colDraftId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDraftId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ this.colDraftId.Width = 110;
+ //
+ // colProductName
+ //
+ dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colProductName.DefaultCellStyle = dataGridViewCellStyle20;
+ this.colProductName.HeaderText = "商品标题";
+ this.colProductName.Name = "colProductName";
+ this.colProductName.ReadOnly = true;
+ this.colProductName.Width = 180;
+ //
+ // colSpec
+ //
+ dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSpec.DefaultCellStyle = dataGridViewCellStyle21;
+ this.colSpec.HeaderText = "sku规格";
+ this.colSpec.Name = "colSpec";
+ this.colSpec.ReadOnly = true;
+ this.colSpec.Width = 145;
+ //
+ // colExtCode
+ //
+ this.colExtCode.HeaderText = "sku货号";
+ this.colExtCode.Name = "colExtCode";
+ this.colExtCode.ReadOnly = true;
+ this.colExtCode.Visible = false;
+ this.colExtCode.Width = 145;
+ //
+ // colNotes
+ //
+ dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colNotes.DefaultCellStyle = dataGridViewCellStyle22;
+ this.colNotes.HeaderText = "单号";
+ this.colNotes.Name = "colNotes";
+ this.colNotes.ReadOnly = true;
+ this.colNotes.Width = 160;
+ //
+ // colDeliveryName
+ //
+ this.colDeliveryName.HeaderText = "物流公司";
+ this.colDeliveryName.Name = "colDeliveryName";
+ this.colDeliveryName.ReadOnly = true;
+ this.colDeliveryName.Width = 75;
+ //
+ // colPayTime
+ //
+ dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colPayTime.DefaultCellStyle = dataGridViewCellStyle23;
+ this.colPayTime.HeaderText = "支付时间";
+ this.colPayTime.Name = "colPayTime";
+ this.colPayTime.ReadOnly = true;
+ this.colPayTime.Width = 80;
+ //
+ // colTakeTime
+ //
+ dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colTakeTime.DefaultCellStyle = dataGridViewCellStyle24;
+ this.colTakeTime.HeaderText = "揽收时间";
+ this.colTakeTime.Name = "colTakeTime";
+ this.colTakeTime.ReadOnly = true;
+ this.colTakeTime.Width = 80;
+ //
+ // colDuration
+ //
+ dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDuration.DefaultCellStyle = dataGridViewCellStyle25;
+ this.colDuration.HeaderText = "揽收时长";
+ this.colDuration.Name = "colDuration";
+ this.colDuration.ReadOnly = true;
+ this.colDuration.Width = 80;
+ //
+ // tabPage4
+ //
+ this.tabPage4.Controls.Add(this.panel3);
+ this.tabPage4.Location = new System.Drawing.Point(2, 40);
+ this.tabPage4.Name = "tabPage4";
+ this.tabPage4.Size = new System.Drawing.Size(1416, 489);
+ this.tabPage4.TabIndex = 2;
+ this.tabPage4.Text = " 配送不达标 ";
+ this.tabPage4.UseVisualStyleBackColor = true;
+ //
+ // panel3
+ //
+ this.panel3.Controls.Add(this.pictureBox4);
+ this.panel3.Controls.Add(this.dgvData4);
+ this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel3.Location = new System.Drawing.Point(0, 0);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(1416, 489);
+ this.panel3.TabIndex = 2;
+ //
+ // pictureBox4
+ //
+ this.pictureBox4.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pictureBox4.Image = global::TemuKJD.Properties.Resources.loading_blue;
+ this.pictureBox4.Location = new System.Drawing.Point(689, 219);
+ this.pictureBox4.Name = "pictureBox4";
+ this.pictureBox4.Size = new System.Drawing.Size(50, 50);
+ this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pictureBox4.TabIndex = 780;
+ this.pictureBox4.TabStop = false;
+ this.pictureBox4.Visible = false;
+ //
+ // dgvData4
+ //
+ this.dgvData4.AllowUserToAddRows = false;
+ this.dgvData4.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle26.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvData4.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle26;
+ this.dgvData4.AutoRowNumber = true;
+ this.dgvData4.BackgroundColor = System.Drawing.Color.White;
+ this.dgvData4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle27.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvData4.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle27;
+ this.dgvData4.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvData4.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.colDgv4Check,
+ this.dataGridViewTextBoxColumn1,
+ this.dataGridViewTextBoxColumn2,
+ this.dataGridViewLinkColumn1,
+ this.dataGridViewLinkColumn2,
+ this.colDgv4ImgUrl,
+ this.colDgv4Img,
+ this.dataGridViewTextBoxColumn4,
+ this.dataGridViewTextBoxColumn5,
+ this.dataGridViewTextBoxColumn6,
+ this.dataGridViewTextBoxColumn7,
+ this.dataGridViewTextBoxColumn8,
+ this.dataGridViewTextBoxColumn9,
+ this.dataGridViewTextBoxColumn10,
+ this.colDgv4Address,
+ this.dataGridViewTextBoxColumn12});
+ this.dgvData4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvData4.Location = new System.Drawing.Point(0, 0);
+ this.dgvData4.MultiSelectCheckBox = true;
+ this.dgvData4.Name = "dgvData4";
+ this.dgvData4.ReadOnly = true;
+ this.dgvData4.RowTemplate.Height = 23;
+ this.dgvData4.Size = new System.Drawing.Size(1416, 489);
+ this.dgvData4.TabIndex = 187;
+ //
+ // colDgv4Check
+ //
+ this.colDgv4Check.Frozen = true;
+ this.colDgv4Check.HeaderText = "选择";
+ this.colDgv4Check.Name = "colDgv4Check";
+ this.colDgv4Check.ReadOnly = true;
+ this.colDgv4Check.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv4Check.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colDgv4Check.Width = 30;
+ //
+ // dataGridViewTextBoxColumn1
+ //
+ this.dataGridViewTextBoxColumn1.Frozen = true;
+ this.dataGridViewTextBoxColumn1.HeaderText = "店铺Id";
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+ this.dataGridViewTextBoxColumn1.ReadOnly = true;
+ //
+ // dataGridViewTextBoxColumn2
+ //
+ dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle28;
+ this.dataGridViewTextBoxColumn2.Frozen = true;
+ this.dataGridViewTextBoxColumn2.HeaderText = "店铺名称";
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ this.dataGridViewTextBoxColumn2.ReadOnly = true;
+ //
+ // dataGridViewLinkColumn1
+ //
+ this.dataGridViewLinkColumn1.HeaderText = "登录";
+ this.dataGridViewLinkColumn1.Name = "dataGridViewLinkColumn1";
+ this.dataGridViewLinkColumn1.ReadOnly = true;
+ this.dataGridViewLinkColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewLinkColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.dataGridViewLinkColumn1.Visible = false;
+ this.dataGridViewLinkColumn1.Width = 40;
+ //
+ // dataGridViewLinkColumn2
+ //
+ this.dataGridViewLinkColumn2.HeaderText = "进店";
+ this.dataGridViewLinkColumn2.Name = "dataGridViewLinkColumn2";
+ this.dataGridViewLinkColumn2.ReadOnly = true;
+ this.dataGridViewLinkColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewLinkColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.dataGridViewLinkColumn2.Visible = false;
+ this.dataGridViewLinkColumn2.Width = 40;
+ //
+ // colDgv4ImgUrl
+ //
+ this.colDgv4ImgUrl.HeaderText = "图片地址";
+ this.colDgv4ImgUrl.Name = "colDgv4ImgUrl";
+ this.colDgv4ImgUrl.ReadOnly = true;
+ this.colDgv4ImgUrl.Visible = false;
+ //
+ // colDgv4Img
+ //
+ this.colDgv4Img.HeaderText = "图片";
+ this.colDgv4Img.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
+ this.colDgv4Img.Name = "colDgv4Img";
+ this.colDgv4Img.ReadOnly = true;
+ this.colDgv4Img.Width = 60;
+ //
+ // dataGridViewTextBoxColumn4
+ //
+ this.dataGridViewTextBoxColumn4.HeaderText = "商品Id";
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
+ this.dataGridViewTextBoxColumn4.ReadOnly = true;
+ this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ this.dataGridViewTextBoxColumn4.Width = 110;
+ //
+ // dataGridViewTextBoxColumn5
+ //
+ dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle29;
+ this.dataGridViewTextBoxColumn5.HeaderText = "商品标题";
+ this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
+ this.dataGridViewTextBoxColumn5.ReadOnly = true;
+ this.dataGridViewTextBoxColumn5.Width = 280;
+ //
+ // dataGridViewTextBoxColumn6
+ //
+ dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle30;
+ this.dataGridViewTextBoxColumn6.HeaderText = "数量";
+ this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
+ this.dataGridViewTextBoxColumn6.ReadOnly = true;
+ this.dataGridViewTextBoxColumn6.Width = 45;
+ //
+ // dataGridViewTextBoxColumn7
+ //
+ this.dataGridViewTextBoxColumn7.HeaderText = "sku货号";
+ this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
+ this.dataGridViewTextBoxColumn7.ReadOnly = true;
+ this.dataGridViewTextBoxColumn7.Visible = false;
+ this.dataGridViewTextBoxColumn7.Width = 145;
+ //
+ // dataGridViewTextBoxColumn8
+ //
+ dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle31;
+ this.dataGridViewTextBoxColumn8.HeaderText = "单号";
+ this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
+ this.dataGridViewTextBoxColumn8.ReadOnly = true;
+ this.dataGridViewTextBoxColumn8.Width = 160;
+ //
+ // dataGridViewTextBoxColumn9
+ //
+ this.dataGridViewTextBoxColumn9.HeaderText = "物流公司";
+ this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
+ this.dataGridViewTextBoxColumn9.ReadOnly = true;
+ this.dataGridViewTextBoxColumn9.Width = 75;
+ //
+ // dataGridViewTextBoxColumn10
+ //
+ dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle32;
+ this.dataGridViewTextBoxColumn10.HeaderText = "揽收、签收时间";
+ this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
+ this.dataGridViewTextBoxColumn10.ReadOnly = true;
+ this.dataGridViewTextBoxColumn10.Width = 160;
+ //
+ // colDgv4Address
+ //
+ dataGridViewCellStyle33.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv4Address.DefaultCellStyle = dataGridViewCellStyle33;
+ this.colDgv4Address.HeaderText = "发货、收货地";
+ this.colDgv4Address.Name = "colDgv4Address";
+ this.colDgv4Address.ReadOnly = true;
+ this.colDgv4Address.Width = 110;
+ //
+ // dataGridViewTextBoxColumn12
+ //
+ dataGridViewCellStyle34.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle34;
+ this.dataGridViewTextBoxColumn12.HeaderText = "配送时长";
+ this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
+ this.dataGridViewTextBoxColumn12.ReadOnly = true;
+ this.dataGridViewTextBoxColumn12.Width = 120;
+ //
+ // tabPage5
+ //
+ this.tabPage5.Location = new System.Drawing.Point(2, 40);
+ this.tabPage5.Name = "tabPage5";
+ this.tabPage5.Size = new System.Drawing.Size(1416, 489);
+ this.tabPage5.TabIndex = 3;
+ this.tabPage5.Text = " 物流负向反馈 ";
+ this.tabPage5.UseVisualStyleBackColor = true;
+ //
+ // chkTestNoAuditUpload
+ //
+ this.chkTestNoAuditUpload.AutoSize = true;
+ this.chkTestNoAuditUpload.Location = new System.Drawing.Point(1094, 35);
+ this.chkTestNoAuditUpload.Name = "chkTestNoAuditUpload";
+ this.chkTestNoAuditUpload.Size = new System.Drawing.Size(123, 21);
+ this.chkTestNoAuditUpload.TabIndex = 779;
+ this.chkTestNoAuditUpload.Text = "测试免审提交商品";
+ this.chkTestNoAuditUpload.UseVisualStyleBackColor = true;
+ this.chkTestNoAuditUpload.Visible = false;
+ //
+ // statusBar
+ //
+ this.statusBar.BackColor = System.Drawing.Color.White;
+ this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.statusBar.Location = new System.Drawing.Point(0, 0);
+ this.statusBar.Margin = new System.Windows.Forms.Padding(0);
+ this.statusBar.Name = "statusBar";
+ this.statusBar.Size = new System.Drawing.Size(1780, 27);
+ this.statusBar.TabIndex = 2;
+ //
+ // splitContainer3
+ //
+ this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+ this.splitContainer3.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer3.Name = "splitContainer3";
+ this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer3.Panel1
+ //
+ this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
+ //
+ // splitContainer3.Panel2
+ //
+ this.splitContainer3.Panel2.Controls.Add(this.statusBar);
+ this.splitContainer3.Size = new System.Drawing.Size(1780, 564);
+ this.splitContainer3.SplitterDistance = 533;
+ this.splitContainer3.TabIndex = 3;
+ //
+ // colDgv2Check
+ //
+ this.colDgv2Check.Frozen = true;
+ this.colDgv2Check.HeaderText = "选择";
+ this.colDgv2Check.Name = "colDgv2Check";
+ this.colDgv2Check.ReadOnly = true;
+ this.colDgv2Check.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2Check.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colDgv2Check.Width = 30;
+ //
+ // colDgv2ShopId
+ //
+ this.colDgv2ShopId.Frozen = true;
+ this.colDgv2ShopId.HeaderText = "店铺Id";
+ this.colDgv2ShopId.Name = "colDgv2ShopId";
+ this.colDgv2ShopId.ReadOnly = true;
+ //
+ // colDgv2ShopName
+ //
+ dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2ShopName.DefaultCellStyle = dataGridViewCellStyle12;
+ this.colDgv2ShopName.Frozen = true;
+ this.colDgv2ShopName.HeaderText = "店铺名称";
+ this.colDgv2ShopName.Name = "colDgv2ShopName";
+ this.colDgv2ShopName.ReadOnly = true;
+ //
+ // colDgv2Login
+ //
+ this.colDgv2Login.HeaderText = "登录";
+ this.colDgv2Login.Name = "colDgv2Login";
+ this.colDgv2Login.ReadOnly = true;
+ this.colDgv2Login.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2Login.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colDgv2Login.Visible = false;
+ this.colDgv2Login.Width = 40;
+ //
+ // colDgv2InShop
+ //
+ this.colDgv2InShop.HeaderText = "进店";
+ this.colDgv2InShop.Name = "colDgv2InShop";
+ this.colDgv2InShop.ReadOnly = true;
+ this.colDgv2InShop.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2InShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colDgv2InShop.Visible = false;
+ this.colDgv2InShop.Width = 40;
+ //
+ // colDgv2ImgUrl
+ //
+ this.colDgv2ImgUrl.HeaderText = "图片地址";
+ this.colDgv2ImgUrl.Name = "colDgv2ImgUrl";
+ this.colDgv2ImgUrl.ReadOnly = true;
+ this.colDgv2ImgUrl.Visible = false;
+ //
+ // colDgv2Img
+ //
+ this.colDgv2Img.HeaderText = "图片";
+ this.colDgv2Img.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
+ this.colDgv2Img.Name = "colDgv2Img";
+ this.colDgv2Img.ReadOnly = true;
+ this.colDgv2Img.Width = 60;
+ //
+ // colDgv2SpuId
+ //
+ this.colDgv2SpuId.HeaderText = "商品Id";
+ this.colDgv2SpuId.Name = "colDgv2SpuId";
+ this.colDgv2SpuId.ReadOnly = true;
+ this.colDgv2SpuId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2SpuId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ this.colDgv2SpuId.Width = 110;
+ //
+ // colDgv2ProductName
+ //
+ dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2ProductName.DefaultCellStyle = dataGridViewCellStyle13;
+ this.colDgv2ProductName.HeaderText = "商品标题";
+ this.colDgv2ProductName.Name = "colDgv2ProductName";
+ this.colDgv2ProductName.ReadOnly = true;
+ this.colDgv2ProductName.Width = 180;
+ //
+ // colDgv2Spec
+ //
+ dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2Spec.DefaultCellStyle = dataGridViewCellStyle14;
+ this.colDgv2Spec.HeaderText = "商品规格";
+ this.colDgv2Spec.Name = "colDgv2Spec";
+ this.colDgv2Spec.ReadOnly = true;
+ this.colDgv2Spec.Width = 145;
+ //
+ // colDgv2SkuCode
+ //
+ this.colDgv2SkuCode.HeaderText = "sku编码";
+ this.colDgv2SkuCode.Name = "colDgv2SkuCode";
+ this.colDgv2SkuCode.ReadOnly = true;
+ this.colDgv2SkuCode.Visible = false;
+ this.colDgv2SkuCode.Width = 150;
+ //
+ // colDgv2EvaluationId
+ //
+ this.colDgv2EvaluationId.HeaderText = "评价编号";
+ this.colDgv2EvaluationId.Name = "colDgv2EvaluationId";
+ this.colDgv2EvaluationId.ReadOnly = true;
+ this.colDgv2EvaluationId.Visible = false;
+ //
+ // colDgv2UserNick
+ //
+ this.colDgv2UserNick.HeaderText = "用户昵称";
+ this.colDgv2UserNick.Name = "colDgv2UserNick";
+ this.colDgv2UserNick.ReadOnly = true;
+ this.colDgv2UserNick.Width = 80;
+ //
+ // colDgv2CommentTime
+ //
+ dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2CommentTime.DefaultCellStyle = dataGridViewCellStyle15;
+ this.colDgv2CommentTime.HeaderText = "评价时间";
+ this.colDgv2CommentTime.Name = "colDgv2CommentTime";
+ this.colDgv2CommentTime.ReadOnly = true;
+ this.colDgv2CommentTime.Width = 75;
+ //
+ // colDgv2CommentContent
+ //
+ dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colDgv2CommentContent.DefaultCellStyle = dataGridViewCellStyle16;
+ this.colDgv2CommentContent.HeaderText = "评价内容";
+ this.colDgv2CommentContent.Name = "colDgv2CommentContent";
+ this.colDgv2CommentContent.ReadOnly = true;
+ this.colDgv2CommentContent.Width = 150;
+ //
// WXShopOptimizeForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(1412, 564);
+ this.ClientSize = new System.Drawing.Size(1780, 564);
this.Controls.Add(this.splitContainer3);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.KeyPreview = true;
@@ -1302,6 +1766,7 @@ namespace TemuKJD.WXForms.ShopForms
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx3.ResumeLayout(false);
+ this.ucGroupBoxEx3.PerformLayout();
this.ucGroupBoxEx1.ResumeLayout(false);
this.ucGroupBoxEx1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pbLoadingShop)).EndInit();
@@ -1311,15 +1776,23 @@ namespace TemuKJD.WXForms.ShopForms
this.splitContainer2.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
- this.pictureBox3.ResumeLayout(false);
+ this.ucTabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvData1)).EndInit();
+ this.tabPage2.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvData2)).EndInit();
this.tabPage3.ResumeLayout(false);
this.mainPanel.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvData3)).EndInit();
+ this.tabPage4.ResumeLayout(false);
+ this.panel3.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvData4)).EndInit();
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
@@ -1339,7 +1812,7 @@ namespace TemuKJD.WXForms.ShopForms
private UserControls.StatusBarUserControl statusBar;
private UserComponent.UcCheckBox chkTestNoAuditUpload;
private System.Windows.Forms.PictureBox pbLoadingShop;
- private System.Windows.Forms.PictureBox pbLoading;
+ private System.Windows.Forms.PictureBox pictureBox3;
private System.Windows.Forms.TextBox txtFilterShopName;
private DevComponents.DotNetBar.PanelEx btnFilterShop;
private System.Windows.Forms.Label label17;
@@ -1366,43 +1839,30 @@ namespace TemuKJD.WXForms.ShopForms
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
private DevComponents.DotNetBar.PanelEx panelEx6;
- private UserComponent.UcTabControl pictureBox3;
+ private UserComponent.UcTabControl ucTabControl1;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.Panel mainPanel;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.TabPage tabPage5;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
- private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierName;
- private System.Windows.Forms.DataGridViewLinkColumn colLogin;
- private System.Windows.Forms.DataGridViewLinkColumn colInShop;
- private System.Windows.Forms.DataGridViewLinkColumn colSpuId;
- private System.Windows.Forms.DataGridViewLinkColumn colSkcId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colDraftId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl;
- private System.Windows.Forms.DataGridViewImageColumn colProductSkcPic;
- private System.Windows.Forms.DataGridViewTextBoxColumn colSkuFakeImgUrl;
- private System.Windows.Forms.DataGridViewImageColumn colSkuFakeImg;
- private System.Windows.Forms.DataGridViewTextBoxColumn colProductName;
- private System.Windows.Forms.DataGridViewTextBoxColumn colProductCat;
- private System.Windows.Forms.DataGridViewTextBoxColumn colExtCode;
- private System.Windows.Forms.DataGridViewTextBoxColumn colPrice;
- private System.Windows.Forms.DataGridViewTextBoxColumn colSoldNum;
- private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
- private System.Windows.Forms.DataGridViewTextBoxColumn colNotes;
- private System.Windows.Forms.DataGridViewLinkColumn colUserNotes;
- private System.Windows.Forms.DataGridViewLinkColumn ColDelete;
- private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
- private System.Windows.Forms.DataGridViewTextBoxColumn colCouponNum;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.PictureBox pictureBox1;
private UserComponent.DataGridViewEx dgvData1;
private DevComponents.DotNetBar.PanelEx btnCancel;
private DevComponents.DotNetBar.PanelEx btnSearch;
private System.Windows.Forms.SplitContainer splitContainer3;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.PictureBox pictureBox2;
+ private UserComponent.DataGridViewEx dgvData2;
+ private UserComponent.UcCheckBox ucCheckBox5;
+ private UserComponent.UcCheckBox ucCheckBox4;
+ private UserComponent.UcCheckBox ucCheckBox3;
+ private UserComponent.UcCheckBox ucCheckBox2;
+ private UserComponent.UcCheckBox ucCheckBox1;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.PictureBox pictureBox4;
+ private UserComponent.DataGridViewEx dgvData4;
private System.Windows.Forms.DataGridViewCheckBoxColumn colDgv1Check;
private System.Windows.Forms.DataGridViewTextBoxColumn colDgv1ShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colDgv1ShopName;
@@ -1417,5 +1877,52 @@ namespace TemuKJD.WXForms.ShopForms
private System.Windows.Forms.DataGridViewTextBoxColumn colDgv1OrderSn;
private System.Windows.Forms.DataGridViewTextBoxColumn colDgv1OrderTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colDgv1AfterSaleReason;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierName;
+ private System.Windows.Forms.DataGridViewLinkColumn colLogin;
+ private System.Windows.Forms.DataGridViewLinkColumn colInShop;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl;
+ private System.Windows.Forms.DataGridViewImageColumn colImg;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDraftId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colProductName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSpec;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colExtCode;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colNotes;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDeliveryName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colPayTime;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colTakeTime;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDuration;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn colDgv4Check;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
+ private System.Windows.Forms.DataGridViewLinkColumn dataGridViewLinkColumn1;
+ private System.Windows.Forms.DataGridViewLinkColumn dataGridViewLinkColumn2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv4ImgUrl;
+ private System.Windows.Forms.DataGridViewImageColumn colDgv4Img;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv4Address;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn colDgv2Check;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2ShopId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2ShopName;
+ private System.Windows.Forms.DataGridViewLinkColumn colDgv2Login;
+ private System.Windows.Forms.DataGridViewLinkColumn colDgv2InShop;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2ImgUrl;
+ private System.Windows.Forms.DataGridViewImageColumn colDgv2Img;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2SpuId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2ProductName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2Spec;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2SkuCode;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2EvaluationId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2UserNick;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2CommentTime;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colDgv2CommentContent;
}
}
\ No newline at end of file
diff --git a/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.cs b/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.cs
index 5bb66c9..84c0d82 100644
--- a/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.cs
+++ b/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.cs
@@ -45,6 +45,8 @@ namespace TemuKJD.WXForms.ShopForms
ConcurrentList lstWxOptimizeOrderAfterSaleInfo = new ConcurrentList();
ConcurrentList lstWxOptimizeProductEvaluationInfo = new ConcurrentList();
+ ConcurrentList lstWxOptimizeOrderWayBillInfo = new ConcurrentList(); // 揽收
+ ConcurrentList lstWxOptrimizeLinerCgiInfo = new ConcurrentList(); // 物流
public WXShopOptimizeForm()
{
@@ -53,6 +55,8 @@ namespace TemuKJD.WXForms.ShopForms
private void UserSelectDbProductForm_Load(object sender, EventArgs e)
{
+ this.ucTabControl1.TabPages.RemoveAt(4);
+
dicCheckedShopId = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_checked_shop_dic");
if (dicCheckedShopId == null)
dicCheckedShopId = new Dictionary();
@@ -63,6 +67,12 @@ namespace TemuKJD.WXForms.ShopForms
dgvData1.AddSelectorColumn("colDgv1Check");
dgvData1.AddImgColumn("colDgv1Img", "colDgv1ImgUrl");
+ dgvData2.AddSelectorColumn("colDgv2Check");
+ dgvData2.AddImgColumn("colDgv2Img", "colDgv2ImgUrl");
+ dgvData3.AddSelectorColumn("colCheck");
+ dgvData3.AddImgColumn("colImg", "colImgUrl");
+ dgvData4.AddSelectorColumn("colDgv4Check");
+ dgvData4.AddImgColumn("colDgv4Img", "colDgv4ImgUrl");
IsLoadComplate = true;
}
@@ -277,14 +287,12 @@ namespace TemuKJD.WXForms.ShopForms
}
}
- private void dgvSelectProduct_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ private void dgvData3_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvData3.Columns[e.ColumnIndex].HeaderText;
- var dbId = dgvData3.Rows[e.RowIndex].Cells["colSelectId"].Value.ParseToString();
var shopId = dgvData3.Rows[e.RowIndex].Cells["colSupplierId"].Value.ParseToString();
- var draftId = dgvData3.Rows[e.RowIndex].Cells["colDraftId"].Value.ParseToString();
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
switch (headerText)
@@ -325,12 +333,6 @@ namespace TemuKJD.WXForms.ShopForms
imgFrom.ShowDialog();
break;
}
- case "SKU替换图":
- {
- ShowImgForm imgFrom = new ShowImgForm(dgvData3.Rows[e.RowIndex].Cells["colSkuFakeImgUrl"].Value.ParseToString());
- imgFrom.ShowDialog();
- break;
- }
case "":
dgvData3.Rows[e.RowIndex].Cells["colCheck"].Value = !(bool)dgvData3.Rows[e.RowIndex].Cells["colCheck"].Value;
break;
@@ -473,30 +475,80 @@ namespace TemuKJD.WXForms.ShopForms
}
btnSearch.Enabled = false;
- pictureBox1.Visible = true;
cancellationTokenSource = new CancellationTokenSource();
- dgvData1.Rows.Clear();
- lstWxOptimizeOrderAfterSaleInfo.Clear();
+ if (ucCheckBox1.Checked)
+ {
+ pictureBox1.Visible = true;
+ dgvData1.Rows.Clear();
+ lstWxOptimizeOrderAfterSaleInfo.Clear();
+ }
+ if (ucCheckBox2.Checked)
+ {
+ pictureBox2.Visible = true;
+ dgvData2.Rows.Clear();
+ lstWxOptimizeProductEvaluationInfo.Clear();
+ }
+ if (ucCheckBox3.Checked)
+ {
+ pictureBox3.Visible = true;
+ dgvData3.Rows.Clear();
+ lstWxOptimizeOrderWayBillInfo.Clear();
+ }
+ if (ucCheckBox4.Checked)
+ {
+ pictureBox4.Visible = true;
+ dgvData4.Rows.Clear();
+ lstWxOptrimizeLinerCgiInfo.Clear();
+ }
Task.Run(() =>
{
List shopLst = GlobalConfig.ShopLoginList.Where(s => lstShopId.Contains(s.ShopId)).ToList();
foreach (var shop in shopLst)
{
- SearchData1(shop);
+ if (cancellationTokenSource.IsCancellationRequested)
+ break;
+
+ if (ucCheckBox1.Checked)
+ {
+ SearchData1(shop);
+ Thread.Sleep(Randomx.GetId(200, 500));
+ }
+ if (ucCheckBox2.Checked)
+ {
+ SearchData2(shop);
+ Thread.Sleep(Randomx.GetId(200, 500));
+ }
+ if (ucCheckBox3.Checked)
+ {
+ SearchData3WayBill(shop);
+ Thread.Sleep(Randomx.GetId(200, 500));
+ }
+ if (ucCheckBox4.Checked)
+ {
+ SearchData4(shop);
+ Thread.Sleep(Randomx.GetId(200, 500));
+ }
}
Invoke(new Action(() =>
{
if (cancellationTokenSource.IsCancellationRequested)
{
- this.statusBar.lblTaskStatus.Text = "品质退款查询完毕 " + this.statusBar.lblTaskStatus.Text;
- BaseMsgForm.ShowInfo("品质退款查询完毕");
+ //this.statusBar.lblTaskStatus.Text = "品质退款查询完毕 " + this.statusBar.lblTaskStatus.Text;
+ //BaseMsgForm.ShowInfo("品质退款查询完毕");
+ this.statusBar.lblTaskStatus.Text = "优化数据查询中断 " + this.statusBar.lblTaskStatus.Text;
+ BaseMsgForm.ShowInfo("优化数据查询中断");
}
else
{
- this.statusBar.lblTaskStatus.Text = "品质退款查询完毕";
- BaseMsgForm.ShowInfo("品质退款查询完毕");
+ //this.statusBar.lblTaskStatus.Text = "品质退款查询完毕";
+ //BaseMsgForm.ShowInfo("品质退款查询完毕");
+ this.statusBar.lblTaskStatus.Text = "优化数据查询完毕";
+ BaseMsgForm.ShowInfo("优化数据查询完毕");
}
pictureBox1.Visible = false;
+ pictureBox2.Visible = false;
+ pictureBox3.Visible = false;
+ pictureBox4.Visible = false;
btnSearch.Enabled = true;
}));
}, cancellationTokenSource.Token).ContinueWith(delegate
@@ -514,7 +566,7 @@ namespace TemuKJD.WXForms.ShopForms
int page = 0;
int totalPage = 1;
- int pageSize = 50;
+ int pageSize = 20;
int startTime = BaseClass.DateTimeToTimestampSeconds(DateTime.Now.Date.AddDays(-30));
int endTime = BaseClass.DateTimeToTimestampSeconds(DateTime.Now.Date) - 1;
while (page < totalPage)
@@ -561,7 +613,7 @@ namespace TemuKJD.WXForms.ShopForms
}
Invoke(new Action(() =>
{
- this.pbLoading.Visible = true;
+ this.pictureBox1.Visible = true;
this.statusBar.lblTaskStatus.Text = "正在查询品质退款,店铺:" + shop.ShopAccount + " " + page + "/" + totalPage;
}));
foreach (JObject refundOrderObj in prodObjs["data"])
@@ -608,10 +660,414 @@ namespace TemuKJD.WXForms.ShopForms
}
}
+
+ public void SearchData2(ShopLoginInfo shop)
+ {
+ if (shop.LoginStatus != "登录成功")
+ {
+ return;
+ }
+
+ int page = 0;
+ int totalPage = 1;
+ int pageSize = 50;
+ int startTime = BaseClass.DateTimeToTimestampSeconds(DateTime.Now.Date.AddDays(-30));
+ int endTime = BaseClass.DateTimeToTimestampSeconds(DateTime.Now.Date) - 1;
+ while (page < totalPage)
+ {
+ page++;
+
+ if (cancellationTokenSource.IsCancellationRequested)
+ break;
+
+ var getData2 = ShopOptimize.GetProductEvaluation(shop, page, startTime, endTime);
+ Thread.Sleep(Randomx.GetId(300, 600));
+ if (!getData2.Contains("\"code\":0"))
+ {
+ var error = BaseRegex.GetStringJson(ref getData2, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = getData2;
+
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ var shopIdLst = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ Invoke(new Action(() => { BindShop(shop, shopIdLst, "店铺掉线"); }));
+ }
+ else
+ {
+ Invoke(new Action(() =>
+ {
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+ if (shopRow != null)
+ shopRow.Cells["colMessage"].Value = error;
+ }));
+ }
+ break;
+ }
+
+ try
+ {
+ var prodObjs = JsonHelper.JObjectParse(getData2);
+ if (page == 1)
+ {
+ var totalNum = prodObjs["totalCnt"].ParseToInt();
+ totalPage = Math.Ceiling(1m * totalNum / pageSize).ParseToInt();
+ }
+ Invoke(new Action(() =>
+ {
+ this.pictureBox2.Visible = true;
+ this.statusBar.lblTaskStatus.Text = "正在查询商品差评,店铺:" + shop.ShopAccount + " " + page + "/" + totalPage;
+ }));
+ if (totalPage == 0)
+ break;
+ foreach (JObject refundOrderObj in prodObjs["finderProductEvaluationInfoList"])
+ {
+ var oStr = JsonHelper.SerializeObject(refundOrderObj);
+ var prodEvaluationInfo = JsonHelper.DeserializeJsonToObject(oStr);
+ if (lstWxOptimizeProductEvaluationInfo.Any(o => o.productEvaluationId == prodEvaluationInfo.productEvaluationId))
+ continue;
+ prodEvaluationInfo.shopId = shop.ShopId;
+ prodEvaluationInfo.shopName = shop.ShopAccount;
+
+ lstWxOptimizeProductEvaluationInfo.Add(prodEvaluationInfo);
+ var lblLst = prodEvaluationInfo.evaluationInfo?.firstEvaluationInfo?.buyerEvaluationInfo?.labelList;
+ var content = prodEvaluationInfo.evaluationInfo.firstEvaluationInfo.buyerEvaluationInfo.content + " " +
+ prodEvaluationInfo.evaluationInfo.firstEvaluationInfo.buyerEvaluationInfo.defaultContent;
+ Invoke(new Action(() =>
+ {
+ var rowIndex = this.dgvData2.Rows.Add(
+ false,
+ shop.ShopId,
+ shop.ShopAccount,
+ "登录",
+ "进店",
+ prodEvaluationInfo.productInfo.imgUrl,
+ DataGridViewExtension.defaultBitmap,
+ prodEvaluationInfo.productInfo.productId,
+ prodEvaluationInfo.productInfo.spuName,
+ prodEvaluationInfo.productInfo.skuName,
+ "", //spuCode 此处获取不到填空
+ prodEvaluationInfo.productEvaluationId,
+ prodEvaluationInfo.evaluationInfo.buyer.identity.nickname,
+ BaseClass.StampToDateTime(prodEvaluationInfo.evaluationInfo.firstEvaluationInfo.buyerEvaluationInfo.createTime.ParseToInt()).ToString("yyyy-MM-dd HH:mm:ss"),
+ (content + " " + (lblLst == null ? "" : string.Join(" ", lblLst.Select(e => e.labelName)))).Trim()
+ );
+
+ dgvData2.Rows[rowIndex].Height = 60;
+ }));
+ }
+ }
+ catch (Exception ex)
+ {
+ Invoke(new Action(() =>
+ {
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+ if (shopRow != null)
+ shopRow.Cells["colMessage"].Value = ex.Message;
+ }));
+ }
+ }
+ }
+
+ public void SearchData3WayBill(ShopLoginInfo shop)
+ {
+ if (shop.LoginStatus != "登录成功")
+ {
+ return;
+ }
+
+ bool is24 = false;
+ var is24Rst = ShopOptimize.Get24H48HFlag(shop); // if_24hOr_48hFlag
+ if (!is24Rst.Contains("\"code\":0") || BaseRegex.GetStringJson(ref is24Rst, "if_24hOr_48hFlag").IsNullOrEmpty())
+ {
+ var error = BaseRegex.GetStringJson(ref is24Rst, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = is24Rst;
+
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ var shopIdLst = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ Invoke(new Action(() => { BindShop(shop, shopIdLst, "店铺掉线"); }));
+ }
+ else
+ {
+ Invoke(new Action(() =>
+ {
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+ if (shopRow != null)
+ shopRow.Cells["colMessage"].Value = "获取物流时效失败" + error;
+ }));
+ }
+ return;
+ }
+ is24 = BaseRegex.GetStringJson(ref is24Rst, "if_24hOr_48hFlag") == "1";
+
+
+ int page = 0;
+ int totalPage = 1;
+ int pageSize = 20;
+ int startTime = BaseClass.DateTimeToTimestampSeconds(DateTime.Now.Date.AddDays(-30));
+ int endTime = BaseClass.DateTimeToTimestampSeconds(DateTime.Now.Date) - 1;
+ while (page < totalPage)
+ {
+ page++;
+
+ if (cancellationTokenSource.IsCancellationRequested)
+ break;
+
+ var getData3WayBill = ShopOptimize.GetProductOrderWayBill(shop, page, startTime, endTime, is24);
+ Thread.Sleep(Randomx.GetId(300, 600));
+ if (!getData3WayBill.Contains("\"code\":0"))
+ {
+ var error = BaseRegex.GetStringJson(ref getData3WayBill, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = getData3WayBill;
+
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ var shopIdLst = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ Invoke(new Action(() => { BindShop(shop, shopIdLst, "店铺掉线"); }));
+ }
+ else
+ {
+ Invoke(new Action(() =>
+ {
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+ if (shopRow != null)
+ shopRow.Cells["colMessage"].Value = error;
+ }));
+ }
+ break;
+ }
+
+ try
+ {
+ var wayBillObjs = JsonHelper.JObjectParse(getData3WayBill);
+ if (page == 1)
+ {
+ var totalNum = wayBillObjs["total"].ParseToInt();
+ totalPage = Math.Ceiling(1m * totalNum / pageSize).ParseToInt();
+ }
+ Invoke(new Action(() =>
+ {
+ this.pictureBox3.Visible = true;
+ this.statusBar.lblTaskStatus.Text = "正在查询揽收不达标,店铺:" + shop.ShopAccount + " " + page + "/" + totalPage;
+ }));
+ foreach (JObject refundOrderObj in wayBillObjs["data"])
+ {
+ var oStr = JsonHelper.SerializeObject(refundOrderObj);
+ var orderWayBill = JsonHelper.DeserializeJsonToObject(oStr);
+ if (lstWxOptimizeOrderWayBillInfo.Any(o => o.orderInfo.orderId == orderWayBill.orderInfo.orderId))
+ continue;
+ orderWayBill.shopId = shop.ShopId;
+ orderWayBill.shopName = shop.ShopAccount;
+
+ // 24小时揽收率截至第二天
+ if (is24 && BaseClass.StampToDateTime(orderWayBill.realPickupTime.ParseToInt()).Date <= BaseClass.StampToDateTime(orderWayBill.payTime.ParseToInt()).Date.AddDays(1))
+ continue;
+ // 48小时揽收率按48小时算
+ if (!is24 && BaseClass.StampToDateTime(orderWayBill.realPickupTime.ParseToInt()) <= BaseClass.StampToDateTime(orderWayBill.payTime.ParseToInt()).AddDays(2))
+ continue;
+
+ lstWxOptimizeOrderWayBillInfo.Add(orderWayBill);
+ Invoke(new Action(() =>
+ {
+ var rowIndex = this.dgvData3.Rows.Add(
+ false,
+ shop.ShopId,
+ shop.ShopAccount,
+ "登录",
+ "进店",
+ orderWayBill.orderInfo.imgUrl,
+ DataGridViewExtension.defaultBitmap,
+ orderWayBill.orderInfo.spuId,
+ orderWayBill.orderInfo.name,
+ orderWayBill.orderInfo.skuName + " x" + orderWayBill.orderInfo.productCnt,
+ orderWayBill.orderInfo.skuCode,
+ orderWayBill.orderInfo.orderId + "\r\n" + orderWayBill.waybillId,
+ orderWayBill.delivery.deliveryName,
+ BaseClass.StampToDateTime(orderWayBill.payTime.ParseToInt()).ToString("yyyy-MM-dd HH:mm:ss"),
+ BaseClass.StampToDateTime(orderWayBill.realPickupTime.ParseToInt()).ToString("yyyy-MM-dd HH:mm:ss"),
+ (BaseClass.StampToDateTime(orderWayBill.realPickupTime.ParseToInt()) -
+ BaseClass.StampToDateTime(orderWayBill.payTime.ParseToInt())).TotalHours.ToString("f2") + "小时" + "\r\n[" + (is24 ? "次日" : "48小时") + "]"
+ );
+
+ dgvData3.Rows[rowIndex].Height = 60;
+ }));
+ }
+ }
+ catch (Exception ex)
+ {
+ Invoke(new Action(() =>
+ {
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+ if (shopRow != null)
+ shopRow.Cells["colMessage"].Value = ex.Message;
+ }));
+ }
+ }
+ }
+
+
+ public void SearchData4(ShopLoginInfo shop)
+ {
+ if (shop.LoginStatus != "登录成功")
+ {
+ return;
+ }
+
+ bool is24 = false;
+ var is24Rst = ShopOptimize.Get24H48HFlag(shop); // if_24hOr_48hFlag
+ if (!is24Rst.Contains("\"code\":0") || BaseRegex.GetStringJson(ref is24Rst, "if_24hOr_48hFlag").IsNullOrEmpty())
+ {
+ var error = BaseRegex.GetStringJson(ref is24Rst, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = is24Rst;
+
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ var shopIdLst = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ Invoke(new Action(() => { BindShop(shop, shopIdLst, "店铺掉线"); }));
+ }
+ else
+ {
+ Invoke(new Action(() =>
+ {
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+ if (shopRow != null)
+ shopRow.Cells["colMessage"].Value = "获取物流时效失败" + error;
+ }));
+ }
+ return;
+ }
+ is24 = BaseRegex.GetStringJson(ref is24Rst, "if_24hOr_48hFlag") == "1";
+
+ int page = 0;
+ int totalPage = 1;
+ int pageSize = 20;
+ long startTime = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date.AddDays(-30));
+ long endTime = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now);
+ while (page < totalPage)
+ {
+ page++;
+
+ if (cancellationTokenSource.IsCancellationRequested)
+ break;
+
+ var getData4 = ShopOptimize.GetOrderLinerCgi(shop, page, startTime, endTime, is24);
+ Thread.Sleep(Randomx.GetId(300, 600));
+ if (!getData4.Contains("\"code\":0"))
+ {
+ var error = BaseRegex.GetStringJson(ref getData4, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = getData4;
+
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ var shopIdLst = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ Invoke(new Action(() => { BindShop(shop, shopIdLst, "店铺掉线"); }));
+ }
+ else
+ {
+ Invoke(new Action(() =>
+ {
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+ if (shopRow != null)
+ shopRow.Cells["colMessage"].Value = error;
+ }));
+ }
+ break;
+ }
+
+ try
+ {
+ var wayBillObjs = JsonHelper.JObjectParse(getData4);
+ if (page == 1)
+ {
+ var totalNum = wayBillObjs["total"].ParseToInt();
+ totalPage = Math.Ceiling(1m * totalNum / pageSize).ParseToInt();
+ }
+ Invoke(new Action(() =>
+ {
+ this.pictureBox4.Visible = true;
+ this.statusBar.lblTaskStatus.Text = "正在查询揽收不达标,店铺:" + shop.ShopAccount + " " + page + "/" + totalPage;
+ }));
+ foreach (JObject refundOrderObj in wayBillObjs["list"])
+ {
+ var oStr = JsonHelper.SerializeObject(refundOrderObj);
+ var orderLinerCgiInfo = JsonHelper.DeserializeJsonToObject(oStr);
+ if (lstWxOptrimizeLinerCgiInfo.Any(o => o.order_id == orderLinerCgiInfo.order_id))
+ continue;
+ orderLinerCgiInfo.shopId = shop.ShopId;
+ orderLinerCgiInfo.shopName = shop.ShopAccount;
+
+ //// 24小时揽收率截至第二天
+ //if (is24 && BaseClass.StampToDateTime(orderLinerCgiInfo.realPickupTime.ParseToInt()).Date <= BaseClass.StampToDateTime(orderLinerCgiInfo.payTime.ParseToInt()).Date.AddDays(1))
+ // continue;
+ //// 48小时揽收率按48小时算
+ //if (!is24 && BaseClass.StampToDateTime(orderLinerCgiInfo.realPickupTime.ParseToInt()) <= BaseClass.StampToDateTime(orderLinerCgiInfo.payTime.ParseToInt()).AddDays(2))
+ // continue;
+
+ lstWxOptrimizeLinerCgiInfo.Add(orderLinerCgiInfo);
+ Invoke(new Action(() =>
+ {
+ var rowIndex = this.dgvData4.Rows.Add(
+ false,
+ shop.ShopId,
+ shop.ShopAccount,
+ "登录",
+ "进店",
+ orderLinerCgiInfo.product_list.FirstOrDefault().head_img_url,
+ DataGridViewExtension.defaultBitmap,
+ string.Join("\r\n", orderLinerCgiInfo.product_list.Select(p => p.product_id)),
+ string.Join("\r\n", orderLinerCgiInfo.product_list.Select(p => p.title)),
+ string.Join("\r\n", orderLinerCgiInfo.product_list.Select(p => "x" + p.product_count)),
+ "", //skuCode不展示
+ orderLinerCgiInfo.order_id + "\r\n" + orderLinerCgiInfo.waybill_id,
+ orderLinerCgiInfo.delivery_name,
+ BaseClass.StampToDateTime(orderLinerCgiInfo.collect_time.ParseToInt()).ToString("yyyy-MM-dd HH:mm:ss") + "\r\n" + BaseClass.StampToDateTime(orderLinerCgiInfo.receipt_time.ParseToInt()).ToString("yyyy-MM-dd HH:mm:ss"),
+ "发货地:" + orderLinerCgiInfo.ship_city + "\r\n" + "收货地:" + orderLinerCgiInfo.ship_province + orderLinerCgiInfo.receipt_city,
+ (orderLinerCgiInfo.transport_duration.ParseToInt() / 3600) + "小时" + (orderLinerCgiInfo.transport_duration.ParseToInt() % 3600) / 60 + "分" +
+ "\r\n标准时长" + (orderLinerCgiInfo.transport_std_duration.ParseToInt() / 3600) + "小时" /*+ (orderLinerCgiInfo.transport_std_duration.ParseToInt() % 3600)*/
+ );
+
+ dgvData4.Rows[rowIndex].Height = 60;
+ }));
+ }
+ }
+ catch (Exception ex)
+ {
+ Invoke(new Action(() =>
+ {
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+ if (shopRow != null)
+ shopRow.Cells["colMessage"].Value = ex.Message;
+ }));
+ }
+ }
+ }
+
+
private void dgvData1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
+ if (this.cancellationTokenSource != null)
+ cancellationTokenSource.Cancel();
+ }
}
public static class ShopOptimize
@@ -624,5 +1080,56 @@ namespace TemuKJD.WXForms.ShopForms
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
return result;
}
+
+ ///
+ /// 商品评价
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static string GetProductEvaluation(ShopLoginInfo shop, int pageId, int beginTick, int endTick)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeevaluation/cgi/search?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/evaluate/home";
+ string body = @"{""orderId"":"""",""productId"":"""",""productEvaluationId"":"""",""buyerEvaluationTimeStart"":" + beginTick + @",""buyerEvaluationTimeEnd"":" + endTick +
+ @",""status"":2,""page"":" + pageId + @",""visibleType"":0}";
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
+
+ public static string Get24H48HFlag(ShopLoginInfo shop)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/statistic/cgi/search?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/setting/rate2";
+ string body = "{\"days\":14,\"scoreTypeList\":[63,1000]}";
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
+ public static string GetProductOrderWayBill(ShopLoginInfo shop, int pageId, int beginTick, int endTick, bool is24 = false)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/statistic/dsr/logistics/pickup/insale?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/setting/ratedetail?type=logistics&key=collectIn_48hOrdRatio_30d&valid=collectIn_48hOrdRatio_30d|waybillArriveOntimeRatio_30d|waybillNegtiveOrdRatio_30d&detail=insale";
+ if (is24)
+ referer = "https://store.weixin.qq.com/shop/setting/ratedetail?type=logistics&key=collectIn_24hOrdRatio_30d&valid=collectIn_24hOrdRatio_30d|waybillArriveOntimeRatio_30d|waybillNegtiveOrdRatio_30d&detail=insale";
+ string body = @"{""page"":" + pageId + @",""pageSize"":20,""beginTs"":" + beginTick + @",""endTs"":" + endTick + @"}";
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
+
+ public static string GetOrderLinerCgi(ShopLoginInfo shop, int pageId, long beginTick, long endTick, bool is24 = false)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmecnodelinercgi/cgi/liner/query?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/setting/ratedetail?type=logistics&key=waybillArriveOntimeRatio_30d&valid=collectIn_48hOrdRatio_30d|waybillArriveOntimeRatio_30d|waybillNegtiveOrdRatio_30d";
+ if (is24)
+ referer = "https://store.weixin.qq.com/shop/setting/ratedetail?type=logistics&key=waybillArriveOntimeRatio_30d&valid=collectIn_24hOrdRatio_30d|waybillArriveOntimeRatio_30d|waybillNegtiveOrdRatio_30d";
+
+ string body = @"{""time_query"":{""dateFormat"":2,""dateType"":0,""dateRange"":30,""startMs"":" + endTick + @",""endMs"":" + endTick +
+ @"},""limit"":10,""offset"":" + (Math.Max(0, pageId - 1) * 10) + @",""id"":""ratedetail-wuliu-route-order-table"",""biz"":""store"",""is_std"":""0"",""sort"":[""std_route_rate"",""desc""]}";
+
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
}
}
diff --git a/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.resx b/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.resx
index e883bdb..5b9ac71 100644
--- a/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.resx
+++ b/TEMUKJD/WXForms/ShopForms/WXShopOptimizeForm.resx
@@ -195,6 +195,51 @@
True
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
True
@@ -210,58 +255,85 @@
True
-
+
+ True
+
+
True
True
-
- True
-
-
- True
-
-
- True
-
-
- True
-
True
-
+
True
True
-
- True
-
-
- True
-
-
- True
-
True
-
+
True
-
+
True
-
+
True
-
+
True
-
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
True
\ No newline at end of file
diff --git a/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.Designer.cs b/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.Designer.cs
index e15789d..f01c755 100644
--- a/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.Designer.cs
+++ b/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.Designer.cs
@@ -40,6 +40,10 @@ namespace TemuKJD.WXForms.TalkForms
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BuyerOrderListForm));
@@ -67,12 +71,22 @@ namespace TemuKJD.WXForms.TalkForms
this.col_notes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEdit = new System.Windows.Forms.DataGridViewLinkColumn();
this.dgvBuyer = new TemuKJD.UserComponent.DataGridViewEx();
+ this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colBuyerId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colBuyerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colBuyerNick = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colShopNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colVisit = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.panel2 = new System.Windows.Forms.Panel();
+ this.dgvAfterSale = new TemuKJD.UserComponent.DataGridViewEx();
+ this.btnExchange = new DevComponents.DotNetBar.PanelEx();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.lblMsg = new System.Windows.Forms.Label();
this.btnRestore = new DevComponents.DotNetBar.PanelEx();
@@ -88,7 +102,7 @@ namespace TemuKJD.WXForms.TalkForms
this.colOImg = new System.Windows.Forms.DataGridViewImageColumn();
this.colOGoodsInfo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOOrderAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dgvOStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colOStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOExpressName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOExpressId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -108,14 +122,19 @@ namespace TemuKJD.WXForms.TalkForms
this.chkOnlyShowCurrentShop = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.lblCurrentShop = new System.Windows.Forms.Label();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colBuyerId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colBuyerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colBuyerNick = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colShopNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colVisit = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colRBuyerId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colRBuyerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colRPddOrderSn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colROrderDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
+ this.colRGoodsInfo = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colROrderAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colRRefundAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colRStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colRMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewLinkColumn1 = new System.Windows.Forms.DataGridViewLinkColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -132,6 +151,7 @@ namespace TemuKJD.WXForms.TalkForms
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
this.panel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvAfterSale)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvPddBuyerOrder)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
@@ -517,6 +537,70 @@ namespace TemuKJD.WXForms.TalkForms
this.dgvBuyer.TabIndex = 7;
this.dgvBuyer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
+ // colSelect
+ //
+ this.colSelect.HeaderText = "全选";
+ this.colSelect.Name = "colSelect";
+ this.colSelect.ReadOnly = true;
+ this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colSelect.Width = 28;
+ //
+ // colBuyerId
+ //
+ this.colBuyerId.HeaderText = "买手Id";
+ this.colBuyerId.Name = "colBuyerId";
+ this.colBuyerId.ReadOnly = true;
+ this.colBuyerId.Visible = false;
+ this.colBuyerId.Width = 55;
+ //
+ // colBuyerName
+ //
+ this.colBuyerName.FillWeight = 150F;
+ this.colBuyerName.HeaderText = "买手名称";
+ this.colBuyerName.Name = "colBuyerName";
+ this.colBuyerName.ReadOnly = true;
+ this.colBuyerName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colBuyerName.Visible = false;
+ this.colBuyerName.Width = 80;
+ //
+ // colBuyerNick
+ //
+ this.colBuyerNick.HeaderText = "买手昵称";
+ this.colBuyerNick.Name = "colBuyerNick";
+ this.colBuyerNick.ReadOnly = true;
+ this.colBuyerNick.Width = 80;
+ //
+ // colShopNotes
+ //
+ this.colShopNotes.HeaderText = "备注";
+ this.colShopNotes.Name = "colShopNotes";
+ this.colShopNotes.ReadOnly = true;
+ this.colShopNotes.Width = 80;
+ //
+ // colVisit
+ //
+ this.colVisit.HeaderText = "访问";
+ this.colVisit.Name = "colVisit";
+ this.colVisit.ReadOnly = true;
+ this.colVisit.Visible = false;
+ this.colVisit.Width = 38;
+ //
+ // colLoginStatus
+ //
+ this.colLoginStatus.HeaderText = "状态";
+ this.colLoginStatus.Name = "colLoginStatus";
+ this.colLoginStatus.ReadOnly = true;
+ this.colLoginStatus.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colLoginStatus.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colLoginStatus.Width = 38;
+ //
+ // colMessage
+ //
+ this.colMessage.HeaderText = "消息";
+ this.colMessage.Name = "colMessage";
+ this.colMessage.ReadOnly = true;
+ //
// splitContainer2
//
this.splitContainer2.BackColor = System.Drawing.Color.White;
@@ -641,6 +725,8 @@ namespace TemuKJD.WXForms.TalkForms
//
// panel2
//
+ this.panel2.Controls.Add(this.dgvAfterSale);
+ this.panel2.Controls.Add(this.btnExchange);
this.panel2.Controls.Add(this.pictureBox1);
this.panel2.Controls.Add(this.lblMsg);
this.panel2.Controls.Add(this.btnRestore);
@@ -653,6 +739,76 @@ namespace TemuKJD.WXForms.TalkForms
this.panel2.Size = new System.Drawing.Size(1062, 345);
this.panel2.TabIndex = 908;
//
+ // dgvAfterSale
+ //
+ this.dgvAfterSale.AllowUserToAddRows = false;
+ this.dgvAfterSale.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvAfterSale.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
+ this.dgvAfterSale.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.dgvAfterSale.AutoRowNumber = true;
+ this.dgvAfterSale.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
+ this.dgvAfterSale.BackgroundColor = System.Drawing.Color.White;
+ this.dgvAfterSale.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvAfterSale.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
+ this.dgvAfterSale.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvAfterSale.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.dataGridViewCheckBoxColumn2,
+ this.colRBuyerId,
+ this.colRBuyerName,
+ this.colRPddOrderSn,
+ this.colROrderDate,
+ this.dataGridViewTextBoxColumn5,
+ this.dataGridViewImageColumn1,
+ this.colRGoodsInfo,
+ this.colROrderAmount,
+ this.colRRefundAmount,
+ this.colRStatus,
+ this.colRMsg,
+ this.dataGridViewLinkColumn1});
+ this.dgvAfterSale.Location = new System.Drawing.Point(30, 223);
+ this.dgvAfterSale.MultiSelectCheckBox = true;
+ this.dgvAfterSale.Name = "dgvAfterSale";
+ this.dgvAfterSale.ReadOnly = true;
+ this.dgvAfterSale.RowTemplate.Height = 23;
+ this.dgvAfterSale.Size = new System.Drawing.Size(1005, 83);
+ this.dgvAfterSale.TabIndex = 941;
+ this.dgvAfterSale.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAfterSale_CellContentClick);
+ //
+ // btnExchange
+ //
+ this.btnExchange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnExchange.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnExchange.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnExchange.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnExchange.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnExchange.Location = new System.Drawing.Point(989, 12);
+ this.btnExchange.Name = "btnExchange";
+ this.btnExchange.Size = new System.Drawing.Size(70, 23);
+ this.btnExchange.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnExchange.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnExchange.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnExchange.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnExchange.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnExchange.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnExchange.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnExchange.Style.GradientAngle = 90;
+ this.btnExchange.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnExchange.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnExchange.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnExchange.TabIndex = 931;
+ this.btnExchange.Text = "切换售后";
+ this.btnExchange.Click += new System.EventHandler(this.btnExchange_Click);
+ //
// pictureBox1
//
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
@@ -733,8 +889,8 @@ namespace TemuKJD.WXForms.TalkForms
//
this.dgvPddBuyerOrder.AllowUserToAddRows = false;
this.dgvPddBuyerOrder.AllowUserToDeleteRows = false;
- dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvPddBuyerOrder.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
+ dataGridViewCellStyle13.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvPddBuyerOrder.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13;
this.dgvPddBuyerOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
@@ -742,14 +898,14 @@ namespace TemuKJD.WXForms.TalkForms
this.dgvPddBuyerOrder.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvPddBuyerOrder.BackgroundColor = System.Drawing.Color.White;
this.dgvPddBuyerOrder.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvPddBuyerOrder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
+ dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvPddBuyerOrder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14;
this.dgvPddBuyerOrder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvPddBuyerOrder.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewCheckBoxColumn1,
@@ -761,7 +917,7 @@ namespace TemuKJD.WXForms.TalkForms
this.colOImg,
this.colOGoodsInfo,
this.colOOrderAmount,
- this.dgvOStatus,
+ this.colOStatus,
this.colOExpressName,
this.colOExpressId,
this.colOMsg,
@@ -807,8 +963,8 @@ namespace TemuKJD.WXForms.TalkForms
//
// colOOrderTime
//
- dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colOOrderTime.DefaultCellStyle = dataGridViewCellStyle11;
+ dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colOOrderTime.DefaultCellStyle = dataGridViewCellStyle15;
this.colOOrderTime.FillWeight = 70F;
this.colOOrderTime.HeaderText = "拍单时间";
this.colOOrderTime.Name = "colOOrderTime";
@@ -834,8 +990,8 @@ namespace TemuKJD.WXForms.TalkForms
//
// colOGoodsInfo
//
- dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colOGoodsInfo.DefaultCellStyle = dataGridViewCellStyle12;
+ dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colOGoodsInfo.DefaultCellStyle = dataGridViewCellStyle16;
this.colOGoodsInfo.FillWeight = 140F;
this.colOGoodsInfo.HeaderText = "商品信息";
this.colOGoodsInfo.Name = "colOGoodsInfo";
@@ -848,11 +1004,11 @@ namespace TemuKJD.WXForms.TalkForms
this.colOOrderAmount.Name = "colOOrderAmount";
this.colOOrderAmount.ReadOnly = true;
//
- // dgvOStatus
+ // colOStatus
//
- this.dgvOStatus.HeaderText = "订单状态";
- this.dgvOStatus.Name = "dgvOStatus";
- this.dgvOStatus.ReadOnly = true;
+ this.colOStatus.HeaderText = "订单状态";
+ this.colOStatus.Name = "colOStatus";
+ this.colOStatus.ReadOnly = true;
//
// colOExpressName
//
@@ -1102,69 +1258,105 @@ namespace TemuKJD.WXForms.TalkForms
this.statusBar.Size = new System.Drawing.Size(1438, 25);
this.statusBar.TabIndex = 5;
//
- // colSelect
+ // dataGridViewCheckBoxColumn2
//
- this.colSelect.HeaderText = "全选";
- this.colSelect.Name = "colSelect";
- this.colSelect.ReadOnly = true;
- this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSelect.Width = 28;
+ this.dataGridViewCheckBoxColumn2.FillWeight = 26F;
+ this.dataGridViewCheckBoxColumn2.HeaderText = "选";
+ this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
+ this.dataGridViewCheckBoxColumn2.ReadOnly = true;
+ this.dataGridViewCheckBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewCheckBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
- // colBuyerId
+ // colRBuyerId
//
- this.colBuyerId.HeaderText = "买手Id";
- this.colBuyerId.Name = "colBuyerId";
- this.colBuyerId.ReadOnly = true;
- this.colBuyerId.Visible = false;
- this.colBuyerId.Width = 55;
+ this.colRBuyerId.HeaderText = "买手编号";
+ this.colRBuyerId.Name = "colRBuyerId";
+ this.colRBuyerId.ReadOnly = true;
+ this.colRBuyerId.Visible = false;
//
- // colBuyerName
+ // colRBuyerName
//
- this.colBuyerName.FillWeight = 150F;
- this.colBuyerName.HeaderText = "买手名称";
- this.colBuyerName.Name = "colBuyerName";
- this.colBuyerName.ReadOnly = true;
- this.colBuyerName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colBuyerName.Visible = false;
- this.colBuyerName.Width = 80;
+ this.colRBuyerName.FillWeight = 80F;
+ this.colRBuyerName.HeaderText = "买手名称";
+ this.colRBuyerName.Name = "colRBuyerName";
+ this.colRBuyerName.ReadOnly = true;
//
- // colBuyerNick
+ // colRPddOrderSn
//
- this.colBuyerNick.HeaderText = "买手昵称";
- this.colBuyerNick.Name = "colBuyerNick";
- this.colBuyerNick.ReadOnly = true;
- this.colBuyerNick.Width = 80;
+ this.colRPddOrderSn.HeaderText = "拍单订单号";
+ this.colRPddOrderSn.Name = "colRPddOrderSn";
+ this.colRPddOrderSn.ReadOnly = true;
//
- // colShopNotes
+ // colROrderDate
//
- this.colShopNotes.HeaderText = "备注";
- this.colShopNotes.Name = "colShopNotes";
- this.colShopNotes.ReadOnly = true;
- this.colShopNotes.Width = 80;
+ dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colROrderDate.DefaultCellStyle = dataGridViewCellStyle11;
+ this.colROrderDate.FillWeight = 70F;
+ this.colROrderDate.HeaderText = "拍单日期";
+ this.colROrderDate.Name = "colROrderDate";
+ this.colROrderDate.ReadOnly = true;
//
- // colVisit
+ // dataGridViewTextBoxColumn5
//
- this.colVisit.HeaderText = "访问";
- this.colVisit.Name = "colVisit";
- this.colVisit.ReadOnly = true;
- this.colVisit.Visible = false;
- this.colVisit.Width = 38;
+ this.dataGridViewTextBoxColumn5.HeaderText = "图片路径";
+ this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
+ this.dataGridViewTextBoxColumn5.ReadOnly = true;
+ this.dataGridViewTextBoxColumn5.Visible = false;
//
- // colLoginStatus
+ // dataGridViewImageColumn1
//
- this.colLoginStatus.HeaderText = "状态";
- this.colLoginStatus.Name = "colLoginStatus";
- this.colLoginStatus.ReadOnly = true;
- this.colLoginStatus.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colLoginStatus.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colLoginStatus.Width = 38;
+ this.dataGridViewImageColumn1.FillWeight = 35F;
+ this.dataGridViewImageColumn1.HeaderText = "订单图片";
+ this.dataGridViewImageColumn1.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
+ this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
+ this.dataGridViewImageColumn1.ReadOnly = true;
+ this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.dataGridViewImageColumn1.Visible = false;
//
- // colMessage
+ // colRGoodsInfo
//
- this.colMessage.HeaderText = "消息";
- this.colMessage.Name = "colMessage";
- this.colMessage.ReadOnly = true;
+ dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colRGoodsInfo.DefaultCellStyle = dataGridViewCellStyle12;
+ this.colRGoodsInfo.FillWeight = 140F;
+ this.colRGoodsInfo.HeaderText = "商品信息";
+ this.colRGoodsInfo.Name = "colRGoodsInfo";
+ this.colRGoodsInfo.ReadOnly = true;
+ //
+ // colROrderAmount
+ //
+ this.colROrderAmount.FillWeight = 50F;
+ this.colROrderAmount.HeaderText = "付款金额";
+ this.colROrderAmount.Name = "colROrderAmount";
+ this.colROrderAmount.ReadOnly = true;
+ //
+ // colRRefundAmount
+ //
+ this.colRRefundAmount.FillWeight = 50F;
+ this.colRRefundAmount.HeaderText = "退款金额";
+ this.colRRefundAmount.Name = "colRRefundAmount";
+ this.colRRefundAmount.ReadOnly = true;
+ //
+ // colRStatus
+ //
+ this.colRStatus.HeaderText = "售后状态";
+ this.colRStatus.Name = "colRStatus";
+ this.colRStatus.ReadOnly = true;
+ //
+ // colRMsg
+ //
+ this.colRMsg.HeaderText = "发送信息";
+ this.colRMsg.Name = "colRMsg";
+ this.colRMsg.ReadOnly = true;
+ //
+ // dataGridViewLinkColumn1
+ //
+ this.dataGridViewLinkColumn1.FillWeight = 50F;
+ this.dataGridViewLinkColumn1.HeaderText = "发送";
+ this.dataGridViewLinkColumn1.Name = "dataGridViewLinkColumn1";
+ this.dataGridViewLinkColumn1.ReadOnly = true;
+ this.dataGridViewLinkColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewLinkColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// BuyerOrderListForm
//
@@ -1202,6 +1394,7 @@ namespace TemuKJD.WXForms.TalkForms
this.splitContainer3.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvAfterSale)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvPddBuyerOrder)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
@@ -1261,21 +1454,6 @@ namespace TemuKJD.WXForms.TalkForms
private DevComponents.DotNetBar.PanelEx btnFilterOrder;
private System.Windows.Forms.Label lblMsg;
private System.Windows.Forms.PictureBox pictureBox1;
- private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOBuyerId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOBuyerName;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOPddOrderSn;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOOrderTime;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOImgUrl;
- private System.Windows.Forms.DataGridViewImageColumn colOImg;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOGoodsInfo;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOOrderAmount;
- private System.Windows.Forms.DataGridViewTextBoxColumn dgvOStatus;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOExpressName;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOExpressId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOMsg;
- private System.Windows.Forms.DataGridViewLinkColumn colSend;
- private System.Windows.Forms.DataGridViewLinkColumn colAfterSale;
private UserComponent.UcCheckBox chkAutoAfterSale;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colBuyerId;
@@ -1285,5 +1463,35 @@ namespace TemuKJD.WXForms.TalkForms
private System.Windows.Forms.DataGridViewLinkColumn colVisit;
private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
+ private DevComponents.DotNetBar.PanelEx btnExchange;
+ private UserComponent.DataGridViewEx dgvAfterSale;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOBuyerId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOBuyerName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOPddOrderSn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOOrderTime;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOImgUrl;
+ private System.Windows.Forms.DataGridViewImageColumn colOImg;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOGoodsInfo;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOOrderAmount;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOStatus;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOExpressName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOExpressId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOMsg;
+ private System.Windows.Forms.DataGridViewLinkColumn colSend;
+ private System.Windows.Forms.DataGridViewLinkColumn colAfterSale;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRBuyerId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRBuyerName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRPddOrderSn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colROrderDate;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
+ private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRGoodsInfo;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colROrderAmount;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRRefundAmount;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRStatus;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRMsg;
+ private System.Windows.Forms.DataGridViewLinkColumn dataGridViewLinkColumn1;
}
}
\ No newline at end of file
diff --git a/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.cs b/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.cs
index 9494af4..f9ecab2 100644
--- a/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.cs
+++ b/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.cs
@@ -43,6 +43,7 @@ namespace TemuKJD.WXForms.TalkForms
ShopLoginInfo currentShop { get { return this.lblCurrentShop.Tag as ShopLoginInfo; } }
//ConcurrentList lstWxOrderInfoLite { get; set; } = new ConcurrentList();
ConcurrentList lstPddBuyerOrderInfoLite { get; set; } = new ConcurrentList();
+ ConcurrentList lstPddBuyerAfterSaleInfoLite { get; set; } = new ConcurrentList();
public CancellationTokenSource cancellationTokenSource { get; set; } = new CancellationTokenSource();
public ChromiumWebBrowser cefWebBrowser = null;
public BuyerOrderConfig buyerOrderConfig = new BuyerOrderConfig();
@@ -50,6 +51,7 @@ namespace TemuKJD.WXForms.TalkForms
public bool isLoadComplate = false;
public bool firstVisible = false;
bool isInitOrder = false;
+ bool isInitAfterSale = false;
bool isInitBuyer = false;
bool isReadOrder = false;
@@ -65,6 +67,10 @@ namespace TemuKJD.WXForms.TalkForms
dtpStartTime.Value = DateTime.Now.Date.AddMonths(-1);
dtpEndTime.Value = DateTime.Now.Date.AddDays(1).AddSeconds(-1);
dgvBuyer.AddSelectorColumn("colSelect");
+ dgvAfterSale.Location = new Point(dgvPddBuyerOrder.Location.X, dgvPddBuyerOrder.Location.Y);
+ dgvAfterSale.Width = dgvPddBuyerOrder.Width;
+ dgvAfterSale.Height = dgvPddBuyerOrder.Height;
+ dgvAfterSale.SendToBack();
InitCef();
@@ -82,6 +88,11 @@ namespace TemuKJD.WXForms.TalkForms
lstPddBuyerOrderInfoLite = new ConcurrentList();
lstPddBuyerOrderInfoLite.RemoveAll(o => o.order_time < BaseClass.DateTimeToTimestampSeconds(DateTime.Now.AddMonths(-1)));
+ lstPddBuyerAfterSaleInfoLite = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("pdd_buyer_after_sale_list");
+ if (lstPddBuyerAfterSaleInfoLite == null)
+ lstPddBuyerAfterSaleInfoLite = new ConcurrentList();
+ lstPddBuyerAfterSaleInfoLite.RemoveAll(o => o.orderDate < DateTime.Now.AddMonths(-1).ToString("yyMMdd").ParseToInt());
+
GetBuyer();
Task.Run(() =>
@@ -92,7 +103,7 @@ namespace TemuKJD.WXForms.TalkForms
}
ShowExistOrder();
- while (isInitOrder)
+ while (isInitOrder || isInitAfterSale)
{
Thread.Sleep(500);
}
@@ -104,7 +115,7 @@ namespace TemuKJD.WXForms.TalkForms
while(true)
{
Thread.Sleep(500);
- if (isReadOrder || isInitBuyer || isInitOrder)
+ if (isReadOrder || isInitBuyer || isInitOrder || isInitAfterSale)
{
Invoke(new Action(() => { pictureBox1.Visible = true; }));
}
@@ -138,6 +149,21 @@ namespace TemuKJD.WXForms.TalkForms
}
isInitOrder = false;
});
+
+ isInitAfterSale = true;
+ Task.Run(() => {
+ foreach (var afterSale in lstPddBuyerAfterSaleInfoLite)
+ {
+ if (GlobalConfig.BuyerLoginList.Any(b => b.buyer_id == afterSale.buyerId))
+ {
+ Invoke(new Action(() =>
+ {
+ ShowAfterSale(afterSale);
+ }));
+ }
+ }
+ isInitAfterSale = false;
+ });
}
void ShowOrder(PddBuyerOrderInfoLite order)
@@ -180,7 +206,7 @@ namespace TemuKJD.WXForms.TalkForms
// 商品信息
row.Cells["colOGoodsInfo"].Value = order.order_Goods == null ? "" : string.Join("\r\n", order.order_Goods.Select(g => g.goods_name + " x" + g.goods_number));
row.Cells["colOOrderAmount"].Value = order.order_amount * 0.01;
- row.Cells["dgvOStatus"].Value = order.order_status_prompt;
+ row.Cells["colOStatus"].Value = order.order_status_prompt;
row.Cells["colOExpressName"].Value = order.outExpressCompanyName;
row.Cells["colOExpressId"].Value = order.tracking_number;
row.Cells["colOMsg"].Value = order.sendStatus;
@@ -217,6 +243,80 @@ namespace TemuKJD.WXForms.TalkForms
}
}
+ void ShowAfterSale(PddBuyerAfterSaleInfoLite afterSale)
+ {
+ if (afterSale == null)
+ return;
+
+ var row = dgvAfterSale.Rows.Cast().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colRPddOrderSn").ParseToString() == afterSale.orderSn);
+ if (row == null)
+ {
+ var rowIndex = this.dgvAfterSale.Rows.Add(
+ false,
+ afterSale.buyerId,
+ afterSale.buyerName,
+ afterSale.orderSn,
+ afterSale.orderDate,
+ "", // 图片路径,
+ DataGridViewExtension.defaultBitmap, // 订单图片
+ afterSale.listItemGoodsVO == null ? "" : afterSale.listItemGoodsVO.goodsName + " " + afterSale.listItemGoodsVO.spec + " x" + afterSale.listItemGoodsVO.goodsNumber, // 商品信息
+ afterSale.listItemAmountVO.orderAmount * 0.01m,
+ afterSale.listItemAmountVO.refundAmount * 0.01m,
+ afterSale.listItemStatusVO.statusText,
+ afterSale.sendStatus,
+ "发送",
+ "退货"
+ );
+ row = dgvAfterSale.Rows[rowIndex];
+ row.Height = 40;
+
+ }
+ else
+ {
+ //row.Cells["colOSelect"].Value = selectIds.Contains(buyer.buyer_id);
+ row.Cells["colRBuyerId"].Value = afterSale.buyerId;
+ row.Cells["colRBuyerName"].Value = afterSale.buyerName;
+ row.Cells["colRPddOrderSn"].Value = afterSale.orderSn;
+ row.Cells["colROrderDate"].Value = afterSale.orderDate;
+ //row.Cells["colOImgUrl"].Value = "";
+ // 商品信息
+ row.Cells["colRGoodsInfo"].Value = afterSale.listItemGoodsVO == null ? "" : afterSale.listItemGoodsVO.goodsName + " " + afterSale.listItemGoodsVO.spec + " x" + afterSale.listItemGoodsVO.goodsNumber; // 商品信息
+ row.Cells["colROrderAmount"].Value = afterSale.listItemAmountVO.orderAmount * 0.01;
+ row.Cells["colRRefundAmount"].Value = afterSale.listItemAmountVO.refundAmount * 0.01;
+ row.Cells["colRStatus"].Value = afterSale.listItemStatusVO.statusText;
+ row.Cells["colRMsg"].Value = afterSale.sendStatus;
+ }
+ //if (afterSale.outExpressCompanyName == "物流名称获取失败")
+ // row.Cells["colOExpressName"].Style.ForeColor = Color.Orange;
+ //else
+ // row.Cells["colOExpressName"].Style.ForeColor = Control.DefaultForeColor;
+
+ //if (afterSale.order_status_prompt.Contains("交易成功"))
+ //{
+ // row.Cells["colOMsg"].Value = "[完]" + row.Cells["colOMsg"].Value.ParseToString();
+ // row.Cells["colOMsg"].Style.ForeColor = Color.Green;
+ //}
+ //else if (afterSale.order_status_prompt.Contains("退款成功") || afterSale.order_status_prompt.Contains("交易已取消"))
+ //{
+ // row.Cells["colOMsg"].Value = "[已退]" + row.Cells["colOMsg"].Value.ParseToString();
+ // row.Cells["colOMsg"].Style.ForeColor = Color.Gray;
+ //}
+ //else if (afterSale.after_sales != null)
+ //{
+ // row.Cells["colOMsg"].Value = "[退货中]" + row.Cells["colOMsg"].Value.ParseToString();
+ // row.Cells["colOMsg"].Style.ForeColor = Color.DeepSkyBlue;
+ //}
+ //else if (!string.IsNullOrEmpty(afterSale.wxRefundStatus))
+ //{
+ // row.Cells["colOMsg"].Value = "[" + afterSale.wxRefundStatus + "]" + row.Cells["colOMsg"].Value.ParseToString();
+ // row.Cells["colOMsg"].Style.ForeColor = Color.Red;
+ //}
+ //else
+ //{
+ // row.Cells["colOMsg"].Style.ForeColor = Control.DefaultForeColor;
+ //}
+ }
+
private void InitCef()
{
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
@@ -248,6 +348,7 @@ namespace TemuKJD.WXForms.TalkForms
private void RequestHandler_ResourceLoadComplete(object sender, string url, string postData, string responseData, IRequest request)
{
+ var cookie1 = request.Headers["Cookie"];
Task.Run(() =>
{
var url1 = url;
@@ -267,6 +368,7 @@ namespace TemuKJD.WXForms.TalkForms
//if (url1.StartsWith("https://mobile.yangkeduo.com/orders.html?type=3&order_index=0"))
//{
//}
+ // 已发货 第一页
if (url1.StartsWith("https://mobile.yangkeduo.com/orders.html?type=3")) //https://mobile.yangkeduo.com/orders.html?type=3
{
Task.Run(() =>
@@ -291,6 +393,7 @@ namespace TemuKJD.WXForms.TalkForms
}
});
}
+ // 待发货 第一页
if (url1.StartsWith("https://mobile.yangkeduo.com/orders.html?type=2"))
{
Task.Run(() =>
@@ -323,6 +426,61 @@ namespace TemuKJD.WXForms.TalkForms
});
}
+ // 读取售后
+ if (url1.StartsWith("https://mobile.yangkeduo.com/proxy/api/api/blade/after_sales_list"))
+ {
+ Task.Run(() =>
+ {
+ CefReadBuyerAfterSale(url1, data1);
+
+ });
+ }
+
+ // 售后 第一页
+ if (url1.StartsWith("https://mobile.yangkeduo.com/complaint_list.html"))
+ {
+ Task.Run(() =>
+ {
+ if (data1.Contains("listItemStatusVo") && data1.Contains("afterSalesId") && data1.Contains("statusText"))
+ {
+ var cookie2 = cookie1.Replace(";" , "&").Replace(" ", "");
+ //var jsonDatas = BaseRegex.GetJsonObjStrJson(ref data1, "pending");
+ var jsonDatas = BaseRegex.GetJsonObjStrJson(ref data1, "listDataMap");
+ var jsonData = jsonDatas?.OrderByDescending(x => x.Length).FirstOrDefault();
+ //var nickName = BaseRegex.GetStringJson(ref data1, "nickName");
+
+ //var uid = BaseRegex.GetStringJson(ref data1, "uid");
+ //var buyerId = GlobalConfig.BuyerLoginList.FirstOrDefault(b => b.buyer_id == uid)?.buyer_id;
+ //if (buyerId.IsNullOrEmpty())
+ // buyerId = GlobalConfig.BuyerLoginList.FirstOrDefault(b => b.buyer_nick == nickName)?.buyer_id;
+ //if (!string.IsNullOrEmpty(jsonData) && !string.IsNullOrEmpty(buyerId))
+ //{
+ // var ordersStr = BaseRegex.GetJsonObjStrJson(ref jsonData, "initOdersList")?.FirstOrDefault();
+ // if (ordersStr != null && ordersStr.StartsWith("{\"2\":"))
+ // {
+ // ordersStr = "{\"orders\":" + ordersStr.Substring(5);
+ // CefReadBuyerOrder(buyerId, ordersStr);
+ // }
+ //}
+ var uid = BaseRegex.GetStringQuery(ref cookie2, "pdd_user_id");
+ var buyerId = GlobalConfig.BuyerLoginList.FirstOrDefault(b => b.buyer_id == uid)?.buyer_id;
+ if (!string.IsNullOrEmpty(buyerId) && !string.IsNullOrEmpty(jsonData))
+ {
+ try
+ {
+ var jObj = JsonHelper.JObjectParse(jsonData);
+ jObj["result"] = jObj["all"];
+ jObj["result"]["listItemVOList"] = jObj["result"]["list"];
+ CefReadBuyerAfterSale(buyerId, JsonHelper.SerializeObject(jObj));
+ }
+ catch
+ {
+
+ }
+ }
+ }
+ });
+ }
});
}
@@ -417,6 +575,83 @@ namespace TemuKJD.WXForms.TalkForms
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
}
+ void CefReadBuyerAfterSale(string url, string data)
+ {
+ var buyer = GlobalConfig.BuyerLoginList.FirstOrDefault(b => url.Contains(b.buyer_id));
+ if (buyer == null)
+ return;
+
+ if (data.Contains("\"listItemVOList\":[]") || data.Contains("\"hasNextQuery\":false"))
+ {
+ Invoke(new Action(() =>
+ {
+ lblMsg.Text = buyer.buyer_name + " 获取到空售后列表,退出自动滑动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+ }));
+ currentReadBuyer = "";
+ return;
+ }
+ if (data.Contains("\"error_code\":40001"))
+ {
+ currentReadBuyer = "";
+ CheckBuyerLogin(new List { buyer }, false);
+ return;
+ }
+
+ Invoke(new Action(() =>
+ {
+ lblMsg.Text = buyer.buyer_name + " 正在获取售后列表 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+ }));
+
+ var list = JsonHelper.DeserializeJsonToList(JsonHelper.JObjectParse(data)["result"]["listItemVOList"].ParseToString());
+ foreach (var af in list)
+ {
+ af.buyerId = buyer.buyer_id;
+ af.buyerName = buyer.buyer_name;
+
+ PddBuyerAfterSaleInfoLite afterSale = null;
+ if (!this.lstPddBuyerAfterSaleInfoLite.Any(or => or.afterSalesId == af.afterSalesId))
+ {
+ afterSale = af;
+ lstPddBuyerAfterSaleInfoLite.Add(afterSale);
+ }
+ else
+ {
+ afterSale = this.lstPddBuyerAfterSaleInfoLite.FirstOrDefault(aft => aft.afterSalesId == af.afterSalesId);
+ if (JsonHelper.SerializeObject(afterSale) != JsonHelper.SerializeObject(af))
+ {
+ //order = JsonHelper.DeserializeJsonToObject(JsonHelper.SerializeObject(o));
+ afterSale.afterSalesId = af.afterSalesId;
+ afterSale.listItemAmountVO = JsonHelper.DeserializeJsonToObject(JsonHelper.SerializeObject(af.listItemAmountVO));
+ afterSale.listItemExtraVO = JsonHelper.DeserializeJsonToObject(JsonHelper.SerializeObject(af.listItemExtraVO));
+ afterSale.listItemGoodsVO = JsonHelper.DeserializeJsonToObject(JsonHelper.SerializeObject(af.listItemGoodsVO));
+ afterSale.listItemMallVO = JsonHelper.DeserializeJsonToObject(JsonHelper.SerializeObject(af.listItemMallVO));
+ afterSale.listItemStatusVO = JsonHelper.DeserializeJsonToObject(JsonHelper.SerializeObject(af.listItemStatusVO));
+ }
+ }
+
+ if (afterSale.orderDate < DateTime.Now.AddMonths(-2).ToString("yyMMdd").ParseToInt())
+ {
+ Invoke(new Action(() =>
+ {
+ lblMsg.Text = buyer.buyer_name + " 近2个月售后列表获取完成,退出自动滑动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+ }));
+ currentReadBuyer = "";
+ return;
+ }
+
+ Task.Run(() =>
+ {
+ SendAfterSaleE57(afterSale);
+ });
+
+ Invoke(new Action(() =>
+ {
+ ShowAfterSale(afterSale);
+ }));
+ }
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_after_sale_list", lstPddBuyerAfterSaleInfoLite);
+ }
+
private bool RequestHandler_BeforeResourceLoad(object sender, string url, string postData, IRequest request)
{
return false;
@@ -587,7 +822,7 @@ namespace TemuKJD.WXForms.TalkForms
{
nextGetOrderTime = DateTime.Now.AddMinutes(30);
GetPddOrder();
- MakeAfterSales();
+ MakeWxToPddAfterSales();
}
Thread.Sleep(1000);
Invoke(new Action(() =>
@@ -634,9 +869,10 @@ namespace TemuKJD.WXForms.TalkForms
cefWebBrowser.Load("https://mobile.yangkeduo.com/personal.html");
Thread.Sleep(Randomx.GetId(2000, 3000));
+ // 售后
string readBuyer = buyer.buyer_id;
currentReadBuyer = buyer.buyer_id;
- cefWebBrowser.Load("https://mobile.yangkeduo.com/orders.html?type=2");
+ cefWebBrowser.Load("https://mobile.yangkeduo.com/complaint_list.html?refer_page_name=personal&refer_page_sn=10001&tab=all");
Thread.Sleep(Randomx.GetId(2000, 3000));
int top = 0;
@@ -645,8 +881,8 @@ namespace TemuKJD.WXForms.TalkForms
if (cancellationTokenSource.IsCancellationRequested)
break;
- Thread.Sleep(Randomx.GetId(100,300));
- top += Randomx.GetId(400, 500);
+ top += Randomx.GetId(450, 600);
+ Thread.Sleep(Randomx.GetId(100, 300));
var jsStr = @"window.scroll({
top: document.body.scrollHeight,
@@ -663,6 +899,37 @@ namespace TemuKJD.WXForms.TalkForms
}
Thread.Sleep(Randomx.GetId(2000, 3000));
+ // 待发货
+ readBuyer = buyer.buyer_id;
+ currentReadBuyer = buyer.buyer_id;
+ cefWebBrowser.Load("https://mobile.yangkeduo.com/orders.html?type=2");
+ Thread.Sleep(Randomx.GetId(2000, 3000));
+
+ top = 0;
+ while (currentReadBuyer == readBuyer)
+ {
+ if (cancellationTokenSource.IsCancellationRequested)
+ break;
+
+ top += Randomx.GetId(450, 600);
+ Thread.Sleep(Randomx.GetId(100,300));
+
+ var jsStr = @"window.scroll({
+ top: document.body.scrollHeight,
+ left: 0,
+ behavior: 'smooth' // 可选,使滚动平滑
+ });";
+ jsStr = @"window.scroll({
+ top: " + top + @",
+ left: 0,
+ behavior: 'smooth' // 可选,使滚动平滑
+ });";
+ var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
+ t1.Wait(1000);
+ }
+ Thread.Sleep(Randomx.GetId(2000, 3000));
+
+ // 已发货
readBuyer = buyer.buyer_id;
currentReadBuyer = buyer.buyer_id;
cefWebBrowser.Load("https://mobile.yangkeduo.com/orders.html?type=3");
@@ -674,7 +941,7 @@ namespace TemuKJD.WXForms.TalkForms
if (cancellationTokenSource.IsCancellationRequested)
break;
- top += Randomx.GetId(400, 500);
+ top += Randomx.GetId(450, 600);
Thread.Sleep(Randomx.GetId(100, 300));
var jsStr = @"window.scroll({
@@ -704,7 +971,7 @@ namespace TemuKJD.WXForms.TalkForms
{
nextGetOrderTime = DateTime.Now.AddMinutes(30);
GetPddOrder();
- MakeAfterSales();
+ MakeWxToPddAfterSales();
}
private void pnlEmpty_Click(object sender, EventArgs e)
@@ -1030,7 +1297,7 @@ namespace TemuKJD.WXForms.TalkForms
pictureBox1.Visible = true;
Task.Run(() =>
{
- MakeAfterSale(order);
+ MakeWxToPddAfterSale(order);
Invoke(new Action(() => { pictureBox1.Visible = false; }));
});
break;
@@ -1041,8 +1308,17 @@ namespace TemuKJD.WXForms.TalkForms
public void SendOrderE57(PddBuyerOrderInfoLite order, bool resetSendStatus = false)
{
+ if (order == null)
+ return;
if (resetSendStatus)
order.sendStatus = "";
+ var row = dgvPddBuyerOrder.Rows.Cast().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colOPddOrderSn").ParseToString() == order.order_sn);
+ Invoke(new Action(() =>
+ {
+ if (row != null)
+ row.Cells["colOMsg"].Value = "";
+ }));
+ Thread.Sleep(100);
// 已发货且没有运单号的属于已退货,不再发送
if (order.order_status_prompt != "拼单成功,待发货" && order.order_status_prompt != "免拼成功,待发货" && (
@@ -1065,6 +1341,10 @@ namespace TemuKJD.WXForms.TalkForms
// return;
if (order.sendStatus.Contains("外采订单已发货"))
{
+ Invoke(new Action(() =>
+ {
+ ShowOrder(order);
+ }));
return;
}
@@ -1081,21 +1361,26 @@ namespace TemuKJD.WXForms.TalkForms
//失败 已存在
//1505调用微信接口更新物流信息失败: 非法参数, 同运单号拦截 rid: 69d8ab9c-22baa3b1-67de0d95
var exportRst = WXHttpResponseBLL.e57PostResponse(url, dataStr, "");
- if (exportRst.Contains("发送失败 操作超时"))
+ for (int i = 0; i < 5 && exportRst.Contains("操作超时"); i++)
+ {
+ Thread.Sleep(2000);
WXHttpResponseBLL.e57PostResponse(url, dataStr, "");
- if (exportRst.Contains("SUCCESS") /*|| exportRst.Contains("已存在") || exportRst.Contains("同运单号拦截") || exportRst.Contains("订单已绑定外采订单")*/)
- {
- order.sendStatus = "已发送";
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
}
- else if (exportRst != null && exportRst.Contains("") && exportRst.Contains(""))
+ // exportRst.Contains("已存在") || exportRst.Contains("同运单号拦截") || exportRst.Contains("订单已绑定外采订单")
+ System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
+ xmlDoc.LoadXml(exportRst); //1505不支持的平台类型: WEISHOP
+ string msg = xmlDoc["ResultVo"]["msg"].InnerText;
+ string data = xmlDoc["ResultVo"]["data"].InnerText;
+ if (msg == "SUCCESS")
{
- order.sendStatus = exportRst.Substring(0, exportRst.IndexOf("")).Substring(exportRst.IndexOf("") + 5);
+ order.sendStatus = string.IsNullOrEmpty(data) ? msg : data;
+ if (order.sendStatus == "更新微信外采订单状态成功")
+ order.sendStatus = "已发送";
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
}
else
{
- order.sendStatus = "发送失败 " + exportRst;
+ order.sendStatus = "发送失败 " + (string.IsNullOrEmpty(msg) ? data : msg);
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
}
Invoke(new Action(() =>
@@ -1105,7 +1390,7 @@ namespace TemuKJD.WXForms.TalkForms
//Thread.Sleep(500);
}
- public void MakeAfterSales()
+ public void MakeWxToPddAfterSales()
{
Task.Run(() =>
{
@@ -1154,7 +1439,7 @@ namespace TemuKJD.WXForms.TalkForms
}));
if (chkAutoAfterSale.Checked)
{
- MakeAfterSale(order);
+ MakeWxToPddAfterSale(order);
}
}
}
@@ -1166,7 +1451,8 @@ namespace TemuKJD.WXForms.TalkForms
});
}
- public string MakeAfterSale(PddBuyerOrderInfoLite order)
+ // 通过服务端读取微信售后并触发拼多多售后或显示提示供买手手动退货
+ public string MakeWxToPddAfterSale(PddBuyerOrderInfoLite order)
{
//if (isReadOrder)
//{
@@ -1225,6 +1511,67 @@ namespace TemuKJD.WXForms.TalkForms
}
}
+ // 向服务端更新售后退货信息更新状态
+ public void SendAfterSaleE57(PddBuyerAfterSaleInfoLite afterSale, bool resetSendStatus = false)
+ {
+ if (resetSendStatus)
+ afterSale.sendStatus = "";
+
+ var row = dgvAfterSale.Rows.Cast().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colRPddOrderSn").ParseToString() == afterSale.orderSn);
+ Invoke(new Action(() =>
+ {
+ if (row != null)
+ row.Cells["colRMsg"].Value = "";
+ }));
+ Thread.Sleep(100);
+
+ // 已退款成功且发送过的,不再发送
+ if (afterSale.listItemStatusVO.statusText.Contains("退款成功") && afterSale.sendStatus == "发送成功")
+ {
+ Invoke(new Action(() =>
+ {
+ ShowAfterSale(afterSale);
+ }));
+ return;
+ }
+
+ JObject obj = new JObject();
+ obj["platform"] = "WEISHOP";
+ obj["outOrderNo"] = afterSale.orderSn;
+ obj["afterSaleStatus"] = afterSale.listItemStatusVO.statusText;
+ var dataStr = JsonHelper.SerializeObject(obj);
+ string url = "https://po.e57.cn/prod-api/api/oms-api/external_procurement/updateAfterSaleStatus";
+ //成功 "0SUCCESS"
+ //失败 已存在
+ //1505调用微信接口更新物流信息失败: 非法参数, 同运单号拦截 rid: 69d8ab9c-22baa3b1-67de0d95
+ var exportRst = WXHttpResponseBLL.e57PostResponse(url, dataStr, "");
+ for (int i = 0; i < 5 && exportRst.Contains("操作超时"); i++)
+ {
+ Thread.Sleep(2000);
+ WXHttpResponseBLL.e57PostResponse(url, dataStr, "");
+ }
+ if (exportRst.Contains("SUCCESS") || exportRst.Contains("更新外采订单的售后成功") /*|| exportRst.Contains("已存在") || exportRst.Contains("同运单号拦截") || exportRst.Contains("订单已绑定外采订单")*/)
+ {
+ afterSale.sendStatus = "发送成功";
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_after_sale_list", lstPddBuyerAfterSaleInfoLite);
+ }
+ else if (exportRst != null && exportRst.Contains("") && exportRst.Contains(""))
+ {
+ afterSale.sendStatus = exportRst.Substring(0, exportRst.IndexOf("")).Substring(exportRst.IndexOf("") + 5);
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_after_sale_list", lstPddBuyerAfterSaleInfoLite);
+ }
+ else
+ {
+ afterSale.sendStatus = "发送失败 " + exportRst;
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_after_sale_list", lstPddBuyerAfterSaleInfoLite);
+ }
+ Invoke(new Action(() =>
+ {
+ ShowAfterSale(afterSale);
+ }));
+ //Thread.Sleep(500);
+ }
+
private void btnClose_Click(object sender, EventArgs e)
{
panel2.Visible = !panel2.Visible;
@@ -1273,6 +1620,15 @@ namespace TemuKJD.WXForms.TalkForms
else
row.Visible = false;
}
+ foreach (DataGridViewRow row in dgvAfterSale.Rows)
+ {
+ if (row.Cells["colRPddOrderSn"].Value.ParseToString().Contains(txtOrderSnFilter.Text.Trim()))
+ row.Visible = true;
+ //else if (row.Cells["colOBuyerName"].Value.ParseToString().Contains(txtOrderSnFilter.Text.Trim()))
+ // row.Visible = true;
+ else
+ row.Visible = false;
+ }
}
private void btnRestore_Click(object sender, EventArgs e)
@@ -1291,6 +1647,53 @@ namespace TemuKJD.WXForms.TalkForms
buyerOrderConfig.IsAutoAfterSale = chkAutoAfterSale.Checked;
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_config", buyerOrderConfig);
}
+
+ private void btnExchange_Click(object sender, EventArgs e)
+ {
+ if (btnExchange.Text == "切换售后")
+ {
+ this.dgvPddBuyerOrder.SendToBack();
+ btnExchange.Text = "切换订单";
+ }
+ else
+ {
+ this.dgvAfterSale.SendToBack();
+ btnExchange.Text = "切换售后";
+ }
+ }
+
+ private void dgvAfterSale_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ {
+ if (e.ColumnIndex < 0 || e.RowIndex < 0)
+ return;
+ string headerText = dgvAfterSale.Columns[e.ColumnIndex].HeaderText;
+ var orderSn = dgvAfterSale.Rows[e.RowIndex].Cells["colRPddOrderSn"].Value.ParseToString();
+ var order = lstPddBuyerAfterSaleInfoLite.FirstOrDefault(p => p.orderSn == orderSn);
+
+
+ switch (headerText)
+ {
+ case "详情":
+ case "编辑/详情":
+ break;
+ case "图片":
+ ShowImgForm imgFrom = new ShowImgForm(dgvPddBuyerOrder.Rows[e.RowIndex].Cells["colImgUrl"].Value.ParseToString().Replace("?imageView2/2/w/90/h/90", ""));
+ imgFrom.ShowDialog();
+ break;
+ case "":
+ case "全选":
+ dgvPddBuyerOrder.Rows[e.RowIndex].Cells["colCheck"].Value = !(bool)dgvPddBuyerOrder.Rows[e.RowIndex].Cells["colCheck"].Value;
+ break;
+ case "发送":
+ Task.Run(() =>
+ {
+ SendAfterSaleE57(order, true);
+ });
+ break;
+ default:
+ break;
+ }
+ }
}
public class YkdBuyerOrder
diff --git a/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.resx b/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.resx
index b719165..5b238de 100644
--- a/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.resx
+++ b/TEMUKJD/WXForms/TalkForms/BuyerOrderListForm.resx
@@ -174,6 +174,45 @@
True
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
True
@@ -201,7 +240,7 @@
True
-
+
True